Azure Devops 使用问题


#1

需求: 在https://dev.azure.com 上使用 带有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”:
Schemes:
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.
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/vsts/Library/Developer/Xcode/DerivedData/iOSTestDemo-bmkdialfmsisfncdoqpfyhtzoqsj/Build/Intermediates.noindex/iOSTestDemo.build/Debug-iphoneos/iOSTestDemo.build/Script-D91C773E3CFA44B5C7DEBB4F.sh
(1 failure)
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
##[section]Finishing: Xcode

**日志:
**代码:


** 任何其他描述:
** 环境: