0%

Symbolicate Crash Log

Symbolicate Crash Log

操作流程

尋找路徑

1
find /Applications/Xcode.app/ -name symbolicatecrash

複製路徑:

EX: /Applications/Xcode.app//Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash

使用方式:

需要兩個參數:
參數1: crash.text路徑
參數2: dysm路徑

/Applications/Xcode.app//Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash 參數1 參數2 > 輸出路徑/檔名.log

錯誤處理

錯誤1

Error: “DEVELOPER_DIR” is not defined at ./symbolicatecrash

輸入:

1
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"

錯誤2

can’t find tool named ‘otool’ in the macosx SDK or any fallback SDKs

  1. 1
    xcode-select --install
  2. 1
    xcode-select --reset
  3. 1
    sudo xcode-select --reset

    If xcode-select is already installed, you don’t have to run the first command, only the last will work.

參考網址:https://nkaushik.com/ios/xcrun-error-active-developer-path-doesnt-exist/

錯誤3

Use of uninitialized value $data in substitution (s///) at /Applications/Xcode.app//Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash

關掉終端機tab再重開一個可解決。

參考連結:https://developer.apple.com/forums/thread/708586

Oops, replied to wrong post. the swift problem is still there ( this got rid of similar WatchOS error messages ) I updated Xcode to 13.4.1, still had problem until I opened a new terminal tab then it was gone. Maybe I just needed a new terminal after update each time, won’t know until next update. — flummoxer 1 day ago

tags: Symbolicate Crash Log