We are using Admob as our primary provider and mediate through AdMob two further ad providers (AdColony and IronSource).
On iOS upon installation of the Podfile, admob shows problems when installing AdColony and IronSource.
The error message is:
[!] Can't merge user_target_xcconfig for pod targets: ["AdColony", "IronSourceSDK"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.
If I remove AdColony and only leave Ironsource in there. The Error goes away.
If I add Adcolony back and remove Ironsource, the error still doesn't appear.
If I add them both back, the error reappears again.
Since this is driven through Admob, this is a problem on your side. The IronSource and Adcolony customer support can't help.
The installed versions are:
- Google-Mobile-Ads-SDK (7.67.1):
- GoogleMobileAdsMediationAdColony (4.4.1.0):
- AdColony (= 4.4.1)
- Google-Mobile-Ads-SDK (>= 7.66.0)
- GoogleMobileAdsMediationIronSource (7.0.3.0):
- Google-Mobile-Ads-SDK (>= 7.66.0)
- IronSourceSDK (= 7.0.3)
The Podfile looks like this:
def shared_pods
pod 'SSZipArchive'
pod 'KeychainAccess'
pod 'SwiftyBeaver'
end
target 'myApp' do
# Comment the next line if you don't want to use dynamic frameworks
platform :ios, '11.0'
use_frameworks!
shared_pods
# Pods for myApp
pod 'IQKeyboardManagerSwift'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FacebookSDK/CoreKit'
pod 'FacebookSDK/ShareKit'
pod 'Google-Mobile-Ads-SDK'
pod 'GoogleMobileAdsMediationAdColony'
pod 'GoogleMobileAdsMediationIronSource'
# pod 'GoogleMobileAdsMediationTestSuite'
target 'myAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'myAppUITests' do
# Pods for testing
end
target 'tunnel-ios' do
end
end
target 'MyApp VPN Proxy' do
# Comment the next line if you don't want to use dynamic frameworks
platform :macos, '10.12'
use_frameworks!
shared_pods
# Pods for MyApp VPN
pod 'AppCenter'
target 'myApp-macTests' do
inherit! :search_paths
# Pods for testing
end
target 'myApp-macUITests' do
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end
What can I do?
Many Thanks,
Houman