flutter-package / images_picker

Flutter plugin for selecting images/videos from the Android and iOS gallery, and taking pictures/videos with the camera
MIT License
65 stars 85 forks source link

ios build error #90

Open cn1001wang opened 2 years ago

cn1001wang commented 2 years ago

Environment

Technology Version
Flutter version 3.0.5
Plugin version 1.2.11
Android version
iOS version
Xcode version 13.4.1

Device information:

Description

Expected behavior:

运行flutter build ios

Current behavior:

warning: initialization of immutable value 'theme' was never used; consider replacing with assignment to '_' or removing it
 let theme = ZLPhotoThemeColorDeploy();
        ~~~~^~~~~
 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

具体见图。我是新建了一个空项目,直接build没问题。只加了一个当前包就会报错。应该是ZLPhotoBrowser的问题,但我在他的库的issue中没有搜索到相关内容

Steps to reproduce

  1. This
  2. Than that
  3. Then

Images

image

Stacktrace/Logcat