Xcode 27.2b3 quietly ships a new CLI: xcrun xcodeproj
Targets, build phases, groups, build settings, xcconfigs, SPM packages: all from the terminal, for both pbxproj and the new JSON xcproj format.
Zero docs so far, but it's clearly made for agents đ€