cocoapods-xcframework 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff3c1aebde9549b0113050ae273c3a3734d58861aff9cf3a7f7a599a1971e008
|
4
|
+
data.tar.gz: 439607a9462c3c4ba1c4b98401b37c18e23348ef31f0aae9fcc67344f6081bb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3718b1cf29d43aae97250f8eecf97bd8731127dbd22c63a896332021c7fedce56ecca046db192d756644e0fc9e602bf3e3b3ed6590deb2afd46629a5b222a1
|
7
|
+
data.tar.gz: d54fb38728e40737e76fd1ce73b6ae7c4b1497a53e7246926525a090a2dce426d75266235e4e4db0de3dfe848d3b037812119858ced9556185fc3edd77c276e6
|
@@ -33,7 +33,7 @@ module Pod
|
|
33
33
|
['--subspecs', 'Only include the given subspecs'],
|
34
34
|
['--use-modular-headers', 'pakcage uses modular headers during packaging'],
|
35
35
|
['--no-static-library', 'package not use static library'],
|
36
|
-
['--
|
36
|
+
['--enable-bitcode', 'package enable bitcode']
|
37
37
|
].concat super
|
38
38
|
end
|
39
39
|
|
@@ -79,8 +79,11 @@ module Pod
|
|
79
79
|
|
80
80
|
unless installer.nil?
|
81
81
|
installer.pods_project.targets.each do |target|
|
82
|
-
|
83
|
-
configuration.
|
82
|
+
target.build_configurations.each do |configuration|
|
83
|
+
if enable_bitcode && configuration.name == "Release"
|
84
|
+
configuration.build_settings['ENABLE_BITCODE'] = 'YES'
|
85
|
+
configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
|
86
|
+
end
|
84
87
|
end
|
85
88
|
if target.name == spec.name
|
86
89
|
target.build_configurations.each do |configuration|
|
@@ -109,8 +112,11 @@ module Pod
|
|
109
112
|
end
|
110
113
|
unless installer.nil?
|
111
114
|
installer.pods_project.targets.each do |target|
|
112
|
-
|
113
|
-
configuration.
|
115
|
+
target.build_configurations.each do |configuration|
|
116
|
+
if enable_bitcode && configuration.name == "Release"
|
117
|
+
configuration.build_settings['ENABLE_BITCODE'] = 'YES'
|
118
|
+
configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
|
119
|
+
end
|
114
120
|
end
|
115
121
|
if specs.include? target.name
|
116
122
|
target.build_configurations.each do |configuration|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-xcframework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 戴易超
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|