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.

版权信息:本文为 kanchuan.com 原创,转载时请明确注明本文链接。

相关文章:

iOS NSURLProtocol详解及使用陷阱
拥抱 Swift 和 SwiftUI
统计iOS 8.0及之后所有正式版版本号
bitcode ITMS-90562: Invalid Bundle
iOS TestFlight的局限性及改进措施

发表留言

您的电子邮箱地址不会被公开,必填项已用*标注。发布的留言可能不会立即公开展示,请耐心等待审核通过。