-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"danger-swift edit" no longer works with Swift 5.8 due to the removal of generate-xcodeproj #582
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction Steps:
xcode-select -s
)danger-swift edit
You'll receive an error along the lines of:
ERROR: commandFailed(command: "cd /Users/<username>/.danger-swift/Scripts/Cache/-Users-<username>-Documents-<project>-Dangerfile && /usr/bin/env xcrun --sdk macosx swift package generate-xcodeproj --xcconfig-overrides /var/folders/31/jcw4hfyd6dv_x87s3z8kd9m40000gp/T/config.xcconfig", exitCode: 64, stdout: "", stderr: "error: Unknown subcommand or plugin name \'generate-xcodeproj\'\nUsage: swift package <options> <subcommand>\n See \'package -help\' for more information.\n")
I couldn't find too much information on the command being removed, apart from this comment:
apple/swift-package-manager#6640
But if you use swift 5.7.1 tools and run
swift help package generate-xcodeproj
you'll receive a message sayingOVERVIEW: Generates an Xcode project. This command will be deprecated soon.
, whereas if you use swift 5.8 tools and runswift help package generate-xcodeproj
it'll just list the normal "help" message and generate-xcodeproj is no longer listed. So it seems like it was indeed removed.The text was updated successfully, but these errors were encountered: