Skip to main content
Inspiring
April 14, 2016
Answered

ADT package IPA errors with Undefined symbols for architecture arm64

  • April 14, 2016
  • 1 reply
  • 693 views

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.

This topic has been closed for replies.
Correct answer tedalde2

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

1 reply

tedalde2AuthorCorrect answer
Inspiring
April 15, 2016

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