From Xcode 10 release notes:
While a target is performing post-compilation build steps, such as linking and code signing, Xcode’s new build system will begin compiling sources from targets that depend on that target, to improve build speed by using more of your available processor cores. This compilation will not start until any “Run Script” phases from the target have completed. (38772619)
We should allow specifying of the ordering of copy file phases. Scripts will block the compilation of a dependent target, while copy files (probably) doesn't. Being able to determine the order of these can improve build times, but also impact correctness of a build. The copy files phase might have to come before a post-build run script or even before Compile Sources, in order to allow dependent targets to compile correctly.
From Xcode 10 release notes:
We should allow specifying of the ordering of copy file phases. Scripts will block the compilation of a dependent target, while copy files
(probably)doesn't. Being able to determine the order of these can improve build times, but also impact correctness of a build. The copy files phase might have to come before a post-build run script or even before Compile Sources, in order to allow dependent targets to compile correctly.