App is getting crashed when two view controllers are there on screen

Scenario: Click on an element in screen 1, the app should navigate to screen 2. In screen 2 I have a pop up along with a loading indicator (Device progress) which executes in parallel. When the screen is getting loaded with these two parallel actions, Appium is not able handle, App is getting crashed.

Issue: I can see the click operation was successful but as soon as it navigates to the next screen after clicking on one element it is getting crashed. Appium: v1.18 iOS: 12.4

Error:
13:09:10 VERBOSE: [IOSDeviceLog] Oct 12 06:09:10 iPhone-may2020-pub iAqualink(UIKitCore)[442]
: Warning: Attempt to present <UIAlertController: 0x10212d200> on <IQRobotHomeVC: 0x101b96280> while a presentation is in progress!
13:09:10 VERBOSE: [IOSDeviceLog] Oct 12 06:09:10 iPhone-may2020-pub iAqualink(CoreFoundation)[442]
: -[_UIAlertControllerAlertPresentationController adaptivePresentationController]: unrecognized selector sent to instance 0x101cb8620
13:09:10 VERBOSE: [IOSDeviceLog] Oct 12 06:09:10 iPhone-may2020-pub iAqualink(CoreFoundation)[442]
: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’,
reason: ‘-[_UIAlertControllerAlertPresentationController adaptivePresentationController]: unrecognized selector sent to instance 0x101cb8620’
13:09:10 VERBOSE: [IOSDeviceLog]