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: 524f3dacc9713030c4d5e2cd2d74d2ef6437a4301940484c12dd9596c89f85f5
4
- data.tar.gz: 5eb3da5b46a72827d9af811173ac3c7b08f1403c6ea3310c4c9afc98dd4b0473
3
+ metadata.gz: ff3c1aebde9549b0113050ae273c3a3734d58861aff9cf3a7f7a599a1971e008
4
+ data.tar.gz: 439607a9462c3c4ba1c4b98401b37c18e23348ef31f0aae9fcc67344f6081bb1
5
5
  SHA512:
6
- metadata.gz: cfd6763d22e5d26f70c50daf23c4f6e872ab7748e1fbb91cde884df34f9997e83a55eb369710fe52aa4733043a6e0364e29e37dc644c5a9c5097ffd05b623b4e
7
- data.tar.gz: 23380b32ba90686046afffa29fe2ca63c030e8a62b0fada553a9e28f5cc444ea074143638c0fc1c8cf8ea7b9291cf68289acf7d65e495805a119b6dcdd3690c0
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
- ['--enalbe-bitcode', 'package enable bitcode']
36
+ ['--enable-bitcode', 'package enable bitcode']
37
37
  ].concat super
38
38
  end
39
39
 
@@ -37,6 +37,7 @@ module Pod
37
37
  spec,
38
38
  @subspecs,
39
39
  @spec_sources,
40
+ true,
40
41
  @use_modular_headers,
41
42
  @enable_bitcode
42
43
  )
@@ -1,3 +1,3 @@
1
1
  module CocoapodsFramework
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -79,8 +79,11 @@ module Pod
79
79
 
80
80
  unless installer.nil?
81
81
  installer.pods_project.targets.each do |target|
82
- if enable_bitcode
83
- configuration.build_settings['ENABLE_BITCODE'] = 'YES'
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
- if enable_bitcode
113
- configuration.build_settings['ENABLE_BITCODE'] = 'YES'
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.0
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-06-30 00:00:00.000000000 Z
11
+ date: 2021-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods