无法使用 Xcode 7.2.1 在 Xcode Server 上启动 Xcode 服务



更新 Xcode(从 7.2 到 7.2.1)后,XcodeServer 无法运行 Xcode 服务。当我选择更新的Xcode时,然后发出警报并显示消息:Enable Accessibility access for UI Testing (...)。点击此警报的Request Access按钮后,XcodeServer给我一个带有消息You must agree to the terms of the Xcode software license agreement. Launch Xcode again and agree to the software license agreement, or choose a different version of Xcode.的警报。当然,我这样做了(几次),而且Xcode(和Xcode助手)也在"系统偏好设置"中"隐私"的"辅助功能"部分中允许的应用程序列表中。

有人可以帮忙吗?还是有人有同样的问题?

我正在执行命令行:

xcrun xcscontrol --reset

和:

xcodebuild -license

安装以前的版本(7.2)后,一切照常工作。

编辑:

安装以前的版本(7.2)后,我看不到以前创建的任何机器人。(但这可能是xcrun xcscontrol --reset的结果。

正如 Eimantas Vaiciunas 在 Apple 开发者论坛上发布的那样:

由于 checkFirstLaunchStatus 与 sudo 返回 69 我启动了 Xcode 使用须藤也:
sudo/Applications/Xcode.app/Content/MacOS/Xcode
这启动了带有许可协议提示的 Xcode,并在同意后, 一切都很顺利。

sudo/Applications/Xcode.app/Content/Developer/usr/bin/xcscontrol --initialize

为我做了这个把戏。使用风险自负。

最新更新