in order to speed up the build time, I would like to use the cache to store derived data.
I managed to set everything up.
- set a specific folder to use as derived data folder
- push out derived data folder (using push cache step)
then the second time
- pull the cache
- set the same specific folder as derived data
the problem is that the second time, the process is not faster since xcodebuild rebuild again (almost) everything.
But it seems that everything should work, and actually some of the steps the second time are skipped (because it’s using the information included in the derived data).
I tested the same configuration on my local machine and the second time nothing get builds (as expected) and the build is much faster.
Is that because every time we use a different virtual machine?