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

前端 未结 4 1688
春和景丽
春和景丽 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 03:09

    Had this problem as well on one Jenkins build slave dedicated to building one specific app (for iOS and Android). The Mac was on Mojave and Xcode 10.1

    The fix appeared to be logging on to the Mac, and exporting the archive created by Jenkins using the Xcode UI, not xcodebuild. After doing that, the next Jenkins build when through without a problem. I say appeared to be because I didn't do anything else to the Jenkins job or the slave, and it had been failing consistently before that. Seems odd, but there you have it.

    This specific problem didn't occur on build slaves building other apps, but these other slaves, while using Xcode 10.1, were on High Sierra. We have had other odd behaviors on all iOS builds since Apple merged Apple Developer and App Store Connect, however.

提交回复
热议问题