Logging migration errors

This commit is contained in:
Frederic Jacobs 2014-08-01 20:02:50 -04:00
parent 1519bba1ed
commit 9c31b9ab67
2 changed files with 7 additions and 3 deletions

View File

@ -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;
};

View File

@ -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;
}