沙箱与Podfile.lock-ios不同步 [英] The sandbox is not in sync with the Podfile.lock-ios

查看:239
本文介绍了沙箱与Podfile.lock-ios不同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从谷歌尝试多个答案后,我遇到以下错误。

I have got the following errors after trying multiple answers from the google.

PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug-
    iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh
        cd "/Users/apple/Downloads/FoodSpot 2"
        /bin/sh -c /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug-iphonesimulator/FoodSpotTests.build/Script-36819C3C1B6A30F50091382D.sh

    diff: /../Podfile.lock: No such file or directory
    diff: /Manifest.lock: No such file or directory
    error: The sandbox is not in sync with the Podfile.lock. 
    Run 'pod   install' or update your CocoaPods installation.

我已多次更新和安装,但它们没用。

I have updated and installed many times, but they are of no use.

推荐答案


运行'pod install'或更新你的CocoaPods安装。

Run 'pod install' or update your CocoaPods installation.

您已在错误中回答了问题!

错误消息指出您应该更新< a href =https://cocoapods.org/ =nofollow noreferrer> CocoaPods 安装。

The error message states that you should update your CocoaPods installation.

您可以删除框架和库中的libPods并使用 pod install 更新Cocoapods。

You could remove libPods in frameworks and libraries and update Cocoapods using pod install.

另外:

清理并构建项目

SO参考:

项目构建中的CocoaPods错误

错误:沙箱与Podfile.lock不同步...用cocoapods安装RestKit后

这篇关于沙箱与Podfile.lock-ios不同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆