See: https://devforums.apple.com/thread/216735?tstart=0,  Developer Forums, iOS Development, Connected Technologies, iCloud, UIManagedDocument and iCloud:
Christopher Gokey In response to Don on Jan 22, 2014 7:29 PM.
Gokey points out:
	[m_query setSearchScopes:  @[NSMetadataQueryUbiquitousDataScope, NSMetadataQueryUbiquitousDocumentsScope]];
I’ve changed that to
	[m_query setSearchScopes: @[NSMetadataQueryUbiquitousDocumentsScope]];
The app runs just fine. Sorry. The project is exploratory; that’s my story and I’m sticking to it.
But, it makes a better example with this change.