可以通过在终端运行gem update --system来更新gem到最新版本。安装或重新安装CocoaPods: 首先,尝试卸载然后重新安装CocoaPods。可以通过以下命令来卸载和安装: bash sudo gem uninstall cocoapods sudo gem install cocoapods 如果仍然遇到问题,可以尝试使用Bundler来安装Cocoa
在终端命令行安装cocoapods时,可能出现如下问题: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.6. Try installing it with `gem install activesupport -v 6.1.7.6` and then running the current command again activesupport requi...
$sudo gem install cocoa pods //___安装成功提示如下___ Done installing documentation for nap, fourflusher, escape, colored, concurrent-ruby, thread_safe, tzinfo, i18n, activesupport, claide, xcodeproj, molinillo, cocoapods-try, netrc, cocoapods-trunk, cocoapods-stats, cocoapods-search, cocoapo...
$sudo gem install cocoa pods //___安装成功提示如下___ Done installing documentation for nap, fourflusher, escape, colored, concurrent-ruby, thread_safe, tzinfo, i18n, activesupport, claide, xcodeproj, molinillo, cocoapods-try, netrc, cocoapods-trunk, cocoapods-stats, cocoapods-search, cocoapo...
ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2. 这个地方很坑,之前安装cocoapods一直是没有这个问题的,这里提示Ruby版本要大于或等于2.2.2 于是查看ruby版本 $ruby -v ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15] ...
michaelheger@Michaels-MacBook-Air ~ % sudo gem install cocoapods Password: Fetching addressable-2.8.4.gem ERROR: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.3. Try installing it withgem install activesupport -v 6.1...
ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2/ext/ffi_c /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20200418-1886-1kzgy46.rb extconf.rb mkmf.rb can't find...
解决办法: 终端执行pod repo image.png 在本地库中, 并找到对应的libwebp版本的文件 执行命令find ~/.cocoapods/repos/master -iname libwebp image.png 拿到上面的路径,前往文件夹(command+shift+G)~/.cocoapods/repos/master/Specs/1/9/2/libwebp ...
科学上网。 要么你把 CocoaPods 换个国内的源。 有用 回复 撰写回答 你尚未登录,登录后可以 和开发者交流问题的细节 关注并接收问题和回答的更新提醒 参与内容的编辑和改进,让解决方法与时俱进 注册登录 相似问题 Release:library not found for -lPods-AFNetworking 2 回答8.5k 阅读✓ 已解决 pod install ...
很长一段时间未用cocoapods,更新不了最新的三方库,要求升级cocoapods。 1、升级Ruby环境 sudo gemupdate--system 2、更新cocoapods sudo gem install -n /usr/local/bin cocoapods 结果报错: Building native extensions. This could take awhile...ERROR:Errorinstalling cocoapods:ERROR: Failedtobuild gem nativ...