0

On My current project, I am working with both Objective C and Swift code together. My XCode shows:

an internal error occurred. Source editor functionality limited. Attempting to restore

enter image description here

This one happens 1-2 times in a minute while i try to code on swift. This problem frequency became high from last 2/3 days. I have tried the following solutions Similiar problem & solution from Stack Overflow but nothing worked for me . Waiting for solution and reason behind this foul problem

M Reza
  • 18,350
  • 14
  • 66
  • 71
Md. Sulayman
  • 781
  • 8
  • 30
  • This happens to me a lot. It happens to me when I type `_ in` (underscore first) into a trailing closure. And I use trailing closures all over the place. I have to be careful to type “in” before adding the underscore. – ABeard89 May 21 '18 at 10:43
  • Unfortunately, I’m not sure there’s much that you can do, other than file a bug report and wait for Apple to fix their fragile editor. – ABeard89 May 21 '18 at 10:45
  • I can't work normally for this one. I had to type every single word without any suggestion. very pathetic bug – Md. Sulayman May 21 '18 at 10:51
  • Yeah, it’s pretty awful. I have to either wait for the editor to recover or just restart Xcode. It’s such a pain in the neck... – ABeard89 May 21 '18 at 10:52

1 Answers1

0

Problem: This things happened frequently sometimes on project that contains both Objective C & Swift code.

Solution: Updating XCode version fixed my problem, nothing of the solution mentioned in comment worked for me

Md. Sulayman
  • 781
  • 8
  • 30