AVD_loader.cpp: failed to get a service for display 4

IosSwiftXcodeWebview

Ios Problem Overview


I am trying to play audio through a WebView built which is built in Swift. Upon playing the audio, sometimes it will play out and other times it'll play for ~2 seconds and stop. I then get an error in the Xcode log:

/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-9.1.6.1/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4 

Ios Solutions


Solution 1 - Ios

The solution is: app.disableHardwareAcceleration()

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJustin BushView Question on Stackoverflow
Solution 1 - IosPierre JaninehView Answer on Stackoverflow