Skip to content

Commit

Permalink
Added tvOS to DeviceType (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidrender authored and czechboy0 committed May 2, 2016
1 parent 9e9895c commit e0b220b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BuildaKit/XcodeDeviceParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -25,6 +26,8 @@ public class XcodeDeviceParser {
return .OSX
case .watchOS:
return .watchOS
case .tvOS:
return .tvOS
}
}
}
Expand Down

0 comments on commit e0b220b

Please sign in to comment.