How to cache CocoaPods

Issue #196

CocoaPods vs Carthage

CocoaPods will build and compile our frameworks every time whenever you are doing the clean build or run pod install or pod update for the project.

Cache Carthage

Cache CocoaPods

It will compile the source code of pods during the pod install process, and make CocoaPods use them. Which pod should be compiled is controlled by the flag in Podfile.

Xcode 10 new build system

Understanding framework