-
-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,369 additions
and
1,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
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' | ||
platform :ios, '12.1' | ||
|
||
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 the next line. | ||
use_flipper!() | ||
use_flipper!({ 'Flipper' => '0.95.0', 'Flipper-Folly' => '2.6.7', 'Flipper-DoubleConversion' => '3.1.7' }) | ||
post_install do |installer| | ||
react_native_post_install(installer) | ||
installer.pods_project.build_configurations.each do |config| | ||
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" | ||
installer.pods_project.targets.each do |target| | ||
target.build_configurations.each do |config| | ||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.1' | ||
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = 'arm64' | ||
end | ||
end | ||
react_native_post_install(installer) | ||
end | ||
end |
Oops, something went wrong.