首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ios上使用visual studio2015进行远程调试时出错(惰性符号绑定失败:找不到符号:_map_fd)

在ios上使用visual studio2015进行远程调试时出错(惰性符号绑定失败:找不到符号:_map_fd)
EN

Stack Overflow用户
提问于 2015-07-14 21:11:33
回答 1查看 463关注 0票数 2

当我们第一次启动用于visual studio ios调试的远程代理时,它会安装Homebrew及其软件包(documentation)。在执行此操作时,我收到以下错误:

代码语言:javascript
复制
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

请帮我解决这个问题

EN

回答 1

Stack Overflow用户

发布于 2015-07-15 04:18:40

如错误所示,需要将install_name_tool恢复到已知/预期的版本。如果你有另一个OS X安装,你可以从那里获得文件的版本。或者,此文件也存在于Xcode下:

代码语言:javascript
复制
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool

也许从那里恢复它会起作用?我以前没有尝试过,所以这可能有点风险:

干杯,

基鲁帕

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31407628

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档