forked from mikehardy/rnfbdemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfileRN59
93 lines (77 loc) · 3.24 KB
/
PodfileRN59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'rnfbdemo' do
# Comment the next line if you don't want to use dynamic frameworks
#use_frameworks!
# Pods for rnfbdemo
#pod 'React', :path => '../node_modules/react-native', :subspecs => [
# 'Core',
# 'CxxBridge', # Include this for RN >= 0.47
# 'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
# 'RCTText',
# 'RCTNetwork',
# 'RCTWebSocket', # Needed for debugging
# 'RCTAnimation', # Needed for FlatList and animations running on native UI thread
# Add any other subspecs you want to use in your project
#]
# Explicitly include Yoga if you are using RN >= 0.42.0
#pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
# Third party deps podspec link
#pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
#pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
#pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
# Required by RNFirebase
pod 'Firebase/Core', '~> 6.5.0'
# [OPTIONAL PODS] - comment out pods for firebase products you won't be using.
pod 'GoogleIDFASupport', '~> 3.14.0'
pod 'Firebase/AdMob', '~> 6.5.0'
pod 'Firebase/Auth', '~> 6.5.0'
pod 'Firebase/Database', '~> 6.5.0'
pod 'Firebase/Functions', '~> 6.5.0'
pod 'Firebase/DynamicLinks', '~> 6.5.0'
pod 'Firebase/Firestore', '~> 6.5.0'
pod 'Firebase/Messaging', '~> 6.5.0'
pod 'Firebase/RemoteConfig', '~> 6.5.0'
pod 'Firebase/Storage', '~> 6.5.0'
pod 'Firebase/Performance', '~> 6.5.0'
pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.13.3'
#pod 'Firebase/MLVision', '~> 6.5.0'
#pod 'Firebase/MLVisionLabelModel', '~> 6.5.0'
#pod 'Firebase/MLVisionBarcodeModel', '~> 6.5.0'
#pod 'Firebase/MLVisionTextModel', '~> 6.5.0'
#pod 'Firebase/MLVisionFaceModel', '~> 6.5.0'
target 'rnfbdemoTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'rnfbdemo-tvOS' do
# Comment the next line if you don't want to use dynamic frameworks
#use_frameworks!
# Pods for rnfbdemo-tvOS
target 'rnfbdemo-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
# React-Native is not great about React double-including from the Podfile
post_install do |installer|
# installer.pods_project.targets.each do |target|
# if target.name == "React"
# target.remove_from_project
# end
# The following is needed to ensure the "archive" step works in XCode.
# It removes React & Yoga from the Pods project, as it is already included in the main project.
# Without this, you'd see errors when you archive like:
# "Multiple commands produce ... libReact.a"
# "Multiple commands produce ... libyoga.a"
# FIXME real fix is like so: https://stackoverflow.com/a/55328241/9910298 (remove duplicate refs)
# targets_to_ignore = %w(React yoga)
# if targets_to_ignore.include? target.name
# target.remove_from_project
# end
# end
# This fixes the problems with headers not found
system("mkdir -p Pods/Headers/Public/FirebaseCore && cp Pods/FirebaseCore/Firebase/Core/Public/* Pods/Headers/Public/FirebaseCore/")
end