cocoapods-bb-PodAssistant 0.3.13.7 → 0.3.13.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29a6910d229c5ac0d2f8879e0882d74fe7f3118e94fc5bd2b06867d6ff85d729
|
|
4
|
+
data.tar.gz: 51a4b292f9a90b72a07be78a7359eb9d361ea5fe41f08bdf3a7483458ea4e886
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70e06308c5b7110de2b570e3b946ba71881e492e2bbf9f9f1ea853f3010c0999e0e2c28b2952c61af764187a5e36959c4eac137182e9db617b5b350dd0da3590
|
|
7
|
+
data.tar.gz: 695ec608444a44dd76502f3d146a0411ebec024a20301e2e4a8e680f69fc93ffeb8dd39abaa0fd74586282597bdfe8a39c21e2f1d425b9cc37ed415c0a59bf00
|
|
@@ -120,7 +120,7 @@ class PodPostInstaller
|
|
|
120
120
|
|
|
121
121
|
def run
|
|
122
122
|
env = BabybusInstallEnv.new()
|
|
123
|
-
|
|
123
|
+
is_above_xcode26 = BB::PodUtils.above_xcode_26_version # 高于26
|
|
124
124
|
# is_above_xcode15 = BB::PodUtils.compare_xcode_15_version # 高于15
|
|
125
125
|
# is_below_xcode15 = BB::PodUtils.below_xcode_15_version # 低于15
|
|
126
126
|
# 是否Untify项目
|
|
@@ -221,6 +221,12 @@ class PodPostInstaller
|
|
|
221
221
|
else
|
|
222
222
|
config.build_settings['OTHER_CPLUSPLUSFLAGS'] = "$(inherited) $(OTHER_CFLAGS) -fmodules -fcxx-modules"
|
|
223
223
|
end
|
|
224
|
+
# Xcode26写入自定义宏
|
|
225
|
+
if (is_above_xcode26 == true) then
|
|
226
|
+
config.build_settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = "$(inherited) USING_XCODE_26"
|
|
227
|
+
else
|
|
228
|
+
config.build_settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = "$(inherited)"
|
|
229
|
+
end
|
|
224
230
|
end
|
|
225
231
|
# 修复警告 Run script build phase '[CP] Copy Pods Resources' will be run during every build because it does not specify any outputs
|
|
226
232
|
fix_phases = target.shell_script_build_phases.find { |x| x.name == '[CP] Copy XCFrameworks' || 'Create Symlinks to Header Folders' }
|