mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-05 09:29:19 +08:00
38 lines
1.2 KiB
Ruby
38 lines
1.2 KiB
Ruby
platform :ios, '10.0'
|
|
require_relative '../node_modules/@react-native-firebase/app/pod_config'
|
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
target 'testing' do
|
|
use_frameworks!
|
|
|
|
react_native_path = "../node_modules/react-native"
|
|
pod 'React', :path => "#{react_native_path}", :subspecs => [
|
|
'Core',
|
|
'CxxBridge',
|
|
'DevSupport',
|
|
'RCTText',
|
|
'RCTNetwork',
|
|
'RCTImage',
|
|
'RCTWebSocket',
|
|
]
|
|
|
|
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
|
|
pod 'DoubleConversion', :podspec => "#{react_native_path}/third-party-podspecs/DoubleConversion.podspec"
|
|
pod 'glog', :podspec => "#{react_native_path}/third-party-podspecs/glog.podspec"
|
|
pod 'Folly', :podspec => "#{react_native_path}/third-party-podspecs/Folly.podspec"
|
|
pod 'Jet', :path => '../node_modules/jet/ios'
|
|
|
|
react_native_firebase!
|
|
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
|