美文网首页
warning: Using the last argument

warning: Using the last argument

作者: GitArtOS | 来源:发表于2020-04-29 22:51 被阅读0次

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.

相关文章

网友评论

      本文标题:warning: Using the last argument

      本文链接:https://www.haomeiwen.com/subject/jhiowhtx.html