[Fix] iOS app crash or startup fail due to audio

Discussion and feedback on Construct 2

Post » Fri Feb 19, 2016 11:16 am

Hey everybody, I just want to share my experiences with exporting to iOS with Phonegap. 99% the time that it failed, it was because of audio problems.

The problem is in C2 converted .m4a files, they aren't compatible with iOS according to my tests. I hope @Ashley could check this problem.

The solution that fixed all the builds I made is that I exported the .ogg files and then converted them on an online converter to .m4a. It works instantly.

Also another weird bug that I came accross: if the .m4a file is too small (like under 1kb), you can't hear it on the app.

I hope I helped somebody! Thanks!
B
24
S
6
Posts: 64
Reputation: 1,436

Post » Fri Feb 19, 2016 12:43 pm

I have never heard of any such issues with the .m4a files, as far as I am aware they are standards-compliant AAC files in an MP4 container, and every time I've tried iOS has been able to play them. If you have any trouble then please file a bug report following all the guidelines, otherwise there is little we can do other than speculate.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746


Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk, jobel and 5 guests