突然出现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多次运行后安装成功就好了
012019-07-09
相似问题