Comment on Xcode 15: "Cycle inside ...; building could produce unreliable results" due to DSTROOT=/ THANKS @.jeroen. @thanhlong0204 maybe you have some build phase renamed which is actually run script. Expand it and see. Developer Tools & Services Xcode Sep ’23