Sound working in IDE but not on iPhone help

Hello

I’ve got some basic code to play a sound when an object is tapped that works fine using unity remote but not as a compiled app.

var myAudio: AudioSource = Camera.main.GetComponent(AudioSource);
myAudio.Play();

Audio component settings on my camera:

Cheers
Gareth

It seems to problem was between the chair and the iPhone

I had the phone in silent mode.

*hangs head in shame

on a positive note,it’s to see that you can shift the pitch on the iPhone without any worries.

cheers
Gareth