问题
Can I use the CoreML framework in a Swift package manager executable? Or is it limited to iOS and OSX apps ?
回答1:
As far as I know, Core ML currently only runs on iOS or macOS. Apple isn't in the habit of making their frameworks available for other platforms. ;-)
来源:https://stackoverflow.com/questions/53055956/does-coreml-work-with-the-swift-package-manager