[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults":
In snapshot (Podfile.lock):
GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)
In Podfile:
Firebase (= 11.1.0) was resolved to 11.1.0, which depends on
Firebase/Core (= 11.1.0) was resolved to 11.1.0, which depends on
FirebaseAnalytics (~> 11.1.0) was resolved to 11.1.0, which depends on
FirebaseInstallations (~> 11.0) was resolved to 11.1.0, which depends on
GoogleUtilities/UserDefaults (~> 8.0)
GoogleTagManager (= 7.4.6) was resolved to 7.4.6, which depends on
GoogleAnalytics (~> 3.23) was resolved to 3.23.0, which depends on
GoogleUtilities/UserDefaults (~> 7.11)
Reproducing the issue
Just run the command for e.g. pod install with following pods
pod 'Firebase', '11.1.0'
pod 'FirebaseCore', '11.1.0'
pod 'FirebaseDynamicLinks', '11.1.0'
pod 'FirebaseRemoteConfig', '11.1.0'
pod 'FirebaseAnalytics', '11.1.0'
pod 'FirebaseCrashlytics', '11.1.0'
pod 'GoogleTagManager', '7.4.6'
Firebase SDK Version
11.1.0
Xcode Version
15.4
Installation Method
CocoaPods
Firebase Product(s)
AB Testing, Analytics, Crashlytics, DynamicLinks, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
```json
Replace this line with the contents of your Package.resolved.
```
Description
I got the following error message after running pod install --repo-update command.
I could fix this by setting the GoogleTagManager version from 7.4.6 to 7.4.5. This thread could be related to my problem -> https://github.com/googleanalytics/google-tag-manager-ios-sdk/issues/36
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults": In snapshot (Podfile.lock): GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)
In Podfile: Firebase (= 11.1.0) was resolved to 11.1.0, which depends on Firebase/Core (= 11.1.0) was resolved to 11.1.0, which depends on FirebaseAnalytics (~> 11.1.0) was resolved to 11.1.0, which depends on FirebaseInstallations (~> 11.0) was resolved to 11.1.0, which depends on GoogleUtilities/UserDefaults (~> 8.0)
Reproducing the issue
Just run the command for e.g. pod install with following pods
Firebase SDK Version
11.1.0
Xcode Version
15.4
Installation Method
CocoaPods
Firebase Product(s)
AB Testing, Analytics, Crashlytics, DynamicLinks, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml PODS: - Firebase (11.1.0): - Firebase/Core (= 11.1.0) - Firebase/Core (11.1.0): - Firebase/CoreOnly - FirebaseAnalytics (~> 11.1.0) - Firebase/CoreOnly (11.1.0): - FirebaseCore (= 11.1.0) - FirebaseABTesting (11.1.0): - FirebaseCore (~> 11.0) - FirebaseAnalytics (11.1.0): - FirebaseAnalytics/AdIdSupport (= 11.1.0) - FirebaseCore (~> 11.0) - FirebaseInstallations (~> 11.0) - GoogleUtilities/AppDelegateSwizzler (~> 8.0) - GoogleUtilities/MethodSwizzler (~> 8.0) - GoogleUtilities/Network (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - nanopb (~> 3.30910.0) - FirebaseAnalytics/AdIdSupport (11.1.0): - FirebaseCore (~> 11.0) - FirebaseInstallations (~> 11.0) - GoogleAppMeasurement (= 11.1.0) - GoogleUtilities/AppDelegateSwizzler (~> 8.0) - GoogleUtilities/MethodSwizzler (~> 8.0) - GoogleUtilities/Network (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - nanopb (~> 3.30910.0) - FirebaseCore (11.1.0): - FirebaseCoreInternal (~> 11.0) - GoogleUtilities/Environment (~> 8.0) - GoogleUtilities/Logger (~> 8.0) - FirebaseCoreExtension (11.1.0): - FirebaseCore (~> 11.0) - FirebaseCoreInternal (11.1.0): - "GoogleUtilities/NSData+zlib (~> 8.0)" - FirebaseCrashlytics (11.1.0): - FirebaseCore (~> 11.0) - FirebaseInstallations (~> 11.0) - FirebaseRemoteConfigInterop (~> 11.0) - FirebaseSessions (~> 11.0) - GoogleDataTransport (~> 10.0) - GoogleUtilities/Environment (~> 8.0) - nanopb (~> 3.30910.0) - PromisesObjC (~> 2.4) - FirebaseDynamicLinks (11.1.0): - FirebaseCore (~> 11.0) - FirebaseInstallations (11.1.0): - FirebaseCore (~> 11.0) - GoogleUtilities/Environment (~> 8.0) - GoogleUtilities/UserDefaults (~> 8.0) - PromisesObjC (~> 2.4) - FirebaseRemoteConfig (11.1.0): - FirebaseABTesting (~> 11.0) - FirebaseCore (~> 11.0) - FirebaseInstallations (~> 11.0) - FirebaseRemoteConfigInterop (~> 11.0) - FirebaseSharedSwift (~> 11.0) - GoogleUtilities/Environment (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - FirebaseRemoteConfigInterop (11.1.0) - FirebaseSessions (11.1.0): - FirebaseCore (~> 11.0) - FirebaseCoreExtension (~> 11.0) - FirebaseInstallations (~> 11.0) - GoogleDataTransport (~> 10.0) - GoogleUtilities/Environment (~> 8.0) - GoogleUtilities/UserDefaults (~> 8.0) - nanopb (~> 3.30910.0) - PromisesSwift (~> 2.1) - FirebaseSharedSwift (11.1.0) - GoogleAnalytics (3.22.0) - GoogleAppMeasurement (11.1.0): - GoogleAppMeasurement/AdIdSupport (= 11.1.0) - GoogleUtilities/AppDelegateSwizzler (~> 8.0) - GoogleUtilities/MethodSwizzler (~> 8.0) - GoogleUtilities/Network (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - nanopb (~> 3.30910.0) - GoogleAppMeasurement/AdIdSupport (11.1.0): - GoogleAppMeasurement/WithoutAdIdSupport (= 11.1.0) - GoogleUtilities/AppDelegateSwizzler (~> 8.0) - GoogleUtilities/MethodSwizzler (~> 8.0) - GoogleUtilities/Network (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - nanopb (~> 3.30910.0) - GoogleAppMeasurement/WithoutAdIdSupport (11.1.0): - GoogleUtilities/AppDelegateSwizzler (~> 8.0) - GoogleUtilities/MethodSwizzler (~> 8.0) - GoogleUtilities/Network (~> 8.0) - "GoogleUtilities/NSData+zlib (~> 8.0)" - nanopb (~> 3.30910.0) - GoogleDataTransport (10.1.0): - nanopb (~> 3.30910.0) - PromisesObjC (~> 2.4) - GoogleTagManager (7.4.5): - FirebaseAnalytics (< 12.0, >= 10.0) - GoogleAnalytics (~> 3.22) - GoogleUtilities/AppDelegateSwizzler (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Privacy - GoogleUtilities/Environment (8.0.2): - GoogleUtilities/Privacy - GoogleUtilities/Logger (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Privacy - GoogleUtilities/MethodSwizzler (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - GoogleUtilities/Network (8.0.2): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Privacy - GoogleUtilities/Reachability - "GoogleUtilities/NSData+zlib (8.0.2)": - GoogleUtilities/Privacy - GoogleUtilities/Privacy (8.0.2) - GoogleUtilities/Reachability (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - GoogleUtilities/UserDefaults (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy SPEC CHECKSUMS: Firebase: fdb3bd378401f26a7adfcf446b0a630f8c20c0e8 FirebaseABTesting: c2e22c3aab99afa81d0561708b2c1c356c556976 FirebaseAnalytics: 9fcdb2e9844174bb405b34cc47092c9b91993d83 FirebaseCore: 6e2a2782e234b14d48e880ed369ac55cda87fed7 FirebaseCoreExtension: aa5c9779c2d0d39d83f1ceb3fdbafe80c4feecfa FirebaseCoreInternal: adefedc9a88dbe393c4884640a73ec9e8e790f8c FirebaseCrashlytics: 95cfe27373ff2edab39c28583d93cbf2dfff401d FirebaseDynamicLinks: 723659ea243225b831aeaf5959e0fe46cefed6ab FirebaseInstallations: d0a8fea5a6fa91abc661591cf57c0f0d70863e57 FirebaseRemoteConfig: 05521e937b72e01847a7128da5a492327364c705 FirebaseRemoteConfigInterop: abf8b1bbc0bf1b84abd22b66746926410bf91a87 FirebaseSessions: 78f137e68dc01ca71606169ba4ac73b98c13752a FirebaseSharedSwift: 260a35e08943ec810d820a70bc0359136351d0c5 GoogleAnalytics: b123b0cee1851b2bfe1b5897971845399d8b8103 GoogleAppMeasurement: 8bb20efc67c8fc1cff9c42a06c256caf55289bbf GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7 GoogleTagManager: bf9dd0973a350f67edd12ef13b42eb48c29716ef GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d ```