diff --git a/Signal.xcodeproj/project.pbxproj b/Signal.xcodeproj/project.pbxproj index 8705dc46b..60d1574de 100644 --- a/Signal.xcodeproj/project.pbxproj +++ b/Signal.xcodeproj/project.pbxproj @@ -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; }; diff --git a/Signal/src/environment/VersionMigrations.m b/Signal/src/environment/VersionMigrations.m index 3bd7f33c2..f17363ea0 100644 --- a/Signal/src/environment/VersionMigrations.m +++ b/Signal/src/environment/VersionMigrations.m @@ -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; }