finestructure / Arena

A command line tool to create Swift Playground projects with SPM package dependencies
MIT License
685 stars 16 forks source link

Binary Swift Package #80

Open bielikb opened 3 years ago

bielikb commented 3 years ago

Problem statement

The binary package is not properly linked at build time.

Screenshot 2021-04-09 at 13 56 21

Running following command succesfully generates Xcode playground with the binary Swift Package provided via url.

arena https://github.com/zendesk/chat_providers_sdk_ios

Environment:

Arena version: 1.2.1 XCode Version: 12.4

finestructure commented 3 years ago

I can confirm that it fails but I'm unsure how to fix that... 🤔

Thanks for the report! :)

craig-miller commented 4 days ago

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.