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
For my case, the reason I got this error is because I changed the team manually on my machine and accidentally pushed the changes onto the remote, which cause the Jenkins build failed, but even after I change the team back Jenkins keep failing, after diffing a lot, I found out that CODE_SIGN_IDENTITY filed inside project.pbxproj file has to be CODE_SIGN_IDENTITY = "iPhone Distribution"; other than ="Apple Development" hope it helps.