I have an Xcode project which was downloaded from the internet so I don\'t know which Xcode version was used to write it but the language is Swift 2. I opened it in Xcode 7.
Update to XCode 7.1.1 from 7.1 solved my problem.
With XCode 7.1 I used Airman00's solution but suddenly it stop working.
Hope it helps!