mars1985's Recent Forum Activity

  • I've found a fix, though it has a knock-on effect.

    The fix: Export for cordova like you usually would. Now go into the media folder and what you want to do is replace the existing audio with 48khz (sample rate) versions. How I did this was I fed all my audio through https://online-audio-converter.com/ (to change the sample rate you'll have to open up advanced settings).

    Now just build in the intel XDK, terminal or however you get it native on your iphone.

    The knock-on effect: I've found that on the first play or after the first play in some time, the music just turns into a faint but high pitched buzz. Upon rebooting the app it will all work normally, but as you would imagine this still isn't ideal.

    I have noticed that the "preload x" or "preloads complete" doesn't work on ios and I'm curious if this is something to do with it?

    Any ideas or suggestions would be great!

    So changing the sample rate to 48000khz fixed the audio problem but I had no sound on the FIRST run but anytime after I ran it the sound was fine. Why would it require the app to open and close one time before the sound would work and is there a work around for this like preload which doesn't seem to do anything.

    Thanks for discovering this - I wish Scirra would look into it a little harder.

  • To resolve this problem you need to follow these steps.

    1. Manually Add Third Party Plugin https://github.com/apache/cordova-plugin-inappbrowser

    2. Inside your Construct 2 export folder - edit the file called intelxdk.config.additions.xml and remove the or comment out this line:

    <intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />

    3. Once you've done this remember to close and reopen XDK / upload the project again before trying to build.

    Works for me!

  • damjancd have you added audio to your project yet? I haven't been able to get my audio background music / sound effect to play properly on my iPhone 6 iOS 9.2 during export testing through Intel XDK.

  • Seems to be a lot of problems with the Audio Object.

    Background music is distorted when playing on iOS.

    Read more here:

    The audio bug after exporting from Construct 2 for iOS is the only thing holding me back from publishing my first project to the App Store.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have the same problem with my background music specifically. Sometimes the sound effects also have issues.

    Checkout this blog post: http://www.williammalone.com/posts/ios- ... ile-issue/

    When I tested the sound in that link using my iPhone the first "touchstart" audio is distorted but the other two are fine. Try that link out on an iPhone to reproduce the grainy audio.

    Looks like if you use "touchend" the audio plays fine.

    I tried a lot of different ways in Construct 2 to fix this problem but none of them worked. I didn't see a way out of the box to fix this within Construct 2 without doing some manually coding.

  • Checkout this blog post: http://www.williammalone.com/posts/ios- ... ile-issue/

    When I tested the sound in that link using my iPhone the first "touchstart" audio is distorted but the other two are fine. Try that link out on an iPhone to reproduce the grainy audio.

    Looks like if you use "touchend" the audio plays fine.

  • Checkout this blog post: http://www.williammalone.com/posts/ios- ... ile-issue/

    When I tested the sound in that link using my iPhone the first "touchstart" audio is distorted but the other two are fine. Try that link out on an iPhone to reproduce the grainy audio.

    Looks like if you use "touchend" the audio plays fine.

  • The bug has been submitted here:

    When I launch my iOS App the sound will sporadically have problems being distorted.

    Sometimes the background music will be fine and sometimes it grainy and choppy sounding.

    If I leave the app open but use the home button to go to the iPhone home screen then I open the app again - there is no sound at all. So I have to manually close the app and open it before I can have sound again.

  • > To fix this I first imported the .m4a through Construct 2 GUI and selected the higher quality import.

    >

    doesn't work for me :/

    So I thought I had solved this same problem with my app but its not resolved.

    When I launch my iOS App the sound will sporadically have problems being distorted.

    Sometimes the background music will be fine and sometimes it grainy and choppy sounding.

  • So I thought I had solved this same problem with my app but its not resolved.

    When I launch my iOS App the sound will sporadically have problems being distorted.

    Sometimes the background music will be fine and sometimes it grainy and choppy sounding.

    I am using iPhone 6 with iOS 9.2

  • It's saying it cant find your provisioning profile. Have you copied that to the game directory and uploaded it correctly?

    In order for this to stop giving me an error message - I had to close Intel XDK client and open it again.

    Once XDK was restarted and I went to the build tab - it asked me if I wanted to reload the project - I selected to reload - this was with the provisioning certs in my root directory so they would be seen.

    Once I restarted and reloaded the project - I am able to build with no problems.

    Thanks for the help!

  • Hello, I've gone through this tutorial and when I finally build I get a Build Failed error.

    https://www.scirra.com/tutorials/1353/h ... lkphonegap

    Build Log:

    Building a Cordova 5.1.1 application.

    The application name is "xxxxxxxxxxxxxxxx"

    The package name is "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

    Will use the provisioning profile for "adhoc"

    Warning: No provisioning profile found.

    Error: Provisioning profile is missing from the configuration file.

    I've probably tried and retried this - even deleted and started a new project but the same results.

    I also see someone else is recently having this problem.

    software.intel.com/en-us/forums/intel-xdk/topic/542582

    Does anyone have any idea why this is happening - almost seems more like a bug.

mars1985's avatar

mars1985

Member since 26 Dec, 2011

None one is following mars1985 yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies