I am trying to implement a button to open an iOS application from my widget. I understand that this problem was beaten to death on the forums, but I can not find an explanation with the specific error that I get. Perhaps some of you, more experienced iOS developers, may shed some light on this.
I am developing an update for one of my iOS apps for iOS 10 using Xcode 8.1 and Swift 2.
Code for my widget button: 
URL scheme added to info.plist widget: 
Runtime error that I get when I click the OpenApp button:
AppWidget[11872:3577323] __55-[_NCWidgetExtensionContext openURL:completionHandler:]_block_invoke failed: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)"
// Note: the application name has been replaced by the corresponding generics.
source share