Xcode Interface Builder is showing "No selection" for all files

IosXcodeInterface Builder

Ios Problem Overview


No matter what I've got selected in Interface Builder, the Inspector did apparently not register the selection and only showed "No selection".

I tried opening and closing files, restarting Xcode and even rebooting my Mac. No change! What the heck is going on?

Other projects work just fine. It's just this project...

Ios Solutions


Solution 1 - Ios

This was driving me crazy for a long time. I found nothing here on Stackoverflow about this, and not by googling either, initially.

Luckily, after googling a couple of different ways, I finally found the simple solution here.

Snipped from that site:

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

Shame on you, Apple!

Solution 2 - Ios

In Xcode 8.3, the preferred solution doesn't appear to work. My solution, similar to travdu, was to click the "Show the version editor" button (the two arrows pointing left and right), then back to the "Show the Standard editor". Doing that fixed it for me.

Solution 3 - Ios

MOST SIMPLE SOLUTION:

(For each of those who has tried all the above options like me, try this once):

  1. Switch to the LaunchScreen.storyboard from your Main.storyboard

  2. See if you can access all the Inspectors on right side in LaunchScreen.storyboard .

>if yes,

  1. Switch back to Main.storyboard

Always work for me! Hope this also help to someone. Thanks!

EDIT 1:

Above solution works for xib only projects too.

Solution 4 - Ios

There is also possibility in Xcode 7.3.1. to switch between "Standard editor" and "Assistant editor" in the upper right corner to "deal" with this bug.

Click between first two icons

Solution 5 - Ios

Very Simple Solution Work for me

1- Open Any ViewController

2 Command+T, for New Tab

3- Open again storyBoard in that New Tab

Then It will Work

Thank You

Solution 6 - Ios

Open the file in the new tab and it will work fine

Solution 7 - Ios

If the above solutions don't work, try adding an object (e.g a label) onto the main storyboard. Brought all the inspectors back for me with Xcode 7.3.

Solution 8 - Ios

I just experienced that the "Utility Area doesn't display anything" symptom, with Xcode version 9.0. Thanks for the tips! In my case, after I closed all the files displayed in the Assistant Editor, you would think it is totally not related, but it worked again! (Before that, I tried to restart Xcode, restart iOS, none of them was working.)

Solution 9 - Ios

I just run into the same issue. And I see there is solution already but it could help others: make sure you are in the Main.storyboard and not in the LaunchScreen.storyboard

Hope it helps!

Solution 10 - Ios

The bug is weird. And all answers didn't help me. The following steps were useful for me:

  • go to project file.
  • Click on the button near "Launch Images Source"

After that Xcode shows assets in the proper way.

Solution 11 - Ios

For me the bug was caused by missing interface restoration. I think it happens when I open the project file where the Assets editor was open last time. If I close the tab which containts the Assets editor, quit Xcode then open the project again, works fine.

Solution 12 - Ios

After trying above all tricks, I just made a copy somewhere of the file which has the issue and deleted that file from Xcode. Opened it directly from there and file seemed good. Dragging it to the project solved this heinous issue.

Solution 13 - Ios

none of the above answers worked for me, what worked was, there is a filter text box in bottom right and for some reason some random text was typed in that, just clearing that text box fixed the issue.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMarius WaldalView Question on Stackoverflow
Solution 1 - IosMarius WaldalView Answer on Stackoverflow
Solution 2 - IosTim NewtonView Answer on Stackoverflow
Solution 3 - IosiHarshilView Answer on Stackoverflow
Solution 4 - IostravduView Answer on Stackoverflow
Solution 5 - IosM MurtezaView Answer on Stackoverflow
Solution 6 - IosnoviceView Answer on Stackoverflow
Solution 7 - IoscosmoView Answer on Stackoverflow
Solution 8 - IosjingyulView Answer on Stackoverflow
Solution 9 - IosKejsi StrugaView Answer on Stackoverflow
Solution 10 - IosAnton KashporView Answer on Stackoverflow
Solution 11 - IosgklkaView Answer on Stackoverflow
Solution 12 - IosMuhammad ZaheerView Answer on Stackoverflow
Solution 13 - Iosjunaid malikView Answer on Stackoverflow