30
jimbobbles
265d

XCode: I can't find your class in scope
Me: But it's right there. You could find it yesterday
XCode: Yeah, no.
Me: Look, if I cmd-click on it, you open the class. So you know what it is. It is in scope. It has to be.
XCode: Nope.
Me: *cleans build folder* *build* How about now?
XCode: Nope.
Me: *deletes derived data* *build* Now?
XCode: Nope.
Me: *buries head in hands* *swears* *Copies the text in the class file, deletes the file, recreates it with a slightly different file name, copies the text back in* *build*
XCode: Build complete.

For fucks sakes.

Comments
  • 1
    Clean build, then restart Xcode. That solves it usually.
  • 9
    every compiled language
  • 0
    😂😂😂
  • 1
    It happens to me with kotlin. In the top of the file it says that intelij had an error. And a restart makes the class work again.
Add Comment