I am using two tools that use Xcodeproj to manipulate Xcode files (ccios and Kintsugi). But on projects using Swift packages the Xcodeproj updates is not matching what Xcode 14 and 15 generates, it has additional ".git" in packages annotations.
For example, with a clean project with a single Swift package dependency, when I just read and save the Xcode project using this code (Xcodeproj::Project.open('./SimpleApp.xcodeproj').save('./SimpleApp.xcodeproj')), this happens in git:
I am using two tools that use
Xcodeproj
to manipulate Xcode files (ccios and Kintsugi). But on projects using Swift packages theXcodeproj
updates is not matching what Xcode 14 and 15 generates, it has additional ".git" in packages annotations.For example, with a clean project with a single Swift package dependency, when I just read and save the Xcode project using this code (
Xcodeproj::Project.open('./SimpleApp.xcodeproj').save('./SimpleApp.xcodeproj')
), this happens in git:This PR make
Xcodeproj
match the Xcode behavior