Fix installString not being added to the crash report

This commit is contained in:
Andreas Linde 2014-04-03 19:43:53 +02:00
parent 5a88cab36e
commit 1f96aaab5e

View File

@ -1029,6 +1029,8 @@ NSString *const kBITFakeCrashReport = @"BITFakeCrashAppString";
continue; continue;
} }
installString = bit_appAnonID() ?: @"";
if (report) { if (report) {
if (report.uuidRef != NULL) { if (report.uuidRef != NULL) {
crashUUID = (NSString *) CFBridgingRelease(CFUUIDCreateString(NULL, report.uuidRef)); crashUUID = (NSString *) CFBridgingRelease(CFUUIDCreateString(NULL, report.uuidRef));
@ -1045,8 +1047,6 @@ NSString *const kBITFakeCrashReport = @"BITFakeCrashAppString";
} }
} }
installString = bit_appAnonID() ?: @"";
if (crashes == nil) { if (crashes == nil) {
crashes = [NSMutableString string]; crashes = [NSMutableString string];
} }