updated for latest Xcode stuff