Blog about hardware and software projects by phluxus

XCode: symbolicatecrash doesn’t work with apps with spaces in the name.

leave a comment »

Apple has allowed spaces in application names since about 1984. How long ago was that? Exactly.

I had to debug some crashreports from an iOS app with a space in the name. Now, there are some handy websites out there that describe this process, notably

But that didn’t work, because the script fails with an error in a find command. Say our app is called “Apple” Somewhere in the output is the error message:

Running find “/Users/…/Library/Developer/Xcode/Archives/2011-07-02/appletest 02-07-11 15.22.xcarchive/Products” -name Apple
find: unknown option Did not find executable for dsym
## Warning: Can’t find any unstripped binary that matches version of /var/mobile/Applications/ … etc. 

I’m using a copy of symbolicatecrash from

/Applications/Utilities/iPhone Configuration

but the bug is also in

(XCode 4.0.2)

Conclusion: The program fails to find an application binary if there is a name in the application.

Luckily, there is a terribly easy fix:

Just replace the following find command in the symbolicatecrash perl script (line 251)

my $cmd = “find \”$archive_path/Products\” -name $”;


my $cmd = “find \”$archive_path/Products\” -name \”$\””;


Written by axello

2011-07-05 at 14:15

Posted in Cocoa, devtools

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: