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
But you are also welcome to provide a PR that updates boot-py to support recent versions of Swift that no longer require or support ‘generate-xcodeproj’
According to https://forums.swift.org/t/rfc-deprecating-generate-xcodeproj/42159 generate_package is deprecated. So I commented out the call "swift package generate-xcodeporj" on line 172. However I don't see a Package.swift file which should have been generated by: check_call([java, "-jar", a4, "-Dlanguage=Swift", grammar, "-visitor", "-o", grammar_folder + "/gen"])
Otherwise what would the call "swift package generate-xcodeporj" have to generate an Xcode project from?
According to https://forums.swift.org/t/rfc-deprecating-generate-xcodeproj/42159 generate_package is deprecated. So I commented out the call "swift package generate-xcodeporj" on line 172. However I don't see a Package.swift file which should have been generated by: check_call([java, "-jar", a4, "-Dlanguage=Swift", grammar, "-visitor", "-o", grammar_folder + "/gen"]) Otherwise what would the call "swift package generate-xcodeporj" have to generate an Xcode project from?
I actually figured it out. I also commented out the line swift package generate-xcodeproj and ran boot.py. Then I manually created the swift package by roughly following this guide https://developer.apple.com/documentation/xcode/creating-a-standalone-swift-package-with-xcode and configuring the Package.swift file. Then I added the package as a local package dependency to my own xcode project.
I am building the Swift runtime by running
python boot.py --gen-xcodeproj
inantlr4/runtime/Swift
(following the instructions in https://github.com/antlr/antlr4/blob/master/doc/swift-target.md)I got this error:
Here's my swift version
It seems like
generate-xcodeproj
is already removed from Swift. Could you help solve this?The text was updated successfully, but these errors were encountered: