All the devices are running iOS 8 or more (testflight beta test).
As I said, it's running correctly on Android, so I doubt this is a problem with the events.
The events seems pretty basic. The more complicated one is :
(battle is won) - Stop "fight" + play fanfare (tag "fight")
wait 5 seconds
tag "fight" is playing - play post-fanfare
Otherwise, on my title screen it's
on start of layout --> play music
At the beginning of a fight it's a pretty simple
condition is met --> play music
But music is always played! it's just that it starts playing as soon as I touch the screen after the condition is met, not right when the condition is met, as it should.
Maybe I'll try with the latest version of XDK, the last time I tried was with XDK v.1632 or something.