I know, there are tons of post dealing this topic, but after days of searching for errors, solutions ans answers I'm done.
In the beginning, everything worked fine. Then, my App crashed suddenly because of a silly error in code. Never mind, I fixed this error, but since then, no syncing is done anymore.
Not enough, I recognized a field called "entityName" on Development AND Productivity which mustn't be there.
Simply deleting app and reinstall won't make anything different. Logging out and in again (neither mac nor appleID) won't give a solution.
I can't delete my app from my mac with all it's related data (e.g. with AppCleaner) and reinstall it, because data isn't synced yet. So all my data will be deleted, too and I will lose my data.
I need help. Why is there a field, that must NOT be there? Why did iCloud stop syncing? How can I solve this, without losing my data? Is there a "flag" in database, that controls syncing, so I can change it, using an SQL-Browser? Is there a hidden file, I can delete, to start syncing again? How can I get rid of this strange field, or is it a part of cloudkit and belongs to it?
Please excuse this vague information, but it's a) already difficult to describe the problem exactly and b) my English is pretty bad.
To describe it a little more: I have a macBook Air (M2) as my main computer. My app is running here and it (should) sync the data to iCloud (both cloudkit and iCloud files). Then there is a Mac mini (M2) that runs the same program in the same version under the same Apple ID. My employee should be able to view the data and change it if necessary. This worked fine for a few days, but then the syncing stopped.
From Apple's dashboard (https://icloud.developer.apple.com/) I can see that the data is definitely not arriving in the cloud anymore. (login as me)