From e0b220b4d404b866b63558d3f1536df0c5f1c43b Mon Sep 17 00:00:00 2001 From: Isaac Overacker Date: Mon, 2 May 2016 03:48:02 -0700 Subject: [PATCH] Added tvOS to DeviceType (#258) --- BuildaKit/XcodeDeviceParser.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BuildaKit/XcodeDeviceParser.swift b/BuildaKit/XcodeDeviceParser.swift index 73d41f3..c5e9613 100644 --- a/BuildaKit/XcodeDeviceParser.swift +++ b/BuildaKit/XcodeDeviceParser.swift @@ -16,6 +16,7 @@ public class XcodeDeviceParser { case iPhoneOS = "iphoneos" case macOSX = "macosx" case watchOS = "watchos" + case tvOS = "appletvos" public func toPlatformType() -> DevicePlatform.PlatformType { switch self { @@ -25,6 +26,8 @@ public class XcodeDeviceParser { return .OSX case .watchOS: return .watchOS + case .tvOS: + return .tvOS } } }