2015-06-03 86 views
-1

我想升級已在App Store上發佈的應用程序。 但是當我上傳時,我收到了來自App Store的警告消息。 所以我將我的應用程序轉換爲64Bit。 我使用unity開發它,所以我將Scripting Backend設置爲IL2CPP,並將項目轉換爲XCode。 然後我在XCode上得到了這些錯誤。Unity Neatplug不支持iOS 64位

Undefined symbols for architecture arm64: 
    **"__em_AdmobAd_SetBannerAdSize", referenced from:** 
     AdmobAdIOS__em_AdmobAd_SetBannerAdSize_m8615(Object_t*, int, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z44AdmobAdIOS__em_AdmobAd_SetBannerAdSize_m8615P8Object_tiiP10MethodInfo, _AdmobAdIOS__em_AdmobAd_SetBannerAdSize_m8615_MethodInfo) 
    **"__em_AdmobAd_GetAdSizeInPixels", referenced from:** 
     AdmobAdIOS__em_AdmobAd_GetAdSizeInPixels_m8614(Object_t*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_GetAdSizeInPixels_m2286(AdmobAdIOS_t393*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z46AdmobAdIOS__em_AdmobAd_GetAdSizeInPixels_m8614P8Object_tiP10MethodInfo, _AdmobAdIOS__em_AdmobAd_GetAdSizeInPixels_m8614_MethodInfo) 
    **"__em_AdmobAd_EnableAd", referenced from:** 
     AdmobAdIOS__em_AdmobAd_EnableAd_m8612(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_EnableAd_m2284(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z37AdmobAdIOS__em_AdmobAd_EnableAd_m8612P8Object_tP10MethodInfo, _AdmobAdIOS__em_AdmobAd_EnableAd_m8612_MethodInfo) 
    **"__em_AdmobAd_RepositionBannerAd", referenced from:** 
     AdmobAdIOS__em_AdmobAd_RepositionBannerAd_m8607(Object_t*, int, int, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_RepositionBannerAd_m2279(AdmobAdIOS_t393*, int, int, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_RepositionBannerAd_m8607_MethodInfo, __Z47AdmobAdIOS__em_AdmobAd_RepositionBannerAd_m8607P8Object_tiiiP10MethodInfo) 
    **"__em_AdmobAd_LoadBannerAd", referenced from:** 
     AdmobAdIOS__em_AdmobAd_LoadBannerAd_m8601(Object_t*, int, int, int, int, bool, String_t*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_LoadBannerAdAbs_m8602_MethodInfo, _AdmobAdIOS__em_AdmobAd_LoadBannerAdCustomSize_m8603_MethodInfo , __Z51AdmobAdIOS__em_AdmobAd_LoadBannerAdCustomSize_m8603P8Object_tiiiiibP8String_tiP10MethodInfo , __Z41AdmobAdIOS__em_AdmobAd_LoadBannerAd_m8601P8Object_tiiiibP8String_tiP10MethodInfo , _AdmobAdIOS__em_AdmobAd_LoadBannerAd_m8601_MethodInfo , __Z44AdmobAdIOS__em_AdmobAd_LoadBannerAdAbs_m8602P8Object_tiiibP8String_tiP10MethodInfo) 
    **"__em_AdmobAd_Init", referenced from:** 
     AdmobAdIOS__em_AdmobAd_Init_m8599(Object_t*, String_t*, String_t*, bool, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z33AdmobAdIOS__em_AdmobAd_Init_m8599P8Object_tP8String_tS2_bP10MethodInfo, _AdmobAdIOS__em_AdmobAd_Init_m8599_MethodInfo) 
    **"__em_AdmobAd_ShowInterstitialAd", referenced from:** 
     AdmobAdIOS_ShowInterstitialAd_m2282(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_ShowInterstitialAd_m8610(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z47AdmobAdIOS__em_AdmobAd_ShowInterstitialAd_m8610P8Object_tP10MethodInfo, _AdmobAdIOS__em_AdmobAd_ShowInterstitialAd_m8610_MethodInfo) 
    **"__em_AdmobAd_ShowBannerAd", referenced from:** 
     AdmobAdIOS_ShowBannerAd_m2277(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_ShowBannerAd_m8605(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_ShowBannerAd_m8605_MethodInfo, __Z41AdmobAdIOS__em_AdmobAd_ShowBannerAd_m8605P8Object_tP10MethodInfo) 
    **"__em_AdmobAd_DestroyBannerAd", referenced from:** 
     AdmobAdIOS_DestroyBannerAd_m2280(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_DestroyBannerAd_m8608(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_DisableAd_m2283(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_DestroyBannerAd_m8608_MethodInfo, __Z44AdmobAdIOS__em_AdmobAd_DestroyBannerAd_m8608P8Object_tP10MethodInfo) 
    **"__em_AdmobAd_RefreshBannerAd", referenced from:** 
     AdmobAdIOS_RefreshBannerAd_m2276(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_RefreshBannerAd_m8604(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: __Z44AdmobAdIOS__em_AdmobAd_RefreshBannerAd_m8604P8Object_tP10MethodInfo, _AdmobAdIOS__em_AdmobAd_RefreshBannerAd_m8604_MethodInfo) 
    **"__em_AdmobAd_LoadBannerAdAbs", referenced from:** 
     AdmobAdIOS__em_AdmobAd_LoadBannerAdAbs_m8602(Object_t*, int, int, int, bool, String_t*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_LoadBannerAdAbs_m8602_MethodInfo, __Z44AdmobAdIOS__em_AdmobAd_LoadBannerAdAbs_m8602P8Object_tiiibP8String_tiP10MethodInfo) 
    **"__em_AdmobAd_HideBannerAd", referenced from:** 
     AdmobAdIOS_HideBannerAd_m2278(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_HideBannerAd_m8606(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_HideBannerAd_m8606_MethodInfo, __Z41AdmobAdIOS__em_AdmobAd_HideBannerAd_m8606P8Object_tP10MethodInfo) 
    **"__em_AdmobAd_LoadBannerAdCustomSize", referenced from:** 
     AdmobAdIOS__em_AdmobAd_LoadBannerAdCustomSize_m8603(Object_t*, int, int, int, int, int, bool, String_t*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_LoadBannerAdCustomSize_m8603_MethodInfo, __Z51AdmobAdIOS__em_AdmobAd_LoadBannerAdCustomSize_m8603P8Object_tiiiiibP8String_tiP10MethodInfo) 
    **"__em_AdmobAd_SetTestMode", referenced from:** 
     AdmobAdIOS__em_AdmobAd_SetTestMode_m8600(Object_t*, bool, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_SetTestMode_m2271(AdmobAdIOS_t393*, bool, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_SetTestMode_m8600_MethodInfo, __Z40AdmobAdIOS__em_AdmobAd_SetTestMode_m8600P8Object_tbP10MethodInfo) 
    **"__em_AdmobAd_DisableAd", referenced from:** 
     AdmobAdIOS__em_AdmobAd_DisableAd_m8611(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS_DisableAd_m2283(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_DisableAd_m8611_MethodInfo, __Z38AdmobAdIOS__em_AdmobAd_DisableAd_m8611P8Object_tP10MethodInfo) 
    **"__em_AdmobAd_LoadInterstitialAd", referenced from:** 
     AdmobAdIOS__em_AdmobAd_LoadInterstitialAd_m8609(Object_t*, bool, String_t*, int, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_LoadInterstitialAd_m8609_MethodInfo, __Z47AdmobAdIOS__em_AdmobAd_LoadInterstitialAd_m8609P8Object_tbP8String_tiP10MethodInfo) 
    **"__em_AdmobAd_IsAdEnabled", referenced from:** 
     AdmobAdIOS_IsAdEnabled_m2285(AdmobAdIOS_t393*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
     AdmobAdIOS__em_AdmobAd_IsAdEnabled_m8613(Object_t*, MethodInfo*) in Bulk_AdmobAdLib_0.o 
    (maybe you meant: _AdmobAdIOS__em_AdmobAd_IsAdEnabled_m8613_MethodInfo, __Z40AdmobAdIOS__em_AdmobAd_IsAdEnabled_m8613P8Object_tP10MethodInfo) 
ld: symbol(s) not found for architecture arm64 

我使用了Neatplug for Ads,我認爲這是造成這個問題的原因。 幾個月前我下載了這個插件,所以我不知道這個插件現在支持64位iOS。我不太瞭解XCode。如果這不是這個問題的主要原因,請幫我解決這個問題。 謝謝。

+0

看起來您可能會錯過Neatplug資產的64位庫(儘管我並不特別熟悉Neatplug)。您可以通過將Unity的iOS播放器設置中的「體系結構」選項更改爲「ARMv7」來進行確認。這隻會在Xcode中構建ARMv7 slice,這應該與您使用Mono腳本後端構建的相同。您無法提交,但這是一個很好的故障排除步驟。 –

+0

謝謝你的回覆。我建立它沒有錯誤已經設置ARM7。那時我可以測試它。但是當我上傳它時,我無法做到。你的意思是我必須找到適合iOS 64Bit的庫嗎? – NewBeginner

+0

是的,因爲它是用ARMv7構建的,所以這裏的本地庫可能不是爲ARM64構建的。您需要獲取ARM64版本。 –

回答

0

然後回答這個問題。問題是缺少本地庫的ARM64二進制文件。請注意,現在需要爲ARMv7和ARM64構建任何本機庫。