开发者

Symbolicate XCode4 crash reports

开发者 https://www.devze.com 2023-03-11 03:00 出处:网络
I\'m trying to get XCode 4 to symbolicate a crash report. I\'ve googled and followed this link (https://github.com/chrispix/symbolicatecrash-fix) but get stopped.The instructions say \"To fix your iOS

I'm trying to get XCode 4 to symbolicate a crash report. I've googled and followed this link (https://github.com/chrispix/symbolicatecrash-fix) but get stopped. The instructions say "To fix your iOS crash report symbolication, move /usr/local/bin/symbolicatecrash asi开发者_JS百科de and copy in the version in this repo." Well, I cannot find "/usr/local/bin/" on my Mac. I'm new to the Mac world, so I'm sure there's something I'm not understanding. If "/usr/local/bin/" doesn't exist, then where is XCode 4 finding symbolicatecrash? Please point a newbie in the right direction as I have a lot of bugs to be fixing.

Thanks Tom


that tool has been relocated to /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash in newer version of the SDK

you would run it as:

./symbolicatecrash -A -v [crashlog-filename] MyApp.dSYM

keep in mind this is for iOS only, for OSX see http://developer.apple.com/tools/xcode/symbolizingcrashdumps.html (for the app to contain the symbols "DWARF with dSYM" must be enabled in it's build settings)

you would run it as:

./symbolizecrashlog [application-name] [crashlog-filename] > symbolized.crash

I would like to add that all this usually is done automatically, these manual approaches are for cases when there are issues with the system symbols database as discussed in Xcode 4 failure to symbolicate Crash Log

0

精彩评论

暂无评论...
验证码 换一张
取 消