From 0b80066790366f53ec0e9477086d869247327035 Mon Sep 17 00:00:00 2001 From: Brett-Best Date: Sun, 3 Mar 2024 16:50:33 +1100 Subject: [PATCH 1/4] Updated `LAST_KNOWN_OBJECT_VERSION` to `63` --- lib/xcodeproj/constants.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xcodeproj/constants.rb b/lib/xcodeproj/constants.rb index 083d47d8..55d0e2b2 100644 --- a/lib/xcodeproj/constants.rb +++ b/lib/xcodeproj/constants.rb @@ -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. # From ac24a40e91902251b9867d32ac82ecad43319d1f Mon Sep 17 00:00:00 2001 From: Brett-Best Date: Sun, 3 Mar 2024 16:51:20 +1100 Subject: [PATCH 2/4] =?UTF-8?q?Updated=20`COMPATIBILITY=5FVERSION=5FBY=5FO?= =?UTF-8?q?BJECT=5FVERSION`=20to=20include=20`63=20=3D>=20'Xcode=2015.3?= =?UTF-8?q?=E2=80=99`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/xcodeproj/constants.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/xcodeproj/constants.rb b/lib/xcodeproj/constants.rb index 55d0e2b2..543a7b2f 100644 --- a/lib/xcodeproj/constants.rb +++ b/lib/xcodeproj/constants.rb @@ -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', From 46dbdb15af28889ec5e0372aee51ee04d552b132 Mon Sep 17 00:00:00 2001 From: Brett-Best Date: Sun, 3 Mar 2024 16:54:22 +1100 Subject: [PATCH 3/4] Added root object attribute for `minimizedProjectReferenceProxies` --- lib/xcodeproj/project/object/root_object.rb | 4 ++++ spec/project/object/root_object_spec.rb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/xcodeproj/project/object/root_object.rb b/lib/xcodeproj/project/object/root_object.rb index 26b8a741..8737400f 100644 --- a/lib/xcodeproj/project/object/root_object.rb +++ b/lib/xcodeproj/project/object/root_object.rb @@ -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. # diff --git a/spec/project/object/root_object_spec.rb b/spec/project/object/root_object_spec.rb index 282e41a7..1634d1c8 100644 --- a/spec/project/object/root_object_spec.rb +++ b/spec/project/object/root_object_spec.rb @@ -39,6 +39,10 @@ module ProjectSpecs @root_object.main_group.class.should == PBXGroup end + it 'returns whether minimizes 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 From 8c6dab1de92312a5ab999028035835d9813f43a6 Mon Sep 17 00:00:00 2001 From: Brett Best <6104381+Brett-Best@users.noreply.github.com> Date: Thu, 16 May 2024 20:12:46 +1000 Subject: [PATCH 4/4] Update `root_object_spec.rb` test case Co-authored-by: Danielle --- spec/project/object/root_object_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/project/object/root_object_spec.rb b/spec/project/object/root_object_spec.rb index 1634d1c8..45493fda 100644 --- a/spec/project/object/root_object_spec.rb +++ b/spec/project/object/root_object_spec.rb @@ -39,7 +39,7 @@ module ProjectSpecs @root_object.main_group.class.should == PBXGroup end - it 'returns whether minimizes project reference proxies' do + it 'returns whether the project minimized project reference proxies' do @root_object.minimized_project_reference_proxies.should == '0' end