Failed to resolve permissions (0x1) with status: -60007

Trying to run the iOS unit test through GitLab-CI (multi runner on OS X), I get this error, and then freezes:

Failed to authorize rights (0x1) with status: -60007

Has anyone earned it? Or is this a bug due to Xcode 7.3?

+5
source share
2 answers

So, I ran into the same problem with Jenkins, and I had a build step that ran "open -a simulator" before running unit tests. (I think I read somewhere that this will open the simulator so that it runs around without Jenkins headless).

I hit my head about this, so I rebooted Xcode 7.2.1 to verify that it worked, and used xcode-select to switch versions, then I switched back and saw that the problem still appeared in 7.3. I noticed that the problem in 7.3, apparently, was that several simulators opened when I played the assembly.

Finally, I removed the "open -a simulator" command and it seemed to work. I still have one jenkins build that fails to figure out when the final tests finish, but I had no problem running the tests. A string that still hangs does not replace the application delegate for an individual testing application delegate. (something like this: http://qualitycoding.org/app-delegate-for-tests/ ) So I hope this can be a problem. Also note that my projects, which only test libraries, never showed bad behavior, they could always run tests.

What so far. Hope this helps!

0
source

The problem is with the agent. I had a similar problem with GoCD CI. If you start your CI agent through LaunchDaemons, you should see this warning, but if you start your CI agent through a regular shell prompt, it should work as intended. At least I was able to solve my problem with this thing.

0
source

Source: https://habr.com/ru/post/1245647/


All Articles