iOS framework UnitTest:Failed to load test bundle

iOS UnitTest:Failed to load test bundle from file...no suitable image found

Use Xcode10.1,I added a Unit Tests to an framework project,But when lanch Unit Tests with Host App,It’t crashed with the following log

Failed to load test bundle from file...no suitable image found......

Fiexd:

you need make sure iOS Deployment target of the Host App and Unit Tests target are the same.

make sure mach-o type of the Unit Tests target is Bundle.

其它文章

macOS login: Could not determine audit condition
iOS Link Map