You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a macOS SwiftUI app that references the Sentry framework. Since I updated Xcode to 16.0, the SwiftUI preview has stopped working. When I open any SwiftUI view file containing a PreviewProvider implementation, the Xcode preview window crashes. However, we can build and run the app without any issues.
Expected Result
SwiftUI preview window shows a mocked preview of the opened view.
Actual Result
SwiftUI preview fails with the Sentry does not contain a slice for arm64e-apple-macosx21.1 error:
== PREVIEW UPDATE ERROR:
FailedToLaunchAppError: Failed to launch com.slido.SlidoApp
/Users/dpalo/Library/Developer/Xcode/DerivedData/SlidoAddin-fddfekbcupxqcceaxbdflfzoaani/Build/Products/Debug/Slido.app
==================================
| [Remote] JITError
|
| ==================================
|
| | [Remote] LLVMError
| |
| | LLVMError: LLVMError(description: "Universal binary /Users/dpalo/Library/Developer/Xcode/DerivedData/SlidoAddin-fddfekbcupxqcceaxbdflfzoaani/Build/Products/Debug/Sentry.framework/Sentry does not contain a slice for arm64e-apple-macosx21.1")
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered:
Platform
macOS
Environment
Develop
Installed
Swift Package Manager
Version
8.36.0
Xcode Version
16.0 (16A242d)
Did it work on previous versions?
Yes (Xcode 15)
Steps to Reproduce
We have a macOS SwiftUI app that references the Sentry framework. Since I updated Xcode to 16.0, the SwiftUI preview has stopped working. When I open any SwiftUI view file containing a PreviewProvider implementation, the Xcode preview window crashes. However, we can build and run the app without any issues.
Expected Result
SwiftUI preview window shows a mocked preview of the opened view.
Actual Result
SwiftUI preview fails with the
Sentry does not contain a slice for arm64e-apple-macosx21.1
error:Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: