Reputation: 9935
When I am performing a test from a target defined as logic unit test in Xcode a simulator is launching. Usually a suite of test, will finish with a result success / failure before a simulator will finish launching.
Why a logic test unit target when performing a tests launch a simulator?
Upvotes: 3
Views: 1813
Reputation: 385998
Your unit test, while not needing a GUI, is still an iOS simulator bundle, not a macOS bundle. Therefore it needs to run in an iOS simulator environment.
Upvotes: 3