cocoapods-bb-xcframework 0.2.7.4 → 0.2.7.5

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: 38ad04aeb3bf21be774455008ca4b7b8deee2dfe72bf100dc2e8515524230e27
4
- data.tar.gz: 0d81a1c7cd3e9d517d95e5503c0247faa1776ee7cb2ade624371061df02b6cbb
3
+ metadata.gz: 1a5093941ce0cd361019450a4aab44a66023c314c63fd0e982caa6590b912a2a
4
+ data.tar.gz: ea809e44a928f2d2f29fc5f0f06dd06ac9f69566ca24c8142b5f02b06b8c9863
5
5
  SHA512:
6
- metadata.gz: 9b0c9c5b7c125458c4a8288e4c57d031b701dc634b0276d07d0b65cc3f97d2a2064849a95313a353834157c4010e94c31e26f63523df0eacb16e08ea745505f7
7
- data.tar.gz: cf3f3c94e37e0e56ae413652edc59aa2380b56f695309b1ee4b9194f023e8e756db112832c893e92b6a5b5c7c6aeaba98f381ec1e0281e87b739dce05b82cdd1
6
+ metadata.gz: c7b19ee700da2639e1d6a92db3c44648d1f4df251fb3f9a00b2141cf8d41f14b60d4a90314b65bc60184badfd6449b3de1d6bf1191c4c32d5607e8ba58362fda
7
+ data.tar.gz: 6c52a57a57a25040551819e30ba22f66d4cc04c476bd66951f32c006baadddbaeb4967fd14ecd63ece14b0dcb1af8e12f2a03f6a2639f6de82157e9beb2f48ee
@@ -1,3 +1,3 @@
1
1
  module CocoapodsXCFramework
2
- VERSION = "0.2.7.4"
2
+ VERSION = "0.2.7.5"
3
3
  end
@@ -114,7 +114,7 @@ module Pod
114
114
  "set -o pipefail; #{command} | tee '#{log_raw}'"
115
115
  end
116
116
  # UI.puts "XBuilder command wrapped: #{wrapped}"
117
- UI.puts "XBuilder command: #{command}"
117
+ UI.puts "Loal XBuilder command: #{command}"
118
118
  UI.puts "Available schemes:"
119
119
  schemes = `xcodebuild -list 2>/dev/null`
120
120
  UI.puts schemes
@@ -204,6 +204,7 @@ module Pod
204
204
  framework_args = []
205
205
 
206
206
  archives.each do |archive|
207
+ # 二进制库
207
208
  framework_path = File.join(
208
209
  archive,
209
210
  'Products',
@@ -211,9 +212,25 @@ module Pod
211
212
  'Frameworks',
212
213
  "#{framework_name}.framework"
213
214
  )
215
+ # 符号表
216
+ dsym_path = File.join(
217
+ archive,
218
+ 'dSYMs',
219
+ "#{framework_name}.framework.dSYM"
220
+ )
214
221
  if File.exist?(framework_path)
215
222
  framework_args << "-framework '#{framework_path}'"
216
223
  UI.puts "� Found framework: #{framework_path}".green
224
+ # 仅真机导出符号表,如果需要全部,把开关去除
225
+ archive_name = File.basename(archive, '.xcarchive')
226
+ if archive_name == "#{framework_name}-iOS"
227
+ if File.exist?(dsym_path)
228
+ framework_args << "-debug-symbols '#{dsym_path}'"
229
+ UI.puts "� Found framework.dSYM: #{dsym_path}".green
230
+ else
231
+ UI.puts "⚠️ 未在 #{archive} 中找到 #{dsym_path}.framework.dSYM,已跳过".yellow
232
+ end
233
+ end
217
234
  else
218
235
  UI.puts "⚠️ 未在 #{archive} 中找到 #{framework_name}.framework,已跳过".yellow
219
236
  end
@@ -100,7 +100,7 @@ module Pod
100
100
  # no pretty: just tee to log and console
101
101
  "set -o pipefail; #{command} | tee '#{log_raw}'"
102
102
  end
103
- UI.puts "XBuilder command: #{command}"
103
+ UI.puts "Xcode XBuilder command: #{command}"
104
104
  UI.puts "Available schemes:"
105
105
  schemes = `xcodebuild -list 2>/dev/null`
106
106
  UI.puts schemes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-xcframework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.4
4
+ version: 0.2.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 4.0.13
108
+ rubygems_version: 4.0.19
109
109
  specification_version: 4
110
110
  summary: 把podspec打包成xcframework的小工具。packager pod to a xcframework
111
111
  test_files: