我正在爲Jenkins構建腳本的iOS應用程序運行AppUITests。單元測試(AppTests)運行良好,但由於下面的問題,AppUITests失敗。我該如何解決這個問題?iOS UITest失敗:IDETestOperationsObserverErrorDomain代碼= 13
09:19:53.506 XCTRunner[22911:77924] Failed to background test runner within 30.0s. 09:19:53.507 xcodebuild[22835:77541] -[IDETestOperationCoordinator testRunnerSession:initializationForUITestingDidFailWithError:] 09:19:53.507 XCTRunner[22911:77924] Calling completion. 09:19:53.507 xcodebuild[22835:77541] Test operation failure: Failed to background test runner. 09:19:53.507 xcodebuild[22835:77541] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=13 "Failed to background test runner." UserInfo={NSLocalizedDescription=Failed to background test runner.} didCancel: 1
貌似測試失敗的Xcode關閉的測試下來,由於超時之前推出的模擬器,請問在您的本地MAC相同的管道運行正常? –
是的,它工作正常@ u.gen –
我有同樣的問題,但只有當我「刪除」,並重新創建所有模擬器與'SNAPSHOT_FORCE_DELETE = yes fastlane snapshot reset_simulators'時出現此錯誤 – Sandu