I just upgraded from XCode 6.4 to Xcode 7 GM and get started to change the code to be compliant with Swift 2. I could not come over the following errors.
The project
Swift 3.0
In my case I had this message inside a Widget (that's an extension), the code was a copy/paste from my app. And like Tom Roggero said I had to replace
UIApplication.shared.open(NSURL(string:"https://
by
self.extensionContext?.open(NSURL(string:"https://