iOS Build Environment Help Center

CocoaPods Error

append delete YoNeyers

win 11
builder v3.70.3
iOS 18.2

hey :)
how to fix this?

========================== CocoaPods output BEGIN ===========================
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
In Podfile:
Google-Mobile-Ads-SDK (~> 12.2.0)

GoogleMobileAdsMediationAppLovin (= 13.1.0.1) was resolved to 13.1.0.1, which depends on
Google-Mobile-Ads-SDK (~> 12.0)

GoogleMobileAdsMediationUnity (= 4.12.5.0) was resolved to 4.12.5.0, which depends on
Google-Mobile-Ads-SDK (~> 11.0)

Specs satisfying the `Google-Mobile-Ads-SDK (~> 12.2.0), Google-Mobile-Ads-SDK (~> 12.0), Google-Mobile-Ads-SDK (~> 11.0)` dependency were found, but they required a higher minimum deployment target.
=========================== CocoaPods output END ============================
NOTICE: this command returned a non-success exit status (1).
Press any key to continue . . .

Reply RSS

Replies

#1. YoNeyers

This post was deleted by its owner

append delete #2. Pierre-Marie Baty

Hello @YoNeyers

The fix is already suggested by the CocoaPods error message:

%
Specs satisfying the `Google-Mobile-Ads-SDK (~> 12.2.0), Google-Mobile-Ads-SDK (~> 12.0), Google-Mobile-Ads-SDK (~> 11.0)` dependency were found, but *they required a higher minimum deployment target*.
%

You brought dependencies to your Unity project, but some of those don't support the minimum iOS version you want to build for. Either remove or change those dependencies, or retarget your Unity project to a higher minimum iOS version that satisfies your dependencies.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty