Using this QML code:
source: StandardPaths.locate(StandardPaths.AppDataLocation, "audio.mp3", standardPaths.LocateFile);
Having this in pro file:
BUNDLE_DATA.files = $$files($$PWD/audio/*.mp3)
QMAKE_BUNDLE_DATA += BUNDLE_DATA
QTPLUGIN *= qtaudio_coreaudio
QTPLUGIN *= qtmedia_audioengine
QTPLUGIN *= qavfcamera
QTPLUGIN *= qavfmediaplayer
This works on iOS version < 13.6. However users of my app started reporting that the sound is muted on 13.6. The file is loaded, the player is working (time is moving when the play button is hit and duration is properly set) but the device is silent.
Might be related to
QTBUG-39290 and QTBUG-37704.