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".

Answered by StanislavK in 699089022

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.

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.

Found only three files in /Library/Developer/Xcode/DocumentationCache/v207/13.2.1/DeveloperDocumentation.index - does it proves the documentation is missing?

Deleted ~/Library/Developer/Xcode/DerivedData and ~/Library/Caches/com.apple.dt.Xcode + restarted Xcode --> not solved.

Removed Xcode and all Xcode related - not solved. @Apple really? PS: Experienced other issues: 1) installation from Apple store gets stuck (solution is - not to use Apple store) 2) Missing simulators + you can not install simulator with old version of iOS 😱

Accepted Answer

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.

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.

Quick help does not work in Xcode 13
 
 
Q