Cocoapods: LoadError - no such file to load

前端 未结 6 850
天命终不由人
天命终不由人 2020-12-30 00:59

I am trying to add a pod to my Xcode project. I am getting this error:

LoadError - no such file to load -- xcodeproj/prebuilt/universal-darwin13.0-1.8.7/

6条回答
  •  别那么骄傲
    2020-12-30 02:03

    As follow, this my problem: /usr/local/Cellar/ruby/2.5.0_2/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- Xcodeproj (LoadError)

    from /usr/local/Cellar/ruby/2.5.0_2/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

    from Script/ModuleDiscover.rb:9:in `'

    Just attempt many method, and it is no use , finnaly I resolve the problem just bellow:

    1、command + q,exit xcode

    2、open terminal and "open -a xcode". all fine

提交回复
热议问题