Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cannot build ios because The Swift pod qr_code_scanner depends upon MTBBarcodeScanner #291

Closed
Nabouste opened this issue Mar 24, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Nabouste
Copy link

Describe the bug
i run this apps using emulator,
and showing
The Swift pod qr_code_scannerdepends uponMTBBarcodeScanner, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers!globally in your Podfile, or specify:modular_headers => true for particular dependencies.

image

@Nabouste Nabouste added the bug Something isn't working label Mar 24, 2021
@5115191
Copy link

5115191 commented Apr 15, 2021

same issue

@martesabt
Copy link

martesabt commented Apr 22, 2021

I got same problem with version 4.0.0 and after adding this lines on ios/Podfile it worked:

target 'Runner' do
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  use_modular_headers! # new line
  use_frameworks! # new line
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants