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

NameError - undefined method podfile_for_spec' for class Pod::Generate::PodfileGenerator' #68

Closed
dabing1022 opened this issue Jan 5, 2021 · 2 comments

Comments

@dabing1022
Copy link
Contributor

dabing1022 commented Jan 5, 2021

看了下,cocoapods-generate库从2.1.0版本将 Pod::Generate::PodfileGenerator中的方法podfile_for_spec修改成了podfile_for_specs

建议这里做下版本兼容。

git diff:square/cocoapods-generate@v2.0.1...v2.1.0

@dabing1022
Copy link
Contributor Author

dabing1022 commented Jan 5, 2021

或者强制使用 cocoapods-generate 2.0.1 版本

sudo gem uninstall cocoapods-generate
sudo gem install cocoapods-generate -v 2.0.1

@su350380433
Copy link
Contributor

或者强制使用 cocoapods-generate 2.0.1 版本

666

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

2 participants