cocoapods-tdf-bin 0.0.32 → 0.0.33

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: 16d408732ce244aa6fa7590f6ff2737677dc5fc46a9f867aa91b034b7b70141a
4
- data.tar.gz: e31eb5ad823627d63de950459b59b65e69bff363868ca5a7af962f891c6db4da
3
+ metadata.gz: 583f9c81823d9d3a6afea8b0822f23f2a353cd953c1b48652409133036d2a12c
4
+ data.tar.gz: 945b72d2a5ac9e0d71d4b69bfac2dded645f2818597629e38a86d036c793570c
5
5
  SHA512:
6
- metadata.gz: c4d2f61a21673472392f44b043f4d47295197cfe224b1b95090903cae474439b7ec2c75fe3b8f7b3233e2b42ccfe7bb65cb141d0c3e20208edb572b8b90f35e4
7
- data.tar.gz: 539e68c18b271e1a4ef853f597b9de5f68259f8dbe2d9dcb67248435d953278028a2c2c6411d360b26f7073c4ade8f845b1a15e33576843be6f0e089935f9ae9
6
+ metadata.gz: ce18c5d09cc19ad8b3cdf61082c37e9688084e5bfbe82c1e270526314d0b6d23bfa3c456855b44c3fccefcc987df06a9e1cad51d8f6b08bcc545780fe08efd25
7
+ data.tar.gz: 48758e4f9140bd8f3f05290f57e257d0d2b4e392f5f572682affe910a8d8ba621bfd1bd33a7c224a319a27fd40d4ca4d8b7bc79ddf52e2c89f5acb1fefe4ee9c
@@ -71,7 +71,7 @@ module Pod
71
71
  if !@only_build
72
72
  source_specs.uniq.each do |spec|
73
73
  begin
74
- fail_push_specs << spec unless CBin::Upload::Helper.new(spec,@code_dependencies,@sources).upload
74
+ fail_push_specs << spec unless CBin::Upload::Helper.new(spec, @code_dependencies, @sources).upload
75
75
  rescue Object => exception
76
76
  UI.puts exception
77
77
  fail_push_specs << spec
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = "0.0.32"
3
+ VERSION = "0.0.33"
4
4
  end
5
5
 
6
6
  module Pod
@@ -69,7 +69,7 @@ module CBin
69
69
  source_dir = zip_dir
70
70
  file_accessor = Sandbox::FileAccessor.new(Pathname.new('.').expand_path, @spec.consumer(@platform))
71
71
  Dir.chdir(workspace_directory) do
72
- builder = CBin::Library::Builder.new(@spec, file_accessor, @platform, source_dir,@framework_path)
72
+ builder = CBin::Library::Builder.new(@spec, file_accessor, @platform, source_dir, @framework_path)
73
73
  builder.build
74
74
  end
75
75
  end
@@ -31,7 +31,10 @@ module CBin
31
31
  end
32
32
 
33
33
  def build
34
+ # 编译出 arm64 的包
34
35
  defines = compile
36
+
37
+ # 编译出 x86_64的包
35
38
  build_sim_libraries(defines)
36
39
 
37
40
  defines
@@ -180,7 +183,7 @@ module CBin
180
183
  archs = ios_architectures
181
184
  # archs = %w[arm64 armv7 armv7s]
182
185
  archs.map do |arch|
183
- xcodebuild(defines, "ARCHS=\'#{arch}\' OTHER_CFLAGS=\'-fembed-bitcode -Qunused-arguments\'","build-#{arch}",@build_model)
186
+ xcodebuild(defines, "ARCHS=\'#{arch}\' OTHER_CFLAGS=\'-fembed-bitcode -Qunused-arguments\'","build-#{arch}", @build_model)
184
187
  end
185
188
  # else
186
189
  # xcodebuild(defines,options)
@@ -206,9 +209,9 @@ module CBin
206
209
  def xcodebuild(defines = '', args = '', build_dir = 'build', build_model = 'Debug')
207
210
 
208
211
  unless File.exist?("Pods.xcodeproj") #cocoapods-generate v2.0.0
209
- command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{File.join(File.expand_path("..", build_dir), File.basename(build_dir))} clean build -configuration #{build_model} -target #{target_name} -project ./Pods/Pods.xcodeproj 2>&1"
212
+ command = "xcodebuild #{defines} #{args} CODE_SIGN_IDENTITY='' CONFIGURATION_BUILD_DIR=#{File.join(File.expand_path("..", build_dir), File.basename(build_dir))} clean build -configuration #{build_model} -target #{target_name} -project ./Pods/Pods.xcodeproj 2>&1"
210
213
  else
211
- command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration #{build_model} -target #{target_name} -project ./Pods.xcodeproj 2>&1"
214
+ command = "xcodebuild #{defines} #{args} CODE_SIGN_IDENTITY='' CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration #{build_model} -target #{target_name} -project ./Pods.xcodeproj 2>&1"
212
215
  end
213
216
 
214
217
  UI.message "command = #{command}"
@@ -154,10 +154,10 @@ module Pod
154
154
 
155
155
  spec_version = rspec.spec.version
156
156
 
157
- if use_binary
158
- UI.message 'cocoapods-tdf-bin 插件'
159
- UI.message "- 开始处理 #{rspec.spec.name} #{spec_version} 组件."
160
- end
157
+ # if use_binary
158
+ # UI.message 'cocoapods-tdf-bin 插件'
159
+ # UI.message "- 开始处理 #{rspec.spec.name} #{spec_version} 组件."
160
+ # end
161
161
 
162
162
  if @@build_dependencies_only_build
163
163
  missing_binary_specs << rspec.spec
@@ -216,8 +216,8 @@ module Pod
216
216
  #缓存没有二进制组件到spec文件,local_psec_dir 目录
217
217
  sources_sepc = []
218
218
  des_dir = CBin::Config::Builder.instance.local_psec_dir
219
- FileUtils.rm_f(des_dir) if File.exist?des_dir
220
- Dir.mkdir des_dir unless File.exist?des_dir
219
+ FileUtils.rm_f(des_dir) if File.exist? des_dir
220
+ Dir.mkdir des_dir unless File.exist? des_dir
221
221
  missing_binary_specs.uniq.each do |spec|
222
222
  next if spec.name.include?('/')
223
223
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tdf-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaijiaofan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel