audio is audible in simulator but not on device

Hi

I have a music theory app on the app store, that uses audio. It plays intervals, scales, triads, that sort of thing. It’s been working fine for months. Recently I made a big update and it seemed to be fine, too.

The other day I noticed the app’s audio content was inaudible on my iPad, as if the volume were turned to zero. I checked the volume was up, other apps could play audio, etc. I wondered if it had something to do with the update so I deleted the app from my device and reinstalled the old one. Same problem: plays in the simulator, but not on the device. 

This morning I tried rebuilding both versions of the app with the latest daily build but the problem remains. The audio plays in simulator, but not on my iPad. Other apps can play audio on the iPad. 

I’ve not yet tested on a different iOS device, although I may get a chance to at work later today. [I tried to build an apk and test on my Android phone, but for some reason the apk build was not being seen by my phone as an app but rather as a folder. I suspect this is a question for a different thread though.] 

I’ve no idea how to proceed with this issue at the moment. Any ideas?

thanks,

David

make sure the filenames you reference are correct as the device is case sensitive whereas the simulator is not, so could explain why they don’t play if you have changed them.

checked that, all good.

Hi David,

When you say “update” do you mean an OS update on the iPad? If so, which version was it working on and which version is it not working on?

Or, do you mean that you updated something? And if so, what did you update? The audio files themselves? Other code?

To clarify: I had version 1.2 of my app on the store for a few months. And it was all good. I then added some new functionality, including some new sound files, to it and published the update, version 1.3, a couple of weeks ago. Prior to publishing 1.3 I tested it thoroughly on my device. I never had any problems with the sound either in the simulator OR on the device.

After publishing the new version on the app store 2 weeks ago, I do not explicity recall testing the new app (my test builds had all worked just fine on the device) but I probably did, as it would have been very out of character for me not to.

At any rate, I noticed just about 4 days ago that the app, i.e. version 1.3 from the app store, was not playing the audio on my iPad. As I said, it does work on the simulator. As far as I know, I had changed nothing. At the time I noticed the problem, I had not updated the iPad’s OS, (although I have since then - it’s now running the absolute latest). This morning I also tried rebuilding and retesting with the latest daily build, but that hasn’t helped.

–I just tried rebuilding version 1.2, a known-good version, on the iPad. The audio is not working for 1.2 either, on the iPad.

So something wrong with my iPad? I will try to test this on another device ASAP.

Found the problem. I had inadvertently switched the side button to function as a mute button instead of lock rotation. Odd thing is, it only mutes some apps. Many apps, like my podcast player, continued to play normally. Thanks for the help.

make sure the filenames you reference are correct as the device is case sensitive whereas the simulator is not, so could explain why they don’t play if you have changed them.

checked that, all good.

Hi David,

When you say “update” do you mean an OS update on the iPad? If so, which version was it working on and which version is it not working on?

Or, do you mean that you updated something? And if so, what did you update? The audio files themselves? Other code?

To clarify: I had version 1.2 of my app on the store for a few months. And it was all good. I then added some new functionality, including some new sound files, to it and published the update, version 1.3, a couple of weeks ago. Prior to publishing 1.3 I tested it thoroughly on my device. I never had any problems with the sound either in the simulator OR on the device.

After publishing the new version on the app store 2 weeks ago, I do not explicity recall testing the new app (my test builds had all worked just fine on the device) but I probably did, as it would have been very out of character for me not to.

At any rate, I noticed just about 4 days ago that the app, i.e. version 1.3 from the app store, was not playing the audio on my iPad. As I said, it does work on the simulator. As far as I know, I had changed nothing. At the time I noticed the problem, I had not updated the iPad’s OS, (although I have since then - it’s now running the absolute latest). This morning I also tried rebuilding and retesting with the latest daily build, but that hasn’t helped.

–I just tried rebuilding version 1.2, a known-good version, on the iPad. The audio is not working for 1.2 either, on the iPad.

So something wrong with my iPad? I will try to test this on another device ASAP.

Found the problem. I had inadvertently switched the side button to function as a mute button instead of lock rotation. Odd thing is, it only mutes some apps. Many apps, like my podcast player, continued to play normally. Thanks for the help.