Update RN to 0.68.3 for iOS build

This commit is contained in:
bl00dymarie
2024-01-16 15:57:23 +01:00
parent 4e8e92b0d5
commit 20af120498
12 changed files with 990 additions and 952 deletions
+18 -5
View File
@@ -1,24 +1,37 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.0'
platform :ios, '11.0'
install! 'cocoapods', :deterministic_uuids => false
target 'drip' do
config = use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'dripTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()
post_install do |installer|
react_native_post_install(installer)
sed -i.bo 's/ node->getLayout()\.hadOverflow() |$/\0|/' ./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp
end
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end