请稍等 ...
×

采纳答案成功!

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

突然出现ios端无法开发环境运行,尝试过 pod setup 一直安装不成功,麻烦老师帮忙看下

Launching lib/main.dart on iPhone Xʀ in debug mode...

Warning: CocoaPods installed but not initialized. Skipping pod install.

  CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.

  Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.

  For more info, see https://flutter.io/platform-plugins

To initialize CocoaPods, run:

  pod setup

once to finalize CocoaPods' installation.

Running Xcode build...

Xcode build done.                                            3.2s

Failed to build iOS app

Error output from Xcode build:

    ** BUILD FAILED **



Xcode's output:

    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===

    Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"

    Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"

    /Users/junyouxin/Documents/project/flutter_trip/flutter_trip/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_webview_plugin/FlutterWebviewPlugin.h' file not found

    #import <flutter_webview_plugin/FlutterWebviewPlugin.h>

            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    1 error generated.


Could not build the application for the simulator.

Error launching application on iPhone Xʀ.


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

1回答

提问者 traveler过客 2019-06-15 10:03:32

将pod setup多次运行后安装成功就好了

0 回复 有任何疑惑可以回复我~
  • 你好,请问一下多次运行是怎么回事,能详细说一下吗,我也遇到类似的问题
    回复 有任何疑惑可以回复我~ 2019-07-09 04:22:05
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信