Skip to content
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

Cocoapods 1.8.x platform add fails #700

Closed
3 tasks done
kjng opened this issue Oct 25, 2019 · 4 comments
Closed
3 tasks done

Cocoapods 1.8.x platform add fails #700

kjng opened this issue Oct 25, 2019 · 4 comments

Comments

@kjng
Copy link

kjng commented Oct 25, 2019

Bug Report

Problem

What is expected to happen?

iOS platform is successfully added using Cocoapods 1.8.x and running cordova platform add ios

What does actually happen?

An error is thrown from Cordova attempting to run pod install.

Information

I am using cordova-plugin-firebasex which needs to install relevant pods.

The error message is:

'The CocoaPods repo has not been synced yet, this will take a long time (approximately 500MB as of Sept 2016). Please run pod setup first to sync the repo.'

It appears to originate from

return Q.reject(COCOAPODS_NOT_SYNCED_MESSAGE);
and I think this is caused by changes in Cocoapods 1.8.x.

With Cocoapods 1.8.x, the master spec repo isn't required/included, so I think the check_reqs repo validation that Cordova does while trying to install pods fails.

Command or Code

cordova platform add ios

Environment, Platform, Device

I'm building using an Azure DevOps MacOS build agent:

MacOS 10.14
Cocoapods 1.8.3

Version information

Cordova CLI: 9.0.0
cordova-ios: 5.0.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@DominicBoettger
Copy link

Same here. We solved it by downgrading cocoapods in our azure devops pipelines. Now our builds needs additional 10 minutes to be built :-( .

@erisu
Copy link
Member

erisu commented Nov 22, 2019

#719 should resolve this.

@erisu erisu closed this as completed Nov 22, 2019
@mibzman
Copy link

mibzman commented Dec 18, 2019

This issue is only partially resolved. #717 has the same behavior, except that it only occurs when the app name has a single quote.

@brodycj
Copy link
Contributor

brodycj commented Dec 18, 2019

This issue is only partially resolved. #717 has the same behavior
[...]

Due to limited resources we do not like to support discussions in closed issues. Do you see anything beyond issue #717 that needs to be fixed regarding the platform failure on Cocoapods 1.8.x?

If so, it would really help the user community if you would raise a new issue with the required information including the standard minimal, reproducible example ([1]).

[1] https://stackoverflow.com/help/minimal-reproducible-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants