Xcode Build Error Jenkins: Your session has expired. Please log in

前端 未结 4 1693
春和景丽
春和景丽 2021-02-07 02:40

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         


        
4条回答
  •  天涯浪人
    2021-02-07 02:57

    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.

提交回复
热议问题