iOS build error: admob

Hello there,

i have a problem building for iOS (Solar2d version 2022.3683 - SDK 15.5) with this error:

ERROR: Builder failed: Id: warning: object file (XXXX/.build/plugin.admob/GoogleMobileAds.framework/GoogleMobileAds(GADMRAIDActionMonitor.o)) was build for newer iOS version (9.0) than being linked (8.0).

Edit: Removing the admob plugin solved the problem, but i do need it. So the admob plugin is definitely the problem.

Edit: changed topic, from linked error to admob error

Android build had no problems. Do i missed something?

That warning that you posted is just a warning and wouldn’t break the build. There is probably an actual error under that is also related to GoogleMobileAds since you proved that is the issue.

To get rid of the warning, add the min SDK version to your build:

iphone =
	{
		...,
		plist =
		{
              ...
            MinimumOSVersion = "9.0",
		},
    }
1 Like

Thanks for the info about the minimum version, there is every time something new to learn and 1 warning less.

But indeed, the admob error still exist. And i can’t solve it on my own, i think.

Nov 08 08:15:51.997 ERROR: Builder failed: ld: warning: Could not find or use auto-linked framework 'FBLPromises'
Nov 08 08:15:51.998 Undefined symbols for architecture arm64:   "_objc_msgSend$L", referenced from:       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$UTF8String", referenced from:       AdMobPlugin::logMsg(lua_State*, NSString*, NSString*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$UUIDString", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$activateConstraints:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$adInstance", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$adReward", referenced from:       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke.175 in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$adType", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$adUnitID", referenced from:       -[CoronaAdMobDelegate bannerViewDidReceiveAd:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerView:didFailToReceiveAdWithError:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$addConstraint:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$addObject:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$addOperationWithBlock:", referenced from:       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate dispatchLuaEvent:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$addSubview:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$advertisingIdentifier", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$amount", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$appViewController", referenced from:       AdMobPlugin::Initialize(void*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$appendFormat:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$arrayWithObjects:count:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       __GLOBAL__sub_I_AdMobPlugin.mm in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$bannerViewDidDismissScreen:", referenced from:       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$bannerViewWillPresentScreen:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$boolValue", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$bottomAnchor", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$bottomLayoutGuide", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$centerXAnchor", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$class", referenced from:       +[CoronaAdMobDelegate typeFor:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$code", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$colorComponentFrom:start:length:", referenced from:       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$colorWithHexString:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$colorWithRed:green:blue:alpha:", referenced from:       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$constraintEqualToAnchor:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$constraintEqualToAnchor:constant:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$containsObject:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$copy", referenced from:       AdMobPlugin::logMsg(lua_State*, NSString*, NSString*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$coronaListener", referenced from:       AdMobPlugin::isSDKInitialized(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::Finalizer(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$coronaPointToUIKitPoint:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$coronaRuntime", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$count", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$countByEnumeratingWithState:objects:count:", referenced from:       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$currentDevice", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$dataWithJSONObject:options:error:", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$dictionaryWithObjects:forKeys:count:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_3 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_4 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$disableSDKCrashReporting", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$dispatchLuaEvent:", referenced from:       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_3 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_4 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke.175 in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$floatValue", referenced from:       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$frame", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$getJSONStringForAd:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate adDidPresentFullScreenContent:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$getJSONStringForAd:error:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate ad:didFailToPresentFullScreenContentWithError:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate adDidDismissFullScreenContent:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewDidReceiveAd:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewWillPresentScreen:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewDidDismissScreen:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerView:didFailToReceiveAdWithError:] in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$getJSONStringForAd:reward:", referenced from:       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke.175 in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$getJSONStringForAd:reward:error:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate getJSONStringForAd:reward:] in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate getJSONStringForAd:error:] in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate getJSONStringForAd:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$hasPrefix:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$identifierForVendor", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$init", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$initWithAd:adType:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance init] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$initWithAdSize:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$initWithData:encoding:", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$invalidateInfo", referenced from:       -[CoronaAdMobAdInstance dealloc] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$isEqualToString:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$isKindOfClass:", referenced from:       +[CoronaAdMobDelegate typeFor:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$isLoaded", referenced from:       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewDidReceiveAd:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$leftAnchor", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$length", referenced from:       AdMobPlugin::logMsg(lua_State*, NSString*, NSString*) in libplugin_admob.a(AdMobPlugin.o)       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$loadRequest:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$loadWithAdUnitID:request:completionHandler:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$localizedDescription", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$mainBundle", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$mainQueue", referenced from:       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate dispatchLuaEvent:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$markInstanceUnloadedFor:", referenced from:       -[CoronaAdMobDelegate ad:didFailToPresentFullScreenContentWithError:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate adDidPresentFullScreenContent:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$new", referenced from:       AdMobPlugin::Initialize(void*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$numberWithBool:", referenced from:       AdMobPlugin::Initialize(void*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate ad:didFailToPresentFullScreenContentWithError:] in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$numberWithDouble:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$numberWithInteger:", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$objectForInfoDictionaryKey:", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$objectForKey:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$objectForKeyedSubscript:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate markInstanceUnloadedFor:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewDidReceiveAd:] in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$performSelector:", referenced from:       +[CoronaAdMobDelegate placementForAd:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$placementForAd:", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate markInstanceUnloadedFor:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$positionBannerViewInsideSafeArea:withYAlign:withYOffset:", referenced from:       ____ZN11AdMobPlugin4showEP9lua_State_block_invoke_2 in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeArea:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeArea:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$presentFromRootViewController:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$presentFromRootViewController:userDidEarnRewardHandler:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$raise:format:", referenced from:       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$registerAdNetworkExtras:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$removeFromSuperview", referenced from:       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$request", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$requestConfiguration", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$requestTrackingAuthorizationWithCompletionHandler:", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$respondsToSelector:", referenced from:       +[CoronaAdMobDelegate placementForAd:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$rightAnchor", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$safeAreaLayoutGuide", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$scanHexInt:", referenced from:       +[UIColor(HexString) colorComponentFrom:start:length:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$scannerWithString:", referenced from:       +[UIColor(HexString) colorComponentFrom:start:length:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$sdkVersion", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setAdInstance:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance initWithAd:adType:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setAdType:", referenced from:       -[CoronaAdMobAdInstance initWithAd:adType:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setAdUnitID:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setAdditionalParameters:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setApplicationVolume:", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::setVideoAdVolume(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setBackgroundColor:", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setCoronaListener:", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate init] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setCoronaRuntime:", referenced from:       AdMobPlugin::Initialize(void*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate init] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setDelegate:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setFullScreenContentDelegate:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance invalidateInfo] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setIsLoaded:", referenced from:       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.138 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4loadEP9lua_State_block_invoke.141 in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate markInstanceUnloadedFor:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerViewDidReceiveAd:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate bannerView:didFailToReceiveAdWithError:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance initWithAd:adType:] in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$setKeywords:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setMaxAdContentRating:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setObject:forKeyedSubscript:", referenced from:       AdMobPlugin::Initialize(void*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setRootViewController:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setTestDeviceIdentifiers:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setTranslatesAutoresizingMaskIntoConstraints:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$setViewController:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$sharedApplication", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$sharedInstance", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::setVideoAdVolume(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_2 in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$sharedManager", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$startWithCompletionHandler:", referenced from:       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_2 in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$statusBarOrientation", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$stringByAppendingString:", referenced from:       AdMobPlugin::logMsg(lua_State*, NSString*, NSString*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$stringByReplacingOccurrencesOfString:withString:", referenced from:       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$stringWithCapacity:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$stringWithFormat:", referenced from:       AdMobPlugin::logMsg(lua_State*, NSString*, NSString*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::init(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$stringWithUTF8String:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::isLoaded(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::height(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_3 in libplugin_admob.a(AdMobPlugin.o)       ____ZN11AdMobPlugin4initEP9lua_State_block_invoke_4 in libplugin_admob.a(AdMobPlugin.o)       ...   "_objc_msgSend$substringWithRange:", referenced from:       +[UIColor(HexString) colorComponentFrom:start:length:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$superview", referenced from:       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::hide(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$tagForChildDirectedTreatment:", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$testDeviceIdentifiers", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$topAnchor", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$topLayoutGuide", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$type", referenced from:       +[CoronaAdMobDelegate getJSONStringForAd:reward:error:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$typeFor:", referenced from:       -[CoronaAdMobDelegate ad:didFailToPresentFullScreenContentWithError:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate adDidPresentFullScreenContent:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobDelegate adDidDismissFullScreenContent:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$uppercaseString", referenced from:       +[UIColor(HexString) colorWithHexString:] in libplugin_admob.a(UIColor+HexString.o)   "_objc_msgSend$valueForKey:", referenced from:       ___40-[CoronaAdMobDelegate dispatchLuaEvent:]_block_invoke in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$view", referenced from:       AdMobPlugin::load(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       AdMobPlugin::show(lua_State*) in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)   "_objc_msgSend$viewController", referenced from:       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaiOS9Plus:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o)       -[CoronaAdMobAdInstance positionBannerViewInsideSafeAreaPreiOS9:withYAlign:withYOffset:] in libplugin_admob.a(AdMobPlugin.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Nov 08 08:15:52.000 BUILD ERROR: There was a problem linking the app.  Check the console for more information.

Even when i start a new project and include the plugin.admob the build is broken, without the admob plugin included, it is without any errors.

@Scott_Harrison @vlads

Can you please look into this, are there any changes made to the plugin within the last 2 weeks?
I can’t believe that nobody else is using the admob plugin and is building a version for iOS.

Any help would be appreciated.

There were two updates in the past week to AdMob, and they’ve been giving me trouble as well. Since you are using a version of Solar2D later than 3676, you can force your build to use older versions of plugins:

["plugin.admob"] =
	{
	publisherId = "com.coronalabs",
	version = "v23",
	},

Give the above a try and see if your build works.

Also, you can check up on when plugins were updated here:

1 Like

This worked for me, many thanks for your help.

Thanks so much for this. Had the same issue and error before using your solution to change the version number. There’s definitely an iOS bug.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.