- Home /
Question by
Iker8av · May 29, 2020 at 02:50 AM ·
ioserror messagexcodeadmoberror-building-player
Unity Google AdMob Xcode: When I want to run my game on my iPhone with Xcode i have an error
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from:
objc-class-ref in GADURewardBasedVideoAd.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in GADUBanner.o
"_OBJC_CLASS_$_GADExtras", referenced from:
objc-class-ref in GADURequest.o
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in GADURequest.o
"_OBJC_CLASS_$_GADRewardedAd", referenced from:
objc-class-ref in GADURewardedAd.o
"_kGADAdSizeSmartBannerPortrait", referenced from:
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o
"_kGADSimulatorID", referenced from:
-[GADURequest addTestDevice:] in GADURequest.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GADUInterstitial.o
"_kGADAdLoaderAdTypeNativeCustomTemplate", referenced from:
_GADUCreateAdLoader in GADUInterface.o
"_GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
+[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
"_CGSizeFromGADAdSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
"_GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
+[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
"_GADAdSizeFromCGSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
+[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
"_kGADAdSizeSmartBannerLandscape", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
-[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o
"_OBJC_CLASS_$_GADAdLoader", referenced from:
objc-class-ref in GADUAdLoader.o
"_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
+[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
"_GADAdSizeEqualToSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
"_OBJC_CLASS_$_GADMobileAds", referenced from:
objc-class-ref in GADUInterface.o
"_GADAdSizeFullWidthPortraitWithHeight", referenced from:
+[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
"_OBJC_CLASS_$_GADServerSideVerificationOptions", referenced from:
objc-class-ref in GADUInterface.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Comment
Answer by Ruler1 · Sep 02, 2020 at 10:14 AM
If you open Symlink Unity libraries, the problem will disappear.
ekran-resmi-2020-09-02-131138.png
(157.8 kB)
Answer by polyphonic13 · Dec 29, 2020 at 09:13 PM
Did anyone ever solve this? @DISER1 checking "Symlink Unity Libraries" does not fix this for me. The XCode build still fails with the same errors @Iker8av reported, starting with:
Undefined symbols for architecture arm64:
"_GADUnifiedNativeHeadlineAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativeBodyAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativeIconAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativeStoreAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativePriceAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativeStarRatingAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_GADUnifiedNativeAdChoicesViewAsset", referenced from:
-[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
"_OBJC_CLASS_$_GADRewardedInterstitialAd", referenced from:
objc-class-ref in unity-plugin-library.a(GADURewardedInterstitialAd_39f9127d3797cb8cad4cb2a8f659505d.o)
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in unity-plugin-library.a(GADUInterstitial_086edb7499729734905adee6bc26babe.o)
"_GADAdSizeFullWidthPortraitWithHeight", referenced from:
+[GADUPluginUtil adSizeForWidth:height:] in unity-plugin-library.a(GADUPluginUtil_ac2548951bebf4de3ca97eec72a8dded.o)
"_kGADAdSizeSmartBannerLandscape", referenced from: