Exile3daime
Exile3daime

Reputation: 611

Xcode Storyboard file was broken suddenly

My Xcode is 10.1 and has been used for over 6 months. Before upgrading Security-Updates-2009-001 from App Store in MacOS X High Sierra 10.13.6, my Xcode quitted frequently and accidentally. Today, after upgrading the security path, it finally broke my Xcode and my Storyboard in projects suddenly as the images below.

enter image description here

It doesn't work even I checkout my Git to previous versions. It seems that the Xcode was something wrong inside, and so does my Simulators. The Xcode cannot launch any Simulators at all and always shows "Unable to boot simulator", no matter I launch it from Scheme Building or Launchpad.

I have been testing all solutions on boards to try to recover my Simulators and Storyboards, but it doesn't work. Does anyone can give me more assistance to solve it?

enter image description here

Unable to boot the Simulator.

The broken Storyboard looks like this one.. and the Log text file shows

Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS failed to launch): Failed to boot device iPhone 8 (E28478CE-81DC-4B16-A12E-16AA7086BE31, iOS 12.0, Shutdown) for context ...... The folder “disabled.plist” doesn’t exist. (Failure reason: The folder doesn’t exist.): The operation couldn’t be completed. No such file or directory (Failure reason: No such file or directory).....

enter image description here

and it is useless to uninstall and re-install Xcode again and again from 10.1 to 10.0 and to 10.1 again

Upvotes: 1

Views: 2462

Answers (4)

deepax11
deepax11

Reputation: 307

I have spent more than 6 hours on this. Restarting the Xcode fixed it

Upvotes: -1

Stelan Briyan Simonsz
Stelan Briyan Simonsz

Reputation: 321

The below permissions are worked for me.

sudo chmod -R 777 /private/tmp/

Upvotes: 2

Exile3daime
Exile3daime

Reputation: 611

After trying again and again, I finally deleted all Xcode and re-installed Xcode 10.1 again and then changed the permission and ownership of the folder /private/tmp to 777 and root:wheel, and it finally works back!! Storyboard and xib files are workable now.

Reference: https://forums.developer.apple.com/thread/66665

Upvotes: 1

Adi.S
Adi.S

Reputation: 280

This might be an issue of Command Line Tools resetting it may fix up your problem...

Run xcode-select --reset in your terminal and tell me if it works for you : D

Upvotes: 0

Related Questions