We do have troubles getting our CI to work with Xcode. We encounter the issue Could not determine bundle identifier for xxxTest TEST_HOST: some path that does not exist
.
What we have done so far:
Our project has the following targets:
Found solution:
Question:
Known questions:
Xcode 8 Beta - Convert to Current Swift Syntax Failed: Could not find test host
So after ages of having this issue, we could find the right checkbox to fix this issue.
It somehow sounds weird but the issue was the configurations for the command-line builds inside of the Project settings.
I assume this happens because we always test against the debug configuration and it was set to release. Therefore it did the wrong build for the test host.
This does set the defaultConfigurationName
inside of the {projectname}.xcodeproject
.
Please comment if you have any more insights of this.