Fix Xcode errors.