Firebase install error

I started work on a project on xcode, but while trying to install cocoapods for firebase authentication, it’s sensing the following issue and causing an error. I’ve tried to make sense of what it says on github, but being a first time maker of an app, it’s completely alien to me -

  • Error during pod install: Encountered an unknown error (783: unexpected token at [open]

  • Pod install results in JSON::ParserError - 767. Trying to install pod ‘Firebase/Firestore’

  • pod install =======>Error [closed] [1 comment]

Please help, I’ve been stuck here for days. Thank you.


Maybe try re-installing cocoa pods onto your Mac

  • Open terminal and type the following at the $ prompt: sudo gem install cocoapods. This may take some time.
  • Assuming the pods installation is successful, change directory (cd) to your project folder.
  • use the command: ls -l to list the contents of that folder to make sure you are in the right folder. You should see Podfile as one of the files in that folder.
  • Check that your Podfile specifies the right Firebase pods to add to your project.
  • If you are satisfied that it is correct then
  • Use the command: pod update to update the pods in your project.
  • When that has completed open your project in Xcode by opening the YouyrProjectName.xcworkspace file
  • Build your project.
  • If the build is successful then try to run it.

Report back here to let us know what happened.

I had the same issue. Check out my solution here.

Thanks for trying to help, but this didn’t work. I got the same errors.

I can’t view this page.

can you post whats inside your podfile?

Uncomment the next line to define a global platform for your project

platform :ios, ‘9.0’

target ‘Food-e’ do

Comment the next line if you don’t want to use dynamic frameworks


Pods for Food-e

pod ‘Firebase/Auth’
pod ‘FirebaseUI/Auth’


i think you also need
pod ‘Firebase/Firestore’
as well, try it for now, i would also recommend cleaning your project first