XcodeGen 2.39.0 supports artifact bundle. This repository is a sample project that uses the artifact bundle.
The important files are Package.swift and Plugins/xcodegen/XcodeGen.swift.
To generate MyProject.xcodeproj
, run the following command.
swift package xcodegen generate
And then, open MyProject.xcodeproj
with Xcode.
xed MyProject.xcodeproj
I tested the instructions above with Xcode 15.2 on macOS 14.3.1 arm64.