53 lines
1.4 KiB
Ruby
53 lines
1.4 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',
|
|
'BatchedBridge',
|
|
'RCTText',
|
|
'RCTNetwork',
|
|
'RCTWebSocket',
|
|
]
|
|
|
|
pod 'Firebase/AdMob'
|
|
pod 'Firebase/Auth'
|
|
pod 'Firebase/Core'
|
|
pod 'Firebase/Crash'
|
|
pod 'Firebase/Database'
|
|
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
|