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
Your target may have the "Allow app extension API only" option checked.
Check your target's general settings to see if that option is enabled in Deployment Info > App Extensions.