Targets with Copy Headers build phases ordered after Compile Sources build phases may fail to build and emit a diagnostic regarding build cycles. (39880168)
Workaround: Arrange any Copy Headers build phases before Compile Sources build phases.
This has been an issue for nearly 4 years, and now with Xcode 13.3 it leads to XCBBuildService to crash consistently.
See Xcode 10's known issues in the release notes:
This has been an issue for nearly 4 years, and now with Xcode 13.3 it leads to
XCBBuildService
to crash consistently.