Skip to content

Short Demo project illustrating an issue with GoogleTagManager and Usabilla when using both in the same project, because of using `user_target_xcconfig` in podspec, with conflicting values.

Notifications You must be signed in to change notification settings

mvandervelden/GTMPodIssueTest

Repository files navigation

GTMPodIssueTest

Test project to illustrate issues with the latest GoogleTagManager iOS sdk version (7.3.0), when used in combination with the latest Usabilla version (6.7.1) through CocoaPods.

How to reproduce

Checkout the code, run pod install (using Cocoapods 1.10.1), observe the following output:

Analyzing dependencies

Downloading dependencies

Installing FirebaseAnalytics (8.0.0)

Installing FirebaseCore (8.0.0)

Installing FirebaseCoreDiagnostics (8.0.0)

Installing FirebaseInstallations (8.0.0)

Installing GoogleAnalytics (3.17.0)

Installing GoogleAppMeasurement (8.0.0)

Installing GoogleDataTransport (9.0.0)

Installing GoogleSymbolUtilities (1.1.2)

Installing GoogleTagManager (7.3.0)

Installing GoogleUtilities (7.4.1)

Installing GoogleUtilitiesLegacy (1.3.2)

Installing PromisesObjC (1.2.12)

Installing Usabilla (6.7.1)

Installing nanopb (2.30908.0)

Generating Pods project

Integrating client project

Pod installation complete! There are 2 dependencies from the Podfile and 14 total pods installed.

[!] Can't merge user_target_xcconfig for pod targets: ["GoogleTagManager", "Usabilla"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.

[!] Can't merge user_target_xcconfig for pod targets: ["GoogleTagManager", "Usabilla"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.

Cause

GoogleTagManager contains EXCLUDED_ARCHS in the user_target_xcconfig field of its podspec.

Usabilla contains the same, but with different value in its podspec

Solution

Podspecs should not define EXCLUDED_ARCHS in the user_target_xcconfig fied of their podspec.

Related Issues

References

About

Short Demo project illustrating an issue with GoogleTagManager and Usabilla when using both in the same project, because of using `user_target_xcconfig` in podspec, with conflicting values.

Topics

Resources

Stars

Watchers

Forks