Posts

Post not yet marked as solved
1 Replies
588 Views
macOS Catalina 10.15.2Xcode 11.3 Swift 5The following code executed in the Widget always returns 'false' in completion:extensionContext?.open(myAppUrl, completionHandler: { (success) in if (!success) { os_log("Failed to open app from Today Extension", log: OSLog.mylogs, type:.error ) }The main app that contains the widget extension is in an Applications folder and can be launched by an 'Open URL' from an Automator workflow.There are no error messages in the system log. The launch attempt fails under the widget simulator and on the live Today app. Otherwise the main app and wiidget work as expected.The problem looks a lot like this.Any suggestions are appreciated.
Posted
by xnav.
Last updated
.