Skip to content

Commit

Permalink
Merge pull request #934 from Brett-Best/feature/Xcode-15.3-Support
Browse files Browse the repository at this point in the history
Feature: Xcode 15.3 support
  • Loading branch information
segiddins authored May 21, 2024
2 parents 2a865f1 + 8c6dab1 commit b1e861b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/xcodeproj/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module Constants

# @return [String] The last known object version to Xcodeproj.
#
LAST_KNOWN_OBJECT_VERSION = 60
LAST_KNOWN_OBJECT_VERSION = 63

# @return [String] The last known Xcode version to Xcodeproj.
#
Expand Down Expand Up @@ -132,6 +132,7 @@ module Constants
# @return [Hash] The compatibility version string for different object versions.
#
COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
63 => 'Xcode 15.3',
60 => 'Xcode 15.0',
56 => 'Xcode 14.0',
55 => 'Xcode 13.0',
Expand Down
4 changes: 4 additions & 0 deletions lib/xcodeproj/project/object/root_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ class PBXProject < AbstractObject
#
has_one :main_group, PBXGroup

# @return [String] whether minimizes project reference proxies
#
attribute :minimized_project_reference_proxies, String, '0'

# @return [PBXGroup] the group containing the references to products of
# the project.
#
Expand Down
4 changes: 4 additions & 0 deletions spec/project/object/root_object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ module ProjectSpecs
@root_object.main_group.class.should == PBXGroup
end

it 'returns whether the project minimized project reference proxies' do
@root_object.minimized_project_reference_proxies.should == '0'
end

it 'returns the products group' do
@root_object.product_ref_group.class.should == PBXGroup
end
Expand Down

0 comments on commit b1e861b

Please sign in to comment.