Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ target 'DeveloperApp' do
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['$(inherited)', "RCT_DEV=1"]
end

# Workaround for Folly F14 bug exposed by Xcode 26:
# Folly's F14SetFallback.h uses reinterpret_cast to access the private
# internals of std::unordered_set — an unsafe hack that relies on a
# specific memory layout. Xcode 26's libc++ might have changed that layout,
# causing the debug-only assertion (FOLLY_SAFE_DCHECK at line 234)
# to fail with SIGABRT.
# Since F14SetFallback.h is a header-only template compiled by any
# target that includes it, we define NDEBUG for ALL targets to set
# folly::kIsDebug=false, disabling the assertion. This matches the
# behavior of Release/Production builds which already define NDEBUG.
if config.name == 'Debug'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= []
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['$(inherited)', 'NDEBUG=1']
end

end
end
end
Expand Down