Hello everyone!
I conducted an investigation into the hanging UI tests issue, and determined that the 60 second delay is due to a missing permission required by the iOS Simulator bundle on Sonoma based Xcode images (15.1, 15.2, 15.3). This is causing macOS to pop up a GUI permissions prompt requesting access to the microphone.
A fix to ensure this permission is present automatically on all Sonoma images is in progress, but in the mean time you can use the macOS orb to add the permission manually.
- macos/add-permission:
bundle-id: "com.apple.CoreSimulator.SimulatorTrampoline"
permission-type: "kTCCServiceMicrophone"
The orb will execute a replace into access ... query, so it won’t error out after we’ve deployed the fix that is currently in the works.