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

12云:pod-install出现警告ruby的警告 #12

Open
platojobs opened this issue Aug 6, 2021 · 0 comments
Open

12云:pod-install出现警告ruby的警告 #12

platojobs opened this issue Aug 6, 2021 · 0 comments
Labels
Technology technology

Comments

@platojobs
Copy link
Owner

warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

1. pod install出现下面的问题👇,脚本用zsh

/Users/gitartos/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/nanaimo-0.2.6/lib/nanaimo/writer/pbxproj.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/gitartos/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/nanaimo-0.2.6/lib/nanaimo/writer.rb:35: warning: The called method `initialize' is defined here
Integrating client project

其实是ruby的问题

2. 在你的~/.zshrc文件中加入下面配置:

export RUBYOPT=-W0

保存起来;

3. Try to reloadZSHconfig by typing,就可以了。

使配置生效,再pod install,那就完美了,没出现<**1**>的问题了;

Generating Pods project
Integrating client project
Pod installation complete! There are 4 dependencies from the Podfile and 4 total pods installed.

@platojobs platojobs added the Technology technology label Aug 6, 2021
@platojobs platojobs added this to 归档 in PJ技术类 Aug 6, 2021
@platojobs platojobs added this to technology in PJ文摘 Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technology technology
Projects
No open projects
PJ文摘
technology
Development

No branches or pull requests

1 participant