Azure Devops 使用问题

需求: 在 上使用 带有cocopods 管理的工程进行测试,

##[section]Starting: Xcode
Task : Xcode
Description : Build, test, or archive an Xcode workspace on macOS. Optionally package an app.
Version : 5.142.1
Author : Microsoft Corporation
Help : More Information
[command]/usr/bin/xcodebuild -workspace /Users/vsts/agent/2.147.1/work/1/s/iOSTestDemo.xcodeproj/project.xcworkspace -list
Information about workspace “iOSTestDemo”:
The workspace contains a single shared scheme. ‘iOSTestDemo’ will be used.
[command]/usr/bin/xcodebuild -version
Xcode 9.4.1
Build version 9F2000
[command]/usr/bin/xcodebuild -sdk iphoneos -configuration Debug -workspace /Users/vsts/agent/2.147.1/work/1/s/iOSTestDemo.xcodeproj/project.xcworkspace -scheme iOSTestDemo build CODE_SIGNING_ALLOWED=NO | /usr/local/lib/ruby/gems/2.6.0/bin/xcpretty -r junit --no-color
▸ Building iOSTestDemo/iOSTestDemo [Debug]
▸ Check Dependencies
▸ Running script ‘[CP] Check Pods Manifest.lock’
:x: error: The sandbox is not in sync with the Podfile.lock. Run ‘pod install’ or update your CocoaPods installation.
The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/vsts/Library/Developer/Xcode/DerivedData/iOSTestDemo-bmkdialfmsisfncdoqpfyhtzoqsj/Build/Intermediates.noindex/
(1 failure)
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
##[section]Finishing: Xcode

**代码: WX20190307-111128
** 任何其他描述:
** 环境: