Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

[Bug]Can't build project by XCode 12 (after update) #289

Open
1 task
torindev opened this issue Sep 18, 2020 · 1 comment
Open
1 task

[Bug]Can't build project by XCode 12 (after update) #289

torindev opened this issue Sep 18, 2020 · 1 comment
Labels

Comments

@torindev
Copy link

torindev commented Sep 18, 2020

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:

  1. Try to build project in XCode 12, using barcode_scanner
  2. Got fail

Expected behavior

  1. Try to build project in XCode 12, using barcode_scanner
  2. Got success

Screenshots
Screenshot at Sep 18 11-39-27

Logs

<unknown>:0: error: could not build Objective-C module 'SwiftProtobuf'

Environment (please complete the following information):

  • [*] iOS? Version: 14
  • Android? Version: ...
  • [*] Real Device? Which?: XS Max
  • [*] Emulator/Simulator? Which?: nevertheless, on simulator all works as expected
  • Version of barcode_scan 3.0.0/3.0.1
  • Output of flutter --version:
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.

@torindev torindev added the bug label Sep 18, 2020
@devtronic
Copy link
Member

Maybe we can fix the problem by migrating to pigeon (#281)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants