invertase / firestore-ios-sdk-frameworks

⚡ Precompiled Firestore iOS SDKs extracted from the Firebase iOS SDK repository release downloads for faster build times.
Apache License 2.0
427 stars 48 forks source link

SDK Not Supported By Compiler #83

Closed julianfalcionelli closed 9 months ago

julianfalcionelli commented 9 months ago

Hi there,

I am getting the following errors when using the latest version (10.19.0).

Screenshot 2023-12-07 at 13 25 03

I have the latest Flutter / Dart version and the latest Firebase Plugins.

If I don't use this pre-compiled library (and use the default Firebase SDKs), these errors don't happen (but the building time is ridiculous).

Is this related to the XCode versions used to generate this artifact ?

Best!

mikehardy commented 9 months ago

A couple thoughts -

1- I don't believe anything higher than 10.16.0 is supported at the moment because of #79 - you might like #82 to get away from the whole idea of this build optimization hack and use a more industry-standard build-time optimization 2- there is not quite enough version information to go on (what version of macOS + Xcode resulted in that error message?) 3- it looks like at minimum you need to bump your IOS_DEPLOYMENT_TARGET to 12 to use the framework

julianfalcionelli commented 9 months ago

Hi @mikehardy , thank you very much for your answer.

1- I saw issue #79 but wanted to bring up this one since the error is different (but looks like is related to the same dependency). 2- Mac Version is 13.4.1 (Ventura) and XCode version is 14.3.1 3- The Deployment Target of my project is 15, that error is very confusing. I also checked at the Deployment Target of all the Packages and they are all in 12 since I have the override of it via Podfile (IPHONEOS_DEPLOYMENT_TARGET).

julianfalcionelli commented 9 months ago

I am updating XCode and Mac to the latest version to see if that helps 👀

mikehardy commented 9 months ago

You will still have no success using this if it is not set to firebase-ios-sdk version 10.16.0 per #79 - but using Xcode 15 should help ?

julianfalcionelli commented 9 months ago

@mikehardy updating to the latest Xcode and Mac didn't help, I am going to downgrade Firebase to 10.16.0. Thanks for your help!