mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-12 10:27:00 +08:00
67 lines
2.6 KiB
Ruby
67 lines
2.6 KiB
Ruby
require 'json'
|
|
package = JSON.parse(File.read('../../package.json'))
|
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
# Uncomment this line to define a global platform for your project
|
|
# platform :ios, '8.0'
|
|
|
|
target 'testing' do
|
|
platform :ios, '10.0'
|
|
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
|
|
# use_frameworks!
|
|
|
|
react_native_path = "../node_modules/react-native"
|
|
pod 'React', :path => "#{react_native_path}", :subspecs => [
|
|
'Core',
|
|
'CxxBridge', # Include this for RN >= 0.47
|
|
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
|
|
'RCTText',
|
|
'RCTNetwork',
|
|
'RCTImage',
|
|
'RCTWebSocket', # Needed for debugging
|
|
]
|
|
|
|
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
|
|
|
|
# Third party deps podspec link
|
|
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/Jet.podspec'
|
|
|
|
rnfb_version = "0.0.1" # package["version"]
|
|
pod 'RNFBApp', :path => '../../packages/app/ios/RNFBApp.podspec', :version => "~> #{rnfb_version}"
|
|
pod 'RNFBAnalytics', :path => '../../packages/analytics/ios/RNFBAnalytics.podspec', :version => "~> #{rnfb_version}"
|
|
pod 'RNFBFunctions', :path => '../../packages/functions/ios/RNFBFunctions.podspec', :version => "~> #{rnfb_version}"
|
|
pod 'RNFBIid', :path => '../../packages/iid/ios/RNFBIid.podspec', :version => "~> #{rnfb_version}"
|
|
pod 'RNFBPerf', :path => '../../packages/perf/ios/RNFBPerf.podspec', :version => "~> #{rnfb_version}"
|
|
|
|
|
|
# Pods for ReactNativeFirebaseDemo
|
|
# pod 'Firebase/Core', '~> 5.15.0'
|
|
# pod 'Firebase/AdMob', '~> 5.15.0'
|
|
# pod 'Firebase/Auth', '~> 5.15.0'
|
|
# pod 'Firebase/Database', '~> 5.15.0'
|
|
# pod 'Firebase/Functions', '~> 5.15.0'
|
|
# pod 'Firebase/DynamicLinks', '~> 5.15.0'
|
|
# pod 'Firebase/Firestore', '~> 5.15.0'
|
|
# pod 'Firebase/Invites', '~> 5.15.0'
|
|
# pod 'Firebase/Messaging', '~> 5.15.0'
|
|
# pod 'Firebase/RemoteConfig', '~> 5.15.0'
|
|
# pod 'Firebase/Storage', '~> 5.15.0'
|
|
# pod 'Firebase/Performance', '~> 5.15.0'
|
|
# pod 'Fabric', '~> 1.7.11'
|
|
# pod 'Crashlytics', '~> 3.10.7'
|
|
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
|