8000 [PM-13193] Create Xcode version file by KatherineInCode · Pull Request #1029 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[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

Merged
merged 17 commits into from
Oct 10, 2024
Merged

Conversation

KatherineInCode
Copy link
Contributor

🎟️ 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's 16.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

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

Copy link
Contributor
github-actions bot commented Oct 9, 2024

Logo
Checkmarx One – Scan Summary & Details2690188f-ab12-41d2-b420-98553cad2323

No New Or Fixed Issues Found

Copy link
codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.10%. Comparing base (858fe11) to head (7330b7d).
Report is 4 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator
@matt-livefront matt-livefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Member
@fedemkr fedemkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really like this 🎉

@KatherineInCode KatherineInCode merged commit b62432c into main Oct 10, 2024
8 checks passed
@KatherineInCode KatherineInCode deleted the pm-13193/xcode-version-file branch October 10, 2024 21:14
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.

3 participants
0