Thursday, June 27, 2024
HomeiOS Developmentios - Error after including google_mobile_ads sdk in swift utilizing CocoaPods

ios – Error after including google_mobile_ads sdk in swift utilizing CocoaPods


I added the google_mobile_ads sdk v11.6.0 in my swift mission. Now after I run the mission I get the next error

ld: warning: Couldn't discover or use auto-linked library 'swiftXPC': library 'swiftXPC' not discovered
ld: warning: Couldn't discover or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not discovered
ld: warning: Couldn't discover or use auto-linked framework 'MarketplaceKit': framework 'MarketplaceKit' not discovered
ld: Undefined symbols:
  enum case for MarketplaceKit.AppDistributor.testFlight(MarketplaceKit.AppDistributor.Kind) -> MarketplaceKit.AppDistributor, referenced from:
      l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
      l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  enum case for MarketplaceKit.AppDistributor.market(MarketplaceKit.AppDistributor.Kind) -> (Swift.String) -> MarketplaceKit.AppDistributor, referenced from:
      l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
      l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  enum case for MarketplaceKit.AppDistributor.different(MarketplaceKit.AppDistributor.Kind) -> MarketplaceKit.AppDistributor, referenced from:
      l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
      l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  static MarketplaceKit.AppDistributor.present.getter : MarketplaceKit.AppDistributor, referenced from:
      operate signature specialization <Arg[0] = Lifeless> of static GoogleMobileAds.GADMarketplaceKitSignals.appDistributor() async -> Swift.String in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  async operate pointer to static MarketplaceKit.AppDistributor.present.getter : MarketplaceKit.AppDistributor, referenced from:
      operate signature specialization <Arg[0] = Lifeless> of static GoogleMobileAds.GADMarketplaceKitSignals.appDistributor() async -> Swift.String in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  enum case for MarketplaceKit.AppDistributor.appStore(MarketplaceKit.AppDistributor.Kind) -> MarketplaceKit.AppDistributor, referenced from:
      l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
      l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  kind metadata accessor for MarketplaceKit.AppDistributor, referenced from:
      l007 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
      l008 in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  nominal kind descriptor for MarketplaceKit.AppDistributor, referenced from:
      _symbolic _____Sg 14MarketplaceKit14AppDistributorO in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
  __swift_FORCE_LOAD_$_swiftXPC, referenced from:
      __swift_FORCE_LOAD_$_swiftXPC_$_GoogleMobileAds in GoogleMobileAds[arm64][423](GADMarketplaceKitSignals.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

after I take away google_mobile_ads SDK from pods the whole lot works superb



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments