cocoapods-bb-bin 0.2.11.1 → 0.2.11.3

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: f953b910386947eb6941f1e14dafc3f446afb00f1de322cd0d7fcd59a9a3d41c
4
- data.tar.gz: 75197fee26017d961e4b595db614037ba0a28516cbf123b303009a28e9eaa449
3
+ metadata.gz: 2557c0e6e4b07fa15768d1876528509d5bbb917503c7d63bb41118c78471bafb
4
+ data.tar.gz: cbb51d63b2e18c2725a3b1c807c5cb1c2417663c7e4e0e5780fcc15c4d78ff80
5
5
  SHA512:
6
- metadata.gz: 593dc79efc4817dddc129b68b1d6be9e437f41bfbe1ce74376d14eb75f6093451ccb62edf813cc45a9d4fcc6af796abe877560bd489d88c7757766524ccae7f1
7
- data.tar.gz: 3eba028e3ee5ede153f04efe8bc91b374971f63f6b7852f27c5da5028df402d5b4e8af295114fc07b2af1f244071c2b8993f156cbc044f01928ffe133c274b2e
6
+ metadata.gz: c514d24c75bdc9f09c890bdd40f9bdb7ab04c99582bcdf820cde95dd6745e7c0003b4a1aa85ab3cbf95c0f891a647bec9be194139e9573ec5e81d0d0a7297645
7
+ data.tar.gz: 926e17d5de987e55b02b4a6ec7a1204af17a7ba302332c44481b1a1ae0b457ae47debfb421596f2f1711b56d522842e6e6c8c67d0471d284a61f7368ee9a5404
@@ -68,7 +68,7 @@ module Pod
68
68
  @spec_sources = @sources
69
69
  if @xcframework_output || @xcframework_dylib_output
70
70
  # 生存xcframework优先使用源码仓库\二进制仓库
71
- @spec_sources = "#{sources_optionV2(@code_dependencies, nil)},https:\/\/cdn.cocoapods.org"
71
+ @spec_sources = "#{sources_optionV2(@code_dependencies, nil)}"
72
72
  end
73
73
  end
74
74
 
@@ -114,7 +114,7 @@ module Pod
114
114
 
115
115
  def run_archive
116
116
  argvs = [
117
- "--sources=#{sources_option(@code_dependencies, @sources)},https:\/\/cdn.cocoapods.org",
117
+ "--sources=#{sources_option(@code_dependencies, @sources)}",
118
118
  @additional_args
119
119
  ]
120
120
 
@@ -1,7 +1,7 @@
1
1
  require 'cocoapods'
2
2
 
3
3
  module CBin
4
- VERSION = '0.2.11.1'
4
+ VERSION = '0.2.11.3'
5
5
  end
6
6
 
7
7
  module Pod
@@ -42,7 +42,7 @@ module CBin
42
42
  argvs = [
43
43
  "#{customsource.name}", # repo
44
44
  "#{source_podsepc_json}", # spec
45
- "--sources=#{customsource},https:\/\/cdn.cocoapods.org",
45
+ "--sources=#{customsource}",
46
46
  "--skip-import-validation",
47
47
  "--use-libraries",
48
48
  "--allow-warnings",
@@ -58,7 +58,9 @@ module CBin
58
58
  end
59
59
 
60
60
  def framework_file_path
61
+ # 测试发现生成framework目录不一,需要进行兼容
61
62
  target_dir = File.join(framework_folder_path,framework_name)
63
+ target_dir = "#{Dir.pwd}/#{framework_name}" unless File.exist?(target_dir)
62
64
  return target_dir
63
65
  end
64
66
  def podspec_name
@@ -80,7 +82,12 @@ module CBin
80
82
  require "fileutils"
81
83
  FileUtils.mkdir_p(zip_dir)
82
84
  end
83
- # FileUtils.mkdir_p(zip_dir) unless File.exist?(zip_dir)
85
+
86
+ # 检查 framework_file_path 是否存在
87
+ unless File.exist?(framework_file_path)
88
+ UI.puts "❌ 错误: 未找到框架文件 #{framework_file_path}".red
89
+ raise "未找到框架文件,无法执行拷贝,请检查构建是否成功"
90
+ end
84
91
 
85
92
  UI.puts "Compressing #{framework_file_path} into #{target_dir}"
86
93
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11.1
4
+ version: 0.2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: parallel
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.6.5
221
+ rubygems_version: 3.7.2
222
222
  specification_version: 4
223
223
  summary: cocoapods-bb-bin is a plugin which helps develpers switching pods between
224
224
  source code and binary.