开发环境: Xcode8.2
OS X 10.11.5
折腾了一下午,各种命令行试过, Google 搜了一圈,都尝试过,无解。来 V 站求助。
我参照 XVim Github 上面的教程做的 https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md
执行到签名这一步的时候死活执行不过去,报错
$ sudo codesign -f -s XcodeSigner /Applications/Xcode.app (Replace the Xcode path if it is different.)
codesign_allocate: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /Applications/Xcode_8.2.app/Contents/MacOS/Xcode
/Applications/Xcode_8.2.app/: the codesign_allocate helper tool cannot be found or used
Google 上面搜索的一圈,有说尝试找一下 codesign_allocate 的位置,我也找了,如下
locate codesign_allocate
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man/man1/codesign_allocate.1
/Library/Developer/CommandLineTools/usr/bin/codesign_allocate
/Library/Developer/CommandLineTools/usr/share/man/man1/codesign_allocate.1
/usr/bin/codesign_allocate
也把这些路径加到$PATH
里面了,都挨个试了,还是提示『找不到 codesign_allocate helper 』
所以想请问一下 V 站用 XVim 的大神,你们都是怎么安装 XVim 的,
iOS 开发小白,都是照葫芦画瓢,有不懂的地方,还请各位请喷,感谢回复!
附参考过的网站链接: https://github.com/XVimProject/XVim/issues/1009
http://www.voidcn.com/blog/lanxiaziyi/article/p-3191534.html
1
xiparos OP 好吧,被自己蠢哭了,刚才 Xcode 节点下 V 友提示不用重签名也可以使用。。。
跳过直接安装即可 |
2
thuai 2017-02-27 09:45:28 +08:00
不重签名,你能够 load plugins ?
|