52 lines
1.6 KiB
Ruby
52 lines
1.6 KiB
Ruby
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, '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', '~> 5.6.0'
|
|
pod 'Firebase/Auth', '~> 5.6.0'
|
|
pod 'Firebase/Core', '~> 5.6.0'
|
|
pod 'Firebase/Database', '~> 5.6.0'
|
|
pod 'Firebase/Functions', '~> 5.6.0'
|
|
pod 'Firebase/DynamicLinks', '~> 5.6.0'
|
|
pod 'Firebase/Firestore', '~> 5.6.0'
|
|
pod 'Firebase/Invites', '~> 5.6.0'
|
|
pod 'Firebase/Messaging', '~> 5.6.0'
|
|
pod 'Firebase/RemoteConfig', '~> 5.6.0'
|
|
pod 'Firebase/Storage', '~> 5.6.0'
|
|
pod 'Firebase/Performance', '~> 5.6.0'
|
|
pod 'Fabric', '~> 1.7.11'
|
|
pod 'Crashlytics', '~> 3.10.7'
|
|
|
|
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
|