Simulator not work in remote database connection

When I select simulator iPhone 11 , there was a self keep track connection error occurs.

But when iPhone 11 Pro, iPhone 8 or iPod touch (generation 7) is selected ( no try to test on other simulators) , the data can be fetch from database normally.

Regarding the message in your console related to nw_protocol_get_quic_image_block_invoke dlopen libquic failed … see this post on the Swift forum:

If it works on other simulators and not the iPhone 11 then try resetting the iPhone 11 simulator and see if that makes any difference. Do that from the menu option Device > Erase All Content and Settings.

Regarding your screen Screen Captures you have attached.

When you post images of your code, use the built in screenshot app rather than take a photograph. Photographs of code are sometimes unclear and very hard to view.

With the Mac ScreenShot App, you can capture the entire window, the entire screen or a section of the screen.

If you just want a small section, press Shift + Command + 4 which will change your mouse pointer into a set of crosshairs. Click and drag diagonally across the screen to capture the section you want. When you let go of the mouse button, the image will be saved to your Desktop and will be named something like “Screen Shot YYYY-MM-DD at HH.MM.SS am/pm”.

Other options are available by pressing Shift + Command + 5 and an options bar will appear near the bottom of the screen.