When trying to record a UI test, app becomes completely unresponsive

I can only select a tab bar button item. Then, CPU usage spikes to 100%-200% and I can no longer do anything like tapping a cell or scrolling. Any thoughts on the potential cause, fix, or a workaround? This happens with both devices and simulators.

When trying to record a UI test, app becomes completely unresponsive
 
 
Q