cocoapods-binary
cocoapods-binary copied to clipboard
Optimise build time by reuse built dependencies frameworks
I noticed that build_framework.rb is very slow, it calls xcodebuild for all the frameworks that we need to build. But we can optimize, eg. we have framework A, B, C, and the dependencies are A -> B -> C. (the arrow means depends on). When we build A => B, C will be built also. And when we build B, we can check if B.framework already exist to skip building it. That simple optimization can make the build process faster.
I noticed that build_framework.rb is very slow, it calls xcodebuild for all the frameworks that we need to build. But we can optimize, eg. we have framework A, B, C, and the dependencies are A -> B -> C. (the arrow means depends on). When we build A => B, C will be built also. And when we build B, we can check if B.framework already exist to skip building it. That simple optimization can make the build process faster.
I have the same problem .