darling icon indicating copy to clipboard operation
darling copied to clipboard

atos symbolicator tool missing and not working from Xcode.app

Open rainbowcardiod opened this issue 2 years ago • 0 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 34351655a40d2090e70b3033a577b8cdea967633 Tue Nov 7 13:41:31 2023,

rainbowcardiod avatar Nov 28 '23 11:11 rainbowcardiod