Logging migration errors
This commit is contained in:
parent
1519bba1ed
commit
9c31b9ab67
|
@ -3643,7 +3643,7 @@
|
|||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "-fobjc-arc-exceptions";
|
||||
PROVISIONING_PROFILE = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "A4026C2D-D5F0-40C5-B1B4-5EA8E8A1876B";
|
||||
SDKROOT = iphoneos;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
NSPropertyListFormat format;
|
||||
NSDictionary *dict = [NSPropertyListSerialization propertyListWithData:plistData options:NSPropertyListImmutable format:&format error:&error];
|
||||
|
||||
NSLog(@"%@", dict);
|
||||
|
||||
NSArray *entries = [dict allKeys];
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
|
@ -46,6 +44,12 @@
|
|||
|
||||
[[PushManager sharedManager] askForPushRegistration];
|
||||
|
||||
[[NSFileManager defaultManager] removeItemAtPath:path error:&error];
|
||||
|
||||
if (error) {
|
||||
DDLogError(@"Error upgrading from 1.0.2 : %@", error.description);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue