当我使用Jenkins进行UI测试时,它失败了,错误域= com.apple.platform.iphoneos Code = -1"找不到已安装的应用程序"。
详细日志是:
Details: Install claimed to have succeeded, but application could not be found on device. bundleId = com.apple.test.iOS-3DTouchUITests-Runner
Object: <DVTiOSDevice: 0x7faafda80610>
Method: -installForMobileInstallWithSession:error:
Thread: <NSThread: 0x7faafd086dd0>{number = 9, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-19 19:35:38.382 xcodebuild[59624:934106] Error Domain=com.apple.platform.iphoneos Code=-1 "Could not locate installed application" UserInfo={NSLocalizedDescription=Could not locate installed application, NSLocalizedRecoverySuggestion=Install claimed to have succeeded, but application could not be found on device. bundleId = com.apple.test.iOS-3DTouchUITests-Runner}
2017-01-19 19:35:38.382 xcodebuild[59624:934106] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed:
Test target iOS-3DTouchUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
但是当我直接用Xcode进行ui测试时,一切都还可以。
任何人都可以帮我这个吗?