chore: replace XcodeGen with native Xcode 27 JSON project #543
No blocking issues found in review. Merge once the CI legs on pinned Xcode 27.0 are green (see inline note). Five minor inline notes posted.
Claude finished @BrunoCerberus's task in 29s —— View job
---
Review of #543 (XcodeGen to native Xcode 27 JSON project)
Verdict: approved. I found no blocking issues.
Findings by severity: 0 high, 0 medium, 0 low. I left no new inline comments because I found nothing new at file or line level. The earlier inline notes still apply, including the ATS-audit hardening suggestion.
Cross-cutting observations
Makefile, setup-ios, release.yml, ci.yml, the path filters, .gitignore and the gitleaks allowlist. The XcodeGen removal is consistent across them.MARKETING_VERSION grep and sed patterns in the Makefile and release.yml match the "MARKETING_VERSION": "..." lines in project.xcproj. There are two such lines, and the value-agnostic sed rewrites both.project.yml. The one exception is a stale comment in Pulse/Configs/String+HTMLStripping.swift:3 that mentions "XcodeGen regeneration". It is cosmetic and not part of this diff.grep -q NSAllowsArbitraryLoads Pulse.xcodeproj/project.xcproj to that step would still be cheap hardening.No blocking issues. Merge once the CI legs on pinned Xcode 27.0 are green.
Claude finished @BrunoCerberus's task in 22s —— View job
---
Security verification complete
security-findings.json (1 candidate)Result: 0 confirmed, 1 refuted. The ATS check regression only matters if a maintainer later adds an ATS exception to the project build settings. This PR adds none, and no attacker-controlled input reaches it. I kept it as an optional hardening suggestion.
Security verification (advisory)
Confirmed: 0 | Refuted: 1 (of 1 candidate from discovery)
.github/workflows/reusable-security-audit.yml:201). The removed project.yml grep only covered a config file that no longer exists. The remaining step still scans every Info.plist. Pulse.xcodeproj/project.xcproj and all Info.plist files contain no NSAppTransportSecurity, NSAllowsArbitraryLoads or INFOPLIST_KEY_* entries, so this PR adds no ATS weakening. Exploiting the gap would take a maintainer-authored commit that also passes PR review. No attacker-controlled input reaches it, so it is a hardening suggestion and not a vulnerability. An optional grep -q NSAllowsArbitraryLoads Pulse.xcodeproj/project.xcproj in that step would restore the old coverage cheaply.<!-- claude-security-review -->
Diff Coverage
Diff: 1c8cfe53790df5c7f0c4ab50efc00371145ed58a...HEAD, staged and unstaged changes
No lines with coverage information in this diff.
<!-- Sticky Pull Request Commentpatch-coverage -->
⚠️ Flaky tests detected
These tests failed on their first attempt and passed on a retry. The suite is green because of -retry-tests-on-failure; the tests themselves are not reliable.
| Suite | Test | First-attempt failure |
|-------|------|----------------------|
| Unit Tests | MediaDomainInteractorTests.loadInitialDataIdempotent() | Expectation failed: stateAfterFirstLoad.hasLoadedInitialData stateAfterFirstLoad → MediaDomainState(selectedType: nil, featuredMedia: [], mediaItems: ... |
| Unit Tests | SettingsViewModelExtendedTests.languageChange() | Expectation failed: sut.viewState.selectedLanguage == "pt" sut.viewState.selectedLanguage → "en" |
| Unit Tests | SettingsViewModelSignOutTests.confirmDeleteAccountCallsAuthService() | Expectation failed: !sut.viewState.isDeletingAccount sut.viewState.isDeletingAccount → false |
<!-- flaky-report -->
<!-- Sticky Pull Request Commentflaky-report -->
claude[bot]
BrunoCerberus
Summary
Pulse.xcodeprojin the Xcode 27.2 JSON format (project.xcproj, 668 lines) and deleteproject.yml. Each target directory is a synchronized folder, so new files are picked up without a generate step. Cross-target membership fromproject.ymlis kept as folder exceptions:SharedURLQueue.swiftin the app, the TTS Live Activity files in the widget, and the widget sources inPulseWidgetExtensionTests.Mintfile, theMakefile(setupnow resolves packages fromPackage.resolved),setup-ios(inputgenerate-project→prepare-build),release.yml, path filters and docs.make bump-*and the Release workflow now editMARKETING_VERSIONinproject.xcproj.Test plan
build-for-testing(PulseDev) with the XcodeGen project and with the new project: each target compiles the same 699 Swift files, the built products have identical contents, and the warnings are the same 8 that were already theremake lint,actionlint,check-localization-usage.py.xcprojas compatible with Xcode 27 and later, but it was only tested locally on 27.2Notes
Pulse/Resources/Modelsis marked as an opaque folder and excluded. A plain directory exclusion didn't apply, and the ~800 MB local.ggufmodel got bundled into the app.project.pbxproj(fastlane'sxcodeprojgem, CocoaPods, older XcodeGen) don't understand the new format. Nothing in this repo uses them.Info.plisthard-codesCFBundleShortVersionStringas1.0.0, so theMARKETING_VERSIONbump never reaches the shipped app.project.ymlcome back unchanged.🤖 Generated with Claude Code