From 83dab0ee4e97b8fa069ea826423e313a83200f7c Mon Sep 17 00:00:00 2001 From: Pawel Kania Date: Fri, 30 Sep 2016 23:14:41 +0200 Subject: [PATCH 01/11] Added Carthage support --- System Services/Info-iOS.plist | 24 + System Services/iOSSystemServices.h | 19 + iOS-System-Services.xcodeproj/project.pbxproj | 431 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/SystemServices iOS.xcscheme | 80 ++++ .../contents.xcworkspacedata | 10 + 6 files changed, 571 insertions(+) create mode 100644 System Services/Info-iOS.plist create mode 100644 System Services/iOSSystemServices.h create mode 100644 iOS-System-Services.xcodeproj/project.pbxproj create mode 100644 iOS-System-Services.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 iOS-System-Services.xcodeproj/xcshareddata/xcschemes/SystemServices iOS.xcscheme create mode 100644 iOS-System-Services.xcworkspace/contents.xcworkspacedata diff --git a/System Services/Info-iOS.plist b/System Services/Info-iOS.plist new file mode 100644 index 0000000..fbe1e6b --- /dev/null +++ b/System Services/Info-iOS.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/System Services/iOSSystemServices.h b/System Services/iOSSystemServices.h new file mode 100644 index 0000000..4ed0d34 --- /dev/null +++ b/System Services/iOSSystemServices.h @@ -0,0 +1,19 @@ +// +// iOSSystemServices.h +// iOSSystemServices +// +// Created by Pawel Kania on 30/09/2016. +// +// + +#import + +//! 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 + + diff --git a/iOS-System-Services.xcodeproj/project.pbxproj b/iOS-System-Services.xcodeproj/project.pbxproj new file mode 100644 index 0000000..46d53e2 --- /dev/null +++ b/iOS-System-Services.xcodeproj/project.pbxproj @@ -0,0 +1,431 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4826E8711D9F0B5B009DB564 /* iOSSystemServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E86A1D9F0986009DB564 /* iOSSystemServices.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4826E8741D9F0C06009DB564 /* SystemServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8721D9F0C06009DB564 /* SystemServices.h */; }; + 4826E8751D9F0C06009DB564 /* SystemServices.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8731D9F0C06009DB564 /* SystemServices.m */; }; + 4826E8941D9F0C1B009DB564 /* route.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8771D9F0C1B009DB564 /* route.h */; }; + 4826E8951D9F0C1B009DB564 /* SSAccelerometerInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8781D9F0C1B009DB564 /* SSAccelerometerInfo.h */; }; + 4826E8961D9F0C1B009DB564 /* SSAccelerometerInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8791D9F0C1B009DB564 /* SSAccelerometerInfo.m */; }; + 4826E8971D9F0C1B009DB564 /* SSAccessoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87A1D9F0C1B009DB564 /* SSAccessoryInfo.h */; }; + 4826E8981D9F0C1B009DB564 /* SSAccessoryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87B1D9F0C1B009DB564 /* SSAccessoryInfo.m */; }; + 4826E8991D9F0C1B009DB564 /* SSApplicationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87C1D9F0C1B009DB564 /* SSApplicationInfo.h */; }; + 4826E89A1D9F0C1B009DB564 /* SSApplicationInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87D1D9F0C1B009DB564 /* SSApplicationInfo.m */; }; + 4826E89B1D9F0C1B009DB564 /* SSBatteryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87E1D9F0C1B009DB564 /* SSBatteryInfo.h */; }; + 4826E89C1D9F0C1B009DB564 /* SSBatteryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87F1D9F0C1B009DB564 /* SSBatteryInfo.m */; }; + 4826E89D1D9F0C1B009DB564 /* SSCarrierInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8801D9F0C1B009DB564 /* SSCarrierInfo.h */; }; + 4826E89E1D9F0C1B009DB564 /* SSCarrierInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8811D9F0C1B009DB564 /* SSCarrierInfo.m */; }; + 4826E89F1D9F0C1B009DB564 /* SSDiskInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8821D9F0C1B009DB564 /* SSDiskInfo.h */; }; + 4826E8A01D9F0C1B009DB564 /* SSDiskInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8831D9F0C1B009DB564 /* SSDiskInfo.m */; }; + 4826E8A11D9F0C1B009DB564 /* SSHardwareInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8841D9F0C1B009DB564 /* SSHardwareInfo.h */; }; + 4826E8A21D9F0C1B009DB564 /* SSHardwareInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8851D9F0C1B009DB564 /* SSHardwareInfo.m */; }; + 4826E8A31D9F0C1B009DB564 /* SSJailbreakCheck.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8861D9F0C1B009DB564 /* SSJailbreakCheck.h */; }; + 4826E8A41D9F0C1B009DB564 /* SSJailbreakCheck.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8871D9F0C1B009DB564 /* SSJailbreakCheck.m */; }; + 4826E8A51D9F0C1B009DB564 /* SSLocalizationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8881D9F0C1B009DB564 /* SSLocalizationInfo.h */; }; + 4826E8A61D9F0C1B009DB564 /* SSLocalizationInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8891D9F0C1B009DB564 /* SSLocalizationInfo.m */; }; + 4826E8A71D9F0C1B009DB564 /* SSMemoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88A1D9F0C1B009DB564 /* SSMemoryInfo.h */; }; + 4826E8A81D9F0C1B009DB564 /* SSMemoryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88B1D9F0C1B009DB564 /* SSMemoryInfo.m */; }; + 4826E8A91D9F0C1B009DB564 /* SSNetworkInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88C1D9F0C1B009DB564 /* SSNetworkInfo.h */; }; + 4826E8AA1D9F0C1B009DB564 /* SSNetworkInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88D1D9F0C1B009DB564 /* SSNetworkInfo.m */; }; + 4826E8AB1D9F0C1B009DB564 /* SSProcessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88E1D9F0C1B009DB564 /* SSProcessInfo.h */; }; + 4826E8AC1D9F0C1B009DB564 /* SSProcessInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88F1D9F0C1B009DB564 /* SSProcessInfo.m */; }; + 4826E8AD1D9F0C1B009DB564 /* SSProcessorInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8901D9F0C1B009DB564 /* SSProcessorInfo.h */; }; + 4826E8AE1D9F0C1B009DB564 /* SSProcessorInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8911D9F0C1B009DB564 /* SSProcessorInfo.m */; }; + 4826E8AF1D9F0C1B009DB564 /* SSUUID.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8921D9F0C1B009DB564 /* SSUUID.h */; }; + 4826E8B01D9F0C1B009DB564 /* SSUUID.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8931D9F0C1B009DB564 /* SSUUID.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4826E8671D9F0986009DB564 /* iOSSystemServices.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = iOSSystemServices.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4826E86A1D9F0986009DB564 /* iOSSystemServices.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iOSSystemServices.h; sourceTree = ""; }; + 4826E86B1D9F0986009DB564 /* Info-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-iOS.plist"; sourceTree = ""; }; + 4826E8721D9F0C06009DB564 /* SystemServices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SystemServices.h; sourceTree = ""; }; + 4826E8731D9F0C06009DB564 /* SystemServices.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SystemServices.m; sourceTree = ""; }; + 4826E8771D9F0C1B009DB564 /* route.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = route.h; sourceTree = ""; }; + 4826E8781D9F0C1B009DB564 /* SSAccelerometerInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSAccelerometerInfo.h; sourceTree = ""; }; + 4826E8791D9F0C1B009DB564 /* SSAccelerometerInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSAccelerometerInfo.m; sourceTree = ""; }; + 4826E87A1D9F0C1B009DB564 /* SSAccessoryInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSAccessoryInfo.h; sourceTree = ""; }; + 4826E87B1D9F0C1B009DB564 /* SSAccessoryInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSAccessoryInfo.m; sourceTree = ""; }; + 4826E87C1D9F0C1B009DB564 /* SSApplicationInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSApplicationInfo.h; sourceTree = ""; }; + 4826E87D1D9F0C1B009DB564 /* SSApplicationInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSApplicationInfo.m; sourceTree = ""; }; + 4826E87E1D9F0C1B009DB564 /* SSBatteryInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSBatteryInfo.h; sourceTree = ""; }; + 4826E87F1D9F0C1B009DB564 /* SSBatteryInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSBatteryInfo.m; sourceTree = ""; }; + 4826E8801D9F0C1B009DB564 /* SSCarrierInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSCarrierInfo.h; sourceTree = ""; }; + 4826E8811D9F0C1B009DB564 /* SSCarrierInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSCarrierInfo.m; sourceTree = ""; }; + 4826E8821D9F0C1B009DB564 /* SSDiskInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSDiskInfo.h; sourceTree = ""; }; + 4826E8831D9F0C1B009DB564 /* SSDiskInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSDiskInfo.m; sourceTree = ""; }; + 4826E8841D9F0C1B009DB564 /* SSHardwareInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSHardwareInfo.h; sourceTree = ""; }; + 4826E8851D9F0C1B009DB564 /* SSHardwareInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSHardwareInfo.m; sourceTree = ""; }; + 4826E8861D9F0C1B009DB564 /* SSJailbreakCheck.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSJailbreakCheck.h; sourceTree = ""; }; + 4826E8871D9F0C1B009DB564 /* SSJailbreakCheck.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSJailbreakCheck.m; sourceTree = ""; }; + 4826E8881D9F0C1B009DB564 /* SSLocalizationInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSLocalizationInfo.h; sourceTree = ""; }; + 4826E8891D9F0C1B009DB564 /* SSLocalizationInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSLocalizationInfo.m; sourceTree = ""; }; + 4826E88A1D9F0C1B009DB564 /* SSMemoryInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSMemoryInfo.h; sourceTree = ""; }; + 4826E88B1D9F0C1B009DB564 /* SSMemoryInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSMemoryInfo.m; sourceTree = ""; }; + 4826E88C1D9F0C1B009DB564 /* SSNetworkInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSNetworkInfo.h; sourceTree = ""; }; + 4826E88D1D9F0C1B009DB564 /* SSNetworkInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSNetworkInfo.m; sourceTree = ""; }; + 4826E88E1D9F0C1B009DB564 /* SSProcessInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSProcessInfo.h; sourceTree = ""; }; + 4826E88F1D9F0C1B009DB564 /* SSProcessInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSProcessInfo.m; sourceTree = ""; }; + 4826E8901D9F0C1B009DB564 /* SSProcessorInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSProcessorInfo.h; sourceTree = ""; }; + 4826E8911D9F0C1B009DB564 /* SSProcessorInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSProcessorInfo.m; sourceTree = ""; }; + 4826E8921D9F0C1B009DB564 /* SSUUID.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSUUID.h; sourceTree = ""; }; + 4826E8931D9F0C1B009DB564 /* SSUUID.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSUUID.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4826E8631D9F0986009DB564 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4826E85B1D9F0961009DB564 = { + isa = PBXGroup; + children = ( + 4826E8701D9F09BF009DB564 /* SystemServices */, + 4826E8681D9F0986009DB564 /* Products */, + ); + sourceTree = ""; + }; + 4826E8681D9F0986009DB564 /* Products */ = { + isa = PBXGroup; + children = ( + 4826E8671D9F0986009DB564 /* iOSSystemServices.framework */, + ); + name = Products; + sourceTree = ""; + }; + 4826E8701D9F09BF009DB564 /* SystemServices */ = { + isa = PBXGroup; + children = ( + 4826E86A1D9F0986009DB564 /* iOSSystemServices.h */, + 4826E86B1D9F0986009DB564 /* Info-iOS.plist */, + 4826E8721D9F0C06009DB564 /* SystemServices.h */, + 4826E8731D9F0C06009DB564 /* SystemServices.m */, + 4826E8761D9F0C0C009DB564 /* Utilities */, + ); + name = SystemServices; + path = "System Services"; + sourceTree = ""; + }; + 4826E8761D9F0C0C009DB564 /* Utilities */ = { + isa = PBXGroup; + children = ( + 4826E8771D9F0C1B009DB564 /* route.h */, + 4826E8781D9F0C1B009DB564 /* SSAccelerometerInfo.h */, + 4826E8791D9F0C1B009DB564 /* SSAccelerometerInfo.m */, + 4826E87A1D9F0C1B009DB564 /* SSAccessoryInfo.h */, + 4826E87B1D9F0C1B009DB564 /* SSAccessoryInfo.m */, + 4826E87C1D9F0C1B009DB564 /* SSApplicationInfo.h */, + 4826E87D1D9F0C1B009DB564 /* SSApplicationInfo.m */, + 4826E87E1D9F0C1B009DB564 /* SSBatteryInfo.h */, + 4826E87F1D9F0C1B009DB564 /* SSBatteryInfo.m */, + 4826E8801D9F0C1B009DB564 /* SSCarrierInfo.h */, + 4826E8811D9F0C1B009DB564 /* SSCarrierInfo.m */, + 4826E8821D9F0C1B009DB564 /* SSDiskInfo.h */, + 4826E8831D9F0C1B009DB564 /* SSDiskInfo.m */, + 4826E8841D9F0C1B009DB564 /* SSHardwareInfo.h */, + 4826E8851D9F0C1B009DB564 /* SSHardwareInfo.m */, + 4826E8861D9F0C1B009DB564 /* SSJailbreakCheck.h */, + 4826E8871D9F0C1B009DB564 /* SSJailbreakCheck.m */, + 4826E8881D9F0C1B009DB564 /* SSLocalizationInfo.h */, + 4826E8891D9F0C1B009DB564 /* SSLocalizationInfo.m */, + 4826E88A1D9F0C1B009DB564 /* SSMemoryInfo.h */, + 4826E88B1D9F0C1B009DB564 /* SSMemoryInfo.m */, + 4826E88C1D9F0C1B009DB564 /* SSNetworkInfo.h */, + 4826E88D1D9F0C1B009DB564 /* SSNetworkInfo.m */, + 4826E88E1D9F0C1B009DB564 /* SSProcessInfo.h */, + 4826E88F1D9F0C1B009DB564 /* SSProcessInfo.m */, + 4826E8901D9F0C1B009DB564 /* SSProcessorInfo.h */, + 4826E8911D9F0C1B009DB564 /* SSProcessorInfo.m */, + 4826E8921D9F0C1B009DB564 /* SSUUID.h */, + 4826E8931D9F0C1B009DB564 /* SSUUID.m */, + ); + path = Utilities; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4826E8641D9F0986009DB564 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4826E8A11D9F0C1B009DB564 /* SSHardwareInfo.h in Headers */, + 4826E8A51D9F0C1B009DB564 /* SSLocalizationInfo.h in Headers */, + 4826E8AF1D9F0C1B009DB564 /* SSUUID.h in Headers */, + 4826E8AB1D9F0C1B009DB564 /* SSProcessInfo.h in Headers */, + 4826E8951D9F0C1B009DB564 /* SSAccelerometerInfo.h in Headers */, + 4826E8971D9F0C1B009DB564 /* SSAccessoryInfo.h in Headers */, + 4826E89B1D9F0C1B009DB564 /* SSBatteryInfo.h in Headers */, + 4826E8941D9F0C1B009DB564 /* route.h in Headers */, + 4826E8A71D9F0C1B009DB564 /* SSMemoryInfo.h in Headers */, + 4826E8711D9F0B5B009DB564 /* iOSSystemServices.h in Headers */, + 4826E8AD1D9F0C1B009DB564 /* SSProcessorInfo.h in Headers */, + 4826E8741D9F0C06009DB564 /* SystemServices.h in Headers */, + 4826E8A31D9F0C1B009DB564 /* SSJailbreakCheck.h in Headers */, + 4826E89F1D9F0C1B009DB564 /* SSDiskInfo.h in Headers */, + 4826E8A91D9F0C1B009DB564 /* SSNetworkInfo.h in Headers */, + 4826E8991D9F0C1B009DB564 /* SSApplicationInfo.h in Headers */, + 4826E89D1D9F0C1B009DB564 /* SSCarrierInfo.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4826E8661D9F0986009DB564 /* SystemServices iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4826E86D1D9F0986009DB564 /* Build configuration list for PBXNativeTarget "SystemServices iOS" */; + buildPhases = ( + 4826E8621D9F0986009DB564 /* Sources */, + 4826E8631D9F0986009DB564 /* Frameworks */, + 4826E8641D9F0986009DB564 /* Headers */, + 4826E8651D9F0986009DB564 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "SystemServices iOS"; + productName = "SystemServices iOS"; + productReference = 4826E8671D9F0986009DB564 /* iOSSystemServices.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4826E85C1D9F0961009DB564 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0800; + TargetAttributes = { + 4826E8661D9F0986009DB564 = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 4826E85F1D9F0961009DB564 /* Build configuration list for PBXProject "iOS-System-Services" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4826E85B1D9F0961009DB564; + productRefGroup = 4826E8681D9F0986009DB564 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4826E8661D9F0986009DB564 /* SystemServices iOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4826E8651D9F0986009DB564 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 4826E8621D9F0986009DB564 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4826E8A61D9F0C1B009DB564 /* SSLocalizationInfo.m in Sources */, + 4826E89A1D9F0C1B009DB564 /* SSApplicationInfo.m in Sources */, + 4826E8981D9F0C1B009DB564 /* SSAccessoryInfo.m in Sources */, + 4826E8751D9F0C06009DB564 /* SystemServices.m in Sources */, + 4826E8A21D9F0C1B009DB564 /* SSHardwareInfo.m in Sources */, + 4826E8A41D9F0C1B009DB564 /* SSJailbreakCheck.m in Sources */, + 4826E8AE1D9F0C1B009DB564 /* SSProcessorInfo.m in Sources */, + 4826E8AC1D9F0C1B009DB564 /* SSProcessInfo.m in Sources */, + 4826E8961D9F0C1B009DB564 /* SSAccelerometerInfo.m in Sources */, + 4826E89E1D9F0C1B009DB564 /* SSCarrierInfo.m in Sources */, + 4826E8A01D9F0C1B009DB564 /* SSDiskInfo.m in Sources */, + 4826E89C1D9F0C1B009DB564 /* SSBatteryInfo.m in Sources */, + 4826E8AA1D9F0C1B009DB564 /* SSNetworkInfo.m in Sources */, + 4826E8B01D9F0C1B009DB564 /* SSUUID.m in Sources */, + 4826E8A81D9F0C1B009DB564 /* SSMemoryInfo.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4826E8601D9F0961009DB564 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + }; + name = Debug; + }; + 4826E8611D9F0961009DB564 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + }; + name = Release; + }; + 4826E86E1D9F0986009DB564 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "System Services/Info-iOS.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.SystemServices-iOS"; + PRODUCT_NAME = iOSSystemServices; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4826E86F1D9F0986009DB564 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "System Services/Info-iOS.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = "com.SystemServices-iOS"; + PRODUCT_NAME = iOSSystemServices; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4826E85F1D9F0961009DB564 /* Build configuration list for PBXProject "iOS-System-Services" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4826E8601D9F0961009DB564 /* Debug */, + 4826E8611D9F0961009DB564 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4826E86D1D9F0986009DB564 /* Build configuration list for PBXNativeTarget "SystemServices iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4826E86E1D9F0986009DB564 /* Debug */, + 4826E86F1D9F0986009DB564 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4826E85C1D9F0961009DB564 /* Project object */; +} diff --git a/iOS-System-Services.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iOS-System-Services.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..63f7440 --- /dev/null +++ b/iOS-System-Services.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/iOS-System-Services.xcodeproj/xcshareddata/xcschemes/SystemServices iOS.xcscheme b/iOS-System-Services.xcodeproj/xcshareddata/xcschemes/SystemServices iOS.xcscheme new file mode 100644 index 0000000..c772290 --- /dev/null +++ b/iOS-System-Services.xcodeproj/xcshareddata/xcschemes/SystemServices iOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS-System-Services.xcworkspace/contents.xcworkspacedata b/iOS-System-Services.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b7b646b --- /dev/null +++ b/iOS-System-Services.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + From 8617bccf358ef45902a729693109987acd0b48ec Mon Sep 17 00:00:00 2001 From: Pawel Kania Date: Fri, 30 Sep 2016 23:27:14 +0200 Subject: [PATCH 02/11] Fixed plist --- System Services/Info-iOS.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System Services/Info-iOS.plist b/System Services/Info-iOS.plist index fbe1e6b..4871a3c 100644 --- a/System Services/Info-iOS.plist +++ b/System Services/Info-iOS.plist @@ -13,7 +13,7 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - FMWK + BNDL CFBundleShortVersionString 1.0 CFBundleVersion From efe1c10acc73f9550421c233e2bbd5f8ade80e0f Mon Sep 17 00:00:00 2001 From: Pawel Kania Date: Fri, 30 Sep 2016 23:34:21 +0200 Subject: [PATCH 03/11] Revert "Fixed plist" This reverts commit 8617bccf358ef45902a729693109987acd0b48ec. --- System Services/Info-iOS.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System Services/Info-iOS.plist b/System Services/Info-iOS.plist index 4871a3c..fbe1e6b 100644 --- a/System Services/Info-iOS.plist +++ b/System Services/Info-iOS.plist @@ -13,7 +13,7 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - BNDL + FMWK CFBundleShortVersionString 1.0 CFBundleVersion From ccc81a4b83710d478b4540c8594972ee09b23de1 Mon Sep 17 00:00:00 2001 From: Pawel Kania Date: Fri, 30 Sep 2016 23:47:33 +0200 Subject: [PATCH 04/11] Fixed headers access control --- iOS-System-Services.xcodeproj/project.pbxproj | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/iOS-System-Services.xcodeproj/project.pbxproj b/iOS-System-Services.xcodeproj/project.pbxproj index 46d53e2..adab9d3 100644 --- a/iOS-System-Services.xcodeproj/project.pbxproj +++ b/iOS-System-Services.xcodeproj/project.pbxproj @@ -8,36 +8,36 @@ /* Begin PBXBuildFile section */ 4826E8711D9F0B5B009DB564 /* iOSSystemServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E86A1D9F0986009DB564 /* iOSSystemServices.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4826E8741D9F0C06009DB564 /* SystemServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8721D9F0C06009DB564 /* SystemServices.h */; }; + 4826E8741D9F0C06009DB564 /* SystemServices.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8721D9F0C06009DB564 /* SystemServices.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8751D9F0C06009DB564 /* SystemServices.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8731D9F0C06009DB564 /* SystemServices.m */; }; 4826E8941D9F0C1B009DB564 /* route.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8771D9F0C1B009DB564 /* route.h */; }; - 4826E8951D9F0C1B009DB564 /* SSAccelerometerInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8781D9F0C1B009DB564 /* SSAccelerometerInfo.h */; }; + 4826E8951D9F0C1B009DB564 /* SSAccelerometerInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8781D9F0C1B009DB564 /* SSAccelerometerInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8961D9F0C1B009DB564 /* SSAccelerometerInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8791D9F0C1B009DB564 /* SSAccelerometerInfo.m */; }; - 4826E8971D9F0C1B009DB564 /* SSAccessoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87A1D9F0C1B009DB564 /* SSAccessoryInfo.h */; }; + 4826E8971D9F0C1B009DB564 /* SSAccessoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87A1D9F0C1B009DB564 /* SSAccessoryInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8981D9F0C1B009DB564 /* SSAccessoryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87B1D9F0C1B009DB564 /* SSAccessoryInfo.m */; }; - 4826E8991D9F0C1B009DB564 /* SSApplicationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87C1D9F0C1B009DB564 /* SSApplicationInfo.h */; }; + 4826E8991D9F0C1B009DB564 /* SSApplicationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87C1D9F0C1B009DB564 /* SSApplicationInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E89A1D9F0C1B009DB564 /* SSApplicationInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87D1D9F0C1B009DB564 /* SSApplicationInfo.m */; }; - 4826E89B1D9F0C1B009DB564 /* SSBatteryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87E1D9F0C1B009DB564 /* SSBatteryInfo.h */; }; + 4826E89B1D9F0C1B009DB564 /* SSBatteryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E87E1D9F0C1B009DB564 /* SSBatteryInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E89C1D9F0C1B009DB564 /* SSBatteryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E87F1D9F0C1B009DB564 /* SSBatteryInfo.m */; }; - 4826E89D1D9F0C1B009DB564 /* SSCarrierInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8801D9F0C1B009DB564 /* SSCarrierInfo.h */; }; + 4826E89D1D9F0C1B009DB564 /* SSCarrierInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8801D9F0C1B009DB564 /* SSCarrierInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E89E1D9F0C1B009DB564 /* SSCarrierInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8811D9F0C1B009DB564 /* SSCarrierInfo.m */; }; - 4826E89F1D9F0C1B009DB564 /* SSDiskInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8821D9F0C1B009DB564 /* SSDiskInfo.h */; }; + 4826E89F1D9F0C1B009DB564 /* SSDiskInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8821D9F0C1B009DB564 /* SSDiskInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8A01D9F0C1B009DB564 /* SSDiskInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8831D9F0C1B009DB564 /* SSDiskInfo.m */; }; - 4826E8A11D9F0C1B009DB564 /* SSHardwareInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8841D9F0C1B009DB564 /* SSHardwareInfo.h */; }; + 4826E8A11D9F0C1B009DB564 /* SSHardwareInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8841D9F0C1B009DB564 /* SSHardwareInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8A21D9F0C1B009DB564 /* SSHardwareInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8851D9F0C1B009DB564 /* SSHardwareInfo.m */; }; - 4826E8A31D9F0C1B009DB564 /* SSJailbreakCheck.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8861D9F0C1B009DB564 /* SSJailbreakCheck.h */; }; + 4826E8A31D9F0C1B009DB564 /* SSJailbreakCheck.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8861D9F0C1B009DB564 /* SSJailbreakCheck.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8A41D9F0C1B009DB564 /* SSJailbreakCheck.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8871D9F0C1B009DB564 /* SSJailbreakCheck.m */; }; - 4826E8A51D9F0C1B009DB564 /* SSLocalizationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8881D9F0C1B009DB564 /* SSLocalizationInfo.h */; }; + 4826E8A51D9F0C1B009DB564 /* SSLocalizationInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8881D9F0C1B009DB564 /* SSLocalizationInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8A61D9F0C1B009DB564 /* SSLocalizationInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8891D9F0C1B009DB564 /* SSLocalizationInfo.m */; }; - 4826E8A71D9F0C1B009DB564 /* SSMemoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88A1D9F0C1B009DB564 /* SSMemoryInfo.h */; }; + 4826E8A71D9F0C1B009DB564 /* SSMemoryInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88A1D9F0C1B009DB564 /* SSMemoryInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8A81D9F0C1B009DB564 /* SSMemoryInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88B1D9F0C1B009DB564 /* SSMemoryInfo.m */; }; - 4826E8A91D9F0C1B009DB564 /* SSNetworkInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88C1D9F0C1B009DB564 /* SSNetworkInfo.h */; }; + 4826E8A91D9F0C1B009DB564 /* SSNetworkInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88C1D9F0C1B009DB564 /* SSNetworkInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8AA1D9F0C1B009DB564 /* SSNetworkInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88D1D9F0C1B009DB564 /* SSNetworkInfo.m */; }; - 4826E8AB1D9F0C1B009DB564 /* SSProcessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88E1D9F0C1B009DB564 /* SSProcessInfo.h */; }; + 4826E8AB1D9F0C1B009DB564 /* SSProcessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E88E1D9F0C1B009DB564 /* SSProcessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8AC1D9F0C1B009DB564 /* SSProcessInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E88F1D9F0C1B009DB564 /* SSProcessInfo.m */; }; - 4826E8AD1D9F0C1B009DB564 /* SSProcessorInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8901D9F0C1B009DB564 /* SSProcessorInfo.h */; }; + 4826E8AD1D9F0C1B009DB564 /* SSProcessorInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8901D9F0C1B009DB564 /* SSProcessorInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8AE1D9F0C1B009DB564 /* SSProcessorInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8911D9F0C1B009DB564 /* SSProcessorInfo.m */; }; - 4826E8AF1D9F0C1B009DB564 /* SSUUID.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8921D9F0C1B009DB564 /* SSUUID.h */; }; + 4826E8AF1D9F0C1B009DB564 /* SSUUID.h in Headers */ = {isa = PBXBuildFile; fileRef = 4826E8921D9F0C1B009DB564 /* SSUUID.h */; settings = {ATTRIBUTES = (Public, ); }; }; 4826E8B01D9F0C1B009DB564 /* SSUUID.m in Sources */ = {isa = PBXBuildFile; fileRef = 4826E8931D9F0C1B009DB564 /* SSUUID.m */; }; /* End PBXBuildFile section */ From 61efebc3a66bf81e4f710fe7f7e148eed797cb78 Mon Sep 17 00:00:00 2001 From: Pawel Kania Date: Fri, 30 Sep 2016 23:52:11 +0200 Subject: [PATCH 05/11] Added missing imports --- System Services/iOSSystemServices.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/System Services/iOSSystemServices.h b/System Services/iOSSystemServices.h index 4ed0d34..5144398 100644 --- a/System Services/iOSSystemServices.h +++ b/System Services/iOSSystemServices.h @@ -16,4 +16,18 @@ FOUNDATION_EXPORT const unsigned char iOSSystemServicesVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import - +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import From 43015b1d0fbb151641c445dc16fa2db6153cb37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kania?= Date: Wed, 2 Nov 2016 08:33:35 +0100 Subject: [PATCH 06/11] Added support for iPhone 7 and 7 Plus in SSHardwareInfo --- System Services/Utilities/SSHardwareInfo.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/System Services/Utilities/SSHardwareInfo.m b/System Services/Utilities/SSHardwareInfo.m index a589f33..eb105f9 100755 --- a/System Services/Utilities/SSHardwareInfo.m +++ b/System Services/Utilities/SSHardwareInfo.m @@ -168,6 +168,14 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted { NewDeviceType = @"iPhone 6s Plus"; else if ([DeviceType isEqualToString:@"iPhone8,4"]) NewDeviceType = @"iPhone SE"; + else if ([DeviceType isEqualToString:@"iPhone9,1"]) + NewDeviceType = @"iPhone 7"; + else if ([DeviceType isEqualToString:@"iPhone9,3"]) + NewDeviceType = @"iPhone 7"; + else if ([DeviceType isEqualToString:@"iPhone9,2"]) + NewDeviceType = @"iPhone 7 Plus"; + else if ([DeviceType isEqualToString:@"iPhone9,4"]) + NewDeviceType = @"iPhone 7 Plus"; else if ([DeviceType isEqualToString:@"iPod1,1"]) NewDeviceType = @"iPod Touch 1G"; else if ([DeviceType isEqualToString:@"iPod2,1"]) From da346f885d9ad410354796d5d79162de3c301149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kania?= Date: Fri, 29 Sep 2017 11:08:42 +0200 Subject: [PATCH 07/11] Fixed problem with header on simulator --- System Services/Utilities/SSNetworkInfo.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/System Services/Utilities/SSNetworkInfo.m b/System Services/Utilities/SSNetworkInfo.m index 7652916..c9f14c4 100755 --- a/System Services/Utilities/SSNetworkInfo.m +++ b/System Services/Utilities/SSNetworkInfo.m @@ -15,7 +15,11 @@ #import // route +#if TARGET_IPHONE_SIMULATOR +#include +#else #include "route.h" +#endif // sysctl #import From 0b06ddab11d5a23d23384fc3b098992b19f7bb98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kania?= Date: Mon, 20 Nov 2017 10:39:26 +0100 Subject: [PATCH 08/11] Reversed SSNetworkInfo.m file --- System Services/Utilities/SSNetworkInfo.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/System Services/Utilities/SSNetworkInfo.m b/System Services/Utilities/SSNetworkInfo.m index c9f14c4..7652916 100755 --- a/System Services/Utilities/SSNetworkInfo.m +++ b/System Services/Utilities/SSNetworkInfo.m @@ -15,11 +15,7 @@ #import // route -#if TARGET_IPHONE_SIMULATOR -#include -#else #include "route.h" -#endif // sysctl #import From 604edbdfb7f500f8942251761fb043234abfd2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kania?= Date: Tue, 1 Oct 2019 09:32:54 +0200 Subject: [PATCH 09/11] Updated device identifiers --- System Services/Utilities/SSHardwareInfo.m | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/System Services/Utilities/SSHardwareInfo.m b/System Services/Utilities/SSHardwareInfo.m index a8a1013..96a7453 100755 --- a/System Services/Utilities/SSHardwareInfo.m +++ b/System Services/Utilities/SSHardwareInfo.m @@ -193,6 +193,20 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted { newDeviceType = @"iPhone X (CDMA+GSM/LTE)"; else if ([deviceType isEqualToString:@"iPhone10,6"]) newDeviceType = @"iPhone X (GSM/LTE)"; + else if ([deviceType isEqualToString:@"iPhone11,2"]) + newDeviceType = @"iPhone XS"; + else if ([deviceType isEqualToString:@"iPhone11,4"]) + newDeviceType = @"iPhone XS Max"; + else if ([deviceType isEqualToString:@"iPhone11,6"]) + newDeviceType = @"iPhone XS Max Global"; + else if ([deviceType isEqualToString:@"iPhone11,8"]) + newDeviceType = @"iPhone XR"; + else if ([deviceType isEqualToString:@"iPhone12,1"]) + newDeviceType = @"iPhone 11"; + else if ([deviceType isEqualToString:@"Phone12,3"]) + newDeviceType = @"iPhone 11 Pro"; + else if ([deviceType isEqualToString:@"iPhone12,5"]) + newDeviceType = @"iPhone 11 Pro Max"; // iPods else if ([deviceType isEqualToString:@"iPod1,1"]) newDeviceType = @"iPod Touch 1G"; @@ -206,6 +220,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"; @@ -273,6 +289,38 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted { newDeviceType = @"iPad Pro 10.5 (WiFi)"; else if ([deviceType isEqualToString:@"iPad7,4"]) newDeviceType = @"iPad Pro 10.5 (Cellular)"; + else if ([deviceType isEqualToString:@"iPad7,5"]) + newDeviceType = @"iPad 6th Gen (WiFi)"; + else if ([deviceType isEqualToString:@"iPad7,6"]) + newDeviceType = @"iPad 6th Gen (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 3rd Gen (11 inch, WiFi)"; + else if ([deviceType isEqualToString:@"iPad8,2"]) + newDeviceType = @"iPad Pro 3rd Gen (11 inch, 1TB, WiFi)"; + else if ([deviceType isEqualToString:@"iPad8,3"]) + newDeviceType = @"iPad Pro 3rd Gen (11 inch, WiFi+Cellular)"; + else if ([deviceType isEqualToString:@"iPad8,4"]) + newDeviceType = @"iPad Pro 3rd Gen (11 inch, 1TB, WiFi+Cellular)"; + else if ([deviceType isEqualToString:@"iPad8,5"]) + newDeviceType = @"Pad Pro 3rd Gen (12.9 inch, WiFi)"; + else if ([deviceType isEqualToString:@"iPad8,6"]) + newDeviceType = @"iPad Pro 3rd Gen (12.9 inch, 1TB, WiFi)"; + else if ([deviceType isEqualToString:@"iPad8,7"]) + newDeviceType = @"iPad Pro 3rd Gen (12.9 inch, WiFi+Cellular)"; + else if ([deviceType isEqualToString:@"iPad8,8"]) + newDeviceType = @"iPad Pro 3rd Gen (12.9 inch, 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"; // Catch All iPad else if ([deviceType hasPrefix:@"iPad"]) newDeviceType = @"iPad"; From 794d94e4b42e630aa28c85c8ae9501c5c52ca1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kania?= Date: Thu, 16 Jan 2020 10:25:22 +0100 Subject: [PATCH 10/11] Added missing devices --- System Services/Utilities/SSHardwareInfo.m | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/System Services/Utilities/SSHardwareInfo.m b/System Services/Utilities/SSHardwareInfo.m index 6c0e0ca..eba8e60 100755 --- a/System Services/Utilities/SSHardwareInfo.m +++ b/System Services/Utilities/SSHardwareInfo.m @@ -201,6 +201,12 @@ + (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"; // iPods else if ([deviceType isEqualToString:@"iPod1,1"]) newDeviceType = @"iPod Touch 1G"; @@ -214,6 +220,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"; @@ -285,6 +293,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"]) @@ -301,6 +313,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"; From 577be4ec3128b5f48596c7218161d966290c03cd Mon Sep 17 00:00:00 2001 From: "Pawel Kania (PGS Software)" Date: Mon, 28 Sep 2020 11:44:55 +0200 Subject: [PATCH 11/11] Added new device(s) --- System Services/Utilities/SSHardwareInfo.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System Services/Utilities/SSHardwareInfo.m b/System Services/Utilities/SSHardwareInfo.m index eba8e60..e5151ee 100755 --- a/System Services/Utilities/SSHardwareInfo.m +++ b/System Services/Utilities/SSHardwareInfo.m @@ -207,6 +207,8 @@ + (NSString *)systemDeviceTypeFormatted:(BOOL)formatted { 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";