Embraceware Blog. Communicate with Us

Solution for “No Selection” in Xcode Interface Builder

From Xcode 4.0 and onward (including Xcode 7) I’ve encountered an Interface Builder issue that happens occasionally. The “Attributes Inspector” says “No Selection” when an object is clearly selected. Restarting Xcode, or even rebooting, sometimes does not fix the problem.

Here’s how you can fix it in two steps without even having to restart Xcode:

  • Select another file (which isn’t an Interface Builder type) in the current tab with the issue.
  • Open a new tab and select the Interface Builder file which was having the problem.

Problem solved! If anyone has any input on this issue and solution, let us know in the comments. I haven’t been able to determine what causes the problem, but in every case I’ve seen, the above two steps will get you back on track.

40 Comments

  1. horseshoe7 says:

    That fixed it! Thank you!

  2. 0xffff says:

    It was driving me crazy. Thanks for the tip.

  3. cmcnelis says:

    thanks!!! Was getting a bit peeved at Xcode for a minute or two there.

  4. brunoguerios says:

    That worked!
    I would never imagine that the tab could generate such an issue.
    Thanks!

  5. Lonely Penguin says:

    I love you <3

  6. kakaman says:

    This happened to me with Xcode 7.1.1.

    Thank you very much. Your tip helped me.

  7. kmakita says:

    Yes! Fixed!
    Thank you!

  8. Jamie says:

    There you go! That worked! Thank youuuu!

  9. Jorge says:

    Thank you so much for the tip. I was having this problem for the first time.

  10. Fernando Perez says:

    It works. Thanks ๐Ÿ™‚

  11. Wurst says:

    Woah! That helped, Thanks a million!

  12. Miguel says:

    OMG, this has saved me ! Thank you!

  13. Mathieu Hausherr says:

    You save my life !

  14. What a tweak/workaround, Jerry! ๐Ÿ˜‰
    #DumbXcodeTabs

  15. Mahesh says:

    Thanks….. That trick Worked and saved my time

  16. Tom Hartnett says:

    Thanks, I just encountered the same issue… in May of 2016. Still happening, but your procedure fixed it. I even quit Xcode and rebooted before coming across your advice.

  17. Thanks. That was crazy.

  18. Worked perfect for me ! Thanks !

  19. Mans says:

    Thanks! great! works for me

  20. innocent says:

    Thanks a lot. you saved me its been two days trying to figure out the problem

  21. Edmure says:

    You ser are a genius!

  22. Alexander says:

    I always used another solution. Select in project navigator another file, then again select storyboard/xib. Or press back button, then forward button.
    It’s strange that they didn’t fix such nasty bug during 4 versions

  23. John says:

    THANKS!!!!

  24. Reinaldo Luckman says:

    Life saver. Thanks!

  25. Preethi Poddatur says:

    That helped. Thanks!

  26. Hugo says:

    Thanks!

  27. Greg says:

    Thank you so much, I was going crazy over this.

  28. Asinox says:

    Super!!!

  29. Mohamed Elabasiri says:

    Thanks a lot this helped, but why is this happening do you have any idea?

  30. Abdelrahman says:

    Life Saver,
    Thanks ๐Ÿ˜‰

  31. charly says:

    it’s work , THANKS!!!!

  32. Nick Davids says:

    Thanks!!

  33. Ali Mehmood says:

    Incredible

  34. Pratik says:

    Great!!! Worked for me.

  35. Yahel says:

    Thank you !! It was driving me insane in xCode 8.2.1 !!

  36. Kelley says:

    yep–that worked! Thanks!

  37. vinayak says:

    Yes this helps!!! if we create more than 1 tab of same data model it never shows the data model inspector.

Leave a comment