请稍等 ...
×

采纳答案成功!

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

Error running pod install Error launching application on iPhone 7 Plus.

我用as打开老师的工程会报以上的错误。我把cocoa pod升级了,也还是报这个错误。

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

3回答

qq_独行散客_0 2020-04-29 17:51:15

我也遇到了,执行了sudo gem install cocoapods升级了下cocoapod解决了

0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2019-03-17 13:09:03

从log上看应该是CocoaPods的配置问题导致的,建议移除CocoaPods之后重装试一下,如果还是无法解决可以在我们课程群里私信老师:687196170

0 回复 有任何疑惑可以回复我~
提问者 慕姐2098566 2019-03-17 07:03:31

Error output from CocoaPods:

    /Library/Ruby/Gems/2.3.0/gems/gh_inspector-1.0.3/lib/gh_inspector/sidekick.rb:83:in `parse_results': undefined method `map' for nil:NilClass (NoMethodError)

    Did you mean?  tap

    from /Library/Ruby/Gems/2.3.0/gems/gh_inspector-1.0.3/lib/gh_inspector/sidekick.rb:32:in `search'

    from /Library/Ruby/Gems/2.3.0/gems/gh_inspector-1.0.3/lib/gh_inspector/inspector.rb:65:in `search_query'

    from /Library/Ruby/Gems/2.3.0/gems/gh_inspector-1.0.3/lib/gh_inspector/inspector.rb:59:in `search_exception'

    from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.3.1/lib/cocoapods/user_interface/error_report.rb:119:in `search_for_exceptions'

    from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:67:in `report_error'

    from /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:396:in `handle_exception'

    from /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:337:in `rescue in run'

    from /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:324:in `run'

    from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:52:in `run'

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

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

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


Error running pod install

Error launching application on iPhone 7 Plus.


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信