Xcode Bot集成错误:无法mmap [英] Xcode Bot integration error : Failed to mmap
问题描述
当我尝试在我的OS X Server 4.0上集成Xcode bot时,我对如何修复此Build Service错误问题没有任何帮助。
一切正常
它会引发我
< blockquote>
Bot问题:错误。构建服务错误。问题:无法mmap。可能
不写数据:参数(-1)无效。
不知道该怎么办...
提前感谢!
https://devforums.apple.com/thread/254233rel =nofollow>由于Xcode 6.1.1中的错误。为了解决此问题,我重新安装了 Xcode 6.1 。
我不能在服务器应用程序中选择另一个版本的Xcode,我必须完全重置Xcode服务(这将删除所有的机器人,你必须重新创建它们):
sudo xcrun xcscontrol --reset
pre>
在我可以在服务器应用程序中选择Xcode 6.1之前,我还必须运行这个命令:
sudo xcrun xcscontrol --initialize
如果有人觉得很冒险喜欢了解Xcode 6.1.1的问题的根本原因,这里是错误来自。 libgit2二进制文件位于
/Xcode-6.1.1.app/Contents/Developer/usr/lib/libgit2.dylib
I am clueless as to how to fix this "Build Service error issues" when I try to integrate a Xcode bot on my OS X Server 4.0.
Everything works fine on this server, I even have another working bot on another branch of the same project.
It throws me
Bot Issue: error. Build Service Error. Issue: Failed to mmap. Could not write data: Invalid argument (-1).
Got no idea what to do...
Thanks in advance!
解决方案This is apparently due to a bug in Xcode 6.1.1. In order to workaround, I reinstalled Xcode 6.1.
I was not able to just select another version of Xcode in the Server app, I had to completely reset the Xcode service (this will delete all your bots, you will have to recreate them):
sudo xcrun xcscontrol --reset
Before I could select Xcode 6.1 in the Server app I also had to run this command:
sudo xcrun xcscontrol --initialize
If someone feels very adventurous and would like to understand the root cause of the problem on Xcode 6.1.1, here is where the error comes from. The libgit2 binary is at
/Xcode-6.1.1.app/Contents/Developer/usr/lib/libgit2.dylib
这篇关于Xcode Bot集成错误:无法mmap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!