cocoapods-bb-xcframework 0.2.0 → 0.2.1
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: da22b9bd9e4143282a7d36cf38643b76226d25bc6ffc203ba3ee9139ff7f5111
|
4
|
+
data.tar.gz: 62de8d3533817f793a9028ff6cb54d79e7e10f008aa61a86926c2aae3ceb6461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13f2be4aa49034fb2238cbefd36b64c1609d8b3656d3a33be4ad3e34a520c5b1369d35b6a23d13130c61d8de8fa17f884ca0b7979c1aebd97f28c0479eb34d7d
|
7
|
+
data.tar.gz: fede30f63e0e60d09cee70ae9ed43bbab26063155095c1192df3e04db7f0041f45c4f8fc9bddab0010667e1994ec2361cf873adcd6705cc872ce3cced9df3fa6
|
@@ -84,6 +84,9 @@ module Pod
|
|
84
84
|
configuration.build_settings['ENABLE_BITCODE'] = 'YES'
|
85
85
|
configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
|
86
86
|
end
|
87
|
+
### support MacCatalyst 默认生成工程不支持 by hm 21/11/3
|
88
|
+
configuration.build_settings['SUPPORTS_MACCATALYST'] = 'YES'
|
89
|
+
### support MacCatalyst end
|
87
90
|
end
|
88
91
|
if target.name == spec.name
|
89
92
|
target.build_configurations.each do |configuration|
|
@@ -117,6 +120,9 @@ module Pod
|
|
117
120
|
configuration.build_settings['ENABLE_BITCODE'] = 'YES'
|
118
121
|
configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
|
119
122
|
end
|
123
|
+
### support MacCatalyst 默认生成工程不支持 by hm 21/11/3
|
124
|
+
configuration.build_settings['SUPPORTS_MACCATALYST'] = 'YES'
|
125
|
+
### support MacCatalyst end
|
120
126
|
end
|
121
127
|
if specs.include? target.name
|
122
128
|
target.build_configurations.each do |configuration|
|
@@ -24,11 +24,12 @@ module Pod
|
|
24
24
|
skip_install = 'NO'
|
25
25
|
end
|
26
26
|
if not project.nil?
|
27
|
-
if not scheme.nil?
|
28
|
-
|
29
|
-
else
|
30
|
-
|
31
|
-
end
|
27
|
+
# if not scheme.nil?
|
28
|
+
# command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -project '#{project}' -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
|
29
|
+
# else
|
30
|
+
# command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
|
31
|
+
# end
|
32
|
+
command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
|
32
33
|
else
|
33
34
|
command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
|
34
35
|
end
|
@@ -136,11 +136,9 @@ module Pod
|
|
136
136
|
|
137
137
|
def build_all_device defines
|
138
138
|
# build general first because simulator will exchange SDKROOT to simulat sdk
|
139
|
-
if @support_maccatalyst
|
140
|
-
build_MacCatalyst_device defines
|
141
|
-
end
|
142
139
|
build_general_device defines
|
143
140
|
build_simulator_device defines
|
141
|
+
build_MacCatalyst_device defines if @support_maccatalyst
|
144
142
|
end
|
145
143
|
|
146
144
|
def build_general_device defines
|