When you created the app you selected "None" for storage, and now you want to add storage. The easiest way to do this is to create a completely new project and select the correct storage option, and see what that new project contains that your existing project doesn't.
You should be able to figure out what keys need adding to a plist, or what code needs to exist in which files, etc.
I am not suggesting you move your code from your current project into the new one; that would cause you far more problems than you need. Just compare what you have already and what the new project has, and make them the same.
(The last thing you should attempt is to use an LLM or "AI" - you will spend far longer trying to give it the right context.)
Topic:
App & System Services
SubTopic:
iCloud