Thank you for your post.
You need to allow iCloud/App Extensions in your project. Be sure to follow the complete instructions in Knowledge Base Article #15531:
Thanks! That's it. Now I have chosen iCloud documents and it is working. I can also access to Dropbox.