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

fix: issues parsing Xcode 16 projects #862

Merged
merged 3 commits into from
Oct 8, 2024
Merged

fix: issues parsing Xcode 16 projects #862

merged 3 commits into from
Oct 8, 2024

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 kimdv, fortmarek and a team 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
3 participants