Xcode 12.3- No Graphics, Internal Error in IB???

Hi,

Last night, when I was working on autolayout constraints on main.storyboard all UI elements became invisible, I cannot see photos and button looks on main.storyboard file. But it on Simulator it works properly. And also it say "An internal error occurred.Editing functionalty may be limited." How can I fix this Xcode bug?

Note: I already tried clean builder and removing DerivedData file. It did not work.

thanks

Replies

Did you set to new settings as it should be proposed in Issue Navigator on the left ?

You may have a message like this:

Update to recommended settings


I have a same issue.


Log.txt
Code Block
Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS (-1) failed to launch): Failed to launch IBAgent-iOS via CoreSimulator spawn (Failure reason: Failed to spawn IBAgent-iOS on iPhone Xʀ (F2312C83-F9CB-4D88-887A-D8CDBA090B46, iOS 14.3, Booted)): Invalid device state

I downgraded to Xcode 12.2. It works for me.

https://developer.apple.com/download/more/?=xcode
clean build, clean derived, restart Xcode/Mac, reinstall Xcode, downgrade to 12.2 doesn't help.

clean build, clean derived, restart Xcode/Mac, reinstall Xcode, downgrade to 12.2 doesn't help.

I'm running Xcode in Downloads directory, not Application Folder. It may be related to problem. try it.
Any news on this? I'm having this issue right now on an M1 MacBook Pro