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

Error: Type 'Bundle' has no member 'module' #22

Open
Shubham1992 opened this issue Feb 4, 2022 · 5 comments
Open

Error: Type 'Bundle' has no member 'module' #22

Shubham1992 opened this issue Feb 4, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Shubham1992
Copy link

Error in line
if let filePath = Bundle.module.url(forResource: "rich_editor", withExtension: "html") { webView.loadFileURL(filePath, allowingReadAccessTo: filePath.deletingLastPathComponent()) }

in RichEditorView Line 157.

@Andrew-Chen-Wang Andrew-Chen-Wang added the bug Something isn't working label Feb 22, 2022
@Andrew-Chen-Wang
Copy link
Owner

Andrew-Chen-Wang commented Feb 22, 2022

Thanks for the report and apologies for the delay (I love exams!).

This should hopefully resolve the issue. https://stackoverflow.com/questions/64407950/swift-package-manager-type-bundle-has-no-member-module-error

I'm thinking it has something to do with Swift 5.3 wanting to use .copy first then .process. Not sure.

@lucychen0103
Copy link

@Shubham1992 did you figure this out?

@lucychen0103
Copy link

Nvrmd, I got it working. Turns out that I was installing it incorrectly.

@kishanbh
Copy link

kishanbh commented Jun 7, 2022

@lucychen0103 how did you solve the error? can you help out?

@lucychen0103
Copy link

@kishanbh I forgot what I did but I can try to help you out. Do you still need help? How are you installing it?

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