请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

工程运行不起来

老师,课程的源代码运行不起来,是不是不能使用最新的版本(0.57)?那需要用哪个版本来构建工程呀?

Installing build/Build/Products/Debug-iphonesimulator/imooc_gp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/imooc_gp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

正在回答 回答被采纳积分+3

2回答

提问者 水芹 2018-12-04 16:40:47

/Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_support/core_ext/string/strip (LoadError)

from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.0/lib/cocoapods.rb:7:in `<top (required)>'

from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.0/bin/pod:36:in `<top (required)>'

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

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

老师,执行pod install的时候提示这个错误,要怎么解决呢?

0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2018-12-04 09:46:50

可参考:1运行项目可能出现的问题...docx 解决哈:

http://coding.imooc.com/down/89.html


0 回复 有任何疑惑可以回复我~
  • 提问者 水芹 #1
    /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_support/core_ext/string/strip (LoadError)
    
    from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    
    from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.0/lib/cocoapods.rb:7:in `<top (required)>'
    
    from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    
    from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    
    from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.0/bin/pod:36:in `<top (required)>'
    
    from /usr/local/bin/pod:23:in `load'
    
    from /usr/local/bin/pod:23:in `<main>'
    
    老师,执行pod install的时候提示这个错误,要怎么解决呢?
    回复 有任何疑惑可以回复我~ 2018-12-04 16:41:46
  • CrazyCodeBoy 回复 提问者 水芹 #2
    重置cocoapods之后试一下呢
    回复 有任何疑惑可以回复我~ 2018-12-05 09:50:33
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信