Skip to content
Open
Show file tree
Hide file tree
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
18 changes: 3 additions & 15 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ end
# Explicitly enable new architecture
ENV['RCT_NEW_ARCH_ENABLED'] = '1'

# Build React Native from source so patch-package changes to native RN code are compiled.
ENV['RCT_USE_PREBUILT_RNCORE'] = '0'
ENV['RCT_USE_RN_DEP'] = '0'
# When '0' = Build React Native from source so patch-package changes to native RN code are compiled (if any exist).
ENV['RCT_USE_PREBUILT_RNCORE'] = '1'
ENV['RCT_USE_RN_DEP'] = '1'

# The JS bundle is compiled compiled using a different version than the prebuilt Hermes engine embedded in the native binary, causing a runtime crash.
ENV['RCT_HERMES_V1_ENABLED'] = '0'
Expand Down Expand Up @@ -103,18 +103,6 @@ post_install do |installer|
# :ccache_enabled => true
)

installer.pods_project.targets.each do |target|
if target.name == 'fmt'
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'FMT_USE_CONSTEXPR=0'
config.build_settings['OTHER_CPLUSPLUSFLAGS'] ||= ['$(inherited)']
config.build_settings['OTHER_CPLUSPLUSFLAGS'] << '-Wno-invalid-constexpr'
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++23'
end
end
end

installer.pods_project.build_configurations.each do |config|
config.build_settings['OTHER_LDFLAGS'] ||= ['$(inherited)']
if config.name == "Debug"
Expand Down
Loading
Loading