New projects in Xcode seem to not include default frameworks.
Click on the project in the navigator view.
Click on the target.
Click on the General tab.
Under "Frameworks, Libraries, and Embedded Content", click the + button.
Add "UIKit.framework"
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.