iOS framework UnitTest:Failed to load test bundle

原创 2019-01-22

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.

# iOS

相关文章:

iOS Asset Catalog and Bundle
iOS安全:LC_LOAD_DYLIB和LC_ID_DYLIB
iOS 真机和模拟器HTTPS Charles抓包指南
iOS Background Task使用陷阱
iOS启动优化之二进制重排

发表留言

您的电子邮箱地址不会被公开,必填项已用*标注。