cocoapods-packager-ext 0.0.3 → 0.0.8
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: bde6209b36fbd764e913f1d0ff422b53911af653372adf1c8060f90aaa09fb3a
|
4
|
+
data.tar.gz: 04f905fde5bfb3fc6e56226f79e5857b8d850ca73ea83c4e1d4e7824525bf8ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2edc0c4b2ac1a7f1622b12ff22effb2fa5d052a2afd7e07fef9823996c54b618e545e32967bcc36b095b23fe692407bc9d82159cf8b8f6d42a6368cd30ba161f
|
7
|
+
data.tar.gz: a60ba2ca993f9a755af67c8a709e0b3ae821ab3ce65627f495552215bc2c3677ce07d1d8c66bc42086ebe71cbfa1c62395c018ef631552716a7f36394a068979
|
@@ -53,18 +53,19 @@ module Pod
|
|
53
53
|
|
54
54
|
alias ios_build_options_t ios_build_options
|
55
55
|
def ios_build_options
|
56
|
-
if @select_archs.size
|
56
|
+
if @select_archs.size != 0
|
57
57
|
return "ARCHS=\'#{@select_archs.join(' ')}\' OTHER_CFLAGS=\'-fembed-bitcode -Qunused-arguments\'"
|
58
58
|
else
|
59
|
-
return
|
59
|
+
return "ARCHS=\'x86_64 i386 arm64 armv7\' OTHER_CFLAGS=\'-fembed-bitcode -Qunused-arguments\'"
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
63
|
alias build_sim_libraries_t build_sim_libraries
|
64
64
|
def build_sim_libraries(platform, defines)
|
65
|
-
if !@select_archs.include?('i386') && !@select_archs.include?('x86_64')
|
65
|
+
if @select_archs.size != 0 && !@select_archs.include?('i386') && !@select_archs.include?('x86_64')
|
66
66
|
return
|
67
67
|
else
|
68
|
+
UI.puts 'start build sim'
|
68
69
|
build_sim_libraries_t platform,defines
|
69
70
|
end
|
70
71
|
end
|
@@ -74,6 +75,15 @@ module Pod
|
|
74
75
|
if @all_deps
|
75
76
|
return if static_libs.count == 0
|
76
77
|
sim_libs = static_libs_in_sandbox('build-sim')
|
78
|
+
for item in @black_deps
|
79
|
+
static_libs.delete_if do |obj|
|
80
|
+
obj.include? item
|
81
|
+
end
|
82
|
+
sim_libs.delete_if do |obj|
|
83
|
+
obj.include? item
|
84
|
+
end
|
85
|
+
end
|
86
|
+
UI.puts "links statics:#{static_libs.join(' ')}, sim_libs:#{sim_libs.join(' ')}"
|
77
87
|
`xcrun -r libtool -no_warning_for_no_symbols -static -o #{output} #{static_libs.join(' ')} #{sim_libs.join(' ')}`
|
78
88
|
else
|
79
89
|
build_static_lib_for_ios static_libs,_defines,output
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kyle.zhou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cocoapods-packager
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: A short description of cocoapods-packager-ext.
|
42
56
|
email:
|
43
57
|
- kyle.zhou@qq.com
|