ios - Can't compile 64-bit AIR ANE with ADT -


i'm trying compile adobe tutorial ane (github repo here, tutorial here) armv7 , arm64 architectures bring date.

adt failing, apple app store allows universal applications. "libiosvolumelib.a" not universal binary. please change build settings in xcode project "standard architecture" create universal library/framework

however, lipo -info ios/libiosvolumelib.a reports: ios/libiosvolumelib.a are: i386 x86_64 think means file ok.

my xcode project settings show:

  • architectures using standard architectures (armv7 arm64)
  • "build active architecture only" set no
  • "valid architectures" armv7 armv7s arm64
  • my build configuration set "release"

everything builds ok. libiosvolumelib.a file being copied appropriate folder structure referenced adt build command.

the adt build command i'm using is: adt -package -target ane volume.ane extension.xml -swc volumelib.swc -platform iphone-arm -c ios . -platformoptions platformoptions.xml -platform android-arm -c android . -platform default -c default .

the adt i'm using in bin folder of latest adobe air sdk (air v.18) downloaded today. not know whether sdk being used, i'm assuming is, since adt in subdirectory of sdk folder.

how resolve error?

the solution resolved , answer seems checking against wrong set of build files. make sure you're building "ios device" , not specific device happen have plugged in usb port.

this solved issue me - moving built .a file appropriate build folder of ane , running lipo -info on file displayed expected architectures.


Comments