Open bielikb opened 3 years ago
I can confirm that it fails but I'm unsure how to fix that... 🤔
Thanks for the report! :)
I have a similar issue with "import MLX" when using Arena (SPI version) to create a playground with mlx-swift. I've read a few of the other issues and suspect this is either because it can't build the metal shaders (permissions?) or because it isn't linking to the built C++ frameworks. https://swiftpackageindex.com/ml-explore/mlx-swift. I don't receive any error messages other than the failed import statement.
If a solution to work around this issue could be found, it would offer a way to use Swift Playgrounds with MLX similar to how Jupyter Notebooks are used with Python. Something swift developers would love.
Problem statement
The binary package is not properly linked at build time.
Running following command succesfully generates Xcode playground with the binary Swift Package provided via url.
Environment:
Arena version: 1.2.1 XCode Version: 12.4