Skip to content

Commit e100ade

Browse files
fix(ios): target iPhone only (TARGETED_DEVICE_FAMILY=1)
App Store validation 90474: a universal (iPhone+iPad) build must support all four interface orientations for iPad multitasking, but the app is portrait-only. Targeting iPhone only drops that requirement. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 236e803 commit e100ade

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ios/project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ targets:
4141
INFOPLIST_FILE: App/Info.plist
4242
CODE_SIGN_ENTITLEMENTS: App/MhrvVPN.entitlements
4343
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
44+
TARGETED_DEVICE_FAMILY: "1"
4445
dependencies:
4546
- target: MhrvTunnel
4647
embed: true
@@ -59,6 +60,7 @@ targets:
5960
PRODUCT_BUNDLE_IDENTIFIER: com.therealaleph.mhrv.tunnel
6061
INFOPLIST_FILE: NetworkExtension/Info.plist
6162
CODE_SIGN_ENTITLEMENTS: NetworkExtension/MhrvTunnel.entitlements
63+
TARGETED_DEVICE_FAMILY: "1"
6264
# Link the Rust static lib. Run scripts/build-ios.sh first.
6365
LIBRARY_SEARCH_PATHS: "$(PROJECT_DIR)/build/$(CONFIGURATION)"
6466
OTHER_LDFLAGS: "-lmhrv_rs"

0 commit comments

Comments
 (0)