Skip to content

fix: Fix iOS build issue on Xcode 16.3 #15045

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 20 commits into from
May 2, 2025
Merged

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Apr 30, 2025

Description

Fix iOS build issues on Xcode 16.3 by bumping Sentry and Expo deps. RN sentry package is bumped a major version from v5 -> v6, which introduced some breaking changes under the hood. This also updates pods repo so a few other minor version bumps will exist in Podfile.lock as well.

Related issues

Fixes:

Manual testing steps

How it was tested: Both Android and iOS apps should run after running yarn start:ios or yarn start:android

Screenshots/Recordings

Before

Individuals began experiencing iOS build issues with Xcode 16.3 as reported here - https://consensys.slack.com/archives/C02U025CVU4/p1746041871082239. The fix was to bump Expo SDK deps as well as Sentry.

Expo SDK deps - https://expo.dev/changelog/xcode-16-3-patches
Sentry issue - https://github.com/getsentry/sentry-cocoa/releases/tag/8.46.0 (we bumped to stable 8.48.0 with pod repo update)

Sentry spans were not associated correctly in v5
image

After

Spans are now correctly associated with the parent span with v6
image

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Cal-L Cal-L requested a review from a team as a code owner April 30, 2025 23:26
@Cal-L Cal-L added the team-mobile-platform Mobile Platform team label Apr 30, 2025
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@Cal-L Cal-L added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Apr 30, 2025
@Cal-L Cal-L added the No QA Needed Apply this label when your PR does not need any QA effort. label Apr 30, 2025
@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Apr 30, 2025
@Cal-L Cal-L added no-changelog Indicates no external facing user changes, therefore no changelog documentation needed Run Smoke E2E Requires smoke E2E testing labels Apr 30, 2025
Copy link

socket-security bot commented Apr 30, 2025

Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 4cbc4fb
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/93cb54fa-0088-4401-968a-48e57fd2dbdc

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

socket-security bot commented Apr 30, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

View full report

@Cal-L Cal-L changed the title Fix: Fix iOS build issue on Xcode 16.3 fix: Fix iOS build issue on Xcode 16.3 Apr 30, 2025
chrisleewilcox
chrisleewilcox previously approved these changes Apr 30, 2025
Copy link
Contributor

@chrisleewilcox chrisleewilcox left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Apr 30, 2025
chrisleewilcox
chrisleewilcox previously approved these changes Apr 30, 2025
Copy link
Contributor

@chrisleewilcox chrisleewilcox left a comment

Choose a reason for hiding this comment

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

Nice!

tommasini
tommasini previously approved these changes May 1, 2025
@Cal-L Cal-L dismissed stale reviews from tommasini and chrisleewilcox via 71da8bb May 1, 2025 00:04
cortisiko
cortisiko previously approved these changes May 1, 2025
owencraston
owencraston previously approved these changes May 1, 2025
Copy link
Contributor

@owencraston owencraston left a comment

Choose a reason for hiding this comment

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

This fixed my iOS builds (using xcode 16.3)

@Cal-L Cal-L dismissed stale reviews from owencraston and cortisiko via d0e436e May 1, 2025 03:40
@Cal-L Cal-L requested a review from a team as a code owner May 1, 2025 03:40
@Cal-L Cal-L removed the Run Smoke E2E Requires smoke E2E testing label May 1, 2025
@Cal-L Cal-L added the skip-sonar-cloud Only used for bypassing sonar cloud when failures are not relevant to the changes. label May 2, 2025
@Cal-L
Copy link
Contributor Author

Cal-L commented May 2, 2025

Skipping sonar cloud since function was not changed on files complaining about coverage

@Cal-L Cal-L added Run Smoke E2E Requires smoke E2E testing and removed Run Smoke E2E Requires smoke E2E testing labels May 2, 2025
Copy link
Contributor

github-actions bot commented May 2, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: cb96adb
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/14b83cc2-2e73-4f30-a280-f099b7be3874

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

sonarqubecloud bot commented May 2, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Gudahtt Gudahtt dismissed their stale review May 2, 2025 11:42

Changes have been addressed

@github-project-automation github-project-automation bot moved this from Needs more work from the author to Review finalised - Ready to be merged in PR review queue May 2, 2025
@Cal-L Cal-L added this pull request to the merge queue May 2, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 2, 2025
@owencraston owencraston added this pull request to the merge queue May 2, 2025
Merged via the queue into main with commit 419e0cb May 2, 2025
44 of 46 checks passed
@owencraston owencraston deleted the fix/ios-build-xcode16.3 branch May 2, 2025 20:53
@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2025
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label May 2, 2025
@metamaskbot metamaskbot added the release-7.47.0 Issue or pull request that will be included in release 7.47.0 label May 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-7.47.0 Issue or pull request that will be included in release 7.47.0 Run Smoke E2E Requires smoke E2E testing skip-sonar-cloud Only used for bypassing sonar cloud when failures are not relevant to the changes. team-mobile-platform Mobile Platform team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

8 participants