-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Description
When using tenjin_plugin in a Flutter project that includes AppLovin mediation adapters (specifically AppLovinMediationFacebookAdapter which includes FBAudienceNetwork as a dependency), pod installation shows a warning about conflicting EXCLUDED_ARCHS build settings.
Warning Message
[!] Can't merge user_target_xcconfig for pod targets: ["FBAudienceNetwork", "tenjin_plugin"].
Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.
Environment
- tenjin_plugin: 1.2.8
- applovin_max: 4.5.2
- AppLovinMediationFacebookAdapter: latest
- CocoaPods: 1.16.2
- Mac: Apple Silicon M1
- Flutter: 3.35.2
Podfile Configuration
target 'Runner' do
use_frameworks!
use_modular_headers!
# AppLovin Adapters
pod 'AppLovinMediationFacebookAdapter' # <- This brings in FBAudienceNetwork
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
endSteps to Reproduce
- Create Flutter project with AppLovin mediation
- Add tenjin_sdk to
pubspec.yaml:
dependencies:
tenjin_plugin: 1.2.8
applovin_max: 4.5.2- Add AppLovin adapters to iOS Podfile (as shown above)
- Run
cd ios && pod install - Warning appears during installation
I’ve also created a GitHub repo in case you have trouble reproducing the bug: https://github.com/eli1stark/tenjin_test_app.
Current Behavior
- Pod installation completes despite the warning
- App builds and runs successfully
- Warning appears every time
pod installis run - The conflict is between
tenjin_pluginandFBAudienceNetwork(dependency of AppLovinMediationFacebookAdapter)
Expected Behavior
Clean pod installation without warnings when used alongside common ad mediation platforms.
Additional Context
Many Flutter games use AppLovin MAX for ad mediation along with analytics SDKs like Tenjin. This warning creates uncertainty about whether builds are properly configured, especially for different architectures.
The AppLovin Facebook adapter is widely used, so compatibility with it would benefit many developers.
Impact
While not blocking, this warning:
- Appears in CI/CD logs
- Creates confusion about build integrity
- Requires developers to research if it's safe to ignore
Please update the podspec to be compatible with FBAudienceNetwork/AppLovin adapters.