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: 2e3fe37986cea3db21d837cbbced18302445cbf6bb8d933e0adb383e8b367ff9
4
- data.tar.gz: 05f5fb6e618479bddf5d0c538ea961cc8f62fc1758d88498f19c9072e9d1ea9f
3
+ metadata.gz: c575f8e5b9ee7687db6d18d76dac2f2d68e31f231269e959a68f242b8ab0971f
4
+ data.tar.gz: 75deb1d17b66b273c00ed7dd3bf8c6179df38161afe8e39454f2ad04d9dea314
5
5
  SHA512:
6
- metadata.gz: b1a21646728ce3cbbc25db8a8916a1be325bcd3d16de6acdf1b7af2c4af05f1847264c7e8f70e4b11501bfdad7ae377c7f16428164c351ac7f9e0a31fad9d4b0
7
- data.tar.gz: 30fb6f81a1c1c26219a3ce3cca9e0445cceea156dc299d894612cfa31a55e30880266158d31f92f7312495358344a31f14ab22ae77d658abe2565b8b485e1e9e
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(info_plist_absolute_path)
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(info_plist_absolute_path, info_plist_data.to_plist)
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
  # 是否在动态库集合
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ZhuixiBuildApp
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.4"
4
4
  end
5
5
  end
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.2
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-30 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler