I've got a large project that uses Cocoapods, whose compilation time is > 60 seconds. A large amount of this compilation time goes towards compiling third party SDK's: Facebook
and Parse
. This is because they contain the most source files.
I find myself running pod install
quite often, especially when I want to refactor my application and maintain create test app targets as well as unit test targets that require third party dependencies.
Building the project after pod install
causes all the SDK's get rebuilt again, even though nothing's changed about them. When done repeatedly this wastes lots of time during a refactoring process.
How can I force Cocoapods to make use of binary frameworks of those dependencies which I've already downloaded on disk, to avoid compilation?