Flutter iOS构建因相机插件而失败

时间:2020-02-14 11:43:31

标签: ios flutter

我正在使用Flutter应用程序的版本。

Xcode版本:11.3.1 Flutter:v1.12.13 + hotfix.8 目标:12.0 相机:^ 0.5.7 + 3

Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/praveenbhati/smartlist/smartlist/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'camera' not found
    @import camera;
     ~~~~~~~^~~~~~
    1 error generated.
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

我遇到了错误,有人知道解决方法吗?

0 个答案:

没有答案