Instruments wants permission to analyze other processes Jenkins
Asked Answered
M

1

7

So my problem is that on pure swift project (almost :-) ) with test written also in Swift I got this every build. Build is started via 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.

Problem occurs when new command-line-tools and Xcode 7.3 was installed on MacPro with OSX Server. Objective-C project works every time. I've done what was suggested in those threads, didn't work: Remove the authorization prompt from command line instruments (Under mavericks) Is there a way to remove the authorization prompt from command-line instances of Instruments (XCode)? and in all other places that I could find. I have no idea how to fix it.

Marthmartha answered 25/3, 2016 at 14:58 Comment(1)
I have started to have the problem after Xcode 7.3 upgrade... any chance you've fix this?Moral
H
11

I just experienced a similar problem, triggered by Fastlane scan command to execute tests.

Following the discussion on this issue and this Apple Support discussion I managed to solve it by enabling "Developer Mode" on my CI machine.

$ DevToolsSecurity -status
Developer mode is currently disabled.

$ DevToolsSecurity -enable
Developer mode is now enabled.
Hyacinthe answered 29/3, 2016 at 1:9 Comment(3)
I have started to have the problem after Xcode 7.3 upgrade... any chance you've fix this?Moral
Yes, for me running insturments manualy helped, but I've done a lot of thing before that, so I'm not sure if this was it. Also restart Xcode, accept licens via terminal for xCode, restart Jenkins and Mac that is runing as host.Marthmartha
Any confirmed way of fixing this? I've done all above but still getting the error.Sublimation

© 2022 - 2024 — McMap. All rights reserved.