bitwarden / ios

Bitwarden mobile app for iOS.
https://bitwarden.com
GNU General Public License v3.0
140 stars 12 forks source link

[PM-11189] Allow app to build in Xcode 16 #845

Closed KatherineInCode closed 3 weeks ago

KatherineInCode commented 3 weeks ago

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-11189

📔 Objective

Xcode 15 and 16 have different signatures for UIApplication.beginBackgroundTask(::) due to changes in Swift Concurrency, and that was preventing the app from building in Xocde 16.

This does not fix tests, however—that will have to wait until a new version of ViewInspector to be released. This work is captured in PM-11213.

This is part of the broader effort to get the app ready for iOS 18, Xcode 16, and Swift 6

⏰ Reminders before review

🦮 Reviewer guidelines

github-actions[bot] commented 3 weeks ago

Logo Checkmarx One – Scan Summary & Detailsb705e191-9693-4a7b-aabb-11212d5872c4

No New Or Fixed Issues Found

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Project coverage is 88.49%. Comparing base (76f791e) to head (c37c780). Report is 3 commits behind head on main.

Files Patch % Lines
...warden/Application/UIApplication+Application.swift 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #845 +/- ## ========================================== - Coverage 88.51% 88.49% -0.03% ========================================== Files 606 607 +1 Lines 30267 30275 +8 ========================================== Hits 26792 26792 - Misses 3475 3483 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.