在podfile中新增加了一个pod, 然后使用终端
pod update
// 或pod install
的时候出现
Updating local specs repositories
之后很长时间没有页面更新?
网上搜到的解释: 这是CocoaPods在使用git更新, 这会花很长时间(The general situation is git updating take too much time). 我建议大家出现这种情况就等等, 如果花费的时间太长, 就停下命令, 下班后再使用git更新.
或者新建终端窗口, cd到工程路径, 然后使用:
pod install --verbose
命令查看CocoaPods在做什么.
stackoverflow中的相关问答: cocoapods - ‘pod install’ takes forever