我添加arm64
到我的應用程序:iPhone應用程序,支持64位
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
lib和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)
您要導入的第三方庫和框架沒有arm64支持。升級它們。 – 2015-01-26 21:07:26
@IanMacDonald你可以看看我的編輯 – MTA 2015-01-26 22:18:04
只需閱讀黯淡的錯誤消息。 AdSupport是問題所在。 - 也看到這個答案:http://stackoverflow.com/a/12628989/341994 – matt 2015-01-26 22:52:32