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

前端 未结 4 1692
春和景丽
春和景丽 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:17

    This helped fix the problem with Jenkins running a slave with ssh:

    1. Remove the account via Xcode's preferences
    2. Quit Xcode
    3. In terminal, set the preference to not use the keychain service: defaults write com.apple.dt.Xcode DVTDeveloperAccountUseKeychainService_2 -bool NO
    4. Re-open Xcode and re-add the account

    Source: https://forums.developer.apple.com/thread/112606

提交回复
热议问题