title: How to link an Adobe AIR3 Native Extension for iOS against an iOS framework?
body: <p>I’m working on an app with an AIR3 iOS native extension that uses Accelerate.framework</p>
  
  <p>Followed the first steps mentioned in the tutorials, successfully created an .ane file etc.</p>
  
  <p>When I run the final packaging command (adt -package -target ipa-test ...), I get the following errors:</p>
  
  <pre><code>ld warning: unexpected srelocation type 9
  ld warning: unexpected srelocation type 9
  </code></pre>
  
  <p>... (repeating several times)</p>
  
  <pre><code>Undefined symbols:
    "_vDSP_vsdiv", referenced from: ...
    "_vDSP_vsmul", referenced from: ...
  </code></pre>
  
  <p>... several more like this</p>
  
  <pre><code>ld: symbol(s) not found
  Compilation failed while executing : ld64
  </code></pre>
  
  <p>I guess this is because when I created the .a file in xcode, it couldn’t really link it statically to the Accelerate.framework.</p>
  
  <p>I suppose I need to tell adt to link it somehow? Probably in the phase I’m creating the .ane file? Or maybe I should change my extension.xml file?</p>
  
  <p>No idea. Couldn’t really find it...</p>
  
  <p>Please advise.</p>
  
  <p><strong>UPDATE:</strong> This seems like a bug on the Adobe side specifically with Accelerate.framework. I'll keep updating here in case other guys stumble upon this one.</p>