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 +4 -4
- data/lib/xcodeproj/command/config_dump.rb +5 -1
- data/lib/xcodeproj/constants.rb +3 -0
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project/object.rb +1 -1
- data/lib/xcodeproj/project/object/native_target.rb +7 -3
- data/lib/xcodeproj/scheme/test_action.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3af9cb46ce94c2bb3e0bff2b7b28e82f5a037788378fa512274f685d41c2910b
|
4
|
+
data.tar.gz: 4047b7ac654f2aaeaba3363e56362249c2ce4456cea8e73eb27cd731648d4792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/xcodeproj/constants.rb
CHANGED
@@ -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',
|
@@ -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
|
-
#
|
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
|
-
# @
|
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.
|
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-
|
11
|
+
date: 2019-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: atomos
|