-
Notifications
You must be signed in to change notification settings - Fork 62
Draft: [ACI-4171] share code with sim build step #393
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
base: master
Are you sure you want to change the base?
Conversation
This will support build-for-simulator code sharing
SummaryThis PR adds support for simulator platforms by defining new internal platform types (iOS Simulator, watchOS Simulator, tvOS Simulator) and implementing logic to skip IPA export for platforms that don't support it. The changes enable the build-for-simulator step to share code with the archive step. Walkthrough
|
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.
This is an AI-generated review. Please review it carefully.
Actionable comments posted: 1
case strings.HasPrefix(sdk, "appletvsimulator"): | ||
return tvOSSimulator, nil | ||
default: | ||
return "", fmt.Errorf("unkown SDKROOT: %s", sdk) |
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.
🐛 Bug
Typo in error message: "unkown" should be "unknown"
🔄 Suggestion:
return "", fmt.Errorf("unkown SDKROOT: %s", sdk) | |
return "", fmt.Errorf("unknown SDKROOT: %s", sdk) |
Define new internal platform types so that the build-for-simulator step can use archive as the primary codebase for delivering its artifacts