Skip to content

iPad only on the test and prototype targets too - #18

Merged
mattonik merged 2 commits into
mainfrom
claude/eager-cerf-epu54h
Oct 2, 2026
Merged

mattonik merged 2 commits into
mainfrom
claude/eager-cerf-epu54h

Conversation

@mattonik

@mattonik mattonik commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

#17 already fixed the App Store problem on main. It set TARGETED_DEVICE_FAMILY: "2" on the app target (XcodeGen's iOS preset otherwise makes it '1,2'), added DeviceFamilyTests and bumped to build 4. This PR started as the same fix, so main has been merged in, keeping #17's version wherever the two overlapped.

What this PR still changes

project.yml gets TARGETED_DEVICE_FAMILY: "2" on the two targets #17 left alone:

  • PointerLockerTests: the unit-test bundle no longer builds as universal.
  • MouseLockPrototype: the development-only delta viewer no longer installs on iPhones.

Neither target ships to the App Store, so this is tidying, not a release fix. The app target, the project-wide setting, the test and build 4 are exactly as on main.

Checked

  • project.yml parses, and all three targets, plus the project-wide setting, are "2". The build number is 4.
  • On the earlier commit, CI built the app and ran DeviceFamilyTests (passed). It runs again on the merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01W5tzx8GXgMz9DMzc5BF4ND

claude added 2 commits October 2, 2026 06:49
project.yml set TARGETED_DEVICE_FAMILY "2" in the project's settings, but
XcodeGen gives every iOS target TARGETED_DEVICE_FAMILY '1,2' as a target
setting, and a target's own value wins. Uploaded builds therefore listed
iPhone too, and App Store Connect asked for iPhone screenshots. Each
target now sets "2" itself, and a test checks that the built app's
UIDeviceFamily is [2]. Build 3 was uploaded with iPhone support, so this
is build 4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W5tzx8GXgMz9DMzc5BF4ND
PR #17 made the same fix on main: TARGETED_DEVICE_FAMILY "2" on the app
target, DeviceFamilyTests and build 4. Where the two overlap, main's
version is kept (project.yml, DeviceFamilyTests.swift). What this branch
still adds is "2" on the PointerLockerTests and MouseLockPrototype targets,
which XcodeGen's iOS preset otherwise makes universal too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W5tzx8GXgMz9DMzc5BF4ND
@mattonik mattonik changed the title Make the app really iPad only; build 4 iPad only on the test and prototype targets too Oct 2, 2026
@mattonik
mattonik merged commit a385522 into main Oct 2, 2026
2 checks passed
@mattonik
mattonik deleted the claude/eager-cerf-epu54h branch October 2, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants