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

No such module 'EFQRCode' for watchOS target through SPM #106

Closed
2 tasks done
jlubeck opened this issue Nov 24, 2020 · 2 comments
Closed
2 tasks done

No such module 'EFQRCode' for watchOS target through SPM #106

jlubeck opened this issue Nov 24, 2020 · 2 comments

Comments

@jlubeck
Copy link

jlubeck commented Nov 24, 2020

Check List

Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

  • I have read the README.md, but there is no information I need.
  • I have searched in existing issues, but did find a same one.

Issue Description

I just followed the Readme instruction and installed through SwiftPM, but when I try to use it with

import EFQRCode

I get that error

No such module 'EFQRCode'

I'm trying to use it on a WatchOS only app.

@ApolloZhu
Copy link
Member

ApolloZhu commented Nov 25, 2020

Make sure you are adding EFQRCode to the correct target (i.e. the Extension):
image

... or manually add EFQRCode as a Framework for your extension target (if you missed that selection menu):
image

And here's my Example project you can try and see how I did it.

@jlubeck
Copy link
Author

jlubeck commented Nov 25, 2020

Thank you. That was it

@jlubeck jlubeck closed this as completed Nov 25, 2020
@ApolloZhu ApolloZhu changed the title No such module 'EFQRCode' No such module 'EFQRCode' for watchOS target through SPM Dec 20, 2020
@ApolloZhu ApolloZhu pinned this issue Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants