Post

Replies

Boosts

Views

Activity

Reply to Xcode 11 + project with git + iCloud Drive sync = problem
I am not aware of specific new problems with Catalina but it is important to be realistic about the situation before Catalina. I have worked with xcode projects on iCloud for some time. It is a perfectly reasonable way of continuously duplicating a project that you are working on to an offsite location and particularly useful when traveling and wanting a backup of your changes on storage that isn't travelling with you. But it is insane to imagine that you can edit the project on multiple machines without breaking something. Though you may get away with it for a while, particularly if the machines are always likely to be fully synced before a change is made. Sorting out incompatible changes made to two source copies and then synced together is not something that iCloud Drive or any other distributed file system can do. That is what GIT and a skilled GIT user are for. And to make it worse if you are using GIT you are not just corrupting your project structure and content by syncing together two incompatible sets of changes to both the product structure and the source files, but you are syncing together two incompatible sets of changes to the GIT representation too. "Likely to be fully synced..." can only mean that you are likely to get away with it for a while. Do it for long enough and it will bite your leg off.
Jul ’20