Fix and update Xcode project