cocoapods-packager-ext 0.0.29 → 0.0.30

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: c9812e5e9a1d1b816716bbdea4c7143cd00a5bb409ced69e87057091795f661c
4
- data.tar.gz: 49840f81b8ee853a34f1427b2e632b88d397e043ed11e872fcc24de6c5c37073
3
+ metadata.gz: 4cf3493cfe83b8790bdfa13709f4e84bb20db74fbde3119238271bb70116a956
4
+ data.tar.gz: 8e2e9067e59073349177faca6d4bc639b77702b1382a219e106b0a3b5b990588
5
5
  SHA512:
6
- metadata.gz: a9de7513e68ce21c894a88f9d4404ec2ee2089e844354ecee9adf3817fdc0d39b72b9c8f8d5e25c80374795f2c713213d980376be458b2f20b81eda975554e27
7
- data.tar.gz: d4da5a7071c4145eeb38b9b4dfbbef0e98239954c06761fa22ef1a4851c6f316ee4e9092ebff814b1c296b2ba152ce3812e45014d45fb8a02386ffd2be2bffc9
6
+ metadata.gz: 2d75c72039e332ed8c440c2ada29ab66a1856964f1c45eb1cd3ce74d65e5f7c6585ef215670e40b12b59c986c89d60d527d9aac138c9beccce1bb880c251e454
7
+ data.tar.gz: e743071dc7bc7c06e1142f6bba438c60c225ba529e423ecfa72d2550e82648122e6e0f9feefbcb833ff258200d348a68bad437374e612508d565deff8d388204
@@ -78,7 +78,7 @@ module Pod
78
78
  s.#{platform.name.to_s}.deployment_target = '#{platform.deployment_target}'
79
79
  s.#{platform.name.to_s}.vendored_libraries = ['#{platform.name.to_s}/*.a']
80
80
  s.#{platform.name.to_s}.public_header_files = ['#{platform.name.to_s}/Headers/*.{h}']
81
- s.#{platform.name.to_s}.source_files = ['#{platform.name.to_s}/Headers/*.{h}']
81
+ s.#{platform.name.to_s}.source_files = ['#{platform.name.to_s}/Headers/*.{h}',"#{platform.name.to_s}/Modules/module.modulemap"]
82
82
  s.#{platform.name.to_s}.resource = ['#{platform.name.to_s}/Resources/*.bundle']
83
83
  s.#{platform.name.to_s}.module_map = "#{platform.name.to_s}/Modules/module.modulemap"
84
84
  RB
@@ -5,7 +5,23 @@ module Pod
5
5
 
6
6
  alias build_static_library_t build_static_library
7
7
  def build_static_library
8
- build_static_library_t
8
+
9
+ UI.puts("Building static library #{@spec} with configuration #{@config}")
10
+
11
+ defines = compile
12
+ build_sim_libraries(defines)
13
+
14
+ platform_path = Pathname.new(@platform.name.to_s)
15
+ platform_path.mkdir unless platform_path.exist?
16
+
17
+ output = platform_path + "lib#{@spec.name}-#{@platform.name.to_s}.a"
18
+
19
+ if @platform.name == :ios
20
+ build_static_library_for_ios(output)
21
+ else
22
+ build_static_library_for_mac(output)
23
+ end
24
+
9
25
  platform_path = Pathname.new(@platform.name.to_s)
10
26
  header_path = platform_path+'Headers'
11
27
  header_path.mkpath unless header_path.exist?
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPackagerExt
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-packager-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - kyle.zhou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-27 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler