Undefined symbols for architecture i386

306 views
Skip to first unread message

Ashish Verma

unread,
Feb 3, 2022, 9:59:14 AM2/3/22
to Google Mobile Ads SDK Developers

Hi,

We are facing some issue in google ads. When we are building the Framework with Google-Mobile-Ads-SDK dependency. Please check the details below.

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_GADNativeAdView", referenced from:

      objc-class-ref in NativeAdVerticalViewController.o

      objc-class-ref in SVCHomeView.o

  "_OBJC_CLASS_$_GADMobileAds", referenced from:

      objc-class-ref in plusSAWSDK.o

  "_OBJC_CLASS_$_GADAdLoaderOptions", referenced from:

      objc-class-ref in GADNativeManager.o

  "_OBJC_CLASS_$_GADVideoOptions", referenced from:

      objc-class-ref in GADNativeManager.o

  "_OBJC_CLASS_$_GADMediaView", referenced from:

      objc-class-ref in SVCHomeView.o

  "_OBJC_CLASS_$_GADAdLoader", referenced from:

      objc-class-ref in GADNativeManager.o

  "_GADAdLoaderAdTypeNative", referenced from:

      function signature specialization <Arg[0] = Dead> of plusSAW.GADNativeManager.loadNativeAds(numberOfAds: Swift.Int, didCompleteWithAds: ([__C.GADNativeAd]?) -> (), didCompleteWithError: (Swift.String) -> ()) -> () in GADNativeManager.o

  "_kGADAdSizeBanner", referenced from:

      plusSAW.SVCDiscoverView.createRequestForBannerView() -> () in SVCDiscoverView.o

  "_OBJC_CLASS_$_GADInterstitialAd", referenced from:

      objc-class-ref in GADInterstitialManager.o

  "_OBJC_CLASS_$_GADBannerView", referenced from:

      objc-class-ref in SVCDiscoverView.o

  "_OBJC_CLASS_$_GADRequest", referenced from:

      objc-class-ref in SVCDiscoverView.o

      objc-class-ref in GADNativeManager.o

      objc-class-ref in GADInterstitialManager.o

  "_OBJC_CLASS_$_GADNativeAd", referenced from:

      objc-class-ref in Map.o

      objc-class-ref in SVCHomeViewModel.o

      objc-class-ref in NativeAdVerticalViewController.o

      objc-class-ref in MapError.o

      objc-class-ref in SkeletonView.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reply all
Reply to author
Forward
0 new messages