I get this error when I want to use UIDocumentPickerViewController
:
Application initializing document picker is missing the iCloud entitlement. Is com.apple.developer.icloud-container-identifiers set?
I enabled iCloud in the Capabilities and I have entitlement with key com.apple.developer.icloud-container-identifiers
set to array with one element iCloud.${CFBundleIdentifier}
.
What can cause this error, especially when it worked earlier?
The error shows document picker but it happens when I try to initialise UIDocumentMenuViewController
.
It has something with bundle version, this error happened when I changed the version number, when I change it to the previous one it was ok. Does anybody understand that?