Skip to content

Commit

Permalink
Add new group type PBXFileSystemSynchronizedRootGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey231 committed Oct 10, 2024
1 parent a01324e commit 351c507
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
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
6 changes: 6 additions & 0 deletions lib/xcodeproj/project/object/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,12 @@ 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

0 comments on commit 351c507

Please sign in to comment.