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

liblibsql.a does not contain a slice for arm64e-apple-macosx21.1 #3

Open
janwirth opened this issue Nov 30, 2024 · 3 comments
Open

Comments

@janwirth
Copy link

janwirth commented Nov 30, 2024

== PREVIEW UPDATE ERROR:

    FailedToLaunchAppError: Failed to launch me.dev.project
    
    /Users/me/Library/Developer/Xcode/DerivedData/project-dgkxloarwqblryacddntoglpcmji/Build/Products/Debug/project.app
    
    ==================================
    
    |  [Remote] JITError
    |  
    |  ==================================
    |  
    |  |  [Remote] LLVMError
    |  |  
    |  |  LLVMError: LLVMError(description: "Universal binary /Users/me/Library/Developer/Xcode/DerivedData/project-dgkxloarwqblryacddntoglpcmji/Build/Products/Debug/liblibsql.a does not contain a slice for arm64e-apple-macosx21.1")
@janwirth
Copy link
Author

janwirth commented Dec 1, 2024

This is only happening in simulator

@janwirth
Copy link
Author

janwirth commented Dec 2, 2024

Sorry, I stand corrected: It's the PREVIEW that fails.

@ValentinWalter
Copy link

ValentinWalter commented Dec 23, 2024

Getting the same error when trying to run Xcode Previews. My workaround was to create a new target in my package that doesn't have a dependency on libsql. Still unfortunate though, because that means I can only preview views/view models that are completely abstracted from the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants