xcodeproj 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b00b2ee1d752f42e42b42ce2eee72ed67d51d876460d11989d3c10d4d9db7ce
4
- data.tar.gz: bee25d68cd15f01f8f3d7740e3096d3d3023fed20ad2c14e78fd83cd1c56a3dc
3
+ metadata.gz: e7c20ca5a824ae24e92912281ba0fb550f5da31a7d0a578947db31f71698081d
4
+ data.tar.gz: e24ba1fb83e6c6bede1a2b28af38eec0999c49a87f4008426ad8a3271e943358
5
5
  SHA512:
6
- metadata.gz: c26d07901fd197b9bcf2f74aa922316404c9f77f2dc08c78a9ad97d4e2259ef56e38a2e06a25ccb16df9779c55750b23ccf8e6284548cb0ccb461327967cc0bd
7
- data.tar.gz: 353a4b09236f26a4f5e3f72e5a39e28cf5221beac0bad081a0947169edc7c0a474be8d92083a4c39a8b92663386bc8b4840fc834beab9ec8f5fc5108539cd9e4
6
+ metadata.gz: 25f6136666d41ae86f7308ed9209f07c2f007bc92563072f0b13e749e1afbbb1e25f8ba9f47999637b92424d3170f9e1082cccff85a2784d388871b2382b73db
7
+ data.tar.gz: fa0be9d69b8b56b5ce20422225ed159cf12c73ef919fbd0e2d92f9b4f1a80fbdcd04756238aa0533f1bb486928ccafe75ec707773b95aadac9657ff938e86d6c
@@ -341,7 +341,7 @@ module Xcodeproj
341
341
  # @return [Nil] if no include was found in the line.
342
342
  #
343
343
  def extract_include(line)
344
- regexp = /#include\s*"(.+)"/
344
+ regexp = /#include\??\s*"(.+)"/
345
345
  match = line.match(regexp)
346
346
  match[1] if match
347
347
  end
@@ -36,7 +36,7 @@ module Xcodeproj
36
36
 
37
37
  # @return [String] The last known object version to Xcodeproj.
38
38
  #
39
- LAST_KNOWN_OBJECT_VERSION = 60
39
+ LAST_KNOWN_OBJECT_VERSION = 63
40
40
 
41
41
  # @return [String] The last known Xcode version to Xcodeproj.
42
42
  #
@@ -132,6 +132,7 @@ module Xcodeproj
132
132
  # @return [Hash] The compatibility version string for different object versions.
133
133
  #
134
134
  COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
135
+ 63 => 'Xcode 15.3',
135
136
  60 => 'Xcode 15.0',
136
137
  56 => 'Xcode 14.0',
137
138
  55 => 'Xcode 13.0',
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.24.0'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.25.0'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -49,6 +49,10 @@ module Xcodeproj
49
49
  #
50
50
  has_one :main_group, PBXGroup
51
51
 
52
+ # @return [String] whether minimizes project reference proxies
53
+ #
54
+ attribute :minimized_project_reference_proxies, String, '0'
55
+
52
56
  # @return [PBXGroup] the group containing the references to products of
53
57
  # the project.
54
58
  #
@@ -221,11 +221,11 @@ module Xcodeproj
221
221
  end
222
222
 
223
223
  if archive_version.to_i > Constants::LAST_KNOWN_ARCHIVE_VERSION
224
- raise "[Xcodeproj] Unknown archive version (#{archive_version.to_i})."
224
+ UI.warn "[Xcodeproj] Archive version (#{archive_version.to_i}) is higher than the latest supported by xcodeproj (#{Constants::LAST_KNOWN_ARCHIVE_VERSION})."
225
225
  end
226
226
 
227
227
  if object_version.to_i > Constants::LAST_KNOWN_OBJECT_VERSION
228
- raise "[Xcodeproj] Unknown object version (#{object_version.to_i})."
228
+ UI.warn "[Xcodeproj] Xcode project version (#{object_version.to_i}) is higher than the latest supported by xcodeproj (#{Constants::LAST_KNOWN_OBJECT_VERSION})."
229
229
  end
230
230
 
231
231
  # Projects can have product_ref_groups that are not listed in the main_groups["Products"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atomos
@@ -96,16 +96,22 @@ dependencies:
96
96
  name: rexml
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - "~>"
99
+ - - ">="
100
100
  - !ruby/object:Gem::Version
101
- version: 3.2.4
101
+ version: 3.3.2
102
+ - - "<"
103
+ - !ruby/object:Gem::Version
104
+ version: '4.0'
102
105
  type: :runtime
103
106
  prerelease: false
104
107
  version_requirements: !ruby/object:Gem::Requirement
105
108
  requirements:
106
- - - "~>"
109
+ - - ">="
107
110
  - !ruby/object:Gem::Version
108
- version: 3.2.4
111
+ version: 3.3.2
112
+ - - "<"
113
+ - !ruby/object:Gem::Version
114
+ version: '4.0'
109
115
  description: Xcodeproj lets you create and modify Xcode projects from Ruby. Script
110
116
  boring management tasks or build Xcode-friendly libraries. Also includes support
111
117
  for Xcode workspaces (.xcworkspace) and configuration files (.xcconfig).