atos symbolicator tool missing and not working from Xcode.app
rainbowcardiod opened this issue · comments
Tool
(from man atos) The atos command converts numeric addresses to their symbolic equivalents. If full debug symbol information is available, for example in a .app.dSYM sitting beside a .app, then the output of atos will include file name and source line number information.
The tool is missing in darling shell (compiled with standard cmake ..; make -j8
). I tried installing Xcode.app by moving it to /Application and switching to it, by I get the following crash:
$ /Applications/Xcode.app/Contents/Developer//usr/bin/atos
dyld: Symbol not found: _MDItemCopyAttributesBulk
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DebugSymbolsDT.framework/Versions/A/DebugSymbolsDT (which was built for Mac OS X 12.0)
Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
abort_with_payload: reason: Symbol not found: _MDItemCopyAttributesBulk
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DebugSymbolsDT.framework/Versions/A/DebugSymbolsDT (which was built for Mac OS X 12.0)
Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
; code: 4
Abort trap: 6 (core dumped)
System Information
Ubuntu 22.04.3 LTS, darling 3435165 Tue Nov 7 13:41:31 2023,