Xcode assets missing after adding new MacBook and iCloud.

Ever since I got a new MacBook (in 2023) and synced with my other Mac and the iCloud, all of the assets from projects created on my old Mac are missing when I open in Xcode on either computer. What's worse is this has also somehow affected my GitHub repos for these projects too. The assets are missing from my repos when cloned onto new machines. It hasn't affected assets in App Store deployment but the project which holds my deployed app was missing its assets too. I am able to locate the missing assets by digging through my Time Machine backups to find what I need and moving the folders/assets into Xcode project.

Is there anyway to restore my assets in a cleaner more complete way (short of full Time Machine restore)? Why does this happen? How do I avoid this in the future?

Answered by darkpaw in 802042022

Are your project files on your iCloud Drive? Are you opening the projects from there?

I use iCloud Drive to store my files, and it will occasionally delete some of them inside folders, including inside package files.

I raised a feedback report for this at least a year ago. It doesn't affect just Xcode stuff, so important folders of files I now zip up as well.

I'd ask you to raise an FB, too.

Accepted Answer

Are your project files on your iCloud Drive? Are you opening the projects from there?

I use iCloud Drive to store my files, and it will occasionally delete some of them inside folders, including inside package files.

I raised a feedback report for this at least a year ago. It doesn't affect just Xcode stuff, so important folders of files I now zip up as well.

I'd ask you to raise an FB, too.

Xcode assets missing after adding new MacBook and iCloud.
 
 
Q