xcodebuild報錯 :
The following build commands failed:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/xjwang/Library/Developer/Xcode/DerivedData/xxx-dqxchixuxfjhlublqxuilrrmtfeh/Build/Intermediates.noindex/xxx.build/Debug-iphoneos/xxx.build/Script-896FD91D531F1B8CA4E34BAA.sh? ?(1 failure)
報錯原因:login.keychain被鎖定,ssh登錄的沒有訪問權(quán)限
解決方法:終端敲入security unlock-keychain ${HOME}/Library/Keychains/login.keychain
然后輸入你mac的登錄密碼