CocoaPods user_target_xcconfig conflict with Google Mobile Ads SDK

1,803 views
Skip to first unread message

Markus Möller

unread,
Mar 12, 2021, 11:47:02 AM3/12/21
to Interactive Media Ads SDK

Hi all,

in my Podfile i do have

    pod 'GoogleAds-IMA-iOS-SDK'

    pod 'Google-Mobile-Ads-SDK'

When i run pod install i get this error

[!] Can't merge user_target_xcconfig for pod targets: ["Google-Mobile-Ads-SDK", "GoogleAds-IMA-iOS-SDK"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.

When i us

    pod 'GoogleAds-IMA-iOS-SDK', '= 3.11.4'

then it works.

But i want the latest SDK versions. What can it do?

Kind regards,

Markus

Markus Möller

unread,
Mar 12, 2021, 11:59:18 AM3/12/21
to Interactive Media Ads SDK
An update:

The CocoaPods spec says about user_target_xcconfig:
> This attribute is not recommended as Pods should not pollute the build settings of the user project and this can cause conflicts.
https://guides.cocoapods.org/syntax/podspec.html#user_target_xcconfig

The latest working version without the user_target_xcconfig conflict is

    pod 'GoogleAds-IMA-iOS-SDK', '= 3.13.0'

Kind regards,

Markus

Markus Möller

unread,
Mar 15, 2021, 10:01:23 AM3/15/21
to Interactive Media Ads SDK
It looks like Google Mobile Ads SDK fixed it with

8.2.0.1
2021‑03‑12
  • Fixed the CocoaPods install error "Can't merge user_target_xcconfig" that occurred when using multiple pods with different user_target_xcconfig settings.Note: This is a CocoaPods only release that uses the version 8.2.0 binary.
https://developers.google.com/admob/ios/rel-notes
Message has been deleted

Interactive Media Ads SDK

unread,
Mar 19, 2021, 6:28:21 PM3/19/21
to Interactive Media Ads SDK

Reposting the last inquiry link from the forum as it wasn't routed to our support queue.


Cheers,

William Pescherine

IMA SDK Team

IMA SDK

unread,
Mar 22, 2021, 1:13:58 AM3/22/21
to ima...@googlegroups.com

Hi there,

Thank you for bringing this issue to our attention. For our test reference, could you kindly share with us the sample project file where this error is reproducible? I tried to replicate this using our basic sample application but I wasn’t able to experience the issue upon pod installation (attached screenshot).

Kindly send the project file to our testing alias: imate...@gmail.com


Regards,


Google Logo
Sherwin Diesta
IMA SDK Team
 

 

ref:_00D1U1174p._5004Q2DxIN6:ref
img01.png
Reply all
Reply to author
Forward
0 new messages