In my application, I use the newest version of adv_camera - 2.0.1.
With Android, it works fine, but when I try to run
flutter run on iOS I've got an error:
[... lot of warnings ...]
/Users/mac/tools/flutter/.pub-cache/hosted/pub.dartlang.org/adv_camera-2.0.1/ios/Classes/AdvCamera.swift:207:17: error: call to method 'setupLivePreview' in closure requires explicit use of 'self' to make capture semantics explicit
[... lot of warnings ...]
It looks like this line is treated as an error with a set to platform :ios, '10.0' . But version 10.0 is the minimum supported version with Firebase libraries version 8 and above.
In my application, I use the newest version of adv_camera - 2.0.1. With Android, it works fine, but when I try to run
flutter run
on iOS I've got an error:It looks like this line is treated as an error with a set to
platform :ios, '10.0'
. But version 10.0 is the minimum supported version with Firebase libraries version 8 and above.Any ideas?