2018-03-27 22:48:43 +00:00
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
# Uncomment this line to define a global platform for your project
|
|
|
|
# platform :ios, '8.0'
|
|
|
|
|
2018-03-28 00:40:22 +00:00
|
|
|
target 'testing' do
|
2018-03-27 22:48:43 +00:00
|
|
|
platform :ios, '9.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 "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
|
|
|
|
|
|
|
|
# Pods for ReactNativeFirebaseDemo
|
|
|
|
pod 'React', :path => '../node_modules/react-native', :subspecs => [
|
|
|
|
'Core',
|
|
|
|
'RCTText',
|
|
|
|
'RCTNetwork',
|
|
|
|
'RCTWebSocket',
|
|
|
|
]
|
|
|
|
|
|
|
|
pod 'Firebase/AdMob'
|
|
|
|
pod 'Firebase/Auth'
|
2018-05-16 16:22:47 +00:00
|
|
|
pod 'Firebase/Core'
|
2018-03-27 22:48:43 +00:00
|
|
|
pod 'Firebase/Crash'
|
|
|
|
pod 'Firebase/Database'
|
2018-05-06 14:35:12 +00:00
|
|
|
pod 'Firebase/Functions'
|
2018-03-27 22:48:43 +00:00
|
|
|
pod 'Firebase/DynamicLinks'
|
|
|
|
pod 'Firebase/Firestore'
|
|
|
|
pod 'Firebase/Invites'
|
|
|
|
pod 'Firebase/Messaging'
|
|
|
|
pod 'Firebase/RemoteConfig'
|
|
|
|
pod 'Firebase/Storage'
|
|
|
|
pod 'Firebase/Performance'
|
|
|
|
pod 'Fabric', '~> 1.7.5'
|
|
|
|
pod 'Crashlytics', '~> 3.10.1'
|
|
|
|
|
|
|
|
pod 'RNFirebase', :path => '../../ios/RNFirebase.podspec'
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
if target.name == "React"
|
|
|
|
target.remove_from_project
|
|
|
|
end
|
|
|
|
if target.name == 'yoga'
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'NO'
|
|
|
|
config.build_settings['GCC_WARN_64_TO_32_BIT_CONVERSION'] = 'NO'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|