Skip to content

Conversation

@pepicrft
Copy link
Contributor

@pepicrft pepicrft commented Oct 1, 2024

Resolves #861

This PR contains some Xcode 16-related fixes:

  • We were trying to parse PBXProject.preferredProjectObjectVersion as an integer but in Xcode 16 is encoded as a string. I'm decoding it as a string and converting it to an integer. If Apple supports strings that don't represent integers down the road we'll have to change the internal type.
  • They added the attribute minimizedProjectReferenceProxies to the PBXProject object.
  • SynchronizedRootGroups are encoded using multiple-lines. I adjusted the internal model to reflect that and ensure there are no diffs when we write the project back.

@pepicrft pepicrft requested review from a team, fortmarek and kimdv October 1, 2024 10:59
@pepicrft pepicrft self-assigned this Oct 1, 2024
@pepicrft pepicrft requested review from kwridan and removed request for a team October 1, 2024 10:59
@pepicrft pepicrft changed the title Fix the parsing of some Xcode 16 projects fix: issues parsing Xcode 16 projects Oct 1, 2024
@pepicrft
Copy link
Contributor Author

pepicrft commented Oct 8, 2024

@tuist/community-core this is ready for a review 👀

@pepicrft pepicrft merged commit 0837bc3 into main Oct 8, 2024
9 checks passed
@pepicrft pepicrft deleted the xcode-16-fixes branch October 8, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants