-
Notifications
You must be signed in to change notification settings - Fork 53
[PM-13193] Create Xcode version file #1029
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
No New Or Fixed Issues Found |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1029 +/- ##
=======================================
Coverage 89.10% 89.10%
=======================================
Files 660 660
Lines 41392 41392
=======================================
Hits 36883 36883
Misses 4509 4509 ☔ View full report in Codecov by Sentry. |
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.
Nice!
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.
Really like this 🎉
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-13193
📔 Objective
This creates a
.xcode-version
file per the Fastlane proposal. There is a minor difference that format of the versions has to match how the setup-xcode expects it; the only place where this matters is with beta Xcode versions, which need to be e.g.16.1-beta
rather than the proposal's16.1b2
. Because Fastlane currently does not do the build, there should be no interference there.As part of this, it made sense to add parameters to the
test.yml
workflow to allow overriding the Xcode version, the simulator name, and simulator iOS version respectively. Currently the defaults for the latter two are still hardcoded in the workflow, which is not ideal—future ideas could be for.test-simulator-name
and.test-simulator-version
files, though that could clutter things up. While storing all of these defaults in one file could also work, that breaks the.xcode-version
file proposal earlier, which could impede adopting Fastlane for building—though we would still run into that problem with the override.This lays the groundwork to more easily migrate to Xcode 16, and is part of the broader iOS 18 / Xcode 16 / Swift 6 effort.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes