-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run any XUITest with runtest command in iOS18.2/iOS15+ #570
Comments
I was able to start XUITest with tidevice(tidevice xcuitest --bundle-id nico.dump-hierarchyUITests.hank.xctrunner --target-bundle-id nico.dump-hierarchy.hank -e USE_PORT:8080) normally on iOS15 . Indicates that my test package should be complete this is log for tidevice, I hope this helps Feb 21 14:54:30 iPhone DTServiceHub(FrontBoardServices)[565] : [FBSSystemService][0xa000] Sending request to open "nico.dump-hierarchyUITests.hank.xctrunner" |
Command:
.\go-ios.exe runtest --bundle-id nico.dump-hierarchy.hank --test-runner-bundle-id nico.dump-hierarchyUITests.hank.xctrunner --env "USE_PORT=8888" --log-output "C:\Users\hanhuang\tc\cathin\go-ios\LOG.txt"
Output:
14:30:54.581 dump_hierarchyUITests-Runner[569:77560] Creating future for 'requesting test configuration' with timeout 600.00
14:30:54.581 dump_hierarchyUITests-Runner[569:77560] Notifying test runner ready
14:30:54.581 dump_hierarchyUITests-Runner[569:77571] -[XCTRunnerDaemonSession(XCTMessagingRole_UIApplicationStateUpdating) _XCT_applicationDidUpdateState:] nico.dump-hierarchyUITests.hank.xctrunner@/private/var/containers/Bundle/Application/E6FE424A-0240-4564-BD9D-55EB5635819B/dump_hierarchyUITests-Runner.app pid: 569 state: running background
14:30:54.581 dump_hierarchyUITests-Runner[569:77560] <XCTWaiter: 0x2802d46f0> entering wait loop for 600.00s with expectations:
requesting test configuration
14:30:54.584 dump_hierarchyUITests-Runner[569:77571] Received test runner ready reply. Waiting for request to start running tests.
14:30:54.584 dump_hierarchyUITests-Runner[569:77560] Returning result XCTWaiterResultCompleted for waiter <XCTWaiter: 0x2802d46f0>
14:30:54.584 dump_hierarchyUITests-Runner[569:77560] Wait <XCTWaiterWait: 0x2819e5700> completed after 0.003s
14:30:54.584 dump_hierarchyUITests-Runner[569:77560] cleaning up requesting test configuration
14:30:54.584 dump_hierarchyUITests-Runner[569:77560] Loading test bundle at: file:///private/var/containers/Bundle/Application/E6FE424A-0240-4564-BD9D-55EB5635819B/dump_hierarchyUITests-Runner.app/PlugIns/
14:30:54.586 dump_hierarchyUITests-Runner[569:77560] Creating future for 'reporting bootstrap failure to IDE' with timeout 15.00
14:30:54.587 dump_hierarchyUITests-Runner[569:77560] Reporting bootstrapping failure to IDE: Error Domain=com.apple.XCTestErrorDomain Code=103 "Failed to load the test bundle" UserInfo={ExitCode=1, NSLocalizedDescription=Failed to load the test bundle, NSUnderlyingError=0x2802e1800 {Error Domain=NSCocoaErrorDomain Code=4 "The bundle “PlugIns” couldn’t be loaded because its executable couldn’t be located." UserInfo={NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/var/containers/Bundle/Application/E6FE424A-0240-4564-BD9D-55EB5635819B/dump_hierarchyUITests-Runner.app/PlugIns, NSLocalizedDescription=The bundle “PlugIns” couldn’t be loaded because its executable couldn’t be located.}}}
14:30:54.588 dump_hierarchyUITests-Runner[569:77560] <XCTWaiter: 0x2802e1680> entering wait loop for 15.00s with expectations:
reporting bootstrap failure to IDE
14:30:54.589 dump_hierarchyUITests-Runner[569:77560] Returning result XCTWaiterResultCompleted for waiter <XCTWaiter: 0x2802e1680>
14:30:54.589 dump_hierarchyUITests-Runner[569:77560] Wait <XCTWaiterWait: 0x2819e6000> completed after 0.001s
The text was updated successfully, but these errors were encountered: