cocoapods-bb-PodAssistant 0.3.13.3 → 0.3.13.5

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: 97061bcf86dc71b2af6ed0de608f3c85e4e33e3bbc05996eaa1ace8ffdf4714e
4
- data.tar.gz: 36acccf12c663629f64c6c7d39976146400300749a8463bbef811dd5a5062fca
3
+ metadata.gz: 7cd696c579a58b8aae2d0d63c9ef78c3d85593dc80bc6265bd313c8e8b2f77af
4
+ data.tar.gz: 2cf310ff0f0132956fe0f26441955e3d9394b93592fc97827bb6475ffb59a70f
5
5
  SHA512:
6
- metadata.gz: 60f8fb47acbdc72e396a891ea13e76da21ef2b0560bce6d2f9f23c58cdb88b0059a0a33023ab4bf31693bb3f80807d7154aea51d04102bb0b6d11efa6a02cbe1
7
- data.tar.gz: 1d33ca649ec367cf1c2c9aa175634a53670c16538edc3ae2482d80d4d50d5803823b031bbe2b20d8c26d97c38ef3e6cefd6a7d003ef3c97a8fb717844009a9a2
6
+ metadata.gz: 88de330352f9ecc0e7b39ebf0aaf21767cbd3314c52f7ca649355cf12bfceb7818e4263df20d83851d1755bd4268a3bbab72c48e11ee72f4865125260303d8e7
7
+ data.tar.gz: 07cce2fc42970398e62a963528cfd5c3784ebe5f032bf3cdbad7c6917b5ae7057785de8b18afc3437548b58dad8fa0d3bf6b8d9c175c9f0b104c5bf40c69ed8a
@@ -130,12 +130,19 @@ def isGameWorldApp
130
130
  bundleId = getProjectBundleIdentifier()
131
131
  return bundleId === "com.sinyee.babybus.gameworld"
132
132
  end
133
+
133
134
  # 是否创意世界产品(国内)
134
135
  def isBingoworldApp
135
136
  bundleId = getProjectBundleIdentifier()
136
137
  return bundleId === "com.joltrix.bingoworld"
137
138
  end
138
139
 
140
+ # 是否可露优产品
141
+ def isKalliuWorldApp
142
+ bundleId = getProjectBundleIdentifier()
143
+ return bundleId === "com.joltrix.kalliuworld"
144
+ end
145
+
139
146
  # 是否矩阵产品
140
147
  def isMatrixApp
141
148
  bundleId = getProjectBundleIdentifier()
@@ -99,16 +99,35 @@ class PodPostInstaller
99
99
 
100
100
  private def generate_other_ldflags()
101
101
  # new_flags = ['$(inherited)', '-ObjC', '-lxml2', '-lz', '-lstdc++', '-weak_framework', 'SwiftUI', '-Wl,-v', '-Wl,-no_deduplicate']
102
- new_flags = ['$(inherited)', '-ObjC', '-lxml2', '-lz', '-lc++', '-weak_framework', 'SwiftUI', '-Wl,-v', '-Wl,-no_deduplicate']
102
+ new_flags = ['$(inherited)', '-ObjC', '-lxml2', '-lz', '-lc++', '-weak_framework', 'SwiftUI']
103
103
  is_above_xcode26 = BB::PodUtils.above_xcode_26_version # 高于26
104
104
  is_above_xcode15 = BB::PodUtils.compare_xcode_15_version # 高于15
105
105
  if (is_above_xcode26 == true) then
106
+ # -Wl、-Xlinker使用一样
106
107
  # 从 Xcode 15.3 起,Apple 已正式废弃 ld-classic,而 Xcode 26 beta 默认强制使用新版链接器(ld64 764.0+)。
107
- new_flags << '-Wl,-no_application_extension'
108
- new_flags << '-Wl,-ld_classic'
108
+ # new_flags << '-Wl,-no_application_extension'
109
+ # new_flags << '-Wl,-ld_classic'
110
+ # new_flags << '-Wl,-ld_classic' << '-Wl,-ld_new' << '-Wl,-print_statistics'
111
+ # Release启用 dead_strip 优化,减小包体,禁用 dead_strip 提升调试体验
112
+ # new_flags << '-Wl,-why_load' << '-Wl,-no_warn_duplicate_libraries'
113
+ # new_flags << '-Xlinker
114
+ # -force_load
115
+ # -Xlinker
116
+ # $(PROJECT_DIR)/Pods/BBAudioRecorder/Pod/Lib/libRecorder.a'
117
+ # new_flags << '-Wl,-dead_strip,-allow_dead_duplicates'
118
+ # https://developer.apple.com/forums/thread/788064 -Xlinker -dead_strip -Xlinker -allow_dead_duplicates
119
+ new_flags << '-Xlinker' << '-dead_strip' << '-Xlinker' << '-allow_dead_duplicates'
120
+ # new_flags << '-Xlinker
121
+ # -dead_strip
122
+ # -Xlinker
123
+ # -allow_dead_duplicates
124
+ # -Xlinker
125
+ # -map
126
+ # -Xlinker
127
+ # $(PROJECT_DIR)/build/LinkMap-$(TARGET_NAME)-$(CONFIGURATION).txt'
109
128
  elsif (is_above_xcode15 == true) then # iOS17适配添加ld64 https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes
110
129
  # c++ weak 标识 xcode15 -ld64 is deprecated, use -ld_classic instead
111
- new_flags << '-Wl,-ld_classic'
130
+ new_flags << '-Wl,-v' << '-Wl,-no_deduplicate' << '-Wl,-ld_classic'
112
131
  end
113
132
  # 去重并规范化输出
114
133
  new_flags.uniq.join(' ')
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.13.3"
2
+ VERSION = "0.3.13.5"
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.13.3
4
+ version: 0.3.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin