cocoapods-packager-ext 0.0.29 → 0.0.30
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cf3493cfe83b8790bdfa13709f4e84bb20db74fbde3119238271bb70116a956
|
|
4
|
+
data.tar.gz: 8e2e9067e59073349177faca6d4bc639b77702b1382a219e106b0a3b5b990588
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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?
|
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.
|
|
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-
|
|
11
|
+
date: 2021-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|