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
After building the MLX library, the following artifacts are produced:
libmlx.dylib
mlx.metallib
I then copy these into the xcode project for my MaxOS app, and configure the build phases as follows:
libmlx.dylib - embed into Frameworks directory, and "code sign on copy" - this works fine
mlx.metallib - according to the MLX requirements, this has to be located next to libmlx.dylib in the Frameworks directory, otherwise libmlx.dylib cannot find it - however, xcode doesn't let me deploy mlx.metallib into the Frameworks directory, because it doesn't sign it, and then signing the whole app fails (exactly like the original poster of this question)
However, if I deploy mlx.metallib to the Resources directory, then the whole app can be signed, but libmlx.dylib cannot find mlx.metallib, because it's located in a different directory within the app bundle.
Please help! How to I make MLX search for mlx.metallib in /Resources rather than /Frameworks?
The text was updated successfully, but these errors were encountered:
I am trying to use an Apple library, MLX, in my xcode project (MacOS app, using Swift and C++, and I want to use MLX from C++)...
I am building the MLX library from source as described here:
After building the MLX library, the following artifacts are produced:
I then copy these into the xcode project for my MaxOS app, and configure the build phases as follows:
However, if I deploy mlx.metallib to the Resources directory, then the whole app can be signed, but libmlx.dylib cannot find mlx.metallib, because it's located in a different directory within the app bundle.
Please help! How to I make MLX search for mlx.metallib in /Resources rather than /Frameworks?
The text was updated successfully, but these errors were encountered: