No more quick help in Xcode editor

南笙酒味 提交于 2019-12-01 03:36:12

Quick Help behaves this way if JavaScript is disabled, and certain configurations seem to cause Xcode to write a user default disabling JavaScript following the upgrade. To fix it, delete the user default by running the following command from Terminal, then relaunch Xcode.

defaults delete com.apple.dt.Xcode WebKitJavaScriptEnabled

Close Xcode then delete ~/Library/Caches/com.apple.dt.Xcode.

Reopen Xcode and option click on whatever you were interested in.

It seems to take a bit of time to be available after deleting the above directory. I option clicked a couple of things and after the third click it started working. Be patient!

Working for me on Xcode 8.2.1

Matt's answer didn't work for me. The below code worked. Run the following command from Terminal, then relaunch Xcode.

defaults delete com.apple.dt.Xcode IDEIndexDisable

It started working (Xcode 8.1) after I did go to: Xcode -> Preferences -> Components -> Switch to Documentation (if you are on Simulators)

Hit the download the documentation button. I did need to restart Xcode and also hit the Check and Install Now button. Before this it was not working.

I just had this issue yesterday. It happened after I disconnected my iPhone from my computer, the target device switched to "Generic iOS Devices". All of a sudden, quick help stopped working, the symbols lost their icons in the auto-completion pop-up.

I just tried select any of the simulator device to get it working again. Or you can just reconnect your iOS device.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!