7.1 - Partly blank storyboards

Ever since updating to XCode 7.1 my storyboards appear partly blank - existing projects, converted projects, new projects.

"blank" cells in static table views cannot get selected, neither can any items inside. (iOS).


I can select everything fine in the document outline, but only the autolayout constraints will appear, no label, textfield, whatever...

Also I cannot drag a label or anything into the affected views.


Now of course I can work my way around that with a pocket calculator and good memory, but it's not what I'd expect from any IDE.

XCode isn't without fault and well yes, it is what it is, but this issue is really muting my happiness and slowing me down to a crawl.

Unfortunately App Store economics don't favour the crawlers, so if anyone can offer some help, I'd be very happy to hear from you.


Apps still build and run fine by the way.


I tried so far:

- changing size classes back and forth

- close & reopen storyboard files

- quit & restart XCode

- Clean derived data

- Uninstall & reinstall XCode

- Restart all Mac(s)

- Everything above in ascending, descening and random order

- Cursing, swearing, inappropriate threats towards the screen

I have this exact problem. Just opened an existing project for the first time in 7.1 and Storyboard doesn't show any of the components in my views. The same problem happens in 7.2 beta 😟

hello,


same issue!

I don't know how to proceed,


I'm not using autolayout,


bye,

Andrea

And here comes the most obious and undeniably easiest solution:


Temporarily change the size of your view controller from Inferred to Freeform and adjust (typically the height) till every document component is visible.

Now everythign should render properly and should be selectable and editable as expected.

Change it back to "Inferred" and content becomes ghost again, yet all your changes and edits are retained.

Projects will also build and render fine.

It does seem Interface Builder does not realize when you scroll content from offscreen into focus.

Once out of sight, always out of sight...

Works for me across all my projects.

This actually helped me, thanks for your help.


Isn't there, however, a more permanent and elegant solution?


Also, you said this "works across your projects". Does this mean it sticks or do you still have to temporary change the height of the scene?

Or...perform an option-clean build folder to see if that encourages Xcode's reindexing to help flush out the cruft.

By "across all projects" I better should have said:

Stupid fix works individually every single time I apply it, across all projects I've opened to check.


It might be worth to mention that all of my projects are affected - when the visible content size exceeds the supposed window size (basically all scrollview contents).

So I tried everything, uninstalling, reinstalling, etc. etc.


I ended up accepting that the only way to get our invisible labels and elements back is to run our projects on Xcode 7.0.1. It's very counter-productive, but it's literally the only way I could find of working without removing more hair out.


If you want to try it out, here's what I did:


  1. Download Xcode 7.0.1 from the Developer Downloads page, or click here: Xcode 7.0.1.dmg
  2. Then, open the DMG and copy the file to your Desktop.
  3. Rename the file to "Xcode-7.0.1" and move it to your Applications folder.
  4. OSX might start verifying the application upon launch, so accept whatever it says about "The application has been downloaded on the Internet. Do you want to launch it?"
  5. Open your project and voila.
  6. Do whatever modifications you need, save, and quit this version of Xcode.

    The following steps are only to be done if really needed, but they are overall optional steps.

  7. Open the latest version of Xcode (at this time, 7.1 build 7B91b).
  8. Build and package the app for App Store submission.


Voila.


This is most likely some bug in Xcode. Hopefully it will be corrected in Xcode 7.2.


Should anyone have a better solution, please, feel free to let us know!

I am having many of the same issues, but with Xcode 7. Today I will upgrade Xcode to the latest version and see how that goes.


Thanks.

Are you on Xcode 7.0 or 7.1? Major minor difference, and so far, all of those reported problems happened on Xcode 7.1 and later.

@ Dark Dexter


I am using Xcode 7.0. I have not tried using it today, but am in the process of downloading Xcode 7.1.


I have more odd behavior, but do not want to hi-jack this thread so am going to post this info on a thread I began yesterday. It is:


https://forums.developer.apple.com/thread/24798


If that link fails it is entitled 'All of my views are being deleted from IB'


Thanks!

I wonder wether cycling through XCode versions is really less of a hassle compared to changing the display size in Interface Builder (which by the way has no effect on how the project builds for your device).

Normally I wouldn't be against it, but I have a giant form in a UITableViewController with up to 15 rows per sections (don't ask, client's request). The issue is when I increase the height, it stretches all of my elements. I don't know, I just found this solution simpler.


As I said, if anyone comes up with another miracle solution, let us know.

This bug is still happening in Xcode 7.2. 😕

Apple fixed this issue with the latest Xcode 7.3 beta 2 (7D129n) that was released two days ago.


HUZZAH

Apple fixed this issue with the latest Xcode 7.3 beta 2 (7D129n) that was released two days ago.

7.1 - Partly blank storyboards
 
 
Q