cocoapods-bb-bin 0.2.7.6 → 0.2.7.8

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: 5a9b0a9641bce498a348c46659591f9ddbd7c7a1157450962337f7888d8f118b
4
- data.tar.gz: f7ae31e33e1185d269b94d5285d6688dde56a39e6de86d0089110ddd37317e49
3
+ metadata.gz: 84bf4571176537307e5bc8491dda9a6eb94279e6318e85c5742432293b407618
4
+ data.tar.gz: 3b0906031d36c6b0424112211ce3b1c85bbcb0bba012163a1db0de6a3172a62f
5
5
  SHA512:
6
- metadata.gz: e21a5506c5878581e8211c87aa1decdd72471da7aa53ec48dd8b1674e2994befe076b6a3c6524a14305f6a872087ccbb8c9afbcaf422273425d3fda2d3a2f9ec
7
- data.tar.gz: d1502a03cfec8af2529be66cb3d7bb57af0f40b6f93f753a27af9c14bcabda98062e636bf39fb0b94cb70b1db4814f56428487899dcf047ed0a9a2e0dd738113
6
+ metadata.gz: 4b1a1aaf32b2b1def695e463b32f8196f7c24016169aeb82f2e3a9d307e9ac919cde253a65322e999bfb1830562a9f4796bfab1d9d9fe41c3619ebcde5929f68
7
+ data.tar.gz: a96e9d85cdf91be6c4c9fdd123b99858391a050f55e91c2987f1c5866f2760c5cd82ed852b4f648021bf283bcd47727317debed47a63f5bc34359de99e781e9e
@@ -1,6 +1,7 @@
1
+ require 'cocoapods'
1
2
 
2
3
  module CBin
3
- VERSION = '0.2.7.6'
4
+ VERSION = '0.2.7.8'
4
5
  end
5
6
 
6
7
  module Pod
@@ -148,18 +148,16 @@ module CBin
148
148
  # Project Linkin
149
149
  @spec.vendored_frameworks = "#{frameworkName}.{framework,xcframework}" # 支持framework、xcframework
150
150
 
151
- # Resources
151
+ # Resources # framework以业务方自己配置为主 by hm 23/10/18
152
152
  extnames = []
153
153
  extnames << '*.bundle' if code_spec_consumer.resource_bundles.any?
154
154
  if code_spec_consumer.resources.any?
155
- extnames += code_spec_consumer.resources.map { |r| File.basename(r) }
155
+ # extnames += code_spec_consumer.resources.map { |r| File.basename(r) }
156
+ extnames = code_spec_consumer.resources
156
157
  end
157
158
  if extnames.any?
158
- if is_xcframework
159
- @spec.resources = extnames # xcframework以业务方自己配置为主 by hm 23/10/18
160
- else
161
- @spec.resources = framework_contents('Resources').flat_map { |r| extnames.map { |e| "#{r}/#{e}" } }
162
- end
159
+ @spec.resources = extnames
160
+ # @spec.resources = framework_contents('Resources').flat_map { |r| extnames.map { |e| "#{r}/#{e}" } }
163
161
  end
164
162
 
165
163
  # Source Location
@@ -22,9 +22,9 @@ module Pod
22
22
  alias old_add_swift_library_compatibility_header_phase add_swift_library_compatibility_header_phase
23
23
 
24
24
  def add_swift_library_compatibility_header_phase(native_target)
25
- UI.warn("========= swift add_swift_library_compatibility_header_phase")
25
+ # UI.warn("========= swift add_swift_library_compatibility_header_phase")
26
26
  if $ARGV[1] == "auto"
27
- UI.warn("========= auto swift add_swift_library_compatibility_header_phase")
27
+ # UI.warn("========= auto swift add_swift_library_compatibility_header_phase")
28
28
 
29
29
  if custom_module_map
30
30
  raise Informative, 'Using Swift static libraries with custom module maps is currently not supported. ' \
@@ -80,7 +80,7 @@ module Pod
80
80
  ${BUILT_PRODUCTS_DIR}/Swift\ Compatibility\ Header/${PRODUCT_MODULE_NAME}-Swift.h
81
81
  )
82
82
  else
83
- UI.warn("========= null swift add_swift_library_compatibility_header_phase")
83
+ # UI.warn("========= null swift add_swift_library_compatibility_header_phase")
84
84
  old_add_swift_library_compatibility_header_phase(native_target)
85
85
  end
86
86
 
@@ -1,6 +1,7 @@
1
1
  require 'cocoapods'
2
-
3
- if Pod.match_version?('~> 1.4')
2
+ require 'cocoapods-bb-bin/gem_version.rb'
3
+ puts "=====native===:#{Pod::VERSION}".green
4
+ # if Pod.match_version?('~> 1.4')
4
5
  require 'cocoapods-bb-bin/native/podfile'
5
6
  require 'cocoapods-bb-bin/native/installation_options'
6
7
  require 'cocoapods-bb-bin/native/specification'
@@ -21,4 +22,4 @@ if Pod.match_version?('~> 1.4')
21
22
  require 'cocoapods-bb-bin/native/target_validator'
22
23
  require 'cocoapods-bb-bin/native/push' # 支持modulemap & swift与oc工程混编
23
24
 
24
- end
25
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.6
4
+ version: 0.2.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel