工程运行不起来

来源:1-5 项目底部导航菜单开发

水芹

2018-12-03

老师,课程的源代码运行不起来,是不是不能使用最新的版本(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
写回答

2回答

水芹

提问者

2018-12-04

/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
0

CrazyCodeBoy

2018-12-04

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

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


0
2
CrazyCodeBoy
回复
水芹
重置cocoapods之后试一下呢
2018-12-05
共2条回复

React Native技术精讲与高质量上线App开发

一个真实的上线项目,一次完整的开发过程,全面掌握React Native技术

1577 学习 · 727 问题

查看课程