【发布时间】:2020-05-08 11:51:24
【问题描述】:
我跑
sudo gem install cocoapods
但我收到以下错误。我正在尝试按照Cannot Install Cocoapods - No podfile found in the project directory 上的说明进行操作,但由于无法通过此步骤,因此遇到了困难。
有什么建议吗?
ERROR: Loading command: install (LoadError)
dlopen(/Users/sharatakasapu/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Users/sharatakasapu/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle
Reason: image not found - /Users/sharatakasapu/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
【问题讨论】:
-
你解决了吗?