Mr. Developer
Mr. Developer

Reputation: 3417

SKLabelNode error , crash only iOS7

I start my project crashes immediately on ios7 , with the following error , but I can not understand how to solve .

2014-12-08 18:29:07.605 MyProject[1293:613] +[SKLabelNode nodeWithFileNamed:]:    unrecognized selector sent to class 0x10c6273a0
2014-12-08 18:29:07.608 MyProject[1293:613] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SKLabelNode nodeWithFileNamed:]: unrecognized selector sent to class 0x10c6273a0'

Upvotes: 0

Views: 155

Answers (1)

GuessGen
GuessGen

Reputation: 185

As you can see in the image bellow the method nodeWithFileNamed: is available in iOS 8.0 and above, this is why your app is crashing on a lower iOS version.

SKNode Class Reference

Upvotes: 1

Related Questions