firebase-ios-sdk: Xcode 14 Carthage "this SDK is not supported by the compiler"
Description
When trying to run carthage update --use-xcframeworks --platform iOS or carthage bootstrap --use-xcframeworks --platform iOS for my cartfile.
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
I am seeing this following error on Xcode 14.0 (14A309).
Reproducing the issue
run carthage update --use-xcframeworks --platform iOS
Firebase SDK Version
0.0.0
Xcode Version
14.0
Installation Method
Carthage
Firebase Product(s)
All
Targeted Platforms
iOS
Relevant Log Output
Failed to build module 'FirebaseStorage'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)', while this compiler is 'Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)'). Please select a toolchain which matches the SDK.
If using Swift Package Manager, the project’s Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project’s Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 15 (6 by maintainers)
@paulb777 Would you look at that…after adding in those missing frameworks, seems everything is working as expected.
Thanks!!
Make sure that
FirebaseCoreInternal.xcframeworkis included.@rizafran Carthage was successfully installed the SDK but When build the project - Xcode 14.0 (14A309). I am seeing this following error