Quick Links: Gideros Home | Download Gideros | Developer Guide
mp3 encryption
  • saeyssaeys +1 -1
    Member
    I understood from a recent thread that mp3 files need to be plain (not encrypted) for Android export in order to work on that platform. Does that apply to iOS export as well?
  • hgy29hgy29 +1 -1
    Maintainer Accepted Answer
    It used to apply to all versions, but it has changed in 2017.3. In the latter, only Android export leaves mp3 unencrypted
  • saeyssaeys +1 -1
    Member
    When exporting my app to iOS, it seems like the encrypted mp3s makes the app crash (or in some rare cases the app doesn't play the mp3). If not encrypted, all works fine.

    xcode says:
    Terminating app due to uncaught exception 'Lua', reason: 'sounds/landing.mp3: Sound format is not recognized.'
  • hgy29hgy29 +1 -1 (+1 / -0 )
    Maintainer
    Thanks for reporting this, I didn't now mp3 should stay unencrypted for iOS too (I didn't find the relevant code in gideros sources). Meanwhile you can ask gideros studio to not encrypt your mp3 files specifically, by right-clicking on them and ticking the appropriate menu item.

    Likes: saeys

  • saeyssaeys +1 -1
    Member
    Don't know if this is of any help for you guys when debugging, and maybe there's nothing to do about it, but... When reproducing the error on another app of mine (basically the same app but in another language) xcode says this instead of the previous message:

    *** Terminating app du to uncaught exception "NSInvalidArgumentException', reason: 
    '-[EAGLView reportLuaError:]: unrecognized selector sent to instance 0x1100c03610'


    As before, all works fine when the mp3s are set to Never encrypt.
  • hgy29hgy29 +1 -1
    Maintainer
    If this was after a full export, then something is wrong. Could it be happening after an 'asset only' export by any chance ?
  • saeyssaeys +1 -1
    Member
    Yep, both exports were an 'asset only' export.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with OpenID

In this Discussion

Top Posters