Skip to content

Commit

Permalink
Explicitly specify TARGETED_DEVICE_FAMILY for tvOS target
Browse files Browse the repository at this point in the history
Otherwise it inherits "1,2" which is the iOS device family, and then xcodebuild will complain when it tries to build with the `appletvsimulator` sdk
  • Loading branch information
rsattar committed Oct 27, 2015
1 parent 4482951 commit e9a4b0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Carthage/TTTAttributedLabel.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
PRODUCT_NAME = TTTAttributedLabel;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 3;
};
name = Debug;
};
Expand All @@ -231,6 +232,7 @@
PRODUCT_NAME = TTTAttributedLabel;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 3;
};
name = Release;
};
Expand Down Expand Up @@ -276,6 +278,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -316,6 +319,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand Down

0 comments on commit e9a4b0b

Please sign in to comment.