Yes, the same thing happened to me today. I forgot to add the "Capabilities" to each of my targets. I think you need to enable the "Background Modes" one, with 'Remote Notifications' and 'Background Fetch' checked in addition to just iCloud.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: