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

Metal project generated by xmake can not launch because of failed to load default library #4845

Open
rechardchen opened this issue Mar 17, 2024 · 1 comment
Labels

Comments

@rechardchen
Copy link

Xmake Version

2.8.8

Operating System Version and Architecture

macOS Sonoma 14.2.1

Describe Bug

I write a little metal command line application, use add_rules("xcode.application").
Use xmake build -> xmake run can run the app correctly.
But when i generate xcode project by xmake project -k xcode, the project can build successfully but failed to launch.

The error message is "Failed to load default library.Program ended with exit code: 255".

Expected Behavior

The xcode project can be launched and debugged in xcode IDE.

Project Configuration

metal_test.zip

Additional Information and Error Logs

metal_test.zip

@waruqi
Copy link
Member

waruqi commented Mar 17, 2024

It is not supported for xcode generator, because the current xcode generator is just a cmake wrapper. xmake will generate cmakelists.txt and call cmake to generator xcode project.

Maybe we need to wait for #4810

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

No branches or pull requests

2 participants