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 for builds broken by Xcode 16 #975

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/xcodeproj/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ module Constants
# @return [Hash] The compatibility version string for different object versions.
#
COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
70 => 'Xcode 16.0',
63 => 'Xcode 15.3',
60 => 'Xcode 15.0',
56 => 'Xcode 14.0',
Expand Down
5 changes: 5 additions & 0 deletions lib/xcodeproj/project/object/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,11 @@ class XCVersionGroup < PBXGroup
end

#-----------------------------------------------------------------------#

# A new group type introduced by Xcode 16
#
class PBXFileSystemSynchronizedRootGroup < PBXGroup
end
end
end
end
5 changes: 5 additions & 0 deletions lib/xcodeproj/project/object/native_target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,11 @@ class PBXNativeTarget < AbstractTarget
#
has_many :build_phases, AbstractBuildPhase

# @return [ObjectList<PBXFileSystemSynchronizedRootGroup>] the synchronized
# folder groups used by this target.
#
has_many :fileSystemSynchronizedGroups, PBXFileSystemSynchronizedRootGroup

public

# @!group Helpers
Expand Down