Hi, anyone else seeing random build cycle errors with the new Swift build mode in Xcode 13.3 beta 2 (13E5095k)?
defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
Seems to be triggered by embedded XPC services. Building again usually resolves.
No change with clean build folder, reset DerivedData, reordering build phases (Copy Bundle Resources / Embed XPC Services), etc.
Cycle inside app; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle details:
→ Target 'app' has copy command from '<snip>/DerivedData/Build/Products/Debug/<snip>service.xpc' to '<snip>/DerivedData/Build/Products/Debug/<snip>.app/Contents/XPCServices/<snip>service.xpc'
<snip>
CYCLE POINT ->
TODO: FB with reproducible example