From 145a0d51f06aef8932454ab2139216ad6e3533fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=E1=BA=A1m=20Minh=20Th=C3=A0nh?= Date: Fri, 11 Oct 2013 17:01:22 +0700 Subject: [PATCH] Fix uniqueIdentifier is no more supported on iOS 7 --- BPXLUUIDHandler.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/BPXLUUIDHandler.m b/BPXLUUIDHandler.m index 0de8709..1c9997b 100644 --- a/BPXLUUIDHandler.m +++ b/BPXLUUIDHandler.m @@ -99,12 +99,6 @@ static CFMutableDictionaryRef CreateKeychainQueryDictionary(void) + (NSString *)generateUUID { -#if TARGET_IPHONE_SIMULATOR -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" - return [[UIDevice currentDevice] uniqueIdentifier]; -#pragma clang diagnostic pop -#endif CFUUIDRef uuidRef = CFUUIDCreate(NULL); CFStringRef uuidStringRef = CFUUIDCreateString(NULL, uuidRef); CFRelease(uuidRef);