feat(ios): iPad universal support - TARGETED_DEVICE_FAMILY 1 → 1,2

TARGETED_DEVICE_FAMILY was set to 1 (iPhone only), causing the app to
run in iPhone compatibility mode on iPad (small centered window).
Set to "1,2" (Universal) in both Debug and Release build configs.

Also add UISupportedInterfaceOrientations~ipad in Info.plist to declare
all four orientations for iPad (including PortraitUpsideDown which is
supported on iPad but not on modern iPhones).

https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
This commit is contained in:
Claude 2026-06-11 16:05:04 +00:00
parent 9cf3ea79cf
commit 9d2341ded0
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View file

@ -49,6 +49,13 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIStatusBarStyle</key>

View file

@ -440,7 +440,7 @@
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
@ -472,7 +472,7 @@
SUPPORTS_MACCATALYST = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;