Quick help does not work in Xcode 13

Hi, I have installed Xcode Version 13.2.1 (13C100) on Mac Book Pro M1 Pro with Monterey. When I try option-click on any variable/code - it is not working i.e. quick help is not showing.

**How can I solve it and make it work again? ** PS: I have rebooted Mac, reinstalled Xcode several times. In Xcode`s Navigation, the "option click on code" is set up for "Shows quick help".

  • Deleted ~/Library/Caches/com.apple.dt.Xcode --> not solved.

  • Tried defaults delete com.apple.dt.Xcode IDEIndexDisable - but there is no com.apple.dt.Xcode on my machine (i.e. Domain (com.apple.dt.Xcode) not found.) --> not solved.

  • Installed "command line tools" --> not solved.

Accepted Reply

Found solution 😂

  1. Install Xcodes app (you can have GUI or command line version), see https://github.com/RobotsAndPencils/XcodesApp.
  2. Install last Xcode version where Quick help works just fine - this seems to be version 13.1 (13A1030d). 2.1 Make this version active (i.e. switch command line tools to this version) and open Xcode (test - it should work).
  3. Make your version 13.2.1 Xcode version active (i.e. switch command line tools to this version), open Xcode and try - it should now work.

Howgh.

  • Does this approach work if you create a new project in 13.2.1?

  • Hm, anils you are right - it does not work (when you create a new project), it works on existing projects.

  • It appears, opening your project first in 13.1 and then in 13.2.1 gets quick help working. It's a workaround for now, I suppose. Thanks for figuring out the workaround.

Add a Comment

Replies

Found solution 😂

  1. Install Xcodes app (you can have GUI or command line version), see https://github.com/RobotsAndPencils/XcodesApp.
  2. Install last Xcode version where Quick help works just fine - this seems to be version 13.1 (13A1030d). 2.1 Make this version active (i.e. switch command line tools to this version) and open Xcode (test - it should work).
  3. Make your version 13.2.1 Xcode version active (i.e. switch command line tools to this version), open Xcode and try - it should now work.

Howgh.

  • Does this approach work if you create a new project in 13.2.1?

  • Hm, anils you are right - it does not work (when you create a new project), it works on existing projects.

  • It appears, opening your project first in 13.1 and then in 13.2.1 gets quick help working. It's a workaround for now, I suppose. Thanks for figuring out the workaround.

Add a Comment

Please note: Accepted Answer unfortunately does not solve the issue.

I would edit it - but you can not edit/delete in this forum.... So much time wasted here.

I can recall, I followed advice from release notes https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes i.e. I applied

defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1

-- after this my "troubles" with quick help started.

You might try this - it helped me.

defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 0

New projects in Xcode seem to not include default frameworks.

  1. Click on the project in the navigator view.
  2. Click on the target.
  3. Click on the General tab.
  4. Under "Frameworks, Libraries, and Embedded Content", click the + button.
  5. Add "UIKit.framework"
  6. Repeat steps 4-5 for any other frameworks you are using.

This fixed option-click quick help for me with a brand new objective-c project in Xcode 14.

  • I tried this for one project and it worked immediately in Xcode 14.2. I added the UIKit and Foundation frameworks. I believe the project was created in Xcode 13.x. Thanks!

  • This worked for me as well! Thanks!

Add a Comment