当我们第一次启动用于visual studio ios调试的远程代理时,它会安装Homebrew及其软件包(documentation)。在执行此操作时,我收到以下错误:
Error installing homebrew packages:
Error: Command failed: /bin/sh -c (brew list ideviceinstaller | grep ideviceinstaller > /dev/null || brew install ideviceinstaller) && (brew list ios-webkit-debug-proxy | grep ios-webkit-debug-proxy > /dev/null || brew install ios-webkit-debug-proxy)
Error: No such keg: /usr/local/Cellar/ideviceinstaller
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: This keg was marked linked already, continuing anyway
dyld: lazy symbol binding failed: Symbol not found: _map_fd
Referenced from: /usr/bin/install_name_tool
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _map_fd
Referenced from: /usr/bin/install_name_tool
Expected in: /usr/lib/libSystem.B.dylib
Error: Failed to fix install names
dyld: lazy symbol binding failed: Symbol not found: _map_fd
Referenced from: /usr/bin/install_name_tool
Expected in: /usr/lib/libSystem.B.dylib请帮我解决这个问题
发布于 2015-07-15 04:18:40
如错误所示,需要将install_name_tool恢复到已知/预期的版本。如果你有另一个OS X安装,你可以从那里获得文件的版本。或者,此文件也存在于Xcode下:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool也许从那里恢复它会起作用?我以前没有尝试过,所以这可能有点风险:
干杯,
基鲁帕
https://stackoverflow.com/questions/31407628
复制相似问题