ADT works on Mac(with -platformsdk) but not on Windows
I'm using Flex 4.6, AIR 14. I can package my ANE but when I try to package my IPA on Windows I get the following issue:
[java] "_OBJC_CLASS_$_UIVisualEffectView", referenced from:
[java] objc-class-ref in libgeolock.mobi.geoscan.ext.GeoScanExt.a(IPDFCameraViewController.o)
[java] ld: symbol(s) not found for architecture armv7
[java] Compilation failed while executing : ld64
I've managed to package my IPA with Mac using the -platformsdk flag to my iPhoneOS10.2 SDK. But this is not the ideal solution seeing that our servers are all Windows servers.
If I leave -platformsdk out on Mac I get the following error:
Id: framework not found ModelIO for architecture armv7
Compilation failed while executing : ld64
When I try to use -platformsdk on Windows with iPhoneOS.sdk I get the following error:
[java] Compilation failed while executing : ld64
[java] ld: library not found for -lgcc_s.1
Any help would be appreciated. I've tried with numerous different versions of AIR but this introduces a lot of other errors. Thanks in advance.
Here is my platformoptions for iOS:
<platform xmlns="http://ns.adobe.com/air/extension/14.0">
<sdkVersion>8.0</sdkVersion>
<linkerOptions>
<option>-ios_version_min 8.0</option>
<option>-lc++</option>
<option>-ObjC</option>
<option>-framework AssetsLibrary</option>
<option>-framework AVFoundation</option>
<option>-framework CoreMedia</option>
<option>-framework CoreGraphics</option>
<option>-framework CoreVideo</option>
<option>-framework Foundation</option>
<option>-framework UIKit</option>
<option>-framework OnyxKit</option>
<option>-framework onyx-core</option>
<option>-framework opencv2</option>
</linkerOptions>
<packagedDependencies>
<packagedDependency>libBarcodeScanner.a</packagedDependency>
<packagedDependency>Frameworks/OnyxKit.framework</packagedDependency>
<packagedDependency>Frameworks/onyx-core.framework</packagedDependency>
<packagedDependency>Frameworks/opencv2.framework</packagedDependency>
</packagedDependencies>
</platform>
