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

pod 'CSV.swift', '~> 2.2.1' #59

Closed
dadidu67 opened this issue Jul 16, 2018 · 3 comments
Closed

pod 'CSV.swift', '~> 2.2.1' #59

dadidu67 opened this issue Jul 16, 2018 · 3 comments
Labels

Comments

@dadidu67
Copy link

causes

[!] CocoaPods could not find compatible versions for pod "CSV.swift":
In Podfile:
CSV.swift (~> 2.2.1)

None of your spec sources contain a spec satisfying the dependency: CSV.swift (~> 2.2.1).

@yaslab
Copy link
Owner

yaslab commented Jul 17, 2018

@dadidu67 Could you try pod repo update before pod install?

@dadidu67
Copy link
Author

Well I could do but the real question is, was causes or what might causes the error? After the error I did try SwiftCSVExport with no problems.

@yaslab
Copy link
Owner

yaslab commented Jul 19, 2018

I think that your "source repos" are outdated and that v2.2.1 is not included there.

CocoaPods uses "source repos" (usually found in ~/.cocoapods/repos/) to find the specified version.

However, the pod install command dose not update "source repos" by default.

So, if time has passed since installing CocoaPods, you need to update "source repos" with the pod repo update command.

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

No branches or pull requests

2 participants