我从备份中恢复了运行OSX Server的服务器,现在只是在尝试通过Xcode添加新机器人时遇到上述错误。
是否有任何日志文件可以获取更多信息?
有没有人见过这个?
system.log包含来自xcscontrol的一些消息。
Mar 25 13:13:04 onato.local xcscontrol[4164]: Xcode version: 6.2 (6C131e) (OS X SDK 13F26, iOS SDK 12D508)
Mar 25 13:13:04 onato.local xcscontrol[4164]: Server version: 4.0.3 (14S350)
Mar 25 13:13:04 onato.local xcscontrol[4164]: OS X version: 10.10.2 (14C1514)
Mar 25 13:13:04 onato.local nsurlstoraged[205]: realpath() returned NULL for /var/root/Library/Caches/xcscontrol
Mar 25 13:13:04 onato.local nsurlstoraged[205]: The read-connection to the DB=/var/root/Library/Caches/xcscontrol/Cache.db is NOT valid. Unable to determine schema version.
Mar 25 13:13:04 onato.local nsurlstoraged[205]: realpath() returned NULL for /var/root/Library/Caches/xcscontrol
Mar 25 13:13:04 --- last message repeated 1 time ---
Mar 25 13:13:04 onato.local nsurlstoraged[205]: ERROR: unable to determine file-system usage for FS-backed cache at /var/root/Library/Caches/xcscontrol/fsCachedData. Errno=13
Mar 25 13:13:04 onato.local thermald[28]: invalid attribute or value, default to yes
答案 0 :(得分:1)
我最终重置了xcscontrol并重新设置了Xcode。
sudo xcrun xcscontrol --reset
相关日志文件位于/Library/Developer/XcodeServer/Logs
答案 1 :(得分:0)
当我收到该错误时,我必须从Xcode中删除服务器,然后重新添加