migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
985 stars 55 forks source link

Building for iOS 16+ #461

Open WaleedAmer opened 2 months ago

WaleedAmer commented 2 months ago

I'm unable to build my package to iOS

When running swift build --configuration debug --destination destination.json I get the following error/note:

Seems like the swift-syntax package targets iOS v13, not sure if that's the issue but changing it to v16 did not fix the issue for me

migueldeicaza commented 2 months ago

The trimming prefix operation is a build-time limitation, not a runtime limitation, so I am not sure why this is showing up on iOS.