架构 arm64 的未定义符号: “_CGSizeFromGADAdSize”,引用自: +[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADAdSizeEqualToSize”,引用自: +[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADAdSizeFromCGSize”,引用自: +[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a(GADUPluginUtil.o) +[GADUPluginUtil adSizeForWidth:height:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADAdSizeFullWidthPortraitWithHeight”,引用自: +[GADUPluginUtil adSizeForWidth:height:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth”,引用自: +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADEErrorUserInfoKeyResponseInfo”,引用自: _GADUGetAdErrorResponseInfo in unity-plugin-library.a(GADUInterface.o) “_GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth”,引用自: +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in unity-plugin-library.a(GADUPluginUtil.o) “_GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth”,引用自: +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in unity-plugin-library.a(GADUPluginUtil.o) “OBJC_CLASS$_GADAppOpenAd”,引用自: unity-plugin-library.a(GADUAppOpenAd.o) 中的 objc-class-ref “OBJC_CLASS$_GADBannerView”,引用自: unity-plugin-library.a(GADUBanner.o) 中的 objc-class-ref “OBJC_CLASS$_GADExtras”,引用自: unity-plugin-library.a(GADURequest.o) 中的 objc-class-ref “OBJC_CLASS$_GADInterstitialAd”,引用自: unity-plugin-library.a(GADUInterstitial.o) 中的 objc-class-ref “OBJC_CLASS$_GADMobileAds”,引用自: unity-plugin-library.a(GADUInterface.o) 中的 objc-class-ref “OBJC_CLASS$_GADRequest”,引用自: unity-plugin-library.a(GADURequest.o) 中的 objc-class-ref “OBJC_CLASS$_GADRewardedAd”,引用自: unity-plugin-library.a(GADURewardedAd.o) 中的 objc-class-ref “OBJC_CLASS$_GADRewardedInterstitialAd”,引用自: unity-plugin-library.a(GADURewardedInterstitialAd.o) 中的 objc-class-ref “OBJC_CLASS$_GADServerSideVerificationOptions”,引用自: unity-plugin-library.a(GADUInterface.o) 中的 objc-class-ref “OBJC_CLASS$_UMPConsentForm”,引用自: unity-plugin-library.a(GADUConsentForm.o) 中的 objc-class-ref “OBJC_CLASS$_UMPConsentInformation”,引用自: unity-plugin-library.a(GADUConsentForm.o) 中的 objc-class-ref unity-plugin-library.a(GADUConsentInformation.o) 中的 objc-class-ref “OBJC_CLASS$_UMPDebugSettings”,引用自: unity-plugin-library.a(GADUConsentInformation.o) 中的 objc-class-ref “OBJC_CLASS$_UMPRequestParameters”,引用自: unity-plugin-library.a(GADUConsentInformation.o) 中的 objc-class-ref “_kGADAdSizeSmartBannerLandscape”,引用自: +[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a(GADUPluginUtil.o) - [GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in unity-plugin-library.a(GADUBanner.o) - [GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in unity-plugin-library.a(GADUBanner.o) “_kGADAdSizeSmartBannerPortrait”,引用自: - [GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in unity-plugin-library.a(GADUBanner.o) - [GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in unity-plugin-library.a(GADUBanner.o) ld:未找到体系结构 arm64 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
游戏在统一播放器中运行良好,没有错误/警告。使用admob。为 ios 构建。