Xcode 8.1 storyboard showing only blue lines

I installed Xcode 8.1, and the storyboard only shows blue lines for all user interface elements. If anyone understood this, let me know. I can not return it even Xcode 8.0.

+12
source share
5 answers

So finally I also got a blue line problem in Xcode 8.1

Here is a screenshot

Xcode screenshot of interface builder issue

We can see the error message:

An internal error has occurred. Editing functionality may be limited.

with the Report Error button on the right.

I don’t know why this happened. But I just left Xcode and Simulator and restarted it. This fixed this and I got the interface elements back.

+13
source

Do not worry, go back to the old xcode

To remove the blue lines,

First, select the view controller in the storyboard.

Then go to Editor> Canvas> Show Border Rectangles

This will hide the blue lines.

You may need to repeat this 2 or 3 times for this to work.

Image link

+6
source

Seeing the blue rectangles is actually a feature of the Xcode editor. You can turn on / off by going to Editor Menu-> Canvas-> Show Rectangles Rectangles

But yes, seeing only the blue fields seems to be a mistake. This usually happens if you often switch between different versions of Xcode. I assume that failure and reopening of Xcode will resolve this temporary issue.

+1
source

I had the same problem when I upgraded to Mojave and then installed an older version of Xcode (10.1). To fix this, I uninstalled all versions of Xcode (10.2 / 10.1) and then installed Xcode 10, and this fixed the problem.

+1
source

This has happened to me several times. For me, this almost always happened after dragging a UILabel from a UITableViewCell to another view.

I managed to solve this problem by deleting the view controller in the storyboard that I was dragging and dropping to / from, closing the application and reopening the project.

0
source

Source: https://habr.com/ru/post/1011800/


All Articles