Don't store your Xcode projects on iCloud Drive. If you want an online backup of your projects, use version control and a service like GitHub, Bitbucket, or GitLab. The following article shows you how to put an Xcode project on GitHub, Bitbucket, or GitLab:
https://www.swiftdevjournal.com/putting-your-xcode-project-on-github-bitbucket-or-gitlab/
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: