-1

我们在 Flex 项目中将推送通知与 AppBoy SDK 集成。我们创建了 ANE,但是在打包应用程序时出现这样的错误

打包应用程序时出错:

Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
  objc-class-ref in libcom.fingent.appboyapn.a(ABKDevice.o)
"_CTFontManagerRegisterGraphicsFont", referenced from:
  -[ABKInAppMessageViewController applyIconToLabelView:] in libcom.fingent.appboyapn.a(ABKInAppMessageViewController.o)
"_SLServiceTypeFacebook", referenced from:
  +[ABKFacebookDataProvider facebookAccountExistsInIOS] in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
  ___85+[ABKFacebookDataProvider fetchAndPostFacebookDataAccessPromptWithSuccessCompletion:]_block_invoke in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_ACFacebookPermissionsKey", referenced from:
  +[ABKFacebookDataProvider fetchAndPostFacebookDataAccessPromptWithSuccessCompletion:] in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_ACFacebookAppIdKey", referenced from:
  +[ABKFacebookDataProvider fetchAndPostFacebookDataAccessPromptWithSuccessCompletion:] in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_ACAccountTypeIdentifierFacebook", referenced from:
  +[ABKFacebookDataProvider fetchAndPostFacebookDataAccessPromptWithSuccessCompletion:] in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_OBJC_CLASS_$_SLRequest", referenced from:
  objc-class-ref in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
  objc-class-ref in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
"_OBJC_CLASS_$_SLComposeViewController", referenced from:
  objc-class-ref in libcom.fingent.appboyapn.a(ABKFacebookDataProvider.o)
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64
4

1 回答 1

0

您的 ANE 是否已从旧的 32 位 xcode 编译重新编译为 64 位?如果不是,您需要执行此操作来编译 16 以上的 Apache Flex SDK(检查文档以获取确切版本......)这个网站上的某个地方是我曾经使用过的一个漂亮的 ANT 编译器:http: //easynativeextensions.com/making-your -ios-apps-universal/祝你好运。

于 2015-08-18T01:51:49.320 回答