Blazej SLEBODA
Blazej SLEBODA

Reputation: 9935

Why Xcode is launching a simulator when performing a test from a Logic Unit Test target?

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

Answers (1)

rob mayoff
rob mayoff

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

Related Questions