Search code examples
iosswiftxcodexcode8

Xcode - Could not find test host


I am receiving an error message when I try to use Xcode 8's Convert Wizard. After trying install KIF Framework.

Here is the error message:

Could not find test host for PresentrTests: TEST_HOST evaluates to "/Users/mymacbook/Library/Developer/Xcode/DerivedData/MyApplication-akrziiobrmqfliboqlgonjeyvquu/Build/Products/Debug-iphoneos/MyApplication.xctest/MyApplication"


Solution

    1. Select the Xcode project in the lefthand browser.
    2. Click on your test target in the Project's General tab.
    3. Under "General" select your appropriate host application under "Testing".