The problem is that the downloaded Xcode project is corrupt. I rebuilt the project from scratch using the sources from the download and it compiled OK.
So, Apple, please check the download file.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: