-
Notifications
You must be signed in to change notification settings - Fork 4k
[firebase_core]: Swift Compiler Error (Xcode): Access level on imports require '-enable-experimental-feature AccessLevelOnImport' #17331
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
Comments
I have the same issue here. It came out of nowhere, as I haven't updated the pubspec.lock since January. It may be related to a transitive native dependency |
Hi there, can you show me your podfile please, I suspect this is related to what versions of iOS you are targetting. We had this issue with CI albeit with MacOS version and we fixed it by making it target a more recent version. |
my app work with swift package manager, no podfile. |
Hi there, apologies I meant to share what versions of iOS you are targeting in your XCode workspace. |
In my case, both Minimum Deployments and IPHONEOS_DEPLOYMENT_TARGET are 15.6 (the minimum available version in the latest versions of XCode) |
In my case, both Minimum Deployments and IPHONEOS_DEPLOYMENT_TARGET are 13.0 |
Hi @droplet-js, it looks like this issue might be related to Xcode versions, as noted in this comment. Could you let us know which version of Xcode you're using? |
Hey @SelaseKay , in my case, I'm using macos-latest on GitHub Actions. The same error does not occur on my machine with XCode 16.2 |
@SelaseKay I now realize macos-latest on GHA is not using macOS 15 (as I wrongly thought) but macOS 14 instead. Migrating to macos-15 image fixed the issue. |
@AngeloAvv I faced the same issue and I updated both OS and xcode as suggested. After the update the issue got fixed. My xcode version was 15.4 updated to 16.3 and os version was 14.3 updated to 15.5. Thanks! |
Is there an existing issue for this?
Which plugins are affected?
Core
Which platforms are affected?
iOS
Description
Reproducing the issue
Firebase Core version
3.13.0
Flutter Version
3.29.3
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
Package.resolved
No response
The text was updated successfully, but these errors were encountered: