Updated Xcode project, and added explicit conversion of return value from time(NULL).