Post

Replies

Boosts

Views

Activity

Reply to How do you integrate your CreateML file into a your App Playground Xcode project without this error? No predominant language detected. Set COREML_CODEGEN_LANGUAGE to preferred language.
Open your Package.swift file. Update your iOS version to 18.2 (or whatever the latest version is). Adjust your targets to look like this: let package = Package( name: "SSC Project", platforms: [ .iOS("18.2") ], targets: [ .executableTarget( name: "AppModule", path: ".", resources: [ .copy("Exercises") ] ) ] ) For reference, the "Exercises" folder is where I kept my ML model. Make sure to replace "Exercises" with the name of your folder and update the iOS version accordingly. That's it!
Jan ’25