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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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

/// It returns a list of exception objects that override the configuration for some children
/// in the synchronized root group.
public var exceptions: [PBXFileSystemSynchronizedBuildFileExceptionSet]? {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is seems that the indentation is changed?

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