我已经在pubspec.yaml文件中包含了最新版本的video_player,截至该问题为止,版本为0.10.0 + 2。但是在运行应用程序时,我在调试控制台中收到以下错误:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/krishna/talhunt/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'video_player/VideoPlayerPlugin.h' file not found
#import <video_player/VideoPlayerPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
如果有任何后果,我在使用"swift"
时将-i
的值flutter create
用于#main-container {
overflow-y: auto,
height: calc(100vh - 100px)
}
。