Recording UI test in Xcode 10.4.x worked well but after upgrading to XCode11 on 10.14.6 (18G95) recording doesnot generate script.
(High Priority) XCode11: Recording UI test in Xcode, but the record button doesn't do anything
This is officially fixed in Xcode 12.5.1
Testing
Resolved Issues
Fixed an issue which caused XCTest UI Recording to not emit automation code in iOS, tvOS, or watchOS. (77511696) (FB9096691)