Instruments希望获得分析Jenkins其他流程的许可

Paw*_*łka 7 xcode osx-server jenkins swift fastlane

所以我的问题是在纯swift项目(差不多:-))上也用Swift写的测试我得到了每个构建.通过Fastlane 1.63开始构建.:

? DTServiceHub: Instruments wants permission to analyze other processes. Please enter an administrator username and password to allow this.
? Username (jenkins): Password:
? Failed to authorize rights (0x1) with status: -60007.
Run Code Online (Sandbox Code Playgroud)

使用OSX Server在MacPro上安装新的命令行工具和Xcode 7.3时会出现问题.Objective-C项目每次都有效.我已经完成了那些线程中的建议,但没有工作: 从命令行工具中删除授权提示(在小牛队之下) 有没有办法从Instruments(XCode)的命令行实例中删除授权提示?在我能找到的所有其他地方.我不知道如何解决它.

mok*_*gio 9

我刚刚遇到类似的问题,由Fastlane scan命令触发执行测试.

讨论了这个问题Apple支持讨论之后,我设法通过在CI计算机上启用"开发人员模式"来解决它.

$ DevToolsSecurity -status
Developer mode is currently disabled.

$ DevToolsSecurity -enable
Developer mode is now enabled.
Run Code Online (Sandbox Code Playgroud)