Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some improper use of the availability macros, and adjusted the …

…unit tests to be built for iOS 3.1 as well.
  • Loading branch information...
commit b66bacad4eaad27a56d7b5461f0e05c2be420f5f 1 parent 4592a0a
Matt Massicotte authored
View
2  SecureUDID.h
@@ -58,7 +58,7 @@
}];
*/
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 40000
+ (void)retrieveUDIDForDomain:(NSString *)domain usingKey:(NSString *)key completion:(void (^)(NSString* identifier))completion;
#endif
View
2  SecureUDID.m
@@ -166,7 +166,7 @@ + (NSString *)UDIDForDomain:(NSString *)domain usingKey:(NSString *)key {
return identifier;
}
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 40000
+ (void)retrieveUDIDForDomain:(NSString *)domain usingKey:(NSString *)key completion:(void (^)(NSString* identifier))completion {
// retreive the identifier on a low-priority thread
View
4 SecureUDID.xcodeproj/project.pbxproj
@@ -254,7 +254,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SecureUDID-Prefix.pch";
INFOPLIST_FILE = "SecureUDIDTests/SecureUDIDTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.1;
PRODUCT_NAME = "$(TARGET_NAME)";
RUN_CLANG_STATIC_ANALYZER = YES;
WRAPPER_EXTENSION = octest;
@@ -271,7 +271,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SecureUDID-Prefix.pch";
INFOPLIST_FILE = "SecureUDIDTests/SecureUDIDTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.1;
PRODUCT_NAME = "$(TARGET_NAME)";
RUN_CLANG_STATIC_ANALYZER = YES;
WRAPPER_EXTENSION = octest;
Please sign in to comment.
Something went wrong with that request. Please try again.