RichEditorView
RichEditorView copied to clipboard
Error: Type 'Bundle' has no member 'module'
Error in line
if let filePath = Bundle.module.url(forResource: "rich_editor", withExtension: "html") { webView.loadFileURL(filePath, allowingReadAccessTo: filePath.deletingLastPathComponent()) }
in RichEditorView Line 157.
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.
@Shubham1992 did you figure this out?
Nvrmd, I got it working. Turns out that I was installing it incorrectly.
@lucychen0103 how did you solve the error? can you help out?
@kishanbh I forgot what I did but I can try to help you out. Do you still need help? How are you installing it?