XCRemoteSwiftPackageReference .git suffix constantly changing in project.pbxproj
Asked Answered
A

2

5

On our team, pull requests were often raised with changes similar to the following

project.pbxproj diff

(or sometimes they would change back, that is, remove the .git)

This was causing a lot of noise in PRs but we were unable figure out the cause of the change.

Arabela answered 25/5, 2022 at 5:33 Comment(1)
I have also been experiencing this lately using only XCode (no AppCode). I can't wrap my head around the reason why this is happening tho – Tonitonia
A
1

We (much) later discovered that this was happening because a member of the team was using AppCode without our knowledge. It is also a known issue:

https://youtrack.jetbrains.com/issue/OC-21297/AppCode-messes-up-the-xcodeproj-project-pbxproj-file-and-introdu

Arabela answered 25/5, 2022 at 5:33 Comment(2)
Oh, interesting. This is happening for us also. I'll ask the team if they're using AppCode. πŸ‘πŸ» – Pooka
This has been occurring with my team as well. No one is using AppCode though. Wonder what is causing this... – Invocation
C
0

Another potential source is the Xcodeproj library which is used by many tools, including fastlane.

https://github.com/CocoaPods/Xcodeproj/issues/882

Cockayne answered 6/6, 2023 at 16:2 Comment(0)

© 2022 - 2024 β€” McMap. All rights reserved.