You need to create your own entitlements file that adds the appropriate keys and add it to the deployment window, replacing the default entitlements. The iCloud demo already has this included.
It seems it is a compiler problem. if I change the remote name in the deployment window to XXX.entitlements, no XXX.entitlements will be generated in the output path. But I don't know how I can fix it...
You should double-check the deployment window, it could be possible that the information was lost because the project file is created in an older RAD Studio. The Entitlements that is shown in the output Debug folder should match the template you have used when adding it to the Deployment Window. Otherwise, there is an error with deployment.
Thanks for you answer. Now I have solved the problem.
Thanks for the feedback!
Only one more question: Where I can find the file that will be generated by the demo?
Pieter Scheldeman2019-06-26 16:35:33