Highlighted

ADT package IPA errors with Undefined symbols for architecture arm64

Participant ,
Apr 13, 2016

Copy link to clipboard

Copied

I'm using AIR 22 Beta ADT from command line to try to build a simple ipa-test. I built a simple empty SWF using Flex 4.15, then tried to -package. However I'm getting:

Undefined symbols for architecture arm64:

  "_CFStringLowercase", referenced from:

      _platform_LCMapString in libRuntimeHMAOT.arm-air.a(gsstring_osx.o)

  "_kCFBooleanFalse", referenced from:

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterZeroSymbol", referenced from:

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterNegativeSuffix", referenced from:

      _platform_set_numberformat_mode in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterPositivePrefix", referenced from:

      _platform_set_numberformat_mode in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_CFNumberCreate", referenced from:

      _internalSetNumberProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_CFNumberFormatterSetProperty", referenced from:

      _internalSetNumberProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      _internalSetStringProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterGroupingSize", referenced from:

...

(1000's more lines)


Using OSX 10.11.4, Xcode 7.3/iOS SDK 9.3. I tried AIR SDK 21 and the one in Flex 4.15 (AIR 20?), same result. I also tried replacing ld64 in the AIR SDKs as noted in other posts, no effect.

Found it, I just needed to simply use the correct platformsdk (iPhoneOS, not iPhoneSimulator), ex:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk

TOPICS
Air beta

Views

493

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ADT package IPA errors with Undefined symbols for architecture arm64

Participant ,
Apr 13, 2016

Copy link to clipboard

Copied

I'm using AIR 22 Beta ADT from command line to try to build a simple ipa-test. I built a simple empty SWF using Flex 4.15, then tried to -package. However I'm getting:

Undefined symbols for architecture arm64:

  "_CFStringLowercase", referenced from:

      _platform_LCMapString in libRuntimeHMAOT.arm-air.a(gsstring_osx.o)

  "_kCFBooleanFalse", referenced from:

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterZeroSymbol", referenced from:

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterNegativeSuffix", referenced from:

      _platform_set_numberformat_mode in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterPositivePrefix", referenced from:

      _platform_set_numberformat_mode in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      l_switch.table in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_CFNumberCreate", referenced from:

      _internalSetNumberProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_CFNumberFormatterSetProperty", referenced from:

      _internalSetNumberProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      _internalSetStringProperty in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

      _initCommonOptions in libRuntimeHMAOT.arm-air.a(gsnum_osx.o)

  "_kCFNumberFormatterGroupingSize", referenced from:

...

(1000's more lines)


Using OSX 10.11.4, Xcode 7.3/iOS SDK 9.3. I tried AIR SDK 21 and the one in Flex 4.15 (AIR 20?), same result. I also tried replacing ld64 in the AIR SDKs as noted in other posts, no effect.

Found it, I just needed to simply use the correct platformsdk (iPhoneOS, not iPhoneSimulator), ex:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk

TOPICS
Air beta

Views

494

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 13, 2016 0
Participant ,
Apr 14, 2016

Copy link to clipboard

Copied

Found it, I just needed to simply use the correct platformsdk (iPhoneOS, not iPhoneSimulator), ex:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2016 0