cocoapods-bb-PodAssistant 0.3.17.6 → 0.3.18.0

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: c68b51200c402ee8b8849d17ad469622e8e9817b749a7dd5335a4d2a943c7f93
4
- data.tar.gz: 9295880141c89a77eeb5f9b7aa6b6e9198fc78b0e20bb240a0a8721ba7b741b9
3
+ metadata.gz: 06655c945f4d08be05c7ce08ee2de4ddcc6edc3bf6b401133df102d0689acb02
4
+ data.tar.gz: 4f6754226090df3f8224679083aa18606cef1659ea73d86cde31706df0288707
5
5
  SHA512:
6
- metadata.gz: a61a18aabb68803a33a88e19c30db224d68e0010089c572f5d804b8d5ee320a25271c68f5e6bd2b1695358a7056e1669c79adcec63f8951339a9d45374a1aaa6
7
- data.tar.gz: 76292cc8458d4dfb21349a56d0a8469fc6c33dbad0d90c73af3a8a71cd399864d2c1dbca0a6a07286c5aa9148005f5ffd519f415a0fa94095ec3293820c1ec32
6
+ metadata.gz: 4eee56b7dcc7f5f1bba72292ff4d9a755ee2bd617d6c28e8129b008d4d791f11242068d643abc5d1524b1d5833aecaef53fe70ea2cb8e66e9f3e43a4400b08c8
7
+ data.tar.gz: 0f60876ba2251d8d70ca29f8afd533b323e7b4457fbe2e3fcad8a0397378765f310cc605f786b0e6be1b32716a84bcb87e95511ddc76ee990f402a3dcce971c1
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.17.6"
2
+ VERSION = "0.3.18.0"
3
3
  end
@@ -5,39 +5,39 @@ require 'cocoapods-bb-PodAssistant/helpers/pod_utils'
5
5
  module SecurityHardening
6
6
  # 经过安全评估和兼容性验证的自研组件名称
7
7
  DEFAULT_OMVLL_WHITELIST = [
8
- 'BBGameModule',
9
- 'BBAppGlobalComponent',
10
- 'BBSVideoPlayer',
11
- 'BBLogKit',
12
- 'Aiolos',
13
- 'YYCategories',
14
- 'BBGameInterface',
15
- 'CocoaLumberjack',
16
- 'BBFoundation',
17
- 'BBPay_Capability',
18
- 'BBDownloader',
19
- 'AliyunOSSiOS',
20
- 'BBLogKit',
21
- 'BBRouteManagerBusiness',
22
- 'BBGameInterface',
23
- 'BBUIComponents',
24
- 'Protobuf',
25
- 'BBPlayerSetting',
26
- 'BBBaseSDK',
27
- 'RxCocoa',
28
- 'FMDB',
29
- 'BBWebView_Capability',
30
- 'YYCache',
31
- 'BBUIKit',
32
- 'BBWeb',
33
- 'BBAnimationPlayer',
34
- 'GYDataCenter',
35
- 'SDWebImageSVGAPlugin',
36
- 'SVGAPlayer',
37
- 'Masonry',
38
- 'BBDLNAKit',
39
- 'BBAudioRecorder',
40
- 'BBAccountModule',
8
+ # 'BBGameModule',
9
+ # 'BBAppGlobalComponent',
10
+ # 'BBSVideoPlayer',
11
+ # 'BBLogKit',
12
+ # 'Aiolos',
13
+ # 'YYCategories',
14
+ # 'BBGameInterface',
15
+ # 'CocoaLumberjack',
16
+ # 'BBFoundation',
17
+ # 'BBPay_Capability',
18
+ # 'BBDownloader',
19
+ # 'AliyunOSSiOS',
20
+ # 'BBLogKit',
21
+ # 'BBRouteManagerBusiness',
22
+ # 'BBGameInterface',
23
+ # 'BBUIComponents',
24
+ # 'Protobuf',
25
+ # 'BBPlayerSetting',
26
+ # 'BBBaseSDK',
27
+ # 'RxCocoa',
28
+ # 'FMDB',
29
+ # 'BBWebView_Capability',
30
+ # 'YYCache',
31
+ # 'BBUIKit',
32
+ # 'BBWeb',
33
+ # 'BBAnimationPlayer',
34
+ # 'GYDataCenter',
35
+ # 'SDWebImageSVGAPlugin',
36
+ # 'SVGAPlayer',
37
+ # 'Masonry',
38
+ # 'BBDLNAKit',
39
+ # 'BBAudioRecorder',
40
+ # 'BBAccountModule',
41
41
  ].freeze
42
42
 
43
43
  module_function
@@ -106,11 +106,20 @@ module SecurityHardening
106
106
 
107
107
  # swift加固标记
108
108
  swift_flags = Array(settings['OTHER_SWIFT_FLAGS'] || '$(inherited)')
109
- # O-MVLL 加固配置swift
109
+ .flat_map { |flag| flag.split(/\s+/) }
110
+ .reject(&:empty?)
111
+ # 清理历史重复的 O-MVLL 参数
112
+ swift_flags.delete(omvll_swift_flag)
113
+ # 根据开关重新添加
110
114
  if enable_omvll == true
111
- swift_flags << omvll_swift_flag unless flags.include?(omvll_swift_flag)
112
- else
113
- swift_flags.delete(omvll_swift_flag)
115
+ swift_flags << omvll_swift_flag
116
+ # workaround = [
117
+ # '-Xfrontend',
118
+ # '-disable-round-trip-debug-types'
119
+ # ]
120
+ # unless swift_flags.each_cons(2).any? { |pair| pair == workaround }
121
+ # swift_flags.concat(workaround)
122
+ # end
114
123
  end
115
124
  settings['OTHER_SWIFT_FLAGS'] = swift_flags
116
125
  end
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.6
4
+ version: 0.3.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin