-
Notifications
You must be signed in to change notification settings - Fork 13
Support new export methods #266
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
Conversation
xcodeversion/xcodeversion.go
Outdated
@@ -33,10 +34,21 @@ func NewXcodeVersionProvider(commandFactory command.Factory) Reader { | |||
func (b *reader) GetVersion() (Version, error) { | |||
cmd := b.commandFactory.Create("xcodebuild", []string{"-version"}, &command.Opts{}) | |||
|
|||
outStr, err := cmd.RunAndReturnTrimmedCombinedOutput() | |||
outStr, err := cmd.RunAndReturnTrimmedOutput() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was thinking that this way we ignore errors printed to stderr. But as now we use regexp based parsing, it should not really make a difference, can revert this.
In Xcode 15.3, distribution methods have been renamed. The values of this input reflect the old names. When running with Xcode 15.3 and later, the new names are passed to xcodebuild:
debugging, when development is selected
app-store-connect, when app-store is selected
release-testing, when ad-hoc is selected
enterprise is unchanged
Updated xcodeversion.Reader to read minor xcode version