ld: file was built for unsupported file format...for architecture armv7
hi:
I recently developed a project with custom ANE and I get this error msg when compile ipa since I upgraded the sdk from 3.5 to 3.8.
ANE compile CMD:
adt -package -storetype pkcs12 -keystore ane.p12 -storepass 1234 -target ane yund.ane extension.xml -swc yunding.swc -platform iPhone-ARM -platformoptions platform.xml IDS.framework library.swf libIslandIDSANE.a
platform.xml:
<platform xmlns="http://ns.adobe.com/air/extension/3.5">
<sdkVersion>6.1</sdkVersion>
<linkerOptions>
<option>-w</option>
<option>-ios_version_min 4.2</option>
<option>-framework Foundation</option>
<option>-framework StoreKit</option>
<option>-framework AdSupport</option>
<option>-framework QuartzCore</option>
<option>-framework UIKit</option>
<option>-framework CoreGraphics</option>
<option>-framework SystemConfiguration</option>
<option>-framework Foundation</option>
<option>-lz</option>
</linkerOptions>
<packagedDependencies>
<packagedDependency>IDS.framework</packagedDependency>
</packagedDependencies>
</platform>
msg:
ld: file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6f 0x6e 0x73 0x2f 0x43 0x75 0x72 0x72 0x65 0x6e 0x74 ) which is not the architecture being linked (armv7): C:\Users\timoo\AppData\Local\Temp\139d9782-79fd-422a-8c15-da1da2da8c53/IDS.framework/IDS for architecture armv7
Compilation failed while executing : ld64
help me
thx
