iOS Build Environment Help Center

Cacheing Pods

append delete MaroLFC

Windows:10
Builder:3.60.2
iOS: 17.0

Pod install downloads all the pods again on each new build taking a good chunk of time (7 minutes on average). About 95% of our Unity iOS builds have the same pods so is there a way I can cache those pods so I don't need to download them again each time I run a build and only download pods that are not found in this cache?

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Unfortunately that’s the way CocoaPods works, even on Mac : download all sources and recompile everything. It’s an ideological position and not a pragmatic one. Hence my low opinion about it.

All the things that can improve the situation equate to not use CocoaPods at all and supply precompiled libraries and frameworks to the project. The build speeds are significantly improved indeed that way. The documentation explains how to do that for the generic part ; for the specific parts, you need to refer to these assets’ SDK’s documentation. This is what I advise to do.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty