This repository was archived by the owner on Oct 10, 2020. It is now read-only.

Description
BUG REPORTS WITHOUT PROVIDING THESE INFORMATIONS WILL BE CLOSED DIRECTLY. DON'T REMOVE THE SECTIONS!
Describe the bug
Can't build project using barcode_scanner by XCode 12 (after update). Error:
Header 'SwiftProtobuf-Swift.h' not found
module SwiftProtobuf.Swift {
header "SwiftProtobuf-Swift.h". <-----
requires objc
}
To Reproduce
Steps to reproduce the behavior:
- Try to build project in XCode 12, using barcode_scanner
- Got fail
Expected behavior
- Try to build project in XCode 12, using barcode_scanner
- Got success
Screenshots

Logs
<unknown>:0: error: could not build Objective-C module 'SwiftProtobuf'
Environment (please complete the following information):
Flutter 1.20.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fba99f6cf9 (3 days ago) • 2020-09-14 15:32:52 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2
Additional context
Add any other context about the problem here.