Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update remote Swift packages annotations to match Xcode #921

Merged

Conversation

alexandre-pod
Copy link
Contributor

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:

diff of the .xcodeproj file showing the Xcodeproj adding .git extension in annotations

This PR make Xcodeproj match the Xcode behavior

@alexandre-pod alexandre-pod force-pushed the fix/make_spm_annotations_match_xcode branch from d706292 to 2fcb3ad Compare September 28, 2023 14:34
@amorde
Copy link
Member

amorde commented Jan 28, 2024

Able to reproduce, and found #864 which is related. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants