Skip to content
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

[PM-13356] Fix iOS build by pinning dotnet and MAUI version #3410

Merged
merged 22 commits into from
Oct 10, 2024

Conversation

vvolkgang
Copy link
Member

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

iOS build was failing due to installing the latest MAUI version which depends on iOS 18, while using a dotnet version that doesn't support iOS 18. Pinned both dotnet sdk runtime and maui workload versions to the last that supports iOS 17.5.

Tried pinning them to the versions that we were using for the last release but (1) they weren't installing due to a bug in the dotnet version we were using and (2) it's possible that the MAUI version we had isn't available anymore.

Code changes

global.json: Pins the dotnet sdk runtime version. In build.yml, the repo checkout step had to be moved up for this file to be used
build.yml:
* Pins dotnet sdk runtime version and MAUI workload version to 8.0.402, the last version that supports iOS 17.5
* Updates xcode version to 15.4, as required by MAUI 8.0.402

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

@vvolkgang vvolkgang requested review from a team as code owners October 9, 2024 19:49
@vvolkgang vvolkgang enabled auto-merge (squash) October 9, 2024 19:50
@vvolkgang
Copy link
Member Author

Build with the latest changes: https://github.com/bitwarden/mobile/actions/runs/11262307839

fedemkr
fedemkr previously approved these changes Oct 9, 2024
.github/workflows/build.yml Outdated Show resolved Hide resolved
@vvolkgang vvolkgang merged commit e1f3f3d into main Oct 10, 2024
4 checks passed
@vvolkgang vvolkgang deleted the fix-ios-build-maui-version branch October 10, 2024 09:51
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.

4 participants