Skip to content

Commit 6cac610

Browse files
committed
Fix SUPPORTED_PLATFORMS for tvOS
This helps Carthage to build only the specified platform when the option --platform is used.
1 parent 17429fd commit 6cac610

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

XCode/Swifter.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,7 @@
10381038
PRODUCT_NAME = "$(TARGET_NAME)";
10391039
PROVISIONING_PROFILE_SPECIFIER = "";
10401040
SDKROOT = appletvos;
1041+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10411042
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
10421043
SWIFT_VERSION = 5.0;
10431044
TARGETED_DEVICE_FAMILY = 3;
@@ -1067,6 +1068,7 @@
10671068
PRODUCT_NAME = "$(TARGET_NAME)";
10681069
PROVISIONING_PROFILE_SPECIFIER = "";
10691070
SDKROOT = appletvos;
1071+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10701072
SWIFT_VERSION = 5.0;
10711073
TARGETED_DEVICE_FAMILY = 3;
10721074
TVOS_DEPLOYMENT_TARGET = 12.1;
@@ -1093,6 +1095,7 @@
10931095
PRODUCT_NAME = Swifter;
10941096
SDKROOT = appletvos;
10951097
SKIP_INSTALL = YES;
1098+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
10961099
SWIFT_VERSION = 5.0;
10971100
TARGETED_DEVICE_FAMILY = 3;
10981101
TVOS_DEPLOYMENT_TARGET = 9.0;
@@ -1122,6 +1125,7 @@
11221125
PRODUCT_NAME = Swifter;
11231126
SDKROOT = appletvos;
11241127
SKIP_INSTALL = YES;
1128+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator";
11251129
SWIFT_VERSION = 5.0;
11261130
TARGETED_DEVICE_FAMILY = 3;
11271131
TVOS_DEPLOYMENT_TARGET = 9.0;

0 commit comments

Comments
 (0)