WARNING: 40: ERROR: couldn't get default input device, ID = 0, err = 0!
I ran into this error message (/crash) as I tried using the iOS simulator (they all seem to give the same error)- running on an iPhone works just fine.
The problem is somehow related to the sound parts, as when they're commented out, it works. The code is nothing unusual, but I'm sure someone will ask to see it anyway:
_flipSound = [SKAction playSoundFileNamed:@"flip.wav" waitForCompletion:NO];
_successSound = [SKAction playSoundFileNamed:@"success2.wav" waitForCompletion:NO];
_failureSound = [SKAction playSoundFileNamed:@"failure2.wav" waitForCompletion:NO];
and in places where the sound is played, it looks e.g. like this:
if (self.blockType == 3){
[self runAction:[SoundStore sharedStore].successSound];
} else {
[self runAction:[SoundStore sharedStore].failureSound];
}