mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-10 18:05:38 +08:00
First pass at addressing #3253 to allow release in 6.4.0. For v7.0.0 we should make the default value true along with the RN min version set to 0.61.x +
57 lines
2.7 KiB
Ruby
57 lines
2.7 KiB
Ruby
platform :ios, '9.0'
|
|
|
|
# Allow using RNFirebase as static frameworks
|
|
$RNFirebaseAsStaticFramework = true
|
|
|
|
# Version override testing
|
|
# $FirebaseSDKVersion = '6.15.0'
|
|
# $FabricSDKVersion = '1.6.0'
|
|
# $CrashlyticsSDKVersion = '3.1.0'
|
|
|
|
# require_relative '../node_modules/@react-native-firebase/app/pod_config'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
target 'testing' do
|
|
# use_frameworks! # TODO broken in RN 60.x: folly/Conv.h:38:10: 'double-conversion/double-conversion.h' file not found
|
|
pod 'React', :path => '../node_modules/react-native/'
|
|
pod 'React-Core', :path => '../node_modules/react-native/React'
|
|
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
|
|
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
|
|
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
|
|
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
|
|
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
|
|
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
|
|
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
|
|
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
|
|
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
|
|
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
|
|
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
|
|
|
|
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
|
|
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
|
|
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
|
|
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
|
|
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
|
|
|
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
|
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
|
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
|
|
|
pod 'Jet', :path => '../node_modules/jet/ios'
|
|
|
|
# react_native_firebase!
|
|
use_native_modules!
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = "YES"
|
|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = "NO"
|
|
config.build_settings['GCC_WARN_64_TO_32_BIT_CONVERSION'] = "NO"
|
|
end
|
|
end
|
|
end
|