Update and fix Xcode project.