cocoapods 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -1
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/target.rb +1 -1
- data/lib/cocoapods/target/aggregate_target.rb +1 -1
- data/lib/cocoapods/target/build_settings.rb +16 -0
- data/lib/cocoapods/xcode/xcframework/xcframework_slice.rb +10 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d7d68150bd77329db1e629e610c6a8fa831590339a9502e5bedd4eaeaf1be1f
|
4
|
+
data.tar.gz: 33a2b4a376e840e9129200ad3d8e2ffc50ff006f53f5963343ec6b75fd0a4baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b501dc64078ee094a69bd497416114c68f226136174eb8c3c18b1e57fdcd37ef7a97c0da2de404f3a4d7433865fb4d952712b717f88d59e3d86ab2a7ce2bed98
|
7
|
+
data.tar.gz: ffd57b0deec005f87f65856f2eb28902b00dc966336b05d65994e2aa8ede4f02136144aeae82f059d401d2abed5c95f8e836ea46d361aa28f40077b5172d1b48
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,32 @@ To install or update CocoaPods see this [guide](https://guides.cocoapods.org/usi
|
|
4
4
|
|
5
5
|
To install release candidates run `[sudo] gem install cocoapods --pre`
|
6
6
|
|
7
|
+
## 1.10.1 (2021-01-07)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Fix library name in LD `-l` flags for XCFrameworks containing libraries
|
16
|
+
[Wes Campaigne](https://github.com/Westacular)
|
17
|
+
[#10165](https://github.com/CocoaPods/CocoaPods/issues/10165)
|
18
|
+
|
19
|
+
* Fix file extension replacement for resource paths when using static frameworks.
|
20
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
21
|
+
[#10206](https://github.com/CocoaPods/CocoaPods/issues/10206)
|
22
|
+
|
23
|
+
* Fix processing of xcassets resources when pod target is static framework
|
24
|
+
[Federico Trimboli](https://github.com/fedetrim)
|
25
|
+
[#10175](https://github.com/CocoaPods/CocoaPods/pull/10175)
|
26
|
+
[#10170](https://github.com/CocoaPods/CocoaPods/issues/10170)
|
27
|
+
|
28
|
+
* Fix missing `-ObjC` for static XCFrameworks
|
29
|
+
[Paul Beusterien](https://github.com/paulb777)
|
30
|
+
[#10234](https://github.com/CocoaPods/CocoaPods/pull/10234)
|
31
|
+
|
32
|
+
|
7
33
|
## 1.10.0 (2020-10-20)
|
8
34
|
|
9
35
|
##### Enhancements
|
@@ -16,7 +42,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
|
|
16
42
|
[Wes Campaigne](https://github.com/Westacular)
|
17
43
|
[#10071](https://github.com/CocoaPods/CocoaPods/issues/10071)
|
18
44
|
|
19
|
-
* Add support for automatically
|
45
|
+
* Add support for automatically embedding XCFramework debug symbols for XCFrameworks generated with Xcode 12
|
20
46
|
[johntmcintosh](https://github.com/johntmcintosh)
|
21
47
|
[#10111](https://github.com/CocoaPods/CocoaPods/issues/10111)
|
22
48
|
|
data/lib/cocoapods/target.rb
CHANGED
@@ -350,7 +350,7 @@ module Pod
|
|
350
350
|
end
|
351
351
|
|
352
352
|
def self.resource_extension_compilable?(input_extension)
|
353
|
-
output_extension_for_resource(input_extension) != input_extension
|
353
|
+
output_extension_for_resource(input_extension) != input_extension && input_extension != '.xcassets'
|
354
354
|
end
|
355
355
|
|
356
356
|
#-------------------------------------------------------------------------#
|
@@ -292,7 +292,7 @@ module Pod
|
|
292
292
|
extname = File.extname(resource_path)
|
293
293
|
if self.class.resource_extension_compilable?(extname)
|
294
294
|
output_extname = self.class.output_extension_for_resource(extname)
|
295
|
-
built_product_dir.join(File.basename(resource_path
|
295
|
+
built_product_dir.join(File.basename(resource_path)).sub_ext(output_extname).to_s
|
296
296
|
else
|
297
297
|
resource_path
|
298
298
|
end
|
@@ -1263,8 +1263,24 @@ module Pod
|
|
1263
1263
|
end
|
1264
1264
|
end
|
1265
1265
|
|
1266
|
+
# @return [Boolean]
|
1267
|
+
define_build_settings_method :any_vendored_static_xcframeworks?, :memoized => true do
|
1268
|
+
pod_targets.any? do |pt|
|
1269
|
+
pt.build_settings.any? do |bs|
|
1270
|
+
if bs.respond_to?(:vendored_xcframeworks)
|
1271
|
+
bs.vendored_xcframeworks.any? do |xcf|
|
1272
|
+
xcf.build_type == BuildType.static_framework
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
end
|
1278
|
+
|
1266
1279
|
# @return [Boolean]
|
1267
1280
|
define_build_settings_method :any_vendored_static_artifacts?, :memoized => true do
|
1281
|
+
if any_vendored_static_xcframeworks?
|
1282
|
+
return true
|
1283
|
+
end
|
1268
1284
|
pod_targets.any? do |pt|
|
1269
1285
|
pt.file_accessors.any? do |fa|
|
1270
1286
|
!fa.vendored_static_artifacts.empty?
|
@@ -121,7 +121,16 @@ module Pod
|
|
121
121
|
# @return [Pathname] the path to the bundled binary
|
122
122
|
#
|
123
123
|
def binary_path
|
124
|
-
|
124
|
+
@binary_path ||= begin
|
125
|
+
case package_type
|
126
|
+
when :framework
|
127
|
+
path + name
|
128
|
+
when :library
|
129
|
+
path
|
130
|
+
else
|
131
|
+
raise Informative, "Invalid package type `#{package_type}`"
|
132
|
+
end
|
133
|
+
end
|
125
134
|
end
|
126
135
|
end
|
127
136
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2021-01-07 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: cocoapods-core
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.10.
|
22
|
+
version: 1.10.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.10.
|
29
|
+
version: 1.10.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|