Reputation: 1523
Audio in Background works perfectly on devices but not on Simulators (different machines) with same iOS version (11.4) as working devices.
Setup:
AKSettings.playbackWhileMuted = true
do { try AudioKit.start() } ...
Info.plist:
Required background modes -> App plays audio or streams audio/video using AirPlay
Any ideas ?
Upvotes: 1
Views: 647
Reputation: 2225
My understanding is that the simulators basically don't work with background mode. Cf:
Play music in the background using AVAudioplayer
How to continue audio playback in background mode
Upvotes: 1