mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
51bf557948
Summary: * Remove left over from https://github.com/facebook/react-native/commit/a1c445a39c580037ada4a5d194a0d2daef15a25a#commitcomment-57240925 * Add a warning if running with Rosetta2 as per https://github.com/facebook/react-native/pull/32284#issuecomment-929680784 ## Changelog [iOS] [Fixed] - Removed __apply_Xcode_12_5_M1_post_install_workaround [iOS] [Changed] - Warn if Rosetta2 is being used (x86_64 on arm64) Pull Request resolved: https://github.com/facebook/react-native/pull/32296 Test Plan: Build on macOS Apple devices without any warnings during `pod install` Reviewed By: RSNara Differential Revision: D31291567 Pulled By: fkgozali fbshipit-source-id: 65e54507dedcdba39c1b441aad85e940eedc8b52
30 lines
738 B
Ruby
30 lines
738 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)
|
|
end
|
|
end
|