cocoapods-packager-bj 1.5.1 → 1.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed2097e8d0fc071d4bf2a46e548c503dd5b5acc0b8f59e0f8f89d61d1e9d469a
|
4
|
+
data.tar.gz: cb4a1761722fdbbbf4e43c988077ef66f278984caeec0eb98c51d57c81745ab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe52668ac1e317b0ef7f76ef679195ba8ba23de349f8e589d6d2d7f44aae0699c8aa4c2e6f37d3347b006a7f97235e32483ad967087020e869b0be065b8f97f9
|
7
|
+
data.tar.gz: 166f239364d60f2d00e115d13673595f8af0aad92f8c4bfe429907ca8e43d0606991129e88124cd1032067ca6cb8211fd8eeaf9e58b2d57b63233b640fa302fe
|
File without changes
|
@@ -380,7 +380,19 @@ MAP
|
|
380
380
|
|
381
381
|
Dir.glob("#{modules_sim_sourceinfo_root}/**/*.swiftsourceinfo").
|
382
382
|
each { |h| `ditto #{h} #{@fwk.swiftsourceinfo_path}/#{h.sub(modules_sim_sourceinfo_root, '')}` }
|
383
|
-
|
383
|
+
|
384
|
+
oc_headers_source_root = "#{@public_headers_root}/#{@spec.name}"
|
385
|
+
Dir.glob("#{oc_headers_source_root}/**/*.h").
|
386
|
+
each { |h| `ditto #{h} #{@fwk.headers_path}/#{h.sub(oc_headers_source_root, '')}` }
|
387
|
+
|
388
|
+
if Dir.glob("#{@fwk.swiftsourceinfo_path}/*").empty?
|
389
|
+
FileUtils.rm_rf("#{@fwk.swiftsourceinfo_path}")
|
390
|
+
end
|
391
|
+
|
392
|
+
if Dir.glob("#{@fwk.swiftmodule_path}/*").empty?
|
393
|
+
FileUtils.rm_rf("#{@fwk.swiftmodule_path}")
|
394
|
+
end
|
395
|
+
|
384
396
|
end
|
385
397
|
|
386
398
|
end
|
@@ -22,10 +22,15 @@ module Pod
|
|
22
22
|
@spec_sources,
|
23
23
|
modules
|
24
24
|
)
|
25
|
-
|
25
|
+
|
26
26
|
static_installer = Installer.new(sandbox, podfile)
|
27
27
|
static_installer.install!
|
28
|
-
|
28
|
+
spec_targets = static_installer.pod_targets.select do |target|
|
29
|
+
target.name == @spec.name
|
30
|
+
end
|
31
|
+
static_target = spec_targets[0]
|
32
|
+
source_dir = Dir.pwd
|
33
|
+
UI.puts("build project in directory #{source_dir}")
|
29
34
|
unless static_installer.nil?
|
30
35
|
static_installer.pods_project.targets.each do |target|
|
31
36
|
target.build_configurations.each do |config|
|
@@ -38,7 +43,6 @@ module Pod
|
|
38
43
|
end
|
39
44
|
static_installer.pods_project.save
|
40
45
|
end
|
41
|
-
|
42
46
|
static_installer
|
43
47
|
end
|
44
48
|
|
@@ -54,7 +58,8 @@ module Pod
|
|
54
58
|
options[:subspecs] = subspecs if subspecs
|
55
59
|
Pod::Podfile.new do
|
56
60
|
if modules
|
57
|
-
|
61
|
+
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
|
62
|
+
use_frameworks!(:linkage => :static)
|
58
63
|
end
|
59
64
|
sources.each { |s| source s }
|
60
65
|
platform(platform_name, deployment_target)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-packager-bj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Fuller
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-03-
|
12
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|
@@ -68,7 +68,7 @@ files:
|
|
68
68
|
- ".gitignore"
|
69
69
|
- LICENSE
|
70
70
|
- README.md
|
71
|
-
-
|
71
|
+
- cocoapods-packager-bj.gemspec
|
72
72
|
- lib/cocoapods-packager-bj/builder.rb
|
73
73
|
- lib/cocoapods-packager-bj/framework.rb
|
74
74
|
- lib/cocoapods-packager-bj/mangle.rb
|