I am faced with the same problem, however it cannot be solved with the solution suggested by Quinn... It's even more sad, because I am trying to use an Apple library, MLX, in my xcode project (MacOS app)...
I am building the MLX library from source as described here:
https://ml-explore.github.io/mlx/build/html/install.html
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! Again, this is especially sad because MLX is an Apple library, but I cannot use it within my xcode MacOS project, because it comes in two parts, one of which cannot be deployed to the Frameworks directory.
Topic:
Graphics & Games
SubTopic:
General
Tags: