New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find type 'FBLPromise' in scope when upgrading from 10.10.0 to 10.24.0 #12867
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @voghDev, this looks related to tuist/tuist#6036. With this, please make sure that you're using at least Tuist 4.4. |
First of all, thanks for your answers @rizafran @paulb777 🙏
After that, the project does not build for me,
So while I fix this
My goal is to have Tuist updated to 4.5.0 and able to build the project. I'll keep this updated with my progress 👍 Thanks everyone for your attention! |
Hi again! after applying the hints proposed here, the error it shows is different.
Any ideas about what this could be related to? any help would be much appreciated. I'm still trying to update to tuist v4 but our project is big and I haven't completed it yet. I wanted to try solving this as an alternative while I complete the migration to tuist v4. |
@voghDev, that symbol should be coming from the Some steps to debug further would be:
|
Hi @ncooke3! Thanks for your comment. FirebaseRemoteConfigInterop can be a path to investigate. The only way I know to list the dependencies and their versions is to attach the updated You can expand this to see our updated
|
We're staying with |
Yes, this is expected. The FirebaseRemoteConfigInterop is a target within the firebase-ios-sdk part of the Package.resolved so you'd have to find a more granular breakdown or just look for "FirebaseRemoteConfigInterop" in the build logs to see if the build system is finding it. Sorry, I'm not familiar with how Tuist works.
It was introduced after 10.10 and is still present in 10.24.0
I don't think so because FirebaseRemoteConfigInterop is inaccessible from the top level package offering. It's sort of an in internal SPM target that gets included when other SPM targets depend on it. |
Description
Hi!
We're updating from firebase-ios-sdk
10.10.0
to10.24.0
and we suddenly found compilation errors related to Promises.We've noticed that the same happens when updating to any version newer than
10.11.0
. In the 10.22.0 CHANGELOG it refers changes in the Promises framework, but we're having the error even with older versions of firebase-ios-sdk. We've also reviewed #7448 and the solutions there appear not to work in our case.We use Tuist+SPM, our Tuist/Dependencies.swift file looks like this:
Thanks in advance
Reproducing the issue
In order to reproduce the issue, we only need to upgrade the
firebase-ios-sdk
version inTuist/Dependencies.swift
, then doAfter that, the project won't compile.
If we revert
firebase-ios-sdk
back to10.10.0
, everything compiles and works againFirebase SDK Version
10.24.0
Xcode Version
15.0.1
Installation Method
Swift Package Manager
Firebase Product(s)
Crashlytics, In-App Messaging, Messaging, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetIf using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: