An internal error occurred. Editing functionality may be limited.

I have downloaded my project in my new MacBook Pro (13-inch, M1, 2020), M1 Chip and opened it on Xcode 12.4. But all my storyboards are displaying black screens, the view controllers are not rendering. Each storyboard displaying An internal error occurred. Editing functionality may be limited.

I'm attaching the Log.txt file.

I read the log, but can't able to find the issue.

I tried everything,
  • - Deleted Derived Data

  • - Restarted Xcode

  • - Restarted Mac

  • - Reinstalled Xcode

Nothing worked for me. Please help me to figure out this. Let me know if did everything wrong.

Note: The message An internal error occurred. Editing functionality may be limited. was displaying in every storyboard. But application is running perfectly on both simulator and device.


Answered by Mounika_Kolar in 662223022
I did these steps (Mentioning here because, they might work for you).
  • Deleted Derived Data

  • Deleted Developer folder in ~/Library

  • Deleted com.apple.dt.Xcode folder in ~/Library/Caches

  • Deleted Xcode

  • Empty Trash

  • Reinstalled Xcode

None of these worked.

Later, I erased all my Macintosh HD. Then, reinstalled Mac OS and Xcode. Now it is working.

Accepted Answer
I did these steps (Mentioning here because, they might work for you).
  • Deleted Derived Data

  • Deleted Developer folder in ~/Library

  • Deleted com.apple.dt.Xcode folder in ~/Library/Caches

  • Deleted Xcode

  • Empty Trash

  • Reinstalled Xcode

None of these worked.

Later, I erased all my Macintosh HD. Then, reinstalled Mac OS and Xcode. Now it is working.

I have tried the same but still no luck I erased all my Macintosh HD and reinstalled the Mac OS Big Sur and Xcode but still seeing the same issue can anyone help me really this is irritatng and frustuating always seeing black screen in storyboard
  1. 找到Xcode的简介

  2. 勾选以低分辨率打开

  3. 完全退出Xcode ,再运行即可。


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