我目前正在开发一个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”,但没有成功。