Files
flipper/react-native/ReactNativeFlipperExample/ios/Podfile
Andrey Goncharov 13e06803c9 Migrate React Native Example app to react-native 0.69 (#4265)
Summary:
// allow-large-files

Pull Request resolved: https://github.com/facebook/flipper/pull/4265

Related to https://github.com/facebook/flipper/issues/4240

Resolving https://github.com/facebook/flipper/issues/3859 led to breaking changes in react-native-flipper which made it incompatible with react-natvie < 0.69.
In this diff we migrate our example app to react-native 0.69 and add a notice to our readme about the react-native 0.69+ requirement

Reviewed By: lblasa

Differential Revision: D40673740

fbshipit-source-id: 18f4742449d115be7a5100f2bc4d834dcebea80f
2022-10-25 10:40:44 -07:00

30 lines
1.1 KiB
Ruby

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '12.4'
# used for automatic bumping
flipperkit_version = '0.171.1'
target 'ReactNativeFlipperExample' do
config = use_native_modules!
use_react_native!(
:path => config["reactNativePath"],
# Versions are explicitly pinned to be able to forcefully test against the latest versions
:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => flipperkit_version, 'Flipper-Folly' => '2.6.10', 'Flipper-DoubleConversion' => '3.2.0', 'Flipper-Glog' => '0.5.0.3', 'Flipper-PeerTalk' => '0.0.4', 'OpenSSL-Universal' => '1.1.1100' }),
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => true
)
target 'ReactNativeFlipperExampleTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end