title: ld: Framework not found: DropboxSDK
body: <p>I am writing a flex application that requires an ios native extension to use the dropbox core sdk. I have downloaded the framework, and added it to my project. The project builds successfully, and I can build an .ane file which i can then add into my flex application. However upon attempting to run the flex project, flashbuilder does not run, complaining that:</p>
  
  <pre><code>"Error occurred during packing the application:
  ld: framework not found DropboxSDK
  compilation failed while executing : ld64
  </code></pre>
  
  <p>I have found many similarly titled posts already, but none of their solutions work.
  Things I have done / ensured:</p>
  
  <ol>
  <li>DropboxSDK.framework is in the root of my project folder.</li>
  <li>DropboxSDK.framework has been dragged into the frameworks folder in xcode, with "copy items into destination folder", "create groups for any added folders" and "add to targets" all selected/ticked.</li>
  <li>Under Build Phases, Link Binary with Libraries I have got <code>QuartzCore.framework</code>, <code>Foundation.framework</code>, <code>UIKit.framework</code>, <code>DropboxSDK.framework</code> and <code>Security.framework</code></li>
  <li>Under Build Settings, Framework Search Paths is set to the root of my project (where DropboxSDK.framework is placed).</li>
  <li>I have got <code>#import &lt;DropboxSDK/DropboxSDK.h&gt;</code> in my extension.h and in any files that reference dropbox functions.</li>
  <li>After building my xcode project, i place my libExtension.a in my flex ios/ build folder along with platformoptions.xml and library.swf.</li>
  <li><p>My iosplatformoptions.xml looks like this:</p>
  
  <pre><code>&lt;platform xmlns="http://ns.adobe.com/air/extension/3.7"&gt; 
  &lt;description&gt;ExtensionName&lt;/description&gt; 
  &lt;copyright&gt;2013&lt;/copyright&gt; 
  &lt;sdkVersion&gt;5.0.0&lt;/sdkVersion&gt; 
    &lt;linkerOptions&gt; 
      &lt;option&gt;-ios_version_min 5.0&lt;/option&gt; 
      &lt;option&gt;-framework AddressBook&lt;/option&gt; &lt;!-- Used elsewhere in ane --&gt;
      &lt;option&gt;-framework DropboxSDK&lt;/option&gt;
      &lt;option&gt;-liconv&lt;/option&gt; 
    &lt;/linkerOptions&gt; 
  &lt;/platform&gt;
  </code></pre></li>
  <li>I've tried building the ane on both windows and mac.</li>
  </ol>
  
  <p>I'm sure there must be an option or step that i've missed, but after several hours of searching I can't find it. I'm using xcode 5.0.2, flashbuilder 4.10 air 3.9. Any help appreciated!</p>