, , , , OrderWaypoint , Swift : App.OrderWaypoint AppTest.OrderWaypoint.
, , :)
: Swift , , @testable import YourAppModuleName Swift. -, , , . (, Swift, , , .)
, , Objective-C, Swift, Objective-C Swift .
Objective-C, . , , Objective-C, .
Update 2: A slightly weak but simpler solution is to remove the Swift application files from the target and then set the header search paths in the test target, pointing to the folder DerivedSourcesfrom the target application and include the file App-Swift.hin the Objective-C tags that it needs instead of the file AppTest-Swift.h. which no longer has the Swift classes of the application, since you just removed them from the test target.
source
share