An error occurred on the xpc connection to setup the background session: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.nsurlsessiond was invalidated from this process." UserInfo={NSDebugDescription=The conne

I am facing this issue when trying to access AWS S3 through AWS Cognito and Amplify on XCUITest build, iOS 13.0 Simulator.
IT works on simulators with <iOS 13.0
An error occurred on the xpc connection to setup the background session: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.nsurlsessiond was invalidated from this process." UserInfo={NSDebugDescription=The conne
 
 
Q