IOS常见bug问题

 问题1描述: 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. 

解决办法: 进入到工程目录重新pod install一下 

按照网上找到的方法,

rm -rf MyProject.xcworkspace
rm -rf Pods
rm Podfile.lock
rm -rf  /Users/~/Library/Developer/Xcode/DerivedData/MyProject_******   
pod install


原文地址:https://www.cnblogs.com/guchengfengyun/p/5692968.html