Fixed project settings for Xcode 6.1

I fixed the project setup to make it work with Xcode 6.1. Feel free to try it out and merge if it works properly. :)