Skip to content

Commit 6f79b4c

Browse files
committed
Disable iPad-on-Mac builds in favour of Catalyst
Xcode warns that only one can be enabled at a time, so we need to pick one, and Catalyst seems like the better option for a proper macOS app experience.
1 parent 1264e9a commit 6f79b4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/project/__PROJECT_NAME__.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@
327327
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
328328
PRODUCT_NAME = "$(TARGET_NAME)";
329329
SUPPORTS_MACCATALYST = YES;
330+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
330331
TARGETED_DEVICE_FAMILY = "1,2";
331332
VALIDATE_WORKSPACE = NO;
332333
};
@@ -351,6 +352,7 @@
351352
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
352353
PRODUCT_NAME = "$(TARGET_NAME)";
353354
SUPPORTS_MACCATALYST = YES;
355+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
354356
TARGETED_DEVICE_FAMILY = "1,2";
355357
VALIDATE_WORKSPACE = NO;
356358
};

0 commit comments

Comments
 (0)