diff --git a/Adjust.podspec b/Adjust.podspec index cfcf117c8..0d6923bff 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Adjust" - s.version = "4.10.1" + s.version = "4.10.2" s.summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com." s.homepage = "http://adjust.com" s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } s.author = { "Christian Wellenbrock" => "welle@adjust.com" } - s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.10.1" } + s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.10.2" } s.ios.deployment_target = '6.0' s.tvos.deployment_target = '9.0' s.framework = 'SystemConfiguration' diff --git a/Adjust.xcodeproj/project.pbxproj b/Adjust.xcodeproj/project.pbxproj index ee8985489..05065104d 100644 --- a/Adjust.xcodeproj/project.pbxproj +++ b/Adjust.xcodeproj/project.pbxproj @@ -1770,7 +1770,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = AdjustSdk/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = NO; @@ -1799,7 +1799,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = AdjustSdk/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = NO; ONLY_ACTIVE_ARCH = NO; @@ -1836,7 +1836,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.2; + TVOS_DEPLOYMENT_TARGET = 9.0; VALID_ARCHS = "arm64 x86_64"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -1867,7 +1867,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.2; + TVOS_DEPLOYMENT_TARGET = 9.0; VALID_ARCHS = "arm64 x86_64"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; diff --git a/Adjust/ADJSystemProfile.m b/Adjust/ADJSystemProfile.m index f7ac4595e..c3d4d8b7d 100644 --- a/Adjust/ADJSystemProfile.m +++ b/Adjust/ADJSystemProfile.m @@ -57,16 +57,26 @@ + (NSString*) cpuFamily } switch (cpufamily) { +#ifdef CPUFAMILY_UNKNOWN case CPUFAMILY_UNKNOWN: return @"CPUFAMILY_UNKNOWN"; +#endif +#ifdef CPUFAMILY_POWERPC_G3 case CPUFAMILY_POWERPC_G3: return @"CPUFAMILY_POWERPC_G3"; +#endif +#ifdef CPUFAMILY_POWERPC_G4 case CPUFAMILY_POWERPC_G4: return @"CPUFAMILY_POWERPC_G4"; +#endif +#ifdef CPUFAMILY_POWERPC_G5 case CPUFAMILY_POWERPC_G5: return @"CPUFAMILY_POWERPC_G5"; +#endif +#ifdef CPUFAMILY_INTEL_6_13 case CPUFAMILY_INTEL_6_13: return @"CPUFAMILY_INTEL_6_13"; +#endif #ifdef CPUFAMILY_INTEL_YONAH case CPUFAMILY_INTEL_YONAH: return @"CPUFAMILY_INTEL_YONAH"; @@ -75,42 +85,86 @@ + (NSString*) cpuFamily case CPUFAMILY_INTEL_MEROM: return @"CPUFAMILY_INTEL_MEROM"; #endif +#ifdef CPUFAMILY_INTEL_PENRYN case CPUFAMILY_INTEL_PENRYN: return @"CPUFAMILY_INTEL_PENRYN"; +#endif +#ifdef CPUFAMILY_INTEL_NEHALEM case CPUFAMILY_INTEL_NEHALEM: return @"CPUFAMILY_INTEL_NEHALEM"; +#endif +#ifdef CPUFAMILY_INTEL_WESTMERE case CPUFAMILY_INTEL_WESTMERE: return @"CPUFAMILY_INTEL_WESTMERE"; +#endif +#ifdef CPUFAMILY_INTEL_SANDYBRIDGE case CPUFAMILY_INTEL_SANDYBRIDGE: return @"CPUFAMILY_INTEL_SANDYBRIDGE"; +#endif +#ifdef CPUFAMILY_INTEL_IVYBRIDGE case CPUFAMILY_INTEL_IVYBRIDGE: return @"CPUFAMILY_INTEL_IVYBRIDGE"; +#endif +#ifdef CPUFAMILY_INTEL_HASWELL case CPUFAMILY_INTEL_HASWELL: return @"CPUFAMILY_INTEL_HASWELL"; +#endif +#ifdef CPUFAMILY_INTEL_BROADWELL case CPUFAMILY_INTEL_BROADWELL: return @"CPUFAMILY_INTEL_BROADWELL"; +#endif +#ifdef CPUFAMILY_INTEL_SKYLAKE case CPUFAMILY_INTEL_SKYLAKE: return @"CPUFAMILY_INTEL_SKYLAKE"; +#endif +#ifdef CPUFAMILY_ARM_9 case CPUFAMILY_ARM_9: return @"CPUFAMILY_ARM_9"; +#endif +#ifdef CPUFAMILY_ARM_11 case CPUFAMILY_ARM_11: return @"CPUFAMILY_ARM_11"; +#endif +#ifdef CPUFAMILY_ARM_XSCALE case CPUFAMILY_ARM_XSCALE: return @"CPUFAMILY_ARM_XSCALE"; +#endif +#ifdef CPUFAMILY_ARM_12 case CPUFAMILY_ARM_12: return @"CPUFAMILY_ARM_12"; +#endif +#ifdef CPUFAMILY_ARM_13 case CPUFAMILY_ARM_13: return @"CPUFAMILY_ARM_13"; +#endif +#ifdef CPUFAMILY_ARM_14 case CPUFAMILY_ARM_14: return @"CPUFAMILY_ARM_14"; +#endif +#ifdef CPUFAMILY_ARM_15 case CPUFAMILY_ARM_15: return @"CPUFAMILY_ARM_15"; +#endif +#ifdef CPUFAMILY_ARM_SWIFT case CPUFAMILY_ARM_SWIFT: return @"CPUFAMILY_ARM_SWIFT"; +#endif +#ifdef CPUFAMILY_ARM_CYCLONE case CPUFAMILY_ARM_CYCLONE: return @"CPUFAMILY_ARM_CYCLONE"; +#endif +#ifdef CPUFAMILY_ARM_TYPHOON case CPUFAMILY_ARM_TYPHOON: return @"CPUFAMILY_ARM_TYPHOON"; +#endif +#ifdef CPUFAMILY_ARM_TWISTER + case CPUFAMILY_ARM_TWISTER: + return @"CPUFAMILY_ARM_TWISTER"; +#endif +#ifdef CPUFAMILY_ARM_HURRICANE + case CPUFAMILY_ARM_HURRICANE: + return @"CPUFAMILY_ARM_HURRICANE"; +#endif } NSString * unknowCpuFamily = [NSString stringWithFormat:@"Unknown CPU family %d", cpufamily]; NSLog(@"%@", unknowCpuFamily); @@ -293,244 +347,430 @@ + (NSString*) readCpuTypeSubtype:(int)cputype { switch (cputype) { +#ifdef CPU_TYPE_ANY case CPU_TYPE_ANY: if (!readSubType) return @"CPU_TYPE_ANY"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_MULTIPLE case CPU_SUBTYPE_MULTIPLE: return @"CPU_SUBTYPE_MULTIPLE"; +#endif +#ifdef CPU_SUBTYPE_LITTLE_ENDIAN case CPU_SUBTYPE_LITTLE_ENDIAN: return @"CPU_SUBTYPE_LITTLE_ENDIAN"; +#endif +#ifdef CPU_SUBTYPE_BIG_ENDIAN case CPU_SUBTYPE_BIG_ENDIAN: return @"CPU_SUBTYPE_BIG_ENDIAN"; +#endif } break; +#endif +#ifdef CPU_TYPE_VAX case CPU_TYPE_VAX: if (!readSubType) return @"CPU_TYPE_VAX"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_VAX_ALL case CPU_SUBTYPE_VAX_ALL: return @"CPU_SUBTYPE_VAX_ALL"; +#endif +#ifdef CPU_SUBTYPE_VAX780 case CPU_SUBTYPE_VAX780: return @"CPU_SUBTYPE_VAX780"; +#endif +#ifdef CPU_SUBTYPE_VAX785 case CPU_SUBTYPE_VAX785: return @"CPU_SUBTYPE_VAX785"; +#endif +#ifdef CPU_SUBTYPE_VAX750 case CPU_SUBTYPE_VAX750: return @"CPU_SUBTYPE_VAX750"; +#endif +#ifdef CPU_SUBTYPE_VAX730 case CPU_SUBTYPE_VAX730: return @"CPU_SUBTYPE_VAX730"; +#endif +#ifdef CPU_SUBTYPE_UVAXI case CPU_SUBTYPE_UVAXI: return @"CPU_SUBTYPE_UVAXI"; +#endif +#ifdef CPU_SUBTYPE_UVAXII case CPU_SUBTYPE_UVAXII: return @"CPU_SUBTYPE_UVAXII"; +#endif +#ifdef CPU_SUBTYPE_VAX8200 case CPU_SUBTYPE_VAX8200: return @"CPU_SUBTYPE_VAX8200"; +#endif +#ifdef CPU_SUBTYPE_VAX8500 case CPU_SUBTYPE_VAX8500: return @"CPU_SUBTYPE_VAX8500"; +#endif +#ifdef CPU_SUBTYPE_VAX8600 case CPU_SUBTYPE_VAX8600: return @"CPU_SUBTYPE_VAX8600"; +#endif +#ifdef CPU_SUBTYPE_VAX8650 case CPU_SUBTYPE_VAX8650: return @"CPU_SUBTYPE_VAX8650"; +#endif +#ifdef CPU_SUBTYPE_VAX8800 case CPU_SUBTYPE_VAX8800: return @"CPU_SUBTYPE_VAX8800"; +#endif +#ifdef CPU_SUBTYPE_UVAXIII case CPU_SUBTYPE_UVAXIII: return @"CPU_SUBTYPE_UVAXIII"; +#endif } break; +#endif +#ifdef CPU_TYPE_MC680x0 case CPU_TYPE_MC680x0: if (!readSubType) return @"CPU_TYPE_MC680x0"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_MC680x0_ALL case CPU_SUBTYPE_MC680x0_ALL: return @"CPU_SUBTYPE_MC680x0_ALL"; +#endif +#ifdef CPU_SUBTYPE_MC68040 case CPU_SUBTYPE_MC68040: return @"CPU_SUBTYPE_MC68040"; +#endif +#ifdef CPU_SUBTYPE_MC68030_ONLY case CPU_SUBTYPE_MC68030_ONLY: return @"CPU_SUBTYPE_MC68030_ONLY"; +#endif } break; +#endif +#ifdef CPU_TYPE_X86_64 case CPU_TYPE_X86_64: if (!readSubType) return @"CPU_TYPE_X86_64"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_X86_64_ALL case CPU_SUBTYPE_X86_64_ALL: return @"CPU_SUBTYPE_X86_64_ALL"; +#endif +#ifdef CPU_SUBTYPE_X86_ARCH1 case CPU_SUBTYPE_X86_ARCH1: return @"CPU_SUBTYPE_X86_ARCH1"; +#endif +#ifdef CPU_SUBTYPE_X86_64_H case CPU_SUBTYPE_X86_64_H: return @"CPU_SUBTYPE_X86_64_H"; +#endif } break; +#endif +#ifdef CPU_TYPE_X86 case CPU_TYPE_X86: if (!readSubType) return @"CPU_TYPE_X86"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_386 case CPU_SUBTYPE_386: return @"CPU_SUBTYPE_386"; +#endif +#ifdef CPU_SUBTYPE_486 case CPU_SUBTYPE_486: return @"CPU_SUBTYPE_486"; +#endif +#ifdef CPU_SUBTYPE_486SX case CPU_SUBTYPE_486SX: return @"CPU_SUBTYPE_486SX"; - case CPU_SUBTYPE_PENT: - return @"CPU_SUBTYPE_PENT"; +#endif +#ifdef CPU_SUBTYPE_586 + case CPU_SUBTYPE_586: + return @"CPU_SUBTYPE_586"; +#endif +#ifdef CPU_SUBTYPE_PENTPRO case CPU_SUBTYPE_PENTPRO: return @"CPU_SUBTYPE_PENTPRO"; +#endif +#ifdef CPU_SUBTYPE_PENTII_M3 case CPU_SUBTYPE_PENTII_M3: return @"CPU_SUBTYPE_PENTII_M3"; +#endif +#ifdef CPU_SUBTYPE_PENTII_M5 case CPU_SUBTYPE_PENTII_M5: return @"CPU_SUBTYPE_PENTII_M5"; +#endif +#ifdef CPU_SUBTYPE_CELERON case CPU_SUBTYPE_CELERON: return @"CPU_SUBTYPE_CELERON"; +#endif +#ifdef CPU_SUBTYPE_CELERON_MOBILE case CPU_SUBTYPE_CELERON_MOBILE: return @"CPU_SUBTYPE_CELERON_MOBILE"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_3 case CPU_SUBTYPE_PENTIUM_3: return @"CPU_SUBTYPE_PENTIUM_3"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_3_M case CPU_SUBTYPE_PENTIUM_3_M: return @"CPU_SUBTYPE_PENTIUM_3_M"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_3_XEON case CPU_SUBTYPE_PENTIUM_3_XEON: return @"CPU_SUBTYPE_PENTIUM_3_XEON"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_M case CPU_SUBTYPE_PENTIUM_M: return @"CPU_SUBTYPE_PENTIUM_M"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_4 case CPU_SUBTYPE_PENTIUM_4: return @"CPU_SUBTYPE_PENTIUM_4"; +#endif +#ifdef CPU_SUBTYPE_PENTIUM_4_M case CPU_SUBTYPE_PENTIUM_4_M: return @"CPU_SUBTYPE_PENTIUM_4_M"; +#endif +#ifdef CPU_SUBTYPE_ITANIUM case CPU_SUBTYPE_ITANIUM: return @"CPU_SUBTYPE_ITANIUM"; +#endif +#ifdef CPU_SUBTYPE_ITANIUM_2 case CPU_SUBTYPE_ITANIUM_2: return @"CPU_SUBTYPE_ITANIUM_2"; +#endif +#ifdef CPU_SUBTYPE_XEON case CPU_SUBTYPE_XEON: return @"CPU_SUBTYPE_XEON"; +#endif +#ifdef CPU_SUBTYPE_XEON_MP case CPU_SUBTYPE_XEON_MP: return @"CPU_SUBTYPE_XEON_MP"; +#endif } break; +#endif +#ifdef CPU_TYPE_MC98000 case CPU_TYPE_MC98000: if (!readSubType) return @"CPU_TYPE_MC98000"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_MC98000_ALL case CPU_SUBTYPE_MC98000_ALL: return @"CPU_SUBTYPE_MC98000_ALL"; +#endif +#ifdef CPU_SUBTYPE_MC98601 case CPU_SUBTYPE_MC98601: return @"CPU_SUBTYPE_MC98601"; +#endif } break; +#endif +#ifdef CPU_TYPE_HPPA case CPU_TYPE_HPPA: if (!readSubType) return @"CPU_TYPE_HPPA"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_HPPA_7100 case CPU_SUBTYPE_HPPA_7100: return @"CPU_SUBTYPE_HPPA_7100"; +#endif +#ifdef CPU_SUBTYPE_HPPA_7100LC case CPU_SUBTYPE_HPPA_7100LC: return @"CPU_SUBTYPE_HPPA_7100LC"; +#endif } break; +#endif +#ifdef CPU_TYPE_ARM64 case CPU_TYPE_ARM64: if (!readSubType) return @"CPU_TYPE_ARM64"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_ARM64_ALL case CPU_SUBTYPE_ARM64_ALL: return @"CPU_SUBTYPE_ARM64_ALL"; +#endif +#ifdef CPU_SUBTYPE_ARM64_V8 case CPU_SUBTYPE_ARM64_V8: return @"CPU_SUBTYPE_ARM64_V8"; +#endif } break; +#endif +#ifdef CPU_TYPE_ARM case CPU_TYPE_ARM: if (!readSubType) return @"CPU_TYPE_ARM"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_ARM_ALL case CPU_SUBTYPE_ARM_ALL: return @"CPU_SUBTYPE_ARM_ALL"; +#endif +#ifdef CPU_SUBTYPE_ARM_V4T case CPU_SUBTYPE_ARM_V4T: return @"CPU_SUBTYPE_ARM_V4T"; +#endif +#ifdef CPU_SUBTYPE_ARM_V6 case CPU_SUBTYPE_ARM_V6: return @"CPU_SUBTYPE_ARM_V6"; +#endif +#ifdef CPU_SUBTYPE_ARM_V5TEJ case CPU_SUBTYPE_ARM_V5TEJ: return @"CPU_SUBTYPE_ARM_V5TEJ"; +#endif +#ifdef CPU_SUBTYPE_ARM_XSCALE case CPU_SUBTYPE_ARM_XSCALE: return @"CPU_SUBTYPE_ARM_XSCALE"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7 case CPU_SUBTYPE_ARM_V7: return @"CPU_SUBTYPE_ARM_V7"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7F case CPU_SUBTYPE_ARM_V7F: return @"CPU_SUBTYPE_ARM_V7F"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7S case CPU_SUBTYPE_ARM_V7S: return @"CPU_SUBTYPE_ARM_V7S"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7K case CPU_SUBTYPE_ARM_V7K: return @"CPU_SUBTYPE_ARM_V7K"; +#endif +#ifdef CPU_SUBTYPE_ARM_V6M case CPU_SUBTYPE_ARM_V6M: return @"CPU_SUBTYPE_ARM_V6M"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7M case CPU_SUBTYPE_ARM_V7M: return @"CPU_SUBTYPE_ARM_V7M"; +#endif +#ifdef CPU_SUBTYPE_ARM_V7EM case CPU_SUBTYPE_ARM_V7EM: return @"CPU_SUBTYPE_ARM_V7EM"; +#endif +#ifdef CPU_SUBTYPE_ARM_V8 case CPU_SUBTYPE_ARM_V8: return @"CPU_SUBTYPE_ARM_V8"; +#endif } break; +#endif +#ifdef CPU_TYPE_MC88000 case CPU_TYPE_MC88000: if (!readSubType) return @"CPU_TYPE_MC88000"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_MC88000_ALL case CPU_SUBTYPE_MC88000_ALL: return @"CPU_SUBTYPE_MC88000_ALL"; +#endif +#ifdef CPU_SUBTYPE_MC88100 case CPU_SUBTYPE_MC88100: return @"CPU_SUBTYPE_MC88100"; +#endif +#ifdef CPU_SUBTYPE_MC88110 case CPU_SUBTYPE_MC88110: return @"CPU_SUBTYPE_MC88110"; +#endif } break; +#endif +#ifdef CPU_TYPE_SPARC case CPU_TYPE_SPARC: if (!readSubType) return @"CPU_TYPE_SPARC"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_SPARC_ALL case CPU_SUBTYPE_SPARC_ALL: return @"CPU_SUBTYPE_SPARC_ALL"; +#endif } break; +#endif +#ifdef CPU_TYPE_I860 case CPU_TYPE_I860: if (!readSubType) return @"CPU_TYPE_I860"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_I860_ALL case CPU_SUBTYPE_I860_ALL: return @"CPU_SUBTYPE_I860_ALL"; +#endif +#ifdef CPU_SUBTYPE_I860_860 case CPU_SUBTYPE_I860_860: return @"CPU_SUBTYPE_I860_860"; +#endif } break; +#endif +#ifdef CPU_TYPE_POWERPC64 case CPU_TYPE_POWERPC64: if (!readSubType) return @"CPU_TYPE_POWERPC64"; break; +#endif +#ifdef CPU_TYPE_POWERPC case CPU_TYPE_POWERPC: if (!readSubType) return @"CPU_TYPE_POWERPC"; switch (cpusubtype) { +#ifdef CPU_SUBTYPE_POWERPC_ALL case CPU_SUBTYPE_POWERPC_ALL: return @"CPU_SUBTYPE_POWERPC_ALL"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_601 case CPU_SUBTYPE_POWERPC_601: return @"CPU_SUBTYPE_POWERPC_601"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_602 case CPU_SUBTYPE_POWERPC_602: return @"CPU_SUBTYPE_POWERPC_602"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_603 case CPU_SUBTYPE_POWERPC_603: return @"CPU_SUBTYPE_POWERPC_603"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_603e case CPU_SUBTYPE_POWERPC_603e: return @"CPU_SUBTYPE_POWERPC_603e"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_603ev case CPU_SUBTYPE_POWERPC_603ev: return @"CPU_SUBTYPE_POWERPC_603ev"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_604 case CPU_SUBTYPE_POWERPC_604: return @"CPU_SUBTYPE_POWERPC_604"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_604e case CPU_SUBTYPE_POWERPC_604e: return @"CPU_SUBTYPE_POWERPC_604e"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_620 case CPU_SUBTYPE_POWERPC_620: return @"CPU_SUBTYPE_POWERPC_620"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_750 case CPU_SUBTYPE_POWERPC_750: return @"CPU_SUBTYPE_POWERPC_750"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_7400 case CPU_SUBTYPE_POWERPC_7400: return @"CPU_SUBTYPE_POWERPC_7400"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_7450 case CPU_SUBTYPE_POWERPC_7450: return @"CPU_SUBTYPE_POWERPC_7450"; +#endif +#ifdef CPU_SUBTYPE_POWERPC_970 case CPU_SUBTYPE_POWERPC_970: return @"CPU_SUBTYPE_POWERPC_970"; +#endif } break; +#endif } return nil; diff --git a/Adjust/ADJUtil.m b/Adjust/ADJUtil.m index 3b5875820..5d89567d6 100644 --- a/Adjust/ADJUtil.m +++ b/Adjust/ADJUtil.m @@ -26,7 +26,7 @@ static NSRegularExpression *optionalRedirectRegex = nil; static NSNumberFormatter * secondsNumberFormatter = nil; -static NSString * const kClientSdk = @"ios4.10.1"; +static NSString * const kClientSdk = @"ios4.10.2"; static NSURLSessionConfiguration * urlSessionConfiguration = nil; static NSString * userAgent = nil; static NSString * const kDeeplinkParam = @"deep_link="; diff --git a/AdjustTests/ADJPackageFields.m b/AdjustTests/ADJPackageFields.m index 4852fec6d..aa4298b8d 100644 --- a/AdjustTests/ADJPackageFields.m +++ b/AdjustTests/ADJPackageFields.m @@ -16,7 +16,7 @@ - (id) init { // default values self.appToken = @"qwerty123456"; - self.clientSdk = @"ios4.10.1"; + self.clientSdk = @"ios4.10.2"; self.suffix = @""; self.environment = @"sandbox"; diff --git a/CHANGELOG.md b/CHANGELOG.md index 20eb0eab1..ef87bbbfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### Version 4.10.2 (30th September 2016) +#### Fixed +- Check if all CPU families are defined + +-- + ### Version 4.10.1 (12th September 2016) #### Changed - Revert deployment target to iOs 6.0 diff --git a/README.md b/README.md index 59c47d9dd..ea25f2eba 100644 --- a/README.md +++ b/README.md @@ -87,13 +87,13 @@ If you're using [CocoaPods][cocoapods], you can add the following line to your ` [this step](#sdk-integrate): ```ruby -pod 'Adjust', '~> 4.10.1' +pod 'Adjust', '~> 4.10.2' ``` or: ```ruby -pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.10.1' +pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.10.2' ``` -- diff --git a/VERSION b/VERSION index ad96464c4..0216ba384 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.10.1 +4.10.2 diff --git a/examples/AdjustExample-Swift/AdjustExample-Swift/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk b/examples/AdjustExample-Swift/AdjustExample-Swift/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk index fe2347f71..b731fe87f 100644 Binary files a/examples/AdjustExample-Swift/AdjustExample-Swift/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk and b/examples/AdjustExample-Swift/AdjustExample-Swift/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk differ diff --git a/examples/AdjustExample-WebView/AdjustExample-WebView/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk b/examples/AdjustExample-WebView/AdjustExample-WebView/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk index fe2347f71..b731fe87f 100644 Binary files a/examples/AdjustExample-WebView/AdjustExample-WebView/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk and b/examples/AdjustExample-WebView/AdjustExample-WebView/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk differ diff --git a/examples/AdjustExample-iOS/AdjustExample-iOS.xcodeproj/project.pbxproj b/examples/AdjustExample-iOS/AdjustExample-iOS.xcodeproj/project.pbxproj index d24f71156..7ab5536e4 100644 --- a/examples/AdjustExample-iOS/AdjustExample-iOS.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-iOS/AdjustExample-iOS.xcodeproj/project.pbxproj @@ -249,7 +249,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -287,7 +287,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -306,7 +306,7 @@ "$(PROJECT_DIR)/AdjustExample-iOS/Adjust", ); INFOPLIST_FILE = "AdjustExample-iOS/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.adjust.example; @@ -325,7 +325,7 @@ "$(PROJECT_DIR)/AdjustExample-iOS/Adjust", ); INFOPLIST_FILE = "AdjustExample-iOS/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.adjust.example; diff --git a/examples/AdjustExample-iOS/AdjustExample-iOS/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk b/examples/AdjustExample-iOS/AdjustExample-iOS/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk index fe2347f71..b731fe87f 100644 Binary files a/examples/AdjustExample-iOS/AdjustExample-iOS/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk and b/examples/AdjustExample-iOS/AdjustExample-iOS/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk differ diff --git a/examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk b/examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk index fe2347f71..b731fe87f 100644 Binary files a/examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk and b/examples/AdjustExample-iWatch/AdjustExample-iWatch/Adjust/AdjustSdk.framework/Versions/A/AdjustSdk differ diff --git a/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/AdjustSdkTV b/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/AdjustSdkTV index b2dda1278..c5846b216 100755 Binary files a/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/AdjustSdkTV and b/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/AdjustSdkTV differ diff --git a/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Info.plist b/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Info.plist index a66853148..7c5ec3d14 100644 Binary files a/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Info.plist and b/examples/AdjustExample-tvOS/AdjustExample-tvOS/Adjust/AdjustSdkTV.framework/Info.plist differ