- Home /
Problem compiling IOS
Hi there, i'm new to ios, its my first attempt to cmpile an ios app. I'm getting the following error on xcode:
Undefined symbols for architecture armv7:
"_kGADAdSizeSmartBannerPortrait", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_kGADAdSizeFullBanner", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_kGADAdSizeBanner", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_kGADAdSizeMediumRectangle", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_kGADAdSizeSmartBannerLandscape", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_kGADAdSizeLeaderboard", referenced from:
-[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GoogleMobileAdController.o
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in GoogleMobileAdController.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in GoogleMobileAdBanner.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How i get this to work? Appreciate the help.
just for test :it looks like you have admob(add) in your project .remove that and build if it works then we know this issue is created by banner .after that we can move to resolve the issue with the add you have
Yeah, I deleted everything related to admob, and it builded ok. But all i get was a black screen on my iphone. I guess its because i also deleted the plugin folder. I´m using the Stan's Assets - Ultimate $$anonymous$$obile.
i have used "Stan" product one of best assistance provided by his $$anonymous$$m.you can droop them a mail with log you get in xcode.for now you can you check the scripts that are attach to game object in the first scene which is suppose to load .some scripts are out of in the plugin folder so they are still present in asset folder and trying to modify the Behaviour of scene .
I will send an email. I'm getting another error. I updated the asset, but the compiler says a file is missing.
Answer by tikamar · Oct 26, 2021 at 11:06 AM
I have the same error when I add facebook adapter and admob mediation I resolve this by check "Link framework statically" on IOS Resolver Settings