React-native-fcm: Pod install - Unknown command: `Firebase/Messaging`

Created on 28 Jun 2016  路  5Comments  路  Source: evollu/react-native-fcm

Most helpful comment

The way I have done this is by editing ios/Podfile

cd ios
pod init

open ios/Podfile and then add

pod 'Firebase/Messaging'

inside your project

my Podfile look like this

target 'AwesomeProject' do
  # Uncomment this line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for AwesomeProject
  pod 'Firebase/Messaging'

  target 'AwesomeProjectTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

and then type pod install

All 5 comments

The way I have done this is by editing ios/Podfile

cd ios
pod init

open ios/Podfile and then add

pod 'Firebase/Messaging'

inside your project

my Podfile look like this

target 'AwesomeProject' do
  # Uncomment this line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for AwesomeProject
  pod 'Firebase/Messaging'

  target 'AwesomeProjectTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

and then type pod install

it happens to be stuck on..

pod --version
1.0.1

screenshot

same thing happend to me 馃槃
try something from here http://stackoverflow.com/questions/23755974/cocoapods-pod-install-takes-forever

I dont have existing pods.
looks like I need to wait :D
http://stackoverflow.com/a/21852985/2134720

it worked. Only one thing was missing : Patience :D

Was this page helpful?
0 / 5 - 0 ratings