Dear all :
My xCode project run into linker error these two days. After googling and trying many suggestions, nothing works. So may anyone give a help about where to fix this problem. I used Unity 2017.4.13f1 to generate iOS xCode project. Really appreciate your support. Below is the error message generated from xCode Archieve (xCode 10.0).
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from:
objc-class-ref in GADURewardBasedVideoAd.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in GADUBanner.o
"_GADAdSizeFullWidthPortraitWithHeight", referenced from:
+[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
"_CGSizeFromGADAdSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
"_GADAdSizeEqualToSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] 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
"_GADAdSizeFromCGSize", referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
+[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
"_OBJC_CLASS_$_GADAdLoader", referenced from:
objc-class-ref in GADUAdLoader.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_$_GADExtras", referenced from:
objc-class-ref in GADURequest.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GADUInterstitial.o
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in GADURequest.o
"_kGADAdLoaderAdTypeNativeCustomTemplate", referenced from:
_GADUCreateAdLoader in GADUInterface.o
"_OBJC_CLASS_$_GADMobileAds", referenced from:
objc-class-ref in GADUInterface.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
↧