在XCode 7.1.1中运行UI测试时,iOS应用程序失败
我正在为我的iOS应用程序创建第一个UI测试。每次运行测试时,都会出现以下错误:在XCode 7.1.1中运行UI测试时,iOS应用程序失败,ios,xcode,restkit,cocoapods,xcode-ui-testing,Ios,Xcode,Restkit,Cocoapods,Xcode Ui Testing,我正在为我的iOS应用程序创建第一个UI测试。每次运行测试时,都会出现以下错误: UI Testing Failure - App accessibility isn't loaded (请参阅附图) 加上调试控制台中的错误消息: dyld: Library not loaded: @rpath/RestKit.framework/RestKit Referenced from: /Users/Claus/Library/Developer/CoreSimulator/Devices/&
UI Testing Failure - App accessibility isn't loaded
(请参阅附图)
加上调试控制台中的错误消息:
dyld: Library not loaded: @rpath/RestKit.framework/RestKit
Referenced from: /Users/Claus/Library/Developer/CoreSimulator/Devices/<code>/data/Containers/Bundle/Application/<code>/MyApp.app/MyApp
Reason: image not found
我想指出的是,当我在模拟器或真实设备上构建和运行我的应用程序时,RestKit(使用CocoaPods安装)库不会出现任何问题
我尝试在开发论坛(CocoaPods:)和StackOverflow对话中查找错误消息,但找不到任何相关帮助
有什么想法吗
更新:它在真实设备(iPhone5c-iOS9.1)上工作,但在模拟器(iPhone6-iOS9.1)上不工作