cocoapods-bb-PodAssistant 0.3.17.1 → 0.3.17.2

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: 8fbcde06046e55cecd2c3b7696753d69d45219cf3e28a6ed4a31764148aab08c
4
- data.tar.gz: f8b612f7efc6eb7f4af25e0b0d63d992d348a7965e68c5c075f4b219e96f11b3
3
+ metadata.gz: 5dc3a167c46aebca4053c656bf90ab1583182cf2d120f4877442e8c9e44bf9c0
4
+ data.tar.gz: 50332b1a9c0e7ebaa3634b8f5355a353091c863c4c3bb652bc412478c9da3284
5
5
  SHA512:
6
- metadata.gz: f990896dada117544a1976ffe0e08a0cff74912243f3f998a19939348aa08f4df67baff6e50971aead83f829295c9eeeeeb45a51423516c04d5c2899af2b246e
7
- data.tar.gz: 3ceae617700c0d27b7e7f228c6516e0ec10622cd37b89a263295f5dc54f35adb7d1644f236d22d3724f052106de7c243a85513a690fa0098949fb9747f756c5d
6
+ metadata.gz: e31a92dd92639b6b7674b9c7f1adf3a4bc01518161f01ced86a63f9447a2d2f4dda99dd5a6635bca0bafe1bdf8ff1c1594607a27b1e0808a28ce0aa130e6093d
7
+ data.tar.gz: 80a38dc647a86891d0326e569d48ce345e7337edd14165f83bd57fee25f02177936b79f6284d5386348b00391b4b93d253fcacb1a502a28e42e30e6cf167551c
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.17.1"
2
+ VERSION = "0.3.17.2"
3
3
  end
@@ -5,7 +5,6 @@ require 'cocoapods-bb-PodAssistant/helpers/pod_utils'
5
5
  module SecurityHardening
6
6
  # 经过安全评估和兼容性验证的自研组件名称
7
7
  DEFAULT_OMVLL_WHITELIST = [
8
- 'Masonry',
9
8
  'BBGameModule',
10
9
  'BBAppGlobalComponent',
11
10
  'BBSVideoPlayer',
@@ -36,6 +35,10 @@ module SecurityHardening
36
35
  'GYDataCenter',
37
36
  'SDWebImageSVGAPlugin',
38
37
  'SVGAPlayer',
38
+ 'Masonry',
39
+ 'BBDLNAKit',
40
+ 'BBAudioRecorder',
41
+ 'BBAccountModule',
39
42
  ].freeze
40
43
 
41
44
  module_function
@@ -50,9 +53,17 @@ module SecurityHardening
50
53
  end
51
54
 
52
55
  private def resolve_omvll_plugin_flag
53
- omvll_plugin = ENV.fetch('OMVLL_SCRIPT_DIR', File.join(Dir.home, 'omvll', 'current', 'omvll-xcode.dylib'))
54
- raise "[O-MVLL] 插件不存在: #{omvll_plugin}(先运行:% omvllctl install)" unless File.exist?(omvll_plugin)
55
- "-fpass-plugin=#{omvll_plugin}"
56
+ # omvll_plugin = ENV.fetch('OMVLL_SCRIPT_DIR', File.join(Dir.home, 'omvll', 'current', 'omvll-xcode.dylib'))
57
+ # raise "[O-MVLL] 插件不存在: #{omvll_plugin}(先运行:% omvllctl install)" unless File.exist?(omvll_plugin)
58
+ # "-fpass-plugin=#{omvll_plugin}"
59
+ relative_path = 'omvll/current/omvll-xcode.dylib'
60
+ # 使用真实绝对路径校验本地插件是否存在
61
+ plugin_path = File.join(Dir.home, relative_path)
62
+ unless File.file?(plugin_path)
63
+ raise "[O-MVLL] 插件不存在: #{plugin_path}(先运行:omvllctl install)"
64
+ end
65
+ # 写入 Xcode Build Settings,编译时动态解析 HOME
66
+ "-fpass-plugin=$(HOME)/#{relative_path}"
56
67
  end
57
68
 
58
69
  # omvll混淆、xcode自带混淆
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-PodAssistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17.1
4
+ version: 0.3.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin