Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions System Services/Info-iOS.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
22 changes: 22 additions & 0 deletions System Services/Utilities/SSHardwareInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted {
newDeviceType = @"iPhone XS MAX (CDMA+GSM/LTE)";
else if ([deviceType isEqualToString:@"iPhone11,8"])
newDeviceType = @"iPhone XR";
else if ([deviceType isEqualToString:@"iPhone12,1"])
newDeviceType = @"iPhone 11";
else if ([deviceType isEqualToString:@"iPhone12,3"])
newDeviceType = @"iPhone 11 Pro";
else if ([deviceType isEqualToString:@"iPhone12,5"])
newDeviceType = @"iPhone 11 Pro Max";
else if ([deviceType isEqualToString:@"iPhone12,8"])
newDeviceType = @"iPhone SE 2nd Gen";
// iPods
else if ([deviceType isEqualToString:@"iPod1,1"])
newDeviceType = @"iPod Touch 1G";
Expand All @@ -214,6 +222,8 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted {
newDeviceType = @"iPod Touch 5G";
else if ([deviceType isEqualToString:@"iPod7,1"])
newDeviceType = @"iPod Touch 6G";
else if ([deviceType isEqualToString:@"iPod9,1"])
newDeviceType = @"iPod Touch 7G";
// iPads
else if ([deviceType isEqualToString:@"iPad1,1"])
newDeviceType = @"iPad";
Expand Down Expand Up @@ -285,6 +295,10 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted {
newDeviceType = @"iPad 6 (WiFi)";
else if ([deviceType isEqualToString:@"iPad7,6"])
newDeviceType = @"iPad 6 (WiFi+Cellular)";
else if ([deviceType isEqualToString:@"iPad7,11"])
newDeviceType = @"iPad 7th Gen 10.2-inch (WiFi)";
else if ([deviceType isEqualToString:@"iPad7,12"])
newDeviceType = @"iPad 7th Gen 10.2-inch (WiFi+Cellular)";
else if ([deviceType isEqualToString:@"iPad8,1"])
newDeviceType = @"iPad Pro 11 (3rd Gen - WiFi)";
else if ([deviceType isEqualToString:@"iPad8,2"])
Expand All @@ -301,6 +315,14 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted {
newDeviceType = @"iPad Pro 12.9 (3rd Gen - WiFi+Cellular)";
else if ([deviceType isEqualToString:@"iPad8,8"])
newDeviceType = @"iPad Pro 12.9 (3rd Gen - 1TB, WiFi+Cellular)";
else if ([deviceType isEqualToString:@"iPad11,1"])
newDeviceType = @"iPad mini 5th Gen (WiFi)";
else if ([deviceType isEqualToString:@"iPad11,2"])
newDeviceType = @"iPad mini 5th Gen";
else if ([deviceType isEqualToString:@"iPad11,3"])
newDeviceType = @"iPad Air 3rd Gen (WiFi)";
else if ([deviceType isEqualToString:@"iPad11,4"])
newDeviceType = @"iPad Air 3rd Gen (WiFi+Cellular)";
// Catch All iPad
else if ([deviceType hasPrefix:@"iPad"])
newDeviceType = @"iPad";
Expand Down
33 changes: 33 additions & 0 deletions System Services/iOSSystemServices.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// iOSSystemServices.h
// iOSSystemServices
//
// Created by Pawel Kania on 30/09/2016.
//
//

#import <UIKit/UIKit.h>

//! Project version number for iOSSystemServices.
FOUNDATION_EXPORT double iOSSystemServicesVersionNumber;

//! Project version string for iOSSystemServices.
FOUNDATION_EXPORT const unsigned char iOSSystemServicesVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <iOSSystemServices/PublicHeader.h>

#import <iOSSystemServices/SystemServices.h>
#import <iOSSystemServices/SSAccelerometerInfo.h>
#import <iOSSystemServices/SSAccessoryInfo.h>
#import <iOSSystemServices/SSApplicationInfo.h>
#import <iOSSystemServices/SSBatteryInfo.h>
#import <iOSSystemServices/SSCarrierInfo.h>
#import <iOSSystemServices/SSDiskInfo.h>
#import <iOSSystemServices/SSHardwareInfo.h>
#import <iOSSystemServices/SSJailbreakCheck.h>
#import <iOSSystemServices/SSLocalizationInfo.h>
#import <iOSSystemServices/SSMemoryInfo.h>
#import <iOSSystemServices/SSNetworkInfo.h>
#import <iOSSystemServices/SSProcessInfo.h>
#import <iOSSystemServices/SSProcessorInfo.h>
#import <iOSSystemServices/SSUUID.h>
Loading