Tools want permission to analyze other Jenkins processes

So, my problem is that in a clean fast project (almost :-)) with a test written also in Swift, I got this assembly. Build starts through 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. 

The problem occurs when new command-line tools and Xcode 7.3 were installed on MacPro with OSX Server. The Objective-C project works every time. I did what was suggested in these threads, did not work: Remove the authorization prompt from the command line tools (Under mavericks) Is there a way to remove the authorization prompt from the instances of the command line tools (XCode)? and in all the other places that I could find. I have no idea how to fix this.

+7
xcode swift jenkins osx-server fastlane
source share
2 answers

I just experienced a similar problem caused by the Fastlane scan command to run tests.

After discussing this issue and this discussion of Apple support, I was able to solve this by turning on "developer mode" on my CI machine.

 $ DevToolsSecurity -status Developer mode is currently disabled. $ DevToolsSecurity -enable Developer mode is now enabled. 
+9
source share

I have the same problem with Xcode 7.3. I was not the administrator of my Mac (I work in the company’s network), so the network manager gave me administrator rights and it works ... I don’t know why :)

-one
source share

All Articles