I have an application that plays a sound file every time I touch the screen. For some reason, the application will crash every time with the following error:
reason: 'Resource tick.mp3 can not be loaded'
If you need it, here is how I play the file every time I press the screen:
runAction(SKAction.playSoundFileNamed("tick.mp3", waitForCompletion: false))
This does not happen very often, maybe 1 out of 10 application launches. In most cases, everything works as expected. I would like to know what I'm doing to cause a crash, but I have no clue! I just step back, it would seem, not otherwise than the times when he does not fall. Then I suddenly get this problem ...
source share