From b474286bfeccf540b13f4591bf23290860827dc9 Mon Sep 17 00:00:00 2001 From: Alan Wizemann Date: Sat, 25 Apr 2026 17:33:18 +0200 Subject: [PATCH] =?UTF-8?q?build(ios):=20iPhone-only=20=E2=80=94=20drop=20?= =?UTF-8?q?iPad,=20macCatalyst,=20Designed-for-iPhone-iPad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Locks the `scarf mobile` target to iPhone before TestFlight submission: - TARGETED_DEVICE_FAMILY 1,2 -> 1 (iPhone only) - SUPPORTED_PLATFORMS constrained to iphoneos + iphonesimulator - SUPPORTS_MACCATALYST = NO - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO - SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO Applied symmetrically to Debug + Release configs. iPad layout via .tabViewStyle(.sidebarAdaptable) hasn't been smoke-tested and was explicitly out of scope for v2.5; flipping the device-family flag prevents Apple's review tooling from picking up an unsupported device class. Mac and visionOS are similarly excluded — ScarfGo is an iPhone-only companion in v2.5; the iPad / Catalyst story is its own future release. Both targets build green. Co-Authored-By: Claude Opus 4.7 (1M context) --- scarf/scarf.xcodeproj/project.pbxproj | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scarf/scarf.xcodeproj/project.pbxproj b/scarf/scarf.xcodeproj/project.pbxproj index 6338563..7a40bc9 100644 --- a/scarf/scarf.xcodeproj/project.pbxproj +++ b/scarf/scarf.xcodeproj/project.pbxproj @@ -551,12 +551,16 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_APPROACHABLE_CONCURRENCY = YES; SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -589,12 +593,16 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_APPROACHABLE_CONCURRENCY = YES; SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VALIDATE_PRODUCT = YES; }; name = Release;