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

Changing the podspec path for an installed Pod makes Cocoapods look for it in a local path #3043

Closed
ShayDavidson opened this issue Jan 18, 2015 · 4 comments
Labels
s1:awaiting input Waiting for input from the original author t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Comments

@ShayDavidson
Copy link

I had a Pod installed through a custom podspec like this:

pod 'MyPod', :podspec => 'https://gist.githubusercontent.com/podspec_1_defined_in_gist.podspec'

I had to change the path of the podspec to a different one:

pod 'MyPod', :podspec => 'https://gist.githubusercontent.com/podspec_2_defined_in_gist.podspec'

And once I ran pod install I got this message:

[!] No podspec found for `MyPod` in /Users/my_username/<path_to_my_project>/Pods/MyPod/MyPod.podspec.json

I managed to solve this by commenting out the MyPod pod from my Podfie, running pod install, uncomment the pod, and then run pod install again. Nevertheless, this looks like a bug.

@kylef kylef added the t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome! label Feb 21, 2015
@segiddins
Copy link
Member

@kylef did you investigate this?

@orta
Copy link
Member

orta commented Oct 6, 2015

I bet this would get caught now in 0.39 because of the podfile SHA checker too

@segiddins
Copy link
Member

@orta that's not in 0.39, and it won't help if a pod install doesn't fix things.

@stale stale bot added the s1:awaiting input Waiting for input from the original author label May 24, 2017
@stale
Copy link

stale bot commented May 24, 2017

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

@stale stale bot closed this as completed Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s1:awaiting input Waiting for input from the original author t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Projects
None yet
Development

No branches or pull requests

4 participants