1
我试图安装荚使用吊舱安装结果'家“:找不到HOME环境 - 扩大`〜”(引发ArgumentError)
pod install
这导致下面的错误我的iOS项目
/usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/config.rb:23:in `home': couldn't find HOME environment -- expanding `~' (ArgumentError)
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/config.rb:23:in `<class:Config>'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/config.rb:6:in `<module:Pod>'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods/config.rb:3:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods.rb:23:in `<module:Pod>'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/lib/cocoapods.rb:17:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/bin/pod:36:in `<top (required)>'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:23:in `load'
from /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:23:in `<main>'
这个错误是什么意思,我该如何解决它?任何建议感谢!