cocoapods -v1.11.2?
pod install 報錯
錯誤1:
### Error
LoadError - incompatible library version - /Users/liwang/.rvm/gems/ruby-2.7.0/gems/ffi-1.15.4/lib/ffi_c.bundle
解決方案:
gem install ffi
錯誤2:
Error output from CocoaPods:
?
? ? Searching for inspections failed: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3/TLS write client hello
解決方案:
s.info_plist = {
? ? ? ? 'NSAppTransportSecurity' => {
? ? 'NSAllowsArbitraryLoads' => true,
? ? ? ? }
? ? }