A bash script which configures xcode to use iCloud Drive to store CodeSnippets. You can run the script or copy/paste line by line. The scrip will:
-
Move to Xcode settings directory
-
Back up (rename) the CodeSnippets folder (CodeSnippets_bak)
-
Create new CodeSnippets folder on iCloud Drive
-
Make a symlink to iCloud/Documents/CodeSnippets
-
Copy original snippets to iCloud Drive