firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.68k stars 1.49k forks source link

SDK Not Supported by Compiler (Xcode 16) #13727

Closed johnfrancmartin closed 1 month ago

johnfrancmartin commented 1 month ago

Description

Receiving the following issue with latest .xcframework release.

SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)', while this compiler is 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)'). Please select a toolchain which matches the SDK.

Reproducing the issue

Attempt to build using XCFramework zip inside Xcode 16.0.

Firebase SDK Version

11.2

Xcode Version

16.0

Installation Method

Zip

Firebase Product(s)

Analytics, Authentication, Crashlytics, Database, Messaging, Remote Config, Storage

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 Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 1 month ago

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

paulb777 commented 1 month ago

We're doing additional investigation in #13731 for Xcode 16. However, my suspicion is that the discussions in #12877 and #13718 are relevant.

paulb777 commented 1 month ago

Based on #13731, our testing is showing that Xcode 16 works with the zip distro.

Please check that you're only using binaries from 11.2.0 and the instructions are followed. We'll need a fully reproducible example to help.

google-oss-bot commented 1 month ago

Hey @johnfrancmartin. 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 commented 1 month ago

Since there haven't been any recent updates here, I am going to close this issue.

@johnfrancmartin if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.