iPhone 应用支持 64 位

iPhone app Support 64Bit

我将 arm64 添加到我的应用程序:

Architecture
Valid Architecture

当我构建应用程序时,我收到此错误日志:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FBRequest", referenced from:
      objc-class-ref in DEFacebookComposeViewController.o
  "_kGADAdSizeBanner", referenced from:
      ...
  "_OBJC_CLASS_$_FBRequestConnection", referenced from:
      ...
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in libInMobi-4.5.1.a(IMCommonUtil+Private.o)
      objc-class-ref in VungleSDK(VungleSDK.o)
      objc-class-ref in MobFox(MobFox)
      objc-class-ref in iSoma(SOMAAdRequestBuilder.o)
      objc-class-ref in libAppLovinSdk.a(ALDataCollector.o)
      objc-class-ref in libAppLovinSdk.a(ALTaskFetchNextAd.o)
      objc-class-ref in libFlurryAds_6.0.0.a(libFlurryAds.a-arm64-master.o)
      ...
  "_CGSizeFromGADAdSize", referenced from:
      ...
  "_kGADAdSizeLeaderboard", referenced from:
      ...
  "_OBJC_CLASS_$_FBSession", referenced from:
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

知道问题出在哪里吗?

编辑:


我更新了 googleadmob 库和 facebookSdk,但另一个框架已经支持 64 位,我收到此错误消息:

d: warning: ignoring file /Users/App/AdSupport.framework/AdSupport, missing required architecture arm64 in file /Users/App/AdSupport.framework/AdSupport (2 slices)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
      objc-class-ref in libInMobi-4.5.1.a(IMCommonUtil+Private.o)
      objc-class-ref in VungleSDK(VungleSDK.o)
      objc-class-ref in libGoogleAdMobAds.a(GADDevice.o)
      objc-class-ref in libGoogleAdMobAds.a(GADGestureIdUtil.o)
      objc-class-ref in MobFox(MobFox)
      objc-class-ref in iSoma(SOMAAdRequestBuilder.o)
      objc-class-ref in libAppLovinSdk.a(ALDataCollector.o)
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

错误信息很清楚。这些符号不是为该体系结构定义的。您将需要对这些库中的每一个进行新构建 - 一个具有 64 位切片的构建。

您是否尝试过按住选项键并执行“产品”->“清理构建文件夹”?这将消除任何在生成时不知道您的 arm64 编译目标的预编译 headers。试试看,然后重新构建。