title: Semantic issue: Use of undeclared identifier when adding Framework class references
body: <p>I've added some frameworks into my project, through the Targets -> Build Phases -> Link binary with Libraries. In particular, I am talking about the AVFoundation.framework. I've also added all the frameworks into the Frameworks folder in the project navigator.</p>
  
  <p>However, when I try to reference classes in the linked frameworks, I'm getting "Semantic issue - Use of undeclared identifier" errors.</p>
  
  <p>For example, I'm getting these errors in the two bottom lines:</p>
  
  <pre><code>    - (void)viewDidLoad {
      [super viewDidLoad];
      AVCaptureSession *session = [[AVCaptureSession alloc] init];
      session.sessionPreset = AVCaptureSessionPresetMedium;
  }
  </code></pre>
  
  <p>I'm wondering if the frameworks are being properly linked to my project. So, how can I solve this? I must say that I am new to iOs and ObjC development.</p>
  
  <p>Thank you</p>