Error satisfying GoogleUtilities/MethodSwizzler dependency. #1845
Closed
Description
- Xcode version: 10.0 (10A255)
- Firebase SDK version: 5.8.0
- Firebase Component: Auth, Core, Database, Functions, Messaging, Performance, Storage
- Component version: 5.8.0
Steps to reproduce:
- Create a new Xcode project
pod init
- Add the following lines in the Podfile
pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Functions'
pod 'Firebase/Messaging'
pod 'Firebase/Performance'
pod 'Firebase/Storage'
Note: Changing the platform to platform :ios, '12.0'
causes the same issue.
pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/Performance":
In Podfile:
Firebase/Performance
Specs satisfying the `Firebase/Performance` dependency were found, but they required a higher minimum deployment target.
CocoaPods could not find compatible versions for pod "GoogleUtilities/MethodSwizzler":
In Podfile:
Firebase/Performance was resolved to 5.8.0, which depends on
FirebasePerformance (= 2.1.1) was resolved to 2.1.1, which depends on
GoogleUtilities/MethodSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.
Metadata
Assignees
Labels
No labels
Activity
jayahariv commentedon Sep 19, 2018
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
Firebase/Core
Specs satisfying the
Firebase/Core
dependency were found, but they required a higher minimum deployment target.CocoaPods could not find compatible versions for pod "GoogleUtilities/AppDelegateSwizzler":
In Podfile:
Firebase/Core was resolved to 5.8.0, which depends on
FirebaseAnalytics (= 5.1.2) was resolved to 5.1.2, which depends on
GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
Specs satisfying the
GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
dependency were found, but they required a higher minimum deployment target.paulb777 commentedon Sep 19, 2018
This looks like a CocoaPods bug with version resolution.
A workaround is adding
pod 'GoogleUtilities', '5.2.3'
to the Podfile.We'll continue to investigate. Thanks for the detailed report @zgosalvez
zgosalvez commentedon Sep 19, 2018
@paulb777, I can confirm that the workaround works. Thanks.
No problem; It's the least I could do. Please keep us posted.
paulb777 commentedon Sep 19, 2018
@jayahariv Thanks for the update. I'll delete your comments here to keep this thread focused on original topic.
workaround for dependency failures when doing pod update
workaround for dependency failures when doing pod update
workaround for dependency failures when doing pod update
workaround for dependency failures when doing pod update
paulb777 commentedon Sep 19, 2018
A better workaround is
pod 'GoogleUtilities', '5.2.3'
to get some build time fixes. I'll also edit above.Meanwhile, we're working on doing a Firebase 5.8.1 patch to eliminate the need for the workaround.
39 remaining items