I am seeing the following error in iOS14, I am not sure if it is a bug or a user error :-) I appreciate it is still in beta, so I will post this in the developer forums as well.
I am seeing the following error come up when I make a macOS app in SwiftUI - when I create the same as an iOS app, the error does not appear.
Do I need to do something special for macOS apps when it comes to importing SwiftUI modules?
In general, it's safe to assume that the “Cannot find '…' in scope” refers to a variable, function, type or other symbol that doesn't exist. If you want to solve this error, and fix the bug, start with what doesn't exist and work your way from there (i.e., text).
SWIFT Scope is a powerful end-to-end business intelligence solution deployed on your premises that is lightweight and easy to implement. SWIFT Scope covers the whole spectrum from data gathering, data transformation, storage and visualisation.
Had this issue today because I renamed the file that contained the class. The solution was to delete the file and recreate it.
Don't forget to add it to your Target Membership
This will solve the problem.
In my case the reason was that the protocol I was inheriting in the class, needed to be made public.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With