When working with an Objective-C project in Xcode 26.5, I'm unable to establish outlet and action connections by dragging between XIB files and the corresponding .h header files. This drag-and-drop connection works perfectly after switching to Xcode 26.3.0. In addition, under Xcode 26.5, drag-and-drop linking works normally for projects using Swift files together with XIB files. The issue only occurs with Objective-C .h files and XIB files.
When working with an Objective-C project in Xcode 26.5, I'm unable to establish outlet and action connections by dragging between XIB files and the corresponding .h header files.
I'm also having this issue. It's easy to reproduce - just create a new XIB/Objective-C project, add some controls and try to make an outlet with Control-Drag.
Thanks so much for your post and yes this is an issue we have been seeing in the forums.
Please take a look at his post even though is AppKit: https://developer.apple.com/forums/thread/828408
I would recommend as the other posts to I ask you to download the beta 1 version of Xcode 27 and verify if the issue has been resolved or you still having the same issue connecting the IBOutlets?
What the version Xcode that is not working the workaround of dragging from the outlets inspector remains effective?
Please let me know if Xcode 27 resolves the issue for you.
Thanks,
Albert WWDR
Yes, Xcode 27 beta partly resolves the issue. It works correctly when I control-drag from the left hierarchical pane of a XIB editor. But when I control-drag from the visual representation - the outlet type is NSView instead of a proper type.
Thanks for the reply
But when I control-drag from the visual representation - the outlet type is NSView instead of a proper type.
Can you explain a little bit more what you meant? Can you connect the IBOutlet to the view? Or the issue is still there?
Thanks
Albert WWDR
Maybe it was some glitch, but now it works correctly(Xcode 27 beta).
@ocherniaiev Great to know Xcode 27 beta has fixed the issue for you. Appreciate you letting us know.
Albert WWDR