iPhone没有出现在Safari的“开发”菜单中

时间:2022-05-07 20:14:36

On my "Develop" menu, in Safari, the iPhone no longer appears after updating Safari to the latest version, making it impossible to inspect and debug sites and apps.

在我的“开发”菜单中,在Safari中,在将Safari更新到最新版本后,iPhone不再出现,从而无法检查和调试网站和应用程序。

I restarted the iPhone, killed and relaunched Safari, restarted my Mac too, but the issue is still there. Affects both Safari mobile and phonegap applications.

我重新启动了iPhone,杀死并重新启动了Safari,重启了我的Mac,但问题仍然存在。影响Safari移动和phonegap应用程序。

Anyone experienced the same problem?

有谁遇到过同样的问题?

3 个解决方案

#1


33  

Turns out, my issue was that the update to the latest iOS version disabled the "Web Inspector" settings on my iPhone. To re-enable it, go to Settings > Safari > Advanced.

事实证明,我的问题是对最新iOS版本的更新禁用了我的iPhone上的“Web Inspector”设置。要重新启用它,请转到设置> Safari>高级。

#2


3  

Some cables (even official Apple Lightning Connector) don't support this feature because of some damage inside. My Lightning Connector was able to charge the iPhone but prevented to use dev tools on the Mac. I used another cable to successfully connect to dev tools.

有些线缆(甚至官方的Apple Lightning Connector)因内部有些损坏而不支持此功能。我的Lightning Connector能够为iPhone充电但却无法在Mac上使用开发工具。我使用另一根电缆成功连接到dev工具。

#3


0  

Seems the front ports of my Mac Pro were not working correctly, plugged the cable on the keyboard port and I was able to connect to the dev tools.

似乎我的Mac Pro的前端口无法正常工作,将电缆插入键盘端口,我就可以连接到开发工具。

#1


33  

Turns out, my issue was that the update to the latest iOS version disabled the "Web Inspector" settings on my iPhone. To re-enable it, go to Settings > Safari > Advanced.

事实证明,我的问题是对最新iOS版本的更新禁用了我的iPhone上的“Web Inspector”设置。要重新启用它,请转到设置> Safari>高级。

#2


3  

Some cables (even official Apple Lightning Connector) don't support this feature because of some damage inside. My Lightning Connector was able to charge the iPhone but prevented to use dev tools on the Mac. I used another cable to successfully connect to dev tools.

有些线缆(甚至官方的Apple Lightning Connector)因内部有些损坏而不支持此功能。我的Lightning Connector能够为iPhone充电但却无法在Mac上使用开发工具。我使用另一根电缆成功连接到dev工具。

#3


0  

Seems the front ports of my Mac Pro were not working correctly, plugged the cable on the keyboard port and I was able to connect to the dev tools.

似乎我的Mac Pro的前端口无法正常工作,将电缆插入键盘端口,我就可以连接到开发工具。