-1

`Failed to build iOS app in Xcode 15.2. I am facing this errors ("ld: Undefined symbols" and "clang: error: linker command failed with exit code 1 (use -v to see invocation)"). Before updating pods my project is running fine but after updating pods i am facing these errors. Can anyone tell me how to solve this problem?

I have tried to remove pods and installed it again. Deleted archive and drived data folder. Clean project. Restart Xcode and system.`

Podfile Image

Error Image

5
  • Looks like the error is coming from GoogleMobileAds library. Did you update it's version? Please share your podfile. Commented Jun 22, 2024 at 7:39
  • this is pod file. use_frameworks! pod 'ReachabilitySwift' pod 'Google-Mobile-Ads-SDK' pod 'iOSDropDown' pod 'Firebase/Analytics' pod 'SQLite.swift', '~> 0.14.0' end Commented Jun 22, 2024 at 11:50
  • Yes i had updated all of pods , After update this error is occured. I have attached podfile and error image in question. Commented Jun 22, 2024 at 12:03
  • What happens if you downgrade the version of Google Mobile Ads? Commented Jun 22, 2024 at 12:39
  • Basically problem were with the latest version of 'Google-Mobile-Ads-SDK' (11.6.0), to use latest version of 'Google-Mobile-Ads-SDK' Xcode 15.3 or latest is required. In my case i have Xcode 15.2 so i have downgrade 'Google-Mobile-Ads-SDK' version from "11.6.0" to "11.5.0". Commented Jun 22, 2024 at 20:41

1 Answer 1

1

Basically problem were with the latest version of 'Google-Mobile-Ads-SDK' (11.6.0), to use latest version of 'Google-Mobile-Ads-SDK' Xcode 15.3 or latest is required. In my case i have Xcode 15.2 so i have downgrade 'Google-Mobile-Ads-SDK' version from "11.6.0" to "11.5.0".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.