fastlane-plugin-zhuixi_build_app 1.1.2 → 1.1.4
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: c575f8e5b9ee7687db6d18d76dac2f2d68e31f231269e959a68f242b8ab0971f
|
4
|
+
data.tar.gz: 75deb1d17b66b273c00ed7dd3bf8c6179df38161afe8e39454f2ad04d9dea314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87a97332998883719c2f17164cfb20287bd456649b508de05c7423b83a7db133fd064d43325240add5a0c651fa775132567b68f036fe518e7a4de6dfb6270abb
|
7
|
+
data.tar.gz: 74464ba72e875a7e986d0de1f39a6b2d0b08ebd56b69fe91364abdab364266babd1745ad11f88ce8ace70e884e9f50294112a079af435ecc55468f42e261d310
|
@@ -12,7 +12,6 @@ module Fastlane
|
|
12
12
|
channel_resources_folder = File.join(lane_context[:zhuixi_path], "resources")
|
13
13
|
filepath = File.join(channel_resources_folder, "ConfigInfo.plist")
|
14
14
|
if File.exist?(lane_context[:zhuixi_path].to_s)
|
15
|
-
return
|
16
15
|
FileUtils.rm_rf(lane_context[:zhuixi_path])
|
17
16
|
# if get_info_plist_value(path: filepath, key: "channelVersion")
|
18
17
|
# end
|
@@ -132,7 +132,7 @@ module Fastlane
|
|
132
132
|
FileUtils.cp(info_plist_absolute_path, File.join(lane_context[:zhuixi_path], "Info.plist"))
|
133
133
|
|
134
134
|
# 2. 读取 info.plist 文件
|
135
|
-
info_plist_data = Plist.parse_xml(
|
135
|
+
info_plist_data = Plist.parse_xml(File.join(lane_context[:zhuixi_path], "Info.plist"))
|
136
136
|
|
137
137
|
# 如果 info_plist_data 没有 LSApplicationQueriesSchemes 配置,先创建一个空数组
|
138
138
|
info_plist_data["LSApplicationQueriesSchemes"] ||= []
|
@@ -152,8 +152,7 @@ module Fastlane
|
|
152
152
|
info_plist_data[key] = value
|
153
153
|
end
|
154
154
|
# 5. 写入 info.plist 文件
|
155
|
-
File.write(
|
156
|
-
|
155
|
+
File.write(File.join(lane_context[:zhuixi_path], "Info.plist"), info_plist_data.to_plist)
|
157
156
|
config_info_plist_data = Plist.parse_xml(File.join(lane_context[:zhuixi_path], "ConfigInfo.plist"))
|
158
157
|
|
159
158
|
system_frameworks = config_info_plist_data["systemFrameworks"]
|
@@ -190,7 +189,7 @@ module Fastlane
|
|
190
189
|
lane_context[:target].build_configuration_list.build_configurations.each do |config|
|
191
190
|
config.build_settings["INFOPLIST_FILE"] = File.join(lane_context[:zhuixi_path], "Info.plist")
|
192
191
|
end
|
193
|
-
|
192
|
+
lane_context[:project].save
|
194
193
|
add_channel_sdk_library()
|
195
194
|
end
|
196
195
|
# 是否在动态库集合
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-zhuixi_build_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RedSevenMale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|