1

I have a Single view application project called "SpaceImpactSwift" when I run the app the iPhone simulator is black and the log says:

Unknown class _TtC16SpaceImpactSwift18GameViewController in Interface Builder file. Unknown class SKView in Interface Builder file. 

Now, it says a SKView is wrong or something, but this is not a SpriteKit project, I had a project called the same that DID use SpriteKi but I removed it and created this.

I have tried [cmd]+[shift]+K Clean but it doesn't work.

1
  • Update Xcode to the current beta. Sticking with a beta when a new one is released is kind of asking for problems. Commented Jul 18, 2014 at 10:13

1 Answer 1

1
  1. Reset the simulator.
  2. If it does not work, update to latest Xcode 6 Beta.
Sign up to request clarification or add additional context in comments.

3 Comments

Im guessing its just some file error but I dont know where to find it. I sholdnt need to update to latest
It's recommended that you stay up-to-date with your xCode version, Swift specifications may vary.
I made it work by deleting derived data, restarting xcode and resetting simulator and restarting.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.