亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

MAC 升級后cocoapods錯誤解決

發布時間:2020-06-21 19:19:51 來源:網絡 閱讀:1743 作者:無名小卒 欄目:編程語言

    MAC升級到10以后,使用cocoapods會報下面的錯誤:

$ pod search AFNetworking

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError)

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 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:6:in `rescue in <top (required)>'

from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.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 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj.rb:30: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 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods.rb:2: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 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/bin/pod:32:in `<top (required)>'

from /usr/bin/pod:23:in `load'

from /usr/bin/pod:23:in `<main>'


解決方法如下:

  1. 打開 Xcode 6
  2. 進入 Preferences
  3. 點擊Locations選項
  4. 將 Command Line Tools 版本變成 Xcode 6.0
  5. 卸載 cocoapods,在終端中輸入 

      $ sudo gem uninstall cocoapods

  6. 安裝xcodeproj,在終端中輸入

      $ sudo gem install xcodeproj  

  7. 安裝cocoapods,在終端中輸入

     $ sudo gem install cocoapods  

  8. 測試pod是否安裝成功,在終端中輸入

      $ pod --version   

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

光山县| 溧水县| 丹江口市| 乐陵市| 江油市| 宜都市| 定安县| 麟游县| 德安县| 中超| 越西县| 灌南县| 建水县| 宁蒗| 来安县| 郸城县| 冕宁县| 桑日县| 翁牛特旗| 桑植县| 蓝山县| 赤壁市| 广南县| 渭南市| 保山市| 永福县| 澄迈县| 四会市| 临颍县| 温州市| 元谋县| 淮安市| 息烽县| 金门县| 始兴县| 宣化县| 嘉禾县| 永德县| 方山县| 赣州市| 博白县|