Fixed a few optional issues with Xcode 6.1 and the Swift projects.