Then fix the symbolication script and get it back working :)
In the OS Version section the script is expecting a build number - which sometimes is missing; we will fix this.
You will find the xcode developer script in following path:
Edit this file and look for following method:
Add the following if-clause and you are good to go:
In the OS Version section the script is expecting a build number - which sometimes is missing; we will fix this.
You will find the xcode developer script in following path:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash
Edit this file and look for following method:
sub parse_OSVersion {
my ($log_ref) = @_;
my $section = parse_section($log_ref,'OS Version');
if ( $section =~ /\s([0-9\.]+)\s+\(Build (\w+)/ ) {
return ($1, $2)
}
if ( $section =~ /\s([0-9\.]+)\s+\((\w+)/ ) {
return ($1, $2)
}
die "Error: can't parse OS Version string $section";
}
Add the following if-clause and you are good to go:
sub parse_OSVersion {
my ($log_ref) = @_;
my $section = parse_section($log_ref,'OS Version');
if ( $section =~ /\s([0-9\.]+)\s+\(Build (\w+)/ ) {
return ($1, $2)
}
if ( $section =~ /\s([0-9\.]+)\s+\((\w+)/ ) {
return ($1, $2)
}
if ( $section =~ /\s([0-9\.]+)/ ) {
return ($1, "123");
}
die "Error: can't parse OS Version string $section";
}
NJoy!
Alternate via terminal:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash report.crash MobileLines.app.dSYM > report-with-symbols.crash
Comments
Post a Comment