New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repo error with cordova: "The CocoaPods repo has not been synced yet" #9228
Comments
You are hitting multiple issues. The first is a bug in Cordova and assumes CocoaPods works with the master specs repo. Since 1.8.x the master specs repo is not required. The second issue is #9216. |
You are better off filing this issue with Cordova cocoapods plugin. |
Closing as the |
It seems their plugin assumes the master specs repo is there but as I said CocoaPods no longer clones the master specs repo by default in 1.8.x so the plugin should not expect that to happen. |
Ok, thanks for the info. I was able to work around the issues by downgrading to 1.7.5, syncing the repo, then upgrading to 1.8.3. I'll file an issue on the cordova plugin page too, or link this one. |
thank you! |
Report
What did you do?
Ran
cordova plugin add cordova-plugin-firebasex
What happened instead?
The install failed with the error:
Failed to install 'cordova-plugin-firebasex': undefined
CordovaError: Promise rejected with non-error: 'The CocoaPods repo has not been synced yet, this will take a long time (approximately 500MB as of Sept 2016). Please run
pod setupfirst to sync the repo.'
I then tried running
pod setup
, which did nothing, thenpod install
in my ios project directory, which installed 0 dependencies.Running
pod repo update
errors also:Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/MyUsername/.cocoapods/repos/Spec_Lock
CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
The text was updated successfully, but these errors were encountered: