Partly fixed the broken Xcode project.