Unity Neatplug 不支持 iOS 64bit
Unity Neatplug does not support iOS 64bit
我想升级我已经在 App Store 上发布的应用程序。
但是当我上传它时,我收到了 App Store 的警告消息。
所以我将我的应用程序转换为 64 位应用程序。
我是用unity开发的,所以我把Scripting Backend设置成IL2CPP,然后把project转成XCode一个。
然后我在 XCode.
上收到这些错误
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。如果这不是导致此问题的主要原因,请帮助我如何解决此问题。
谢谢
然后跟进这个问题的答案。问题是本机库缺少 ARM64 二进制文件。请注意,现在需要为 ARMv7 和 ARM64 构建任何本机库。
我想升级我已经在 App Store 上发布的应用程序。 但是当我上传它时,我收到了 App Store 的警告消息。 所以我将我的应用程序转换为 64 位应用程序。 我是用unity开发的,所以我把Scripting Backend设置成IL2CPP,然后把project转成XCode一个。 然后我在 XCode.
上收到这些错误 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。如果这不是导致此问题的主要原因,请帮助我如何解决此问题。 谢谢
然后跟进这个问题的答案。问题是本机库缺少 ARM64 二进制文件。请注意,现在需要为 ARMv7 和 ARM64 构建任何本机库。