firebase / firebase-ios-sdk

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

Carthage versioning #7946

Closed icedice closed 3 years ago

icedice commented 3 years ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

The Carthage usage document (https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md#carthage-usage) clearly states that

All Firebase components share the same version. Mixing and matching components with different versions may cause linker errors.

The newest version available seems to be 7.11 however for FirebaseAnalyticsBinary which always needs to be included the newest version is 7.4

What's going on here?

google-oss-bot commented 3 years ago

I found a few problems with this issue:

ryanwilson commented 3 years ago

Hi @icedice - sorry for the trouble. You can see an explanation at https://github.com/firebase/firebase-ios-sdk/issues/7698#issuecomment-799023908, but the tl;dr is that Analytics switched to distribute the binary as an xcframework so we could support Apple silicon, but carthage doesn't have a release that supports xcframeworks yet.

We have another issue tracking Apple silicon support for Carthage that is tracked at #7039 that would solve this issue as well.

Thanks!