How do I fix sound issue in ios build for uploading on app store?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Create your own casino app and import it to Google Play and the App Store.
  • Hi everyone,

    I’m currently trying to upload my Construct-based game to the Apple App Store using Cordova (iOS build), and I’m facing a persistent sound issue on iPhone.

    The game runs in the browser, even in simulator & real iPhone device but audio is not playing at all .

    Here’s everything I’ve already tried so far:

    1.)Removed .ogg files

    I removed all .ogg audio files and kept only .m4a (since iOS doesn’t support .ogg properly).

    2.)Audio Unlock Events (Construct Event Sheet)

    Added touch-based audio unlock events like:

    On first user interaction (touch/click) → play a silent sound

    Ensured audio context resumes on user input

    3.)Re-exported Project Multiple Times

    Clean export from Construct after making changes

    Made sure no leftover old files remain

    4.)Tested Different Build Methods

    Tested via simulator and real device

    Issue mainly appears on real iPhone

    5.)Checked iOS Settings

    Device is not on silent mode

    Volume is up

    Permissions seem fine

    6.)Cordova / Build Setup

    Using Cordova iOS build

    All required platforms and dependencies installed (Node, CocoaPods, etc.)

    7.)WebView Related Concern

    I read that sometimes WKWebView / WebView policies on iOS block audio autoplay

    Not sure if this is causing the issue in my case

    My Questions:

    Is this a known issue with Construct + Cordova on iOS?

    Do I need to manually configure something related to WKWebView audio policies?

    Is there any additional plugin or setting required for audio to work on real iPhones?

    Am I missing any important step for unlocking audio properly?

    I’ve been stuck on this for quite some time now, so any guidance would really help.

    Thanks in advance 🙏

  • ...

    I removed all .ogg audio files and kept only .m4a (since iOS doesn’t support .ogg properly).

    ...

    Hi, why did you start using these compression formats? (.ogg/.m4a)

    I import audio into Construct 3 and get the *.webm format, then I just compile it using Xcode and everything works.

    Also, it's best to keep sounds and music in the “Sounds”

    and “Music” folders.

    Also, I added an ATT request when the game launches, but that’s for analytics and advertising; there were no issues with the music or sounds.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks a lot bro, problem is fixed & the cause is same .m4a file type, basically its a old game & is containing .m4a files

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)