darling icon indicating copy to clipboard operation
darling copied to clipboard

Failed to run "xcrun altool"

Open gushengyuan opened this issue 2 years ago • 0 comments

Expected Result It is sucessful to run "xcrun altool --help" command in darling shell after a Xcode installation.

Actual Result Library not loaded: /usr/lib/swift/libswiftUniformTypeIdentifiers.dylib Referenced from: /Applications/Xcode.app/Contents/SharedFrameworks/XCTHarness.framework/Versions/A/XCTHarness

The lib libswiftUniformTypeIdentifiers.dylib is a nonexistent library, I create a fake libswiftUniformTypeIdentifiers.dylib in /usr/lib/swift/, run the command "xcrun altool --help" again, it shows

Library not loaded: /System/Library/PrivateFrameworks/RemoteServiceDiscovery.framework/Versions/A/RemoteServiceDiscovery Referenced from: /Applications/Xcode.app/Contents/SharedFrameworks/XCTDaemonControl.framework/Versions/A/XCTDaemonControl

Steps To Reproduce 1、build the darling from the master branch, and install darling follow the steps from docs, set -DTARGET_i386=OFF 2、upload Xcode_14.3.1.xip, and run unxip Xcode_14.3.1.xip to intall Xcode 3、run xcode-select -s /Applications/Xcode.app/Contents/Developer 4、run xcrun altool --help

System Information Ubuntu 22.04.3

| Software | Version | Xcode 14.3.1

| Linux Kernel | X.Y.Z | Darling master 34351655a40d2090e70b3033a577b8cdea967633

gushengyuan avatar Nov 27 '23 01:11 gushengyuan