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: 102aa35c78ffa3121a1f68e5f6a1088d8b7e28e3188bd750bb1e76d1a5be6729
4
- data.tar.gz: 830d025d1c94a14b67623d76feb7667e7e924b5e2d295ed39685aa59be4e6c36
3
+ metadata.gz: 29a6910d229c5ac0d2f8879e0882d74fe7f3118e94fc5bd2b06867d6ff85d729
4
+ data.tar.gz: 51a4b292f9a90b72a07be78a7359eb9d361ea5fe41f08bdf3a7483458ea4e886
5
5
  SHA512:
6
- metadata.gz: bcdc894bfa1fa36fe3267c6128b179acd1e34d83454fc2510d6ff40e96d66566a3eab03caaa9b87990e285b57d7f4ba57ded07ad8d2ac3f46ceab6f9bec18e47
7
- data.tar.gz: 5ef76f99e6b600f965a4b012f7df95008b08ee5fb1350792e36b51e9e974bb53d02f5fc2912eed30e95fc835a6c3dcc6c25fe98d158bc699ab1b17d4333ef1c1
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
- # is_above_xcode26 = BB::PodUtils.above_xcode_26_version # 高于26
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' }
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.13.7"
2
+ VERSION = "0.3.13.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.13.7
4
+ version: 0.3.13.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin