Skip to content

[Bug] Xcode project settings drift from ios/project.yml #6

Description

@thisisprabha

Summary
The generated Xcode project is no longer aligned with ios/project.yml, so regenerating the project can revert the current app target configuration.

Evidence

  • ios/project.yml:6-8 still declares TARGETED_DEVICE_FAMILY: 1,2 as the base setting.
  • ios/NetWorthIOS.xcodeproj/project.pbxproj:635-637 and ios/NetWorthIOS.xcodeproj/project.pbxproj:678-680 now set the app target to TARGETED_DEVICE_FAMILY = 1 with explicit SUPPORTED_PLATFORMS and SUPPORTS_MACCATALYST = NO.
  • This repo keeps ios/project.yml checked in as the project-definition source, so manual .pbxproj changes are at risk of being overwritten the next time the project is regenerated.
  • Source basis: dirty workspace configuration drift between tracked project-definition files.

Why This Matters
Configuration drift in a generated Xcode project is a recurring source of broken builds, accidental platform support changes, and hard-to-explain differences between machines.

Suggested Direction
Move the intended device-family and platform settings into ios/project.yml, regenerate the project from that source of truth, and stop relying on manual .pbxproj edits for durable target behavior.

Acceptance Criteria

  • ios/project.yml fully expresses the intended app target device/platform settings.
  • Regenerating the Xcode project preserves the current app target behavior.
  • .pbxproj and project.yml no longer disagree on the supported device family for NetWorthIOS.
  • The repo documents which file is authoritative for project generation.

Deduping Notes
Checked open issues #1 and #2; neither covers XcodeGen/project configuration drift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildBuild and project configurationautomated-auditAutomated audit findingsbugSomething isn't workingseverity:mediumMedium severity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions