Hi there, I'm unable to get my tests to work.
I'm new to swift programming, but I have been following a lot of resources trying to get this to work. Classes declared on my main module are not visible to the tests module.
I tried several things:
Settings -> Enable Testability on the build settings
Settings -> Defines Modules : Yes
None would work
trying to @testable import MyApp does not work
The only way I found to get this to work on xcode was to click on the class and set it to have multiple targets (there has to be an easier way)
What am I missing here? Apologies for the very basic question, but those seems to be the hardest to find an answer