Xcode工程使用CocoaPods管理第三方库新建工程时出现错误 工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现以下问题 问题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一下 上面步骤进行过以后运行工程可能会有下面错误,那是由于当前用户的权限所致。 问题2描述: /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/Pods-resources.sh: line 5: /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/resources-to-copy-GeneralProject.txt: Permission denied Pod没有权限: 若是没有权限,可执行下面代码 sudo chmod 777 Pods