由于测试包中缺少库,Xcode测试失败

时间:2016-04-18 20:55:40

标签: xcode cocoapods

使用Xcode 7.3,Cocoapods 0.39.0

在最近的某个时刻,也许是由于Xcode和/或Cocoapods的升级,我们的测试停止了以下运行时问题:

2016-04-18 16:32:55.318 MyApp[15066:9003314] Failed to load test bundle
from file:///<huge filepath to .xctest wrapper>: Error Domain=NSCocoaErrorDomain
Code=3587 "dlopen_preflight(<same huge filepath to .xctest wrapper>): Library not
loaded: @rpath/Nocilla.framework/Nocilla

Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged
or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the
bundle., NSFilePath=<huge filepath to .xctest wrapper>, NSDebugDescription=
dlopen_preflight(<huge filepath to .xctest wrapper>): Library not loaded:
@rpath/Nocilla.framework/Nocilla

我对Xcode和测试包内部的调试知之甚少。

如何将测试恢复到正常工作状态?谢谢。

编辑:我能够取消阻止工作的唯一方法就是删除Nocilla。幸运的是,我发现它实际上并没有用于任何东西。然而,我们也可以依赖它,所以问题就在于此。

0 个答案:

没有答案