I have an issues with my swift application. I'm using UIWebview and I been getting the following error:
[AVFigEndpointPickerOutputContextImpl sharedAudioPresentationOutputContext]: Audio presentation output context not supported by FigEndpointPicker
and Thread eroor
Thread 4: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Here is my ViewController.swift code
import UIKit
class ViewController: UIViewController {
@IBOutlet var webView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
//UserDefaults.standard.register(defaults: ["UserAgent" : "Chrome Safari"])
// Do any additional setup after loading the view, typically from a nib.
let url = URL(string:"http://example.com/")
let urlReq = URLRequest(url:url!)
webView.loadRequest(urlReq)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
I got the same issue with my simulator on Xcode 9 beta 3.
The error detail here
[AVFigEndpointPickerOutputContextImpl sharedAudioPresentationOutputContext]: Audio presentation output context not supported by FigEndpointPicker
The bug did not occur on the older version of Xcode. I will report this issue to Apple through Bug Reporter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With