I had this issue again with Action Extension and Share Extension. I deleted provisioning profiles both on Apple Developer account and on my Mac, toggled CloudKit off & on in Xcode and restarted my iPhone (test device). It helped. Hopefully, it's going to work instantly with the production version.
Topic:
App & System Services
SubTopic:
iCloud
Tags: