-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor FXIOS-14466 FXIOS-14463 [Swift 6 Migration] Migrate ShareTo and BrowserKit Package to Swift 6 #36
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
base: coderabbit_full_base_refactor_fxios-14466_fxios-14463_swift_6_migration_migrate_shareto_and_browserkit_package_to_swift_6_pr10
Are you sure you want to change the base?
Changes from all commits
329488e
74ff14f
edf7e96
b61fae5
0e926a1
05baecc
bb3263a
5a63a2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,9 @@ | ||
| // This Source Code Form is subject to the terms of the Mozilla Public | ||
| // License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| // file, You can obtain one at http://mozilla.org/MPL/2.0/ | ||
|
|
||
| import ContentBlockingGenerator | ||
|
|
||
| @main | ||
| public struct MainContentBlockerGenerator { | ||
| static let generator = ContentBlockerGenerator.factory() | ||
| // FXIOS-14548 ContentBlockerGenerator is not thread safe | ||
| nonisolated(unsafe) static let generator = ContentBlockerGenerator.factory() | ||
|
Comment on lines
+5
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: In Swift 6 strict concurrency, a What
|
||
|
|
||
| // Static main needs to be used for executable, providing an instance so we can | ||
| // call it from a terminal | ||
|
|
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 4591
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 350
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 256
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 1797
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 3231
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 2765
🏁 Script executed:
Repository: qodo-benchmark/firefox-ios-combined-coderabbit
Length of output: 2232
Update firefox-ios Common.xcconfig and CI to enforce Swift 6.2 alignment with BrowserKit.
BrowserKit now requires Swift 6.2, but
firefox-ios/Client/Configuration/Common.xcconfigstill setsSWIFT_VERSION = 5.10. Since focus-ios depends on BrowserKit, this version mismatch will cause build failures. Update the build config toSWIFT_VERSION = 6.2and ensure bitrise.yml pins to Xcode 26.1 (or later compatible version) to align with the new requirement.🤖 Prompt for AI Agents