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

来源:12-12 网格卡片功能实现&布局技巧-2【布局进阶】

traveler过客

2019-06-15

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ʀ.


写回答

1回答

traveler过客

提问者

2019-06-15

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

0
1
白树丶
你好,请问一下多次运行是怎么回事,能详细说一下吗,我也遇到类似的问题
2019-07-09
共1条回复

Flutter从入门到进阶 实战携程网App 一网打尽核心技术

解锁Flutter开发新姿势,,系统掌握Flutter开发核心技术。

4788 学习 · 3270 问题

查看课程