I\'m trying to build my application using jenkins pipeline using shell command. Below is the command i\'m using to build the app.
sh \'xcodebuild -workspace proj
This helped fix the problem with Jenkins running a slave with ssh:
Source: https://forums.developer.apple.com/thread/112606