Closed jlooper closed 8 years ago
Putting the solution here, in case of problems for others!
You need to get rid of any older installation of a Firebase SDK on your system before you can install a new one. Normally to do this, you can go to /platforms/ios and hit pod repo update --verbose
. For me, this was failing because there were some rogue, untracked pods in my /Specs folder.
Using the --verbose flag, you can see which ones they are, and remove them manually: For me they were:
Updating spec repo `master`
$ /usr/local/bin/git pull --ff-only
error: The following untracked working tree files would be overwritten by merge:
Specs/JLCustomImagesViewerView/1.0.0/JLCustomImagesViewerView.podspec.json
Specs/PJFDataSource/1.0.0/PJFDataSource.podspec.json
Specs/Spotify-iOS-SDK/0.16.1/Spotify-iOS-SDK.podspec.json
Please move or remove them before you can merge.
Aborting
Updating 3c20e73..89624d8
Once I removed these folders, I hit pod install
and the entire repo is updated via Git, installing Firebase 3.3.0.
Hope this will help others.
@jlooper Do you feel like this is something for the readme? I'm a little hesitant since this can happen to any pod-powered plugin..
I'm going to post it to my personal blog, no worries
When simply cloning this repo and following the instructions, I get the following error. Note, I'm on 0.39.0 cocoapods version, per our understanding that this is needed. Is there some old version of Firebase that I should uninstall? Yikes!