xcodeproj 1.13.0 → 1.14.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: 935c76050e4379c9a8d243645b906017320dd0d74c79e68b474b9bd1147d378e
4
- data.tar.gz: 87bed25d95253e5ee9af635b0582c86fa76c8859bb2fab625e57b9f6a178db22
3
+ metadata.gz: 3af9cb46ce94c2bb3e0bff2b7b28e82f5a037788378fa512274f685d41c2910b
4
+ data.tar.gz: 4047b7ac654f2aaeaba3363e56362249c2ce4456cea8e73eb27cd731648d4792
5
5
  SHA512:
6
- metadata.gz: fad701838ce5ba4869348fb41e934a275d6442e2072baa3b02894ec4ad8f4b421532f79d543a8da817a74fa2b5fe6baab27a696b13afd3960029ac3fa799cbe5
7
- data.tar.gz: 755f65c8c0e2589eb98ca78332df42a59d8ce031f3e3493f62a266e95933ef9cd835669929b8240bd0d541cac9939ddb0294c58c2c0e0cc67d4e3e40a2d9d873
6
+ metadata.gz: c47d7f26b3c3078f7cf2094aa81fd809cf938d9741530d09c166a37b3bc0a98e9e4e59e2b51222d1c43b64f9620ff35c0c83077ca6331b49bebed117fa6891f8
7
+ data.tar.gz: 65a27789a94d192a1d7c25c851d3ab36fab276f70145432c5a1ca3ecd398ca6f571206aee498d59c05dc688542ca2facd4bac7de08845a936e8cb54452c3073e
@@ -76,7 +76,11 @@ module Xcodeproj
76
76
 
77
77
  def dump_config_to_file(settings, file_path, includes = [])
78
78
  dir = @output_path + file_path + '..'
79
- dir.mkdir unless dir.exist?
79
+ dir.mkpath
80
+
81
+ settings = Hash[settings.map do |k, v|
82
+ [k, Array(v).join(' ')]
83
+ end]
80
84
 
81
85
  config = Config.new(settings)
82
86
  config.includes = includes
@@ -172,6 +172,9 @@ module Xcodeproj
172
172
  :unit_test_bundle => 'xctest',
173
173
  :ui_test_bundle => 'xctest',
174
174
  :app_extension => 'appex',
175
+ :messages_application => 'app',
176
+ :messages_extension => 'appex',
177
+ :sticker_pack => 'appex',
175
178
  :watch2_extension => 'appex',
176
179
  :watch2_app => 'app',
177
180
  :watch2_app_container => 'app',
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.13.0'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.14.0'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -350,7 +350,7 @@ module Xcodeproj
350
350
  unless object = project.objects_by_uuid[uuid] || project.new_from_plist(uuid, objects_by_uuid_plist)
351
351
  UI.warn "`#{inspect}` attempted to initialize an object with " \
352
352
  "an unknown UUID. `#{uuid}` for attribute: " \
353
- "`#{attribute.name}`. This can be the result of a merge and " \
353
+ "`#{attribute.name}`. This can be the result of a merge and " \
354
354
  'the unknown UUID is being discarded.'
355
355
  end
356
356
  object
@@ -42,7 +42,7 @@ module Xcodeproj
42
42
  # the key of the build setting.
43
43
  #
44
44
  # @param [Bool] resolve_against_xcconfig
45
- # wether the resolved setting should take in consideration any
45
+ # whether the resolved setting should take in consideration any
46
46
  # configuration file present.
47
47
  #
48
48
  # @return [Hash{String => String}] The value of the build setting
@@ -74,6 +74,10 @@ module Xcodeproj
74
74
  # @param [String] key
75
75
  # the key of the build setting.
76
76
  #
77
+ # @param [Boolean] resolve_against_xcconfig
78
+ # whether the resolved setting should take in consideration any
79
+ # configuration file present.
80
+ #
77
81
  # @raise If the build setting has multiple values.
78
82
  #
79
83
  # @note As it is common not to have a setting with no value for
@@ -83,8 +87,8 @@ module Xcodeproj
83
87
  #
84
88
  # @return [String] The value of the build setting.
85
89
  #
86
- def common_resolved_build_setting(key)
87
- values = resolved_build_setting(key).values.compact.uniq
90
+ def common_resolved_build_setting(key, resolve_against_xcconfig: false)
91
+ values = resolved_build_setting(key, resolve_against_xcconfig).values.compact.uniq
88
92
  if values.count <= 1
89
93
  values.first
90
94
  else
@@ -58,7 +58,7 @@ module Xcodeproj
58
58
  string_to_bool(@xml_element.attributes['codeCoverageEnabled'])
59
59
  end
60
60
 
61
- # @rparam [Bool] flag
61
+ # @param [Bool] flag
62
62
  # Set whether Clang Code Coverage is enabled ('Gather coverage data' turned ON)
63
63
  #
64
64
  def code_coverage_enabled=(flag)
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.13.0
4
+ version: 1.14.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: 2019-10-16 00:00:00.000000000 Z
11
+ date: 2019-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atomos