10

Unable to view or manipulate all xib file after updating xocde to 10.3 version.
Is there any solution for that?

My OS version: 10.14.4 (18E226)

Delete Derived data[Not working]

enter image description here

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
SPatel
  • 4,768
  • 4
  • 32
  • 51

4 Answers4

6

Completely delete your derived data from preferences and later restart your machine.

user1828845
  • 1,304
  • 1
  • 10
  • 17
2
  1. Go to Xcode Preferences -> Location -> Derived data.
  2. Close Xcode.
  3. Delete Derived data.
  4. Relaunch the Xcode and try to open the Xib.

enter image description here

UPDATE:- Finally I got the problem. In my case, it was an IBDesignable Class with IBInspectable Properties. I was assigned this class to my view. To fix this I just create a subclass of my IBDesignable class.

Mohindra Bhati
  • 146
  • 1
  • 8
2

I had a similar problem after these install problems:

  1. App Store upgrade of Xcode stalled (similar to Xcode - how to reset glitched Xcode 10.2 installation?)
  2. Safe mode reboot stalled
  3. Downloaded 10.3 from https://developer.apple.com/download/more/
  4. New Xcode had no Simulators installed -- OK, fix that

After all that waiting, an opened project looks like this

enter image description here

The above described remove-DerivedData-restart fixed this. OK, that's post hoc reasoning, ymmv.

Andrew Duncan
  • 3,553
  • 4
  • 28
  • 55
  • Having done this, *somebody* (App Store app) thinks the installation is still going, and tried overnight to re-install. (But Xcode was, atypically for me, left running.) How do I stop this? – Andrew Duncan Jul 24 '19 at 16:28
2

Restarting the computer fixed the problem. At least for me.

Didats Triadi
  • 1,502
  • 2
  • 14
  • 13