2

error: failed to launch '/Applications/Xcode.app/Contents/Developer/Tools/otest' -- failed to get the task for process 34796

Hi,

When I run the command: /usr/bin/xcodebuild -scheme my_scheme_name -configuration Debug build test

I get the following error: error: failed to launch '/Applications/Xcode.app/Contents/Developer/Tools/otest' -- failed to get the task for process 34796

This only happens when the command is executed via Jenkins. Doesn't happen when I execute it from command line.

Has anyone else run into something like this?

The build itself builds an objective c library and the tests are SenTestCases. It's not an iOS app - it's an objective c library to be used in various apps

1 Answer 1

2

I used sudo DevToolsSecurity -enable to get past this problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.