mirror of
https://github.com/zhigang1992/react-native-bottom-sheet.git
synced 2026-06-10 15:49:32 +08:00
24 lines
837 B
Ruby
24 lines
837 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, '10.0'
|
|
|
|
target 'BottomSheetExample' 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
|
|
)
|
|
|
|
# Enables Flipper.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
# you should disable these next few lines.
|
|
use_flipper!({ 'Flipper' => '0.79.1' })
|
|
post_install do |installer|
|
|
flipper_post_install(installer)
|
|
installer.pods_project.build_configurations.each do |config|
|
|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
|
|
end
|
|
end
|
|
end |