CocoaPods 抽风重置 Commend Tips

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)