Fixed Xcode 6/Yosemite Problems

When resigning with Xcode 6 installed, you would get an error, this
*should* fix it.