SwiftPackageWithGitSubmodule

This repository has a git submodule and I can confirm that SPM will initialize/update a git submodule if present in a Swift Package.

Screen Shot 2022-09-30 at 11 36 26 AM

Screen Shot 2022-09-30 at 11 38 22 AM

Note: I had cases that Xcode did not show the folder with the submodule content but content was available in respective checkout result stored in DerivedData folder (example: ~/Library/Developer/Xcode/DerivedData/AppUsingPackage-randomString/SourcePackages/checkouts/SwiftPackageWithGitSubmodule).

GitHub

View Github