fastlane-plugin-zhuixi_build_app 1.0.1 → 1.0.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: 21314eed70a4f3ef64d41643999a871250f86f45bdefd2d86f6a7f563f97936a
4
- data.tar.gz: 629d4031ebefb1c51c8625da6dfc8d3b3189df8325ff8fa689353d3f624b5d4b
3
+ metadata.gz: 7fe2a794f18890b8fee8f284b2f82f6be269c081344d7b8a9dbefcca4f972a78
4
+ data.tar.gz: f0f5896d4e538b9ddf31b65eea1af660c85c59b89196ecbcdbaaf272eff48f3e
5
5
  SHA512:
6
- metadata.gz: 167ea3c5647944f52b26a75fd2e50cb0e0c5418d96cb1c840a1c8476c7bae6de945684de335e50eb2476c6243dd044d167120cfca342d92ff0fa69874ea0c318
7
- data.tar.gz: 9b89a5d6141f9bb52c81a9f4b0499b8c1dce71d06d83e1a03e3daa2c9fd261626e077cced30e00524fa53e7be465b6d979dc414774cc6f60a1754696d96b293e
6
+ metadata.gz: 2daaf3a7c685c50e2ed8cbb08c74f15fe399a732dfb63e119c8af5ef36f3c00e31927a9fb06fac2d8b115b3dd790bb69bf81f4cb3ee1949220f20fb891443e7b
7
+ data.tar.gz: 79507ad983ab650ae583dc1f4f93cc2d6e5d1f3813fb43a6df9261bf63dfc3fa9406b0d81ebc81456e332acc18525de380162727e4ca1af3c07a5c075727b920
@@ -27,6 +27,7 @@ module Fastlane
27
27
 
28
28
  if response.code == "200"
29
29
  result = JSON.parse(response.body)
30
+ puts result
30
31
  if result["code"] == 200
31
32
  data = result["data"]
32
33
  lane_context[:configParams] = data["config"]
@@ -89,6 +89,10 @@ module Fastlane
89
89
 
90
90
  def self.add_channel_sdk_resources()
91
91
 
92
+ # 设置DEBUG_INFORMATION_FORMAT
93
+ lane_context[:target].build_configuration_list.build_configurations.each do |config|
94
+ config.build_settings["DEBUG_INFORMATION_FORMAT"] = "dwarf"
95
+ end
92
96
  # 获取 Info.plist 文件的 Build Setting
93
97
  info_plist_build_setting = lane_context[:target].build_configuration_list.get_setting("INFOPLIST_FILE")
94
98
 
@@ -14,6 +14,8 @@ module Fastlane
14
14
  resourcesUrl = other_action.get_pack_config(game_id: game_id.to_s)
15
15
  other_action.download_resources(resourcesUrl: resourcesUrl)
16
16
  other_action.xcodeproj_merge
17
+ current_directory = Dir.pwd
18
+ puts "当前工作目录:#{current_directory}"
17
19
  end
18
20
  def self.return_value
19
21
  # If your method provides a return value, you can describe here what it does
@@ -28,6 +30,11 @@ module Fastlane
28
30
  type: String),
29
31
  ]
30
32
  end
33
+
34
+ def self.obfuscate_code(source_directory)
35
+ # 在这里添加源码混淆的命令
36
+ sh("ruby-minify --source-dir #{source_directory}")
37
+ end
31
38
  end
32
39
  end
33
40
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ZhuixiBuildApp
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RedSevenMale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -169,7 +169,7 @@ files:
169
169
  - lib/fastlane/plugin/zhuixi_build_app/actions/zhuixi_build_app_action.rb
170
170
  - lib/fastlane/plugin/zhuixi_build_app/helper/zhuixi_build_app_helper.rb
171
171
  - lib/fastlane/plugin/zhuixi_build_app/version.rb
172
- homepage: https://github.com/RedSevenMale/fastlane-plugin-zhuixi_build_app
172
+ homepage:
173
173
  licenses:
174
174
  - MIT
175
175
  metadata: {}