无法在circleCi上构建Xcode项目

问题描述:

我正在使用cocoapods v1.0.1。我的构建在Xcode 7.2.1中成功,但是当我将更改推送到git时,它在circleci.com上失败。无法在circleCi上构建Xcode项目

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

我尝试了所有可能的方式使用此链接和类似的链接,但没有成功。

已经尝试过此链接:Error:"The sandbox is not in sync with the Podfile.lock..." after installing RestKit with cocoapods

尝试添加以下到您的circle.yml文件:

dependencies: 
    override: 
    - pod install 

https://discuss.circleci.com/t/the-sandbox-is-not-in-sync-with-the-podfile-lock/5537