我目前正在Xcode
的一个项目中使用Cocoapods
作为插件,其中包括一些插件,如GoogleMessagingService
。但是,每次编译这个项目时都会出现这个错误,只有当我从项目中删除Cocoapods
时它才会消失。
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/matponting/Library/Developer/Xcode/DerivedData/-----bpdgcivsmcggtlcgfgywekonicxg/Build/Intermediates/----.build/Debug-iphoneos/----.build/Script-5DA7142BEDB6A002149910F5.sh
cd /Users/matponting/Desktop/OriginalCordova/-----Ionic/platforms/ios
/bin/sh -c /Users/matponting/Library/Developer/Xcode/DerivedData/-----bpdgcivsmcggtlcgfgywekonicxg/Build/Intermediates/----.build/Debug-iphoneos/----.build/Script-5DA7142BEDB6A002149910F5.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.
只有在项目中使用Cocoapods
时才会出现这些错误,当删除它时,可以解决不同的结果,但我确实需要Cocoapods
来制作我目前正在处理的工作。
现在,我已经研究过这些信息并且遇到了多个修复,例如清理项目和重新编译,使用不同版本的Cocoapods
。但是,我尝试了这些,我仍然有同样的错误。
有什么我想念的吗?
编辑:我也试过使用'pod update'但没有成功。