xcodeproj 1.8.2 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d75afee284a642e23fb795b6b34a6c4e486126a2843aefc1bec368f64a3a913d
|
|
4
|
+
data.tar.gz: be3b241febabcee98279667700d8e852394bd85ae611ae64de5fa197b2e2d6c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f71583b1d4b0478bfb4fc99f9a6e17e6016b17e8c7454c2d5b794709f534eda1eee860e3cbf8cbe979291b497f9540e3049c5c58fc0bd71364511f52f110559c
|
|
7
|
+
data.tar.gz: 90900a1315731d9b92affef9d749a135c75834e8a3d01d1efca3c955899cc6ad0e550843dafbe2043e0789dd5bf72ecb0e526972dc0337dac7896c14230518d6
|
data/lib/xcodeproj/constants.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Xcodeproj
|
|
|
4
4
|
module Constants
|
|
5
5
|
# @return [String] The last known iOS SDK (stable).
|
|
6
6
|
#
|
|
7
|
-
LAST_KNOWN_IOS_SDK = '12.
|
|
7
|
+
LAST_KNOWN_IOS_SDK = '12.2'
|
|
8
8
|
|
|
9
9
|
# @return [String] The last known OS X SDK (stable).
|
|
10
10
|
#
|
|
@@ -12,11 +12,11 @@ module Xcodeproj
|
|
|
12
12
|
|
|
13
13
|
# @return [String] The last known tvOS SDK (stable).
|
|
14
14
|
#
|
|
15
|
-
LAST_KNOWN_TVOS_SDK = '12.
|
|
15
|
+
LAST_KNOWN_TVOS_SDK = '12.2'
|
|
16
16
|
|
|
17
17
|
# @return [String] The last known watchOS SDK (stable).
|
|
18
18
|
#
|
|
19
|
-
LAST_KNOWN_WATCHOS_SDK = '5.
|
|
19
|
+
LAST_KNOWN_WATCHOS_SDK = '5.2'
|
|
20
20
|
|
|
21
21
|
# @return [String] The last known archive version to Xcodeproj.
|
|
22
22
|
#
|
|
@@ -24,7 +24,7 @@ module Xcodeproj
|
|
|
24
24
|
|
|
25
25
|
# @return [String] The last known Swift version (stable).
|
|
26
26
|
#
|
|
27
|
-
LAST_KNOWN_SWIFT_VERSION = '
|
|
27
|
+
LAST_KNOWN_SWIFT_VERSION = '5.0'
|
|
28
28
|
|
|
29
29
|
# @return [String] The default object version for Xcodeproj.
|
|
30
30
|
#
|
|
@@ -36,11 +36,11 @@ module Xcodeproj
|
|
|
36
36
|
|
|
37
37
|
# @return [String] The last known object version to Xcodeproj.
|
|
38
38
|
#
|
|
39
|
-
LAST_UPGRADE_CHECK = '
|
|
39
|
+
LAST_UPGRADE_CHECK = '1020'
|
|
40
40
|
|
|
41
41
|
# @return [String] The last known object version to Xcodeproj.
|
|
42
42
|
#
|
|
43
|
-
LAST_SWIFT_UPGRADE_CHECK = '
|
|
43
|
+
LAST_SWIFT_UPGRADE_CHECK = '1020'
|
|
44
44
|
|
|
45
45
|
# @return [String] The version of `.xcscheme` files supported by Xcodeproj
|
|
46
46
|
#
|
|
@@ -386,7 +386,7 @@ module Xcodeproj
|
|
|
386
386
|
'GCC_WARN_UNUSED_VARIABLE' => 'YES',
|
|
387
387
|
'MTL_FAST_MATH' => 'YES',
|
|
388
388
|
'PRODUCT_NAME' => '$(TARGET_NAME)',
|
|
389
|
-
'SWIFT_VERSION' => '
|
|
389
|
+
'SWIFT_VERSION' => '5.0',
|
|
390
390
|
},
|
|
391
391
|
:release => {
|
|
392
392
|
'DEBUG_INFORMATION_FORMAT' => 'dwarf-with-dsym',
|
|
@@ -34,7 +34,7 @@ module Xcodeproj
|
|
|
34
34
|
|
|
35
35
|
# @return [String] the development region of the project.
|
|
36
36
|
#
|
|
37
|
-
attribute :development_region, String, '
|
|
37
|
+
attribute :development_region, String, 'en'
|
|
38
38
|
|
|
39
39
|
# @return [String] whether the project has scanned for encodings.
|
|
40
40
|
#
|
|
@@ -46,6 +46,18 @@ module Xcodeproj
|
|
|
46
46
|
fixup[object, attr]
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
|
+
|
|
50
|
+
if (project_attributes = target_project.root_object.attributes) && project_attributes['TargetAttributes']
|
|
51
|
+
project_attributes['TargetAttributes'] = Hash[project_attributes['TargetAttributes'].map do |target_uuid, attributes|
|
|
52
|
+
if test_target_id = attributes['TestTargetID']
|
|
53
|
+
attributes = attributes.merge('TestTargetID' => all_objects_by_uuid[test_target_id].uuid)
|
|
54
|
+
end
|
|
55
|
+
if target_object = all_objects_by_uuid[target_uuid]
|
|
56
|
+
target_uuid = target_object.uuid
|
|
57
|
+
end
|
|
58
|
+
[target_uuid, attributes]
|
|
59
|
+
end]
|
|
60
|
+
end
|
|
49
61
|
end
|
|
50
62
|
|
|
51
63
|
def generate_all_paths_by_objects(projects)
|
data/lib/xcodeproj/workspace.rb
CHANGED
|
@@ -97,15 +97,17 @@ module Xcodeproj
|
|
|
97
97
|
#
|
|
98
98
|
def <<(path_or_reference)
|
|
99
99
|
return unless @document && @document.respond_to?(:root)
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
|
|
101
|
+
case path_or_reference
|
|
102
|
+
when String
|
|
102
103
|
project_file_reference = Xcodeproj::Workspace::FileReference.new(path_or_reference)
|
|
103
|
-
when
|
|
104
|
+
when Xcodeproj::Workspace::FileReference
|
|
104
105
|
project_file_reference = path_or_reference
|
|
105
106
|
projpath = nil
|
|
106
107
|
else
|
|
107
|
-
raise ArgumentError,
|
|
108
|
+
raise ArgumentError, "Input to the << operator must be a file path or FileReference, got #{path_or_reference.inspect}"
|
|
108
109
|
end
|
|
110
|
+
|
|
109
111
|
@document.root.add_element(project_file_reference.to_node)
|
|
110
112
|
load_schemes_from_project File.expand_path(projpath || project_file_reference.path)
|
|
111
113
|
end
|
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.9.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-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: atomos
|