I created an Xcode > File > New > Project... > Cocoa Touch Framework including unit tests.
Then I added my code & tests. My framework works fine.
Now I want/need to run my tests on a device. For that I need a TARGETS > MyTests > General > Testing > Host Application, which was not added by Xcode when it created the framework project.
How do I add a test app target, AppDelegate.swift, ..., and configure it so it can host my existing tests?
Aucun commentaire:
Enregistrer un commentaire