8000 Support new export methods by lpusok · Pull Request #266 · bitrise-io/go-xcode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 15 commits into from
Apr 8, 2025
Merged

Support new export methods #266

merged 15 commits into from
Apr 8, 2025

Conversation

lpusok
Copy link
Contributor
@lpusok lpusok commented Apr 7, 2025

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

@@ -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()
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@lpusok lpusok merged commit a3bc821 into master Apr 8, 2025
3 checks passed
@lpusok lpusok deleted the STEP-2072-v2-new-export-methods branch April 8, 2025 12:47
@lpusok lpusok mentioned this pull request Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0