I recently moved a few playground files from my documents folder to iCloud Drive. Then I noticed they all the files have been duplicated and non can be opened. I moved them back to the original location to the documents folder and still they don't open.
Any suggestions on how I can bring back the codes I've written?
UPDATE: I had a copy of one of the files in my dropbox. It turns out the playground file, consists of a few files and some files were missing or didn't get uploaded to iCloud. (iCloud bug? Shame!)
So then I took a look at the contents (right click > show package contents) and found a swift file which had my code in it.