Skip to content

Commit

Permalink
New Apple devices are added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Komarov committed Oct 18, 2017
1 parent 63c8846 commit ddc7b88
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
24 changes: 16 additions & 8 deletions Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions RPAgentSwiftXCTest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -333,6 +333,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -361,6 +362,7 @@
INFOPLIST_FILE = RPAgentSwiftXCTest/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.oxagile.automation.RPAgentSwiftXCTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -388,7 +390,7 @@
INFOPLIST_FILE = RPAgentSwiftXCTest/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.oxagile.automation.RPAgentSwiftXCTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
8 changes: 7 additions & 1 deletion RPAgentSwiftXCTest/RPConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public extension UIDevice {
case "iPhone8,2": model = "iPhone 6s Plus\(postfix)"
case "iPhone9,1", "iPhone9,3": model = "iPhone 7\(postfix)"
case "iPhone9,2", "iPhone9,4": model = "iPhone 7 Plus\(postfix)"
case "iPhone10,1", "iPhone10,4": model = "iPhone 8\(postfix)"
case "iPhone10,2", "iPhone10,5": model = "iPhone 8 Plus\(postfix)"
case "iPhone10,3", "iPhone10,6": model = "iPhone X\(postfix)"
case "iPhone8,4": model = "iPhone SE\(postfix)"
case "iPad2,1", "iPad2,2", "iPad2,3", "iPad2,4":model = "iPad 2\(postfix)"
case "iPad3,1", "iPad3,2", "iPad3,3": model = "iPad 3\(postfix)"
Expand All @@ -63,7 +66,10 @@ public extension UIDevice {
case "iPad6,7", "iPad6,8": model = "iPad Pro 12.9\"\(postfix)"
case "iPad7,1", "iPad7,2": model = "iPad Pro 2 12.9\"\(postfix)"
case "iPad7,3", "iPad7,4": model = "iPad Pro 10.5\"\(postfix)"
case "AppleTV5,3": model = "Apple TV\(postfix)"
case "AppleTV2,1": model = "Apple TV 2\(postfix)"
case "AppleTV3,1", "AppleTV3,2": model = "Apple TV 3\(postfix)"
case "AppleTV5,3": model = "Apple TV 4\(postfix)"
case "AppleTV6,2": model = "Apple TV 4K\(postfix)"
default: model = identifier
}
return model
Expand Down

0 comments on commit ddc7b88

Please sign in to comment.