7

I am developing a TvOS app and having issue with interface builder, when I drag objects like Buttons, labels, segments and etc... the current view show me nothing!!! only a blank rectangle that shows position and area of that object

Apple TV - Blank rectangle

When I run the application objects will be shown fine!

Apple TV - Selection box

What is wrong with the interface builder?

Xcode Version 7.1 (7B91b), OS X version: 10.11.1 (15B42)

At the top of that screenshot there is an error.

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

Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
iOS.Lover
  • 5,923
  • 21
  • 90
  • 162
  • At the top of that screenshot there is an error. "An internal error occurred. Editing functionality may be limited". Maybe check what thats about. Restart might solve it. – sbarow Nov 16 '15 at 13:34
  • 2
    Xcode 7.1.1 update - "improves stability and fixes critical issues in Interface Builder, debugging and UI Testing" might be worth updating. – sbarow Nov 16 '15 at 13:38
  • @sbarow I updated xcode , restart the mac , create new project , but the problem still exist !!!!!! – iOS.Lover Nov 17 '15 at 08:49
  • I had the same issue after quitting xcode and re-open the IDE solved the issue. – Yohan Nov 20 '15 at 08:28
  • @Yohan I did , but no success ! It seems I am the only one in this world who faced with this problem ! – iOS.Lover Nov 20 '15 at 10:12
  • Make a new user account and try it there, if it still is the case the problem is in your settings. – Yannick Nov 21 '15 at 09:33
  • @yene Thanks !!!! It worked but why this happened ? How can I fix my main user ? – iOS.Lover Nov 21 '15 at 09:44
  • Close Xcode and remove all Xcode settings: http://stackoverflow.com/a/31719350/279890 – Yannick Nov 21 '15 at 10:04
  • @yene Didn't work !! It seem I have to clean install my mac ! to fix this issue – iOS.Lover Nov 21 '15 at 10:31

3 Answers3

3

Solution :

I had transferred all my files via Transfer Assistant form old mac to the new one , so I think this might cause the problem ! the final solution was I created admin new account and the problem is gone ! Unfortunately updating to Xcode 7.1.1 did not any help !

If you face with the same problem be careful backup all data from your current user account.

iOS.Lover
  • 5,923
  • 21
  • 90
  • 162
1

I get this a lot. I usually just quit out of Xcode and open it again and it will work most of the time.

Gene De Lisa
  • 3,628
  • 1
  • 21
  • 36
1

Just update the Xcode to "7.1.1 (7B1005)", I hope this will solve your problem

I tried to put the buttons on the storyboard its working fine enter image description here

satheesh
  • 2,770
  • 2
  • 14
  • 19