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:
Comments
Post a Comment