美文网首页
CocoaPods 抽风重置 Commend Tips

CocoaPods 抽风重置 Commend Tips

作者: Legend_劉先森 | 来源:发表于2018-07-13 17:23 被阅读14次

Clearing a specific pod

`pod cache clean --all` # will clean all pods
`pod cache clean 'FortifySec' --all` # will remove all installed 'FortifySec' pods 

“pod 缓存清理”“FortifySec”时,对于不指定版本的pod,可能导致缓存中的多个相同pod副本:

pod cache clean 'FortifySec'
1: FortifySec v2.2 (External)
2: FortifySec v2.2 (External)
...
...
18: FortifySec v2.2 (External)
19: FortifySec v2.2 (External)

Which pod cache do you want to remove?

Complete cleanup (pod reset)

1. `rm -rf ~/Library/Caches/CocoaPods`
2. `rm -rf Pods` 
3. `rm -rf ~/Library/Developer/Xcode/DerivedData/*` 
4. `pod deintegrate` 
5. `pod setup` 
6. `pod install`

相关文章

网友评论

      本文标题:CocoaPods 抽风重置 Commend Tips

      本文链接:https://www.haomeiwen.com/subject/eedspftx.html