You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add SwiftGodot as a dependency pointing to branch: "main" everything works, but if I use the .package(url: "https://github.com/migueldeicaza/SwiftGodot", from: "0.21.0") syntax, then swift package update fails with:
> error: the target 'SwiftGodot' in product 'SwiftGodot' contains unsafe build flags
I reviewed the commits between the 0.21.0 tag and main and they do not change anything in the Package file. I looked into it and it turns out that Swift PM handles these two differently.
This means that we will either need to get rid of the unsafe flags in the Swift Godot package, or we will not be able to use release tags.
I've been running into this as well, and I believe I documented it in an earlier issue (#52, I think?). A workaround I've been using is referencing the commit hash of the tag in question, rather than the tag itself
If I add SwiftGodot as a dependency pointing to
branch: "main"
everything works, but if I use the.package(url: "https://github.com/migueldeicaza/SwiftGodot", from: "0.21.0")
syntax, thenswift package update
fails with:I reviewed the commits between the
0.21.0
tag andmain
and they do not change anything in the Package file. I looked into it and it turns out that Swift PM handles these two differently.This means that we will either need to get rid of the unsafe flags in the Swift Godot package, or we will not be able to use release tags.
The unsafe flags, for reference:
The text was updated successfully, but these errors were encountered: