swift-format to support the Swift 5 version of SwiftSyntax in this branch, but I've hit a problem when I try to generate the Xcode project. When I run
swift package generate-xcodeproj, it gets through fetching some of the dependencies but then dies with
fatalError and no other information.
I've pinpointed the problem down to the
CCommonMark target; if I comment it (and its dependents) out, the project is generated correctly.
Did something change in the expected layout of C modules or the generation of Xcode targets for them that would cause it to die here? I haven't had a chance to dig into debugging it further, but my hunch is that the failing line is this one, but there aren't any other error diagnostics emitted so there's nothing to indicate what's happening.
(If you check out the
format-swift5 branch to reproduce, make sure you grab the
git submodules as well to pick up the