打开终端,进入项目所在的目录,也就是和Podfile在同一目录下,输入以下命令(由于已经有Podfile,所以不需要再创建Podfile): pod update 过几秒(也许需要十几秒,取决于你的网络状况)之后,终端出现: Update all pods Re-creating CocoaPods due to major version update. Updating local specs repositories CocoaPods 1.0.0.beta.6 is availab…
什么是CocoaPods? CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over ten thousand libraries and can help you scale your projects elegantly. - 摘录自CocoaPods.org 在CocoaPods出现之前,iOS项目中引用第三方库的方式是非常原始的,要么是把源代码拷贝到主工程中,要么是通过静…
工程使用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…