firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Xcode 15.3 & 15.4 compilation issue with v10.29.0 using Carthage

Open henry42 opened this issue 1 year ago • 4 comments

Description

I believe the issue is similar to the one described in https://github.com/firebase/firebase-ios-sdk/issues/12800. The binary seems to be built using Swift 5.9, while Xcode 15.3+ uses Swift 5.10.

I hope that the Firebase SDK without the Swift-suffixed binary should not be impacted by the Swift language version in Xcode.

At least, version 10.29.0 should broadly support the current Xcode version, especially since it is the last version that supports iOS 12.

Thank you so much for this project; I truly depend on it.

Reproducing the issue

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 10.29.0 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json" == 10.29.0 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json" == 10.29.0 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" == 10.29.0 binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 10.29.0

Firebase SDK Version

10.29.0

Xcode Version

15.4

Installation Method

Carthage

Firebase Product(s)

Remote Config

Targeted Platforms

iOS

Relevant Log Output

Failed to build module 'FirebaseRemoteConfig'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9... while this compiler is 'Apple Swift version 5.10.... 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!

henry42 avatar Sep 25 '24 08:09 henry42

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Sep 25 '24 08:09 google-oss-bot

This may be related to https://github.com/firebase/firebase-ios-sdk/issues/12877. Please make sure you delete all old Firebase libraries and follow all the Carthage instructions.

Since we're not able to reproduce with our testing, we'll need a full reproducible example.

paulb777 avatar Sep 27 '24 14:09 paulb777

Hey @henry42. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Oct 04 '24 01:10 google-oss-bot

Yes, I deleted all old Firebase libraries and clean the building folder. And I am sure that it is easy to reproduce, just use Xcode 15.3 or 15.4 and Carthage with Firebase 10.29.0

henry42 avatar Oct 05 '24 12:10 henry42

Closed for staleness. We haven't been able to reproduce and Apple will soon stop supporting Xcode 15.

paulb777 avatar Feb 05 '25 00:02 paulb777