Skip to content

[codex suggestion] Adopt Xcode file-system synchronized project groups #208

Closed

Description

@pascalpp

Context

A reviewer noted that Free Ruler is still using explicit Xcode project entries. Today the project appears to enumerate source and resource files directly in Free Ruler.xcodeproj/project.pbxproj, which can make routine file additions/removals noisy and more conflict-prone.

Suggestion

Investigate migrating the app and test groups to Xcode file-system synchronized groups, or the current recommended equivalent, so the project tracks the on-disk layout with fewer explicit project-file entries.

Why this is worth doing

  • Reduces project.pbxproj churn for ordinary file operations.
  • Lowers merge-conflict risk when multiple changes add, remove, or move files.
  • Brings the project structure closer to current Xcode project-management practices.

Suggested approach

  • Confirm the minimum Xcode version this repo wants to support.
  • Evaluate whether synchronized groups are appropriate for Free Ruler/, FreeRulerTests/, and FreeRulerUITests/.
  • Preserve any files that need explicit target membership, build settings, localized resource handling, or exception entries.
  • Pay particular attention to XIBs, .xcstrings, .strings, asset catalogs, and release scripts that may assume the current layout.
  • After migration, verify the app still builds and the core tests pass:
xcodebuild -project "Free Ruler.xcodeproj" -scheme "Free Ruler" build
xcodebuild -project "Free Ruler.xcodeproj" -scheme "Free Ruler" test -only-testing:FreeRulerTests

Acceptance criteria

  • The project uses synchronized groups, or the issue documents why they are not a good fit yet.
  • The Xcode version requirement is documented if it changes.
  • Build and core unit tests pass after the change.
  • Localized resources and app/test target membership continue to work as before.

Activity

  1. pascalpp commented on Jun 13, 2026

    @pascalpp
    OwnerAuthor

    Will look into this after the flip ruler project lands. #192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions