Launching lib/main.dart on iPhone 11 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 4.2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET wakelock OF PROJECT Pods WITH CONFIGURATION Debug ===
/user/.pub-cache/hosted/pub.dartlang.org/image_downloader-0.19.2/ios/Classes/ImageDownloaderPlugin.m:4:17: error: definition of 'ImageDownloaderPlugin' must be imported from module 'image_downloader.ImageDownloaderPlugin' before it is required
@implementation ImageDownloaderPlugin
^
In module 'image_downloader' imported from /user/.pub-cache/hosted/pub.dartlang.org/image_downloader-0.19.2/ios/Classes/ImageDownloaderPlugin.m:2:
/user/project/build/ios/Debug-iphonesimulator/image_downloader/image_downloader.framework/Headers/ImageDownloaderPlugin.h:3:12: note: previous definition is here
@interface ImageDownloaderPlugin : NSObject<FlutterPlugin>
^
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone 11.