This swift package enables you to use NumPy in your iOS apps.
.package(url: "https://github.com/kewlbear/NumPy-iOS.git", .branch("main"))
import NumPySupport
import PythonSupport
import PythonKit
PythonSupport.initialize()
NumPySupport.sitePackageUrl.insertPythonPath()
let np = Python.import("numpy")
...
If you want to build XCFrameworks yourself, see https://github.com/kewlbear/kivy-ios.
MIT