Running Xcode Simulator with jenkins user

I am trying to run iOS application tests through the command line from Jenkins Job.

If I run the command in my user console, it works fine, the command:

xcodebuild test -scheme demoIC -destination 'platform=iOS Simulator,id=E6954360-11D9-49E0-9008-A8EE6BA1ACFC' 

Jenkins was supposed to use the jenkins user to run jobs, so I did:

su - jenkins

And when I run the same command, I got an error message:

 2015-02-16 18:21:41.215 xcodebuild[3952:1303] iPhoneSimulator: Could not launch simulator: -10810 

Did any person have the same behavior?

Thanks in advance

+4
source share

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


All Articles