Could not create system sound ID for url file. in xamarin iOS

I am getting error ..while play sound in xamarin iOS...

Could not create system sound ID for url file:///Users/DELPIN/Library/Developer/CoreSimulator/Devices/53785F66-4F6E-4445-B0E6-E3856D84F8B8/data/Containers/Bundle/Application/E8BCB5C5-6A8D-489D-91FE-556DF783774F/Horizontalscrolltest.app/Resources/song.aif; error=SystemSoundUnspecifiedError..

any one help to me..

Tagged:

Answers

  • Motoko89Motoko89 USMember ✭✭

    I moved the sound files to a separate Sounds folder instead of Resources and it works. I don't know why

  • MartinSchwillMartinSchwill USMember ✭✭

    Try right-clicking on your sound element in the Solution window (in the Sounds) file and change Build Action from none to Bundle Resources. Worked for me :)

Sign In or Register to comment.