cocoapods-bb-PodAssistant 0.3.16.7 → 0.3.16.8

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: 579ea32a06e1f70c025a45b2f5df861f47e1b40fcc15fab0dc931f752c7493fd
4
- data.tar.gz: d75cd924db966d8763807e1c49827898c866c476847981dd936dc9af55798c29
3
+ metadata.gz: a4088855ba536056a694f3df4343768b8b6613a1000014e5b1e86d11188e3200
4
+ data.tar.gz: df9e641a54b8eeb4181df5fec530c24e164245e053f96f4ca9cb6e02f937811b
5
5
  SHA512:
6
- metadata.gz: 4431cbe173e0e625c13615388eca3e9c592b3d33668e6c56cda1f3dd043fe7601368a2bebda7102ba6652b5501b04497e9f07358f27a0daf545bc54aeef8ab63
7
- data.tar.gz: 2a619f598755690161d8e72f9347c5429d070efaa9f0b60955b151abd99f5556641403daba30c82a9a1031ab2513d8a184b944c39f396a13f0e8439574cc739b
6
+ metadata.gz: 81e30f10794cb18fa92eeaf043dae86247e6d1421d600467aa249347869699af7603fdf6f6ff0f305c04f85b89e5b5c66eb0b9dc716456d8396b76acc82e1232
7
+ data.tar.gz: 8b095a352774edd065cfc2e6d40d17f004188a600da6ac97bb8991c075a6dc07c50dd6c9c489e61592502da3f729715ba0c515291265a62d2832a032c1cf0140
@@ -43,6 +43,15 @@ class PodPostIntegrate
43
43
  []
44
44
  end
45
45
 
46
+ unity_simulator_supported = ENV['UNITY_SIMULATOR_SUPPORTED'] == '1'
47
+ # 业务方传入列表中:
48
+ # 1. cocos2dx.framework 始终排除,避免被当成 Simulator 不支持库处理
49
+ # 2. Unity 支持 Simulator 时,UnityFramework.framework 也排除
50
+ binaries = binaries.reject do |binary|
51
+ binary_name = File.basename(binary.to_s.strip)
52
+ binary_name == 'cocos2dx.framework' ||
53
+ (unity_simulator_supported && binary_name == 'UnityFramework.framework')
54
+ end
46
55
  # 默认不支持 Simulator 的二进制 + 外部传入的不支持二进制,过滤空值后统一去重。
47
56
  @simulator_unsupported_binaries = (
48
57
  DEFAULT_SIMULATOR_UNSUPPORTED_BINARIES + binaries
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.16.7"
2
+ VERSION = "0.3.16.8"
3
3
  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.16.7
4
+ version: 0.3.16.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin