91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

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

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

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

卢龙县| 崇礼县| 平定县| 凤山市| 徐闻县| 香河县| 额济纳旗| 建德市| 蓬溪县| 海口市| 肥城市| 东兴市| 抚松县| 邹城市| 宁远县| 渝北区| 平度市| 潜山县| 景洪市| 鱼台县| 水富县| 榆林市| 镇雄县| 昌都县| 阆中市| 莱州市| 瑞金市| 介休市| 图们市| 常熟市| 饶阳县| 通江县| 太湖县| 镇原县| 揭东县| 林甸县| 贵定县| 潍坊市| 鄂温| 海盐县| 工布江达县|