cocoapods-bb-xcframework 0.2.6.1 → 0.2.6.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: 86de5787fc0f9a46661f7ebfd6c0cc0ef65f22a879cd1dc7c2925d130a58e2a9
|
4
|
+
data.tar.gz: 2b0acbb4860569d5b3db5367ac3a4262a707d0197db2d395dc1b7e34beb89d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5317a8a583129ad146fffacd4b8b105a36967ade03d19a565b1029a17c1692b4964b7e09ec1830ef35424ee9f5e8691d7fc0eaba63372c6de6b0407df84ac915
|
7
|
+
data.tar.gz: 020f0ccc7d37338714eef9e7d09cdf33bfe0ac5997711b792cc6fe9ff4c9aa85ea1f09916d4721b99281074a810ec0e6a68daee0320cd70b579eb6c0ce12794c
|
@@ -84,7 +84,15 @@ module Pod
|
|
84
84
|
key = configuration[0]
|
85
85
|
if key == 'frameworks'
|
86
86
|
val = configuration[1]
|
87
|
-
|
87
|
+
if val.is_a? String
|
88
|
+
other_flags << "-framework #{val} "
|
89
|
+
elsif val.is_a? Array
|
90
|
+
val.uniq.each do |item|
|
91
|
+
other_flags << "-framework #{item} "
|
92
|
+
end
|
93
|
+
else
|
94
|
+
UI.puts "configuration:#{configuration} val:#{val}"
|
95
|
+
end
|
88
96
|
end
|
89
97
|
end
|
90
98
|
end
|
@@ -113,6 +121,11 @@ module Pod
|
|
113
121
|
UI.puts "configuration other_flags: #{other_flags}"
|
114
122
|
configuration.build_settings['OTHER_LDFLAGS'] = "#{other_flags}"
|
115
123
|
end
|
124
|
+
if support_dynamic
|
125
|
+
configuration.build_settings['MACH_O_TYPE'] = 'mh_dylib'
|
126
|
+
else
|
127
|
+
configuration.build_settings['MACH_O_TYPE'] = 'staticlib'
|
128
|
+
end
|
116
129
|
end
|
117
130
|
end
|
118
131
|
end
|
@@ -6,7 +6,7 @@ module Pod
|
|
6
6
|
include XcodeProjHelper
|
7
7
|
include PodUtil
|
8
8
|
include Config::Mixin
|
9
|
-
def initialize(installer, source_dir, sandbox_root, spec, configuration, symbols=true, support_maccatalyst=true
|
9
|
+
def initialize(installer, source_dir, sandbox_root, spec, configuration, symbols=true, support_maccatalyst=true)
|
10
10
|
# def initialize(platform, installer, source_dir, sandbox_root, spec, config)
|
11
11
|
# @platform = platform
|
12
12
|
@installer = installer
|
@@ -21,35 +21,20 @@ module Pod
|
|
21
21
|
@outputs = Hash.new
|
22
22
|
@symbols = symbols
|
23
23
|
@support_maccatalyst = support_maccatalyst
|
24
|
-
@support_dynamic = support_dynamic
|
25
24
|
end
|
26
25
|
|
27
26
|
def build
|
28
27
|
UI.puts("Building framework #{@spec} with configuration #{@configuration}")
|
29
|
-
UI.puts "Work dir is :#{@sandbox_root} isSymbols:#{@symbols}
|
28
|
+
UI.puts "Work dir is :#{@sandbox_root} isSymbols:#{@symbols}"
|
30
29
|
# defines = "GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_#{@spec.name}=PodsDummy_PodPackage_#{@spec.name}'"
|
31
30
|
defines = ""
|
32
31
|
if @configuration == 'Debug'
|
33
|
-
|
34
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=YES ONLY_ACTIVE_ARCH=NO MACH_O_TYPE=mh_dylib'
|
35
|
-
else
|
36
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=YES ONLY_ACTIVE_ARCH=NO MACH_O_TYPE=staticlib'
|
37
|
-
end
|
32
|
+
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=YES ONLY_ACTIVE_ARCH=NO'
|
38
33
|
else
|
39
34
|
if @symbols
|
40
|
-
|
41
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=YES MACH_O_TYPE=mh_dylib'
|
42
|
-
else
|
43
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=YES MACH_O_TYPE=staticlib'
|
44
|
-
end
|
45
|
-
# defines << "GCC_GENERATE_DEBUGGING_SYMBOLS=YES" # Release模式需要符号表应于问题排查(二进制切源码操作) by hm 21/10/13
|
35
|
+
defines << "GCC_GENERATE_DEBUGGING_SYMBOLS=YES" # Release模式需要符号表应于问题排查(二进制切源码操作) by hm 21/10/13
|
46
36
|
else
|
47
|
-
|
48
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=NO MACH_O_TYPE=mh_dylib'
|
49
|
-
else
|
50
|
-
defines << 'GCC_GENERATE_DEBUGGING_SYMBOLS=NO MACH_O_TYPE=staticlib'
|
51
|
-
end
|
52
|
-
# defines << "GCC_GENERATE_DEBUGGING_SYMBOLS=NO" # 去除符号表
|
37
|
+
defines << "GCC_GENERATE_DEBUGGING_SYMBOLS=NO" # 去除符号表
|
53
38
|
end
|
54
39
|
end
|
55
40
|
|