-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding FirebaseAnalytics or FirebaseCrashlytics breaks SwiftUI previews on macOS Sequoia in Xcode 16 due to missing slice for arm64e #14134
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
@rizafran Indeed, it is related, I believe the root cause is the same. And yes, the setting does solve the problem. |
Thanks for the update, @tnymlr. I'm glad to hear that the issue has been resolved. I'll now be closing this ticket but feel free to comment if you encounter the issue again or if you have other questions. |
Can we reopen this one @rizafran ? Relying on Legacy Preview mode isn't an option for us. |
I suspect that like #13603, this is an Apple issue, but I'll reopen for additional analysis and thumbs-ups. |
fwiw, issue persists in macOS 15.2 with Xcode 16.2 |
Thanks, @vade. I will update my feedback ticket. It appears there was a previews fix that went into Xcode 16.1, but it didn't resolve the issue this thread is documenting. |
Good luck haha. I think we're all gonna need it. |
Hmm, I'm able to successfully preview the attached TestApp with Xcode 16.2 on macOS 14.7.1. Perhaps this is a macOS 15 only issue? |
Description
After adding FirebaseAnalytics and/or FirebaseCrashlytics as a dependency using SwiftPM on MacOS Sequoia (exact version I'm running is 15.1) in Xcode 16 into an empty, newly create project, SwiftUI previews stop working due to missing slice for
arm64e-apple-macosx21.1
architectureReproducing the issue
https://github.com/firebase/firebase-ios-sdk.git
ContentView
and make sure canvas is enabledKindly find the project attached.
TestApp.zip
Firebase SDK Version
11.5
Xcode Version
Version 16.1 (16B40)
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, Crashlytics
Targeted Platforms
macOS
Relevant Log Output
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: