Unable to access Main Target Methods when Adding Tests to OSX Project in Swift
问题 I have tried adding a testing bundle to my Project which seems to have succeeded. However when I try to create instances of the Classes in my main project- I am unable to see them. The Project seems to build fine - but I can' instantiate any of the test objects Any ideas how to access them Example Class to Test: class EmailHelper: NSObject { func generateEmailBody (greeting: String, bodyContent: String) -> String { //Content goes in here return message } } import XCTest class MyProject