Unable to find a specification for 'Firebase' (IOS Swift) -


i adding cocoa pods ios project (swift). have initalized pods in project directory using 'pod init myproject.xcodeproj'. added pod 'firebase' podfile such:

project 'hots ios.xcodeproj/'  platform : ios, '9.0'  target 'hots ios'    use_frameworks!    pod 'firebase'    target 'hots iostests'      inherit! :search_paths     pod 'firebase'   end    target 'hots iosuitests'      inherit! :search_paths     pod 'firebase'   end  end 

now when run pod install error: unable find specification 'firebase'.

depending on firebase service want use have add different firebase services in podfile. "'firebase'" not valid pod.

pod 'firebase/core' basic , give prerequisite libraries needed firebase running. if want use other services can choose between these pods:

pod 'firebase/core' --> prerequisite libraries , analytics

pod 'firebase/admob' --> admob

pod 'firebase/messaging' --> cloud messaging / notifications

pod 'firebase/database' --> realtime database

pod 'firebase/invites' --> invites

pod 'firebase/dynamiclinks' --> dynamic links

pod 'firebase/crash' --> crash reporting

pod 'firebase/remoteconfig' --> remote config

pod 'firebase/auth' --> authentication

pod 'firebase/storage' --> storage

(note: without --> text. add example pod 'firebase/database')

here documentation setting ios:

https://firebase.google.com/docs/ios/setup


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -