mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
eede05c91b
Summary: Changelog: [Internal] Add back Xcode_12_5_M1_post_install_workaround workaround Reviewed By: sota000 Differential Revision: D31902449 fbshipit-source-id: 5c9d962d0d1a55a9f14186bd7d6d8fe087101f0d
31 lines
799 B
Ruby
31 lines
799 B
Ruby
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
platform :ios, '11.0'
|
|
|
|
target 'HelloWorld' do
|
|
config = use_native_modules!
|
|
|
|
use_react_native!(
|
|
:path => config[:reactNativePath],
|
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
:hermes_enabled => false
|
|
)
|
|
|
|
target 'HelloWorldTests' 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)
|
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
|
end
|
|
end
|