I am using iPhone simulator to run a UIWebview, and Safari browser (on my mac) in order to debug the js / html / css code (via \"develop\" menu -> iPhone Simulator -> choosing m
I also faced the same issue. Solution was, closed Safari browser and Simulator and launched again. It fixed my problem. Restarting of my Mac was not required. Hope it will save someone's time.
Environment was as below:
Sometimes it is necessary to restart Safari to make it notice new simulator, unfortunately.
i0S 11, Safari 11