Safari - iPhone simulator debugging (via “develop”) not showing anymore

后端 未结 8 1703
天涯浪人
天涯浪人 2021-02-04 00:58

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

相关标签:
8条回答
  • 2021-02-04 01:31

    If you have tried all fixes and it did not fixed your problem. Then go for below steps 1. UnInstall Xcode

    1. Install Xcode again
    2. Restart you system
    3. Download Command Line tool for Xcode (same version as xcode) you can find command line tool https://developer.apple.com/download/more/ here
    4. Install Command line tool

    These steps fixed this problem for me, Hopefully it will fix someone's else as well. Good Luck :)

    0 讨论(0)
  • 2021-02-04 01:33

    Sometimes running your app on different iOS version helps.

    0 讨论(0)
  • 2021-02-04 01:36

    I restarted my simulator from Hardware->Restart and after that simulator option came in Safari Develop Menu.

    Hope it will save someone's time.

    0 讨论(0)
  • 2021-02-04 01:37

    I had exactly the same problem and I could not figure out how to solve it. Then I remembered that I actually have Safari Technology Preview installed on my Mac. And bang. The simulator device is visible in the Develop menu of the Technology Preview version.

    0 讨论(0)
  • 2021-02-04 01:37

    You can run into this problem when your Safari version does not support a iOS version on simulator. As a result you can:

    • Use Safari Technology Preview
    • Use a lower iOS version on a simulator
    • Restart iOS simulator when Safari is open(sometimes several times)
    0 讨论(0)
  • 2021-02-04 01:46

    OK, what eventually worked for me was reseting the simulator (reset content and settings) and restarting my mac...

    0 讨论(0)
提交回复
热议问题