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',
|
|
|
|
]
|
|
|
|
|
2018-07-10 21:17:50 +00:00
|
|
|
pod 'Firebase/AdMob', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Auth', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Core', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Database', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Functions', '~> 5.3.0'
|
|
|
|
pod 'Firebase/DynamicLinks', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Firestore', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Invites', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Messaging', '~> 5.3.0'
|
|
|
|
pod 'Firebase/RemoteConfig', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Storage', '~> 5.3.0'
|
|
|
|
pod 'Firebase/Performance', '~> 5.3.0'
|
2018-03-27 22:48:43 +00:00
|
|
|
pod 'Fabric', '~> 1.7.5'
|
2018-07-10 21:17:50 +00:00
|
|
|
pod 'Crashlytics', '~> 3.10.4'
|
2018-03-27 22:48:43 +00:00
|
|
|
|
|
|
|
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
|