Xcode UI tests failed because of : Failure attempting to launch <XCUIApplicationImpl: 0x60800023b480 org.example.Foo
| Originator: | Damien.Gavard | ||
| Number: | rdar://28869548 | Date Originated: | 2016-10-20 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 8.0 (8A218a) |
| Classification: | Reproducible: | Sometimes |
Summary:
Tests fail randomly with the following error described bellow under the "Actual Results" section
Steps to Reproduce:
1. Run tests
Expected Results:
Tests will run successfully
Actual Results:
Tests randomly failed with the following error :
UI Testing Failure - Failure attempting to launch <XCUIApplicationImpl: 0x60800023b480 org.example.Foo at /tmp/sandbox/57db31bf9786940100a83b9e/bbtest/Build/Intermediates/CodeCoverage/Products/Test-iphonesimulator/Foo.app>: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "org.example.Foo" failed." UserInfo={NSLocalizedDescription=The request to open "org.example.Foo" failed., NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: Busy ("Application "org.example.Foo" is installing or uninstalling, and cannot be launched")., BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x60000084e5e0 {Error Domain=FBSOpenApplicationErrorDomain Code=6 "Application "org.example.Foo" is installing or uninstalling, and cannot be launched." UserInfo={BSErrorCodeDescription=Busy, NSLocalizedFailureReason=Application "org.example.Foo" is installing or uninstalling, and cannot be launched.}}}
The request was denied by service delegate (SBMainWorkspace) for reason: Busy ("Application "org.example.Foo" is installing or uninstalling, and cannot be launched").
Version:
Xcode Version 8.0 (8A218a)
iPhone 4s Simulator (iOS 10.0)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple reported it's a duplicate of 27386351