Skip to content

Commit

Permalink
Downgrade object version to Xcode 16.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
amorde committed Oct 26, 2024
1 parent 7381f3f commit 115ec1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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 = 77
LAST_KNOWN_OBJECT_VERSION = 70

# @return [String] The last known Xcode version to Xcodeproj.
#
Expand Down Expand Up @@ -132,7 +132,7 @@ module Constants
# @return [Hash] The compatibility version string for different object versions.
#
COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
77 => 'Xcode 16.0',
70 => 'Xcode 16.0',
63 => 'Xcode 15.3',
60 => 'Xcode 15.0',
56 => 'Xcode 14.0',
Expand Down
2 changes: 1 addition & 1 deletion lib/xcodeproj/project/object/root_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class PBXProject < AbstractObject

# @return [String] preferred project object version
#
attribute :preferred_project_object_version, String, '77'
attribute :preferred_project_object_version, String, '70'

# @return [PBXGroup] the group containing the references to products of
# the project.
Expand Down
2 changes: 1 addition & 1 deletion spec/project/object/root_object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module ProjectSpecs
end

it 'returns the preferred project object version' do
@root_object.preferred_project_object_version.should == '77'
@root_object.preferred_project_object_version.should == '70'
end

it 'returns the products group' do
Expand Down

0 comments on commit 115ec1a

Please sign in to comment.