I created a simple spritekit game. It works and sounds great in the simulator and on my iPad2. The game runs fine on my daughters iPhone 6 but the background music and sound effects don't work. There are no errors. I checked the volume on the phone even playing some music in iTunes to make sure I could hear it.
Sound declarations: located just after the my custom class definition
let tickglass = SKAction.playSoundFileNamed("tickglass.wav", waitForCompletion: false)
let backgroundMusic = SKAudioNode(fileNamed: "peterpiperb.wav")
Locate in playGame function:
backgroundMusic.autoplayLooped = true
addChild(backgroundMusic)
Sound effect when user touches the screen:
runAction(tickglass)
All sounds are 44.1 kHz wav files store in a Sounds sub folder. I'm running Xcode 7.3, and iOS 9.3.5. and OS X 10.11.4
Keep in mind that I'm not new to programming but I am new to Xcode programming.
Thanks for your help!