Using CoreML with SPM

Hi there!


I'm trying to use CoreML in a project generated like so:


`

swift package init --type executable

swift package generate-xcodeproj

`


I then add my mlmodel to the project and the model interface comes up, but no swift code appears to be getting generated.

Adding the mlmodel to a regular iOS or macOS project works just fine.


Would really love to create some command line apps that use CoreML


Thanks!

Using CoreML with SPM
 
 
Q