fix playback offset

This commit is contained in:
Thomas Demirdjian
2026-04-16 15:19:39 +02:00
parent 5c2bdc593c
commit 5a6833c1a2
11 changed files with 623 additions and 274 deletions
+14
View File
@@ -52,6 +52,20 @@ target 'MusicLand' do
:ccache_enabled => podfile_properties['apple.ccacheEnabled'] == 'true',
)
# Workaround for Xcode/clang consteval regression with fmt 11.0.2.
# Keep this until React Native ships a newer fmt pod.
fmt_base_header = File.join(installer.sandbox.root.to_s, 'fmt', 'include', 'fmt', 'base.h')
if File.exist?(fmt_base_header)
content = File.read(fmt_base_header)
old_line = ' detail::parse_format_string<true>(str_, checker(s));'
new_line = ' detail::parse_format_string<true>(str_, checker(str_));'
if content.include?(old_line)
File.chmod(0o644, fmt_base_header) unless File.writable?(fmt_base_header)
File.write(fmt_base_header, content.sub(old_line, new_line))
Pod::UI.puts('Applied fmt consteval workaround in fmt/base.h')
end
end
# This is necessary for Xcode 14, because it signs resource bundles by default
# when building for devices.
installer.target_installation_results.pod_target_installation_results