I have a project that runs fine and shows test ads in debug, but release mode will not build due to linker errors. If I remove the MobileAds api, the project builds in release mode again.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _CGSizeFromGADAdSize. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetCGSize. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeEqualToSize. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.Equals. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeFromCGSize. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetFromCGSize. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeFromNSValue. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._GetFromNSValue. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeFullWidthLandscapeWithHeight. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetFullWidthLandscape. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeFullWidthPortraitWithHeight. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetFullWidthPortrait. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADAdSizeIsFluid. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.AdSizeIsFluid. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetCurrentOrientationAnchoredAdaptiveBannerAdSize. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADCustomEventAdNetworkClassName. This symbol was referenced by the managed member Google.MobileAds.ResponseInfo.CustomEventAdNetworkClassName. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADErrorUserInfoKeyResponseInfo. This symbol was referenced by the managed member Google.MobileAds.ResponseInfo.ErrorUserInfoKey. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADGoogleAdNetworkClassName. This symbol was referenced by the managed member Google.MobileAds.ResponseInfo.GoogleAdNetworkClassName. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetLandscapeAnchoredAdaptiveBannerAdSize. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADMaxAdContentRatingGeneral. This symbol was referenced by the managed member Google.MobileAds.MaxAdContentRatingConstants.General. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADMaxAdContentRatingMatureAudience. This symbol was referenced by the managed member Google.MobileAds.MaxAdContentRatingConstants.MatureAudience. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADMaxAdContentRatingParentalGuidance. This symbol was referenced by the managed member Google.MobileAds.MaxAdContentRatingConstants.ParentalGuidance. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADMaxAdContentRatingTeen. This symbol was referenced by the managed member Google.MobileAds.MaxAdContentRatingConstants.Teen. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADNativeCustomTemplateAdMediaViewKey. This symbol was referenced by the managed member Google.MobileAds.NativeCustomTemplateAd._MediaViewKey. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.GetPortraitAnchoredAdaptiveBannerAdSize. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeAdChoicesViewAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.AdChoicesViewAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeAdvertiserAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.AdvertiserAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeBodyAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.BodyAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeCallToActionAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.CallToActionAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeHeadlineAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.HeadlineAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeIconAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.IconAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeImageAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.ImageAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeMediaViewAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.MediaViewAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativePriceAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.PriceAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeStarRatingAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.StarRatingAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _GADUnifiedNativeStoreAsset. This symbol was referenced by the managed member Google.MobileAds.UnifiedNativeAdAssetIdentifiers.StoreAsset. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _IsGADAdSizeValid. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons.IsAdSizeValid. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _NSStringFromGADAdSize. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._GetNSString. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _NSValueFromGADAdSize. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._GetNSValue. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: DFPBannerView. The symbol '_OBJC_CLASS_$_DFPBannerView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: DFPBannerViewOptions. The symbol '_OBJC_CLASS_$_DFPBannerViewOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: DFPCustomRenderedAd. The symbol '_OBJC_CLASS_$_DFPCustomRenderedAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: DFPInterstitial. The symbol '_OBJC_CLASS_$_DFPInterstitial' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: DFPRequest. The symbol '_OBJC_CLASS_$_DFPRequest' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: FIRApp. The symbol '_OBJC_CLASS_$_FIRApp' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: FIRConfiguration. The symbol '_OBJC_CLASS_$_FIRConfiguration' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: FIROptions. The symbol '_OBJC_CLASS_$_FIROptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdChoicesView. The symbol '_OBJC_CLASS_$_GADAdChoicesView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdLoader. The symbol '_OBJC_CLASS_$_GADAdLoader' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdLoaderOptions. The symbol '_OBJC_CLASS_$_GADAdLoaderOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdReward. The symbol '_OBJC_CLASS_$_GADAdReward' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdValue. The symbol '_OBJC_CLASS_$_GADAdValue' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAdapterStatus. The symbol '_OBJC_CLASS_$_GADAdapterStatus' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAppOpenAd. The symbol '_OBJC_CLASS_$_GADAppOpenAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAppOpenAdView. The symbol '_OBJC_CLASS_$_GADAppOpenAdView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADAudioVideoManager. The symbol '_OBJC_CLASS_$_GADAudioVideoManager' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADBannerView. The symbol '_OBJC_CLASS_$_GADBannerView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADCustomEventExtras. The symbol '_OBJC_CLASS_$_GADCustomEventExtras' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADCustomEventRequest. The symbol '_OBJC_CLASS_$_GADCustomEventRequest' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADDebugOptionsViewController. The symbol '_OBJC_CLASS_$_GADDebugOptionsViewController' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADDefaultInAppPurchase. The symbol '_OBJC_CLASS_$_GADDefaultInAppPurchase' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADDelayedAdRenderingOptions. The symbol '_OBJC_CLASS_$_GADDelayedAdRenderingOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADDisplayAdMeasurement. The symbol '_OBJC_CLASS_$_GADDisplayAdMeasurement' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADDynamicHeightSearchRequest. The symbol '_OBJC_CLASS_$_GADDynamicHeightSearchRequest' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADExtras. The symbol '_OBJC_CLASS_$_GADExtras' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADInAppPurchase. The symbol '_OBJC_CLASS_$_GADInAppPurchase' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADInitializationStatus. The symbol '_OBJC_CLASS_$_GADInitializationStatus' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADInstreamAd. The symbol '_OBJC_CLASS_$_GADInstreamAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADInstreamAdView. The symbol '_OBJC_CLASS_$_GADInstreamAdView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADInterstitial. The symbol '_OBJC_CLASS_$_GADInterstitial' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADMediaContent. The symbol '_OBJC_CLASS_$_GADMediaContent' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADMediaView. The symbol '_OBJC_CLASS_$_GADMediaView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADMobileAds. The symbol '_OBJC_CLASS_$_GADMobileAds' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADMultipleAdsAdLoaderOptions. The symbol '_OBJC_CLASS_$_GADMultipleAdsAdLoaderOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADMuteThisAdReason. The symbol '_OBJC_CLASS_$_GADMuteThisAdReason' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeAd. The symbol '_OBJC_CLASS_$_GADNativeAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeAdImage. The symbol '_OBJC_CLASS_$_GADNativeAdImage' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeAdImageAdLoaderOptions. The symbol '_OBJC_CLASS_$_GADNativeAdImageAdLoaderOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeAdMediaAdLoaderOptions. The symbol '_OBJC_CLASS_$_GADNativeAdMediaAdLoaderOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeAdViewAdOptions. The symbol '_OBJC_CLASS_$_GADNativeAdViewAdOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeCustomTemplateAd. The symbol '_OBJC_CLASS_$_GADNativeCustomTemplateAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeExpressAdView. The symbol '_OBJC_CLASS_$_GADNativeExpressAdView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADNativeMuteThisAdLoaderOptions. The symbol '_OBJC_CLASS_$_GADNativeMuteThisAdLoaderOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADRequest. The symbol '_OBJC_CLASS_$_GADRequest' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADRequestConfiguration. The symbol '_OBJC_CLASS_$_GADRequestConfiguration' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADRequestError. The symbol '_OBJC_CLASS_$_GADRequestError' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADResponseInfo. The symbol '_OBJC_CLASS_$_GADResponseInfo' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADRewardBasedVideoAd. The symbol '_OBJC_CLASS_$_GADRewardBasedVideoAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADRewardedAd. The symbol '_OBJC_CLASS_$_GADRewardedAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADSearchBannerView. The symbol '_OBJC_CLASS_$_GADSearchBannerView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADServerSideVerificationOptions. The symbol '_OBJC_CLASS_$_GADServerSideVerificationOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADUnifiedNativeAd. The symbol '_OBJC_CLASS_$_GADUnifiedNativeAd' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADUnifiedNativeAdView. The symbol '_OBJC_CLASS_$_GADUnifiedNativeAdView' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADVideoController. The symbol '_OBJC_CLASS_$_GADVideoController' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: GADVideoOptions. The symbol '_OBJC_CLASS_$_GADVideoOptions' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: PACAdProvider. The symbol '_OBJC_CLASS_$_PACAdProvider' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: PACConsentForm. The symbol '_OBJC_CLASS_$_PACConsentForm' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5211: Native linking failed, undefined Objective-C class: PACConsentInformation. The symbol '_OBJC_CLASS_$_PACConsentInformation' could not be found in any of the libraries or frameworks linked with your application.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _PACErrorDomain. This symbol was referenced by the managed member Google.MobileAds.Consent.ConsentInformation.ErrorDomain. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _PACUserDefaultsRootKey. This symbol was referenced by the managed member Google.MobileAds.Consent.ConsentInformation.UserDefaultsRootKey. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _PACVersionString. This symbol was referenced by the managed member Google.MobileAds.Consent.ConsentInformation.VersionString. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kDFPSimulatorID. This symbol was referenced by the managed member Google.MobileAds.DoubleClick.Request.SimulatorId. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdLoaderAdTypeDFPBanner. This symbol was referenced by the managed member Google.MobileAds.AdLoaderAdTypeExtensions.kGADAdLoaderAdTypeDFPBanner. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdLoaderAdTypeNativeAppInstall. This symbol was referenced by the managed member Google.MobileAds.AdLoaderAdTypeExtensions.kGADAdLoaderAdTypeNativeAppInstall. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdLoaderAdTypeNativeContent. This symbol was referenced by the managed member Google.MobileAds.AdLoaderAdTypeExtensions.kGADAdLoaderAdTypeNativeContent. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdLoaderAdTypeNativeCustomTemplate. This symbol was referenced by the managed member Google.MobileAds.AdLoaderAdTypeExtensions.kGADAdLoaderAdTypeNativeCustomTemplate. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdLoaderAdTypeUnifiedNative. This symbol was referenced by the managed member Google.MobileAds.AdLoaderAdTypeExtensions.kGADAdLoaderAdTypeUnifiedNative. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeBanner. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._Banner. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeFluid. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._Fluid. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeFullBanner. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._FullBanner. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeInvalid. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._Invalid. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeLargeBanner. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._LargeBanner. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeLeaderboard. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._Leaderboard. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeMediumRectangle. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._MediumRectangle. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeSkyscraper. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._Skyscraper. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeSmartBannerLandscape. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._SmartBannerLandscape. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADAdSizeSmartBannerPortrait. This symbol was referenced by the managed member Google.MobileAds.AdSizeCons._SmartBannerPortrait. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADErrorDomain. This symbol was referenced by the managed member Google.MobileAds.RequestError._ErrorDomain. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5214: Native linking failed, undefined symbol: _kGADSimulatorID. This symbol was referenced by the managed member Google.MobileAds.Request.SimulatorId. Please verify that all the necessary frameworks have been referenced and native libraries linked.
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: "-LNative References" -lfmod -force_load "Native References/libfmod.a" "-LNative References" -lfmodstudio -force_load "Native References/libfmodstudio.a" -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz
1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): error : linker command failed with exit code 1 (use -v to see invocation)
I have a attached a full build log (its long)
buildlog.txt
It looks like there are some similar issues already open. Some have suggested adding a dummy variable to Firebase core like this:
var foo = Firebase.Core.Configuration.SharedInstance;
and also downgrading Xamarin.Build.Download Package from 0.10.0 to 0.4.11.
But none of these work for me
I have tried turning linking off, but get the same errors, which seems strange to me.
Visual Studio Community 2019 v16.6.2
Xamarin.Build.Download v0.10.0
Xamarin.Firebase.iOS.Core v6.6.6
Xamarin.Google.iOS.MobileAds v7.57.0
Random update: I've found that if I change this to ARM64 only, it will build in release mode. I don't know if this build actually runs as I only have an iPad2 to test with! Does this give any extra clues?
I have a project that runs fine and shows test ads in debug, but release mode will not build due to linker errors. If I remove the MobileAds api, the project builds in release mode again.
I have a attached a full build log (its long) buildlog.txt
It looks like there are some similar issues already open. Some have suggested adding a dummy variable to Firebase core like this:
var foo = Firebase.Core.Configuration.SharedInstance;
and also downgrading Xamarin.Build.Download Package from 0.10.0 to 0.4.11. But none of these work for meI have tried turning linking off, but get the same errors, which seems strange to me.
Visual Studio Community 2019 v16.6.2 Xamarin.Build.Download v0.10.0 Xamarin.Firebase.iOS.Core v6.6.6 Xamarin.Google.iOS.MobileAds v7.57.0