Closed JorgeVelez closed 10 years ago
Are you compiling using a version of the iOS SDK?
Im not using the ios SDK. I did see the option in the native extensions package settings configuration but i didnt see anything in the instructiuons.
Is it neccesary?
Yes we advise all our extensions be compiled against an iOS SDK. This keeps your code running against the latest SDK as well to avoid any review issues, but also includes libraries that aren't included in the standard AIR packager which many of our extensions use.
Can you try including this and see if it solves the issue?
You can find a recent package of the SDK here:
http://airnativeextensions.com/resources/ios/iPhoneOS7.1.sdk.zip
Will try. Thank you for the fast response.
I downloaded the sdk and linked it to flashbuilder. Now i get this error:
Error occurred while packaging the application:
[Fatal Error] :1:1: Content is not allowed in prolog. java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.adobe.air.Plist.newFromString(Plist.java:351) at com.adobe.air.Plist.newFromFile(Plist.java:325) at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1070) at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:971) at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187) at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1423) at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1474) at com.adobe.air.ADT.parseInput(ADT.java:929) at com.adobe.air.ADT.parsePackage(ADT.java:672) at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570) at com.adobe.air.ADT.run(ADT.java:419) at com.adobe.air.ADT.main(ADT.java:469)
I cleaned my app.xml, by the way.
Not sure about that error. Looks like a Java/adt error. Which AIR SDK are you using?
flash builder 4.7, air SDK 3.4
Ah that's a very old SDK you should try to update. We recommend at least 4.0, but the latest is 15.
The latest can be retrieved from here:
Will do it, thanks.
that did it. air sdk 13 and ios sdk 7.1
thank you very much.
Saludos from Mexico.
I get this error while trying to package the Scanner native extension for ios:
ld: duplicate symbol _SCANNEREVENT_SCAN_START in C:\Users\JORGEV~1\AppData\Local\Temp\64282827-c262-43a4-bed2-c99ce24ae64c\libcom.distriqt.Scanner.a(ScannerEvent.o) and C:\Users\JORGEV~1\AppData\Local\Temp\64282827-c262-43a4-bed2-c99ce24ae64c\libcom.distriqt.Scanner.a(ZBarOverlayView.o) for architecture armv7 Compilation failed while executing : ld64
I looked in forums and I saw that i could be fixed with hide ane library symbols, but the i get this:
Compilation failed while executing : ld64
What needs to be done?