I see the solution is simple "just change the language in the build settings" but the build settings are not a thing in an App Playground project. It also says duplicated tasks.
- 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!