Skip to content
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

SwiftUI preview crash: Sentry does not contain a slice for arm64e-apple-macosx21.1 #4350

Open
DominikPalo opened this issue Sep 19, 2024 · 0 comments

Comments

@DominikPalo
Copy link

DominikPalo commented Sep 19, 2024

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:

Image

== 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Status: Needs Discussion
Development

No branches or pull requests

1 participant