iOS is 17.7, Set usePreinstalledWDA=true. If there is a system alert, wda cannot create a session

I think you are seeing this:

I have looked at it, and there is no suitable solution? Can’t create session with pop-ups?

It’s a limitation enforced by Apple. There is nothing we could do to change this behavior

Why not create empty session instead, install app, activate app, and set default app to opened app?

all right. So in the case of system pop-ups, usePreinstalledWDA is basically unavailable.

If there is a system popup, wda cannot be started normally and empty sessions cannot be created.