You’re now watching this thread. If you’ve opted in to email or web notifications, you’ll be notified when there’s activity. Click again to stop watching or visit your profile to manage watched threads and notifications.
You’ve stopped watching this thread and will no longer receive emails or web notifications when there’s activity. Click again to start watching.
Since Xcode 15 came out, I've been having this issue with UI tests where the test runner hangs for 60s when the keyboard is presented.
In the test logs I get this kind of messages:
00:07.588 Wait for com.example.app to idle
01:07.642 App event loop idle notification not received, will attempt to continue.
Interestingly, this only appears to be happening in CI environments (I've tried Xcode cloud and Circle CI). It works fine on my local machine.
Everything is fine with Xcode 14, but I can't keep my CI environment stuck on Xcode 14 forever.
I've tried disabling animations using UIView.setAnimationsEnabled(false), but it did not fix the problem.
Here are the full logs of what it takes to fill out a text field:
00:07.156 Fill out with "Sherlock"
00:07.160 Tap "Authentication.Signup.firstNameField" TextField
00:07.160 Wait for com.example.app to idle
00:07.167 Find the "Authentication.Signup.firstNameField" TextField
00:07.227 Check for interrupting elements affecting "Authentication.Signup.firstNameField" TextField
00:07.283 Synthesize event
00:07.588 Wait for com.example.app to idle
01:07.642 App event loop idle notification not received, will attempt to continue.
01:07.646 Type 'Sherlock' into "Authentication.Signup.firstNameField" TextField
01:07.646 Wait for com.example.app to idle
02:07.689 App event loop idle notification not received, will attempt to continue.
02:07.692 Find the "Authentication.Signup.firstNameField" TextField
02:38.724 Find the "Authentication.Signup.firstNameField" TextField (retry 1)
02:38.916 Check for interrupting elements affecting "Authentication.Signup.firstNameField" TextField
02:39.018 Synthesize event
02:39.363 Wait for com.example.app to idle
02:39.372 Find the "Authentication.Signup.firstNameField" TextField
02:39.527 Find the "Authentication.Signup.firstNameField" TextField
02:39.698 Type '
' into "Authentication.Signup.firstNameField" TextField
02:39.698 Wait for com.example.app to idle
02:39.706 Find the "Authentication.Signup.firstNameField" TextField
02:39.841 Check for interrupting elements affecting "Authentication.Signup.firstNameField" TextField
02:39.942 Synthesize event
02:40.178 Wait for com.example.app to idle
I have the exact same issue. The only lead that I found is this answer on the CircleCI forum which mentions a permission issue on Sonoma: https://discuss.circleci.com/t/severe-performance-problems-with-xcode-15/49205/135
Hi!
Any new leads on this?
With updating our build server to Sequoia/Xcode16.1, we noticed that some test runs are timing out in random places.
We run tests on real devices.
The logs show
43.51s Wait for com.example.app to idle
103.56s App event loop idle notification not received, will attempt to continue.
and also
. Failed to get matching snapshots: Unable to perform work on main run loop, process main thread busy for 30.0s
The animation is disabled when running the tests, and the failures are intermittent