Enabling Mac Catalyst pulled in the iPad device family, which made App Store Connect reject the iOS build with error 90474: an iPad-capable bundle must declare all four interface orientations to support iPad multitasking, and this app declared two. Catalyst genuinely needs the iPad idiom, but only for its own build. A per-SDK condition gives macOS family 2 while iOS keeps family 1 — verified to resolve correctly for both destinations, and Catalyst still builds with family 2 alone. The shipped iOS bundle is back to UIDeviceFamily [1], exactly as before the port started. The iPad orientation key is removed rather than extended. With an iPhone-only iOS build it is ignored, and macOS ignores orientation keys entirely, so it was dead configuration that only served to trip the validator. Supporting iPad properly is a deliberate piece of work — the layout is portrait-only with no size-class handling — and is better done on purpose than inherited as a side effect of the Mac port. Verified: builds for both Mac Catalyst and iOS Simulator; built bundle reports UIDeviceFamily [1] and portrait-only with no iPad orientation key. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 KiB
25 KiB