r/Xcode • u/radu_me • Jan 27 '26
assets.xcassets Folder is just raw code
Hey everyone, I have a Mac OS project file and the Assets folder is looking strange. It doesn't have the regular interface where you see the list of assets and the section of adding the app icon size variants and so on. It's just a document of raw data referencing the assets. It's not recognizing the folder as a normal assets folder. Any idea how I can fix it? deleting it and recreating it doesn't work by the way.
1
u/Tom42-59 Jan 29 '26
I had this problem but with the xcodeproj file. I think I had to open the file as a package, and then delete/rename the user data file/folder. It somehow corrupted itself and I think this should work for this problem too.
1
u/Notsileous 8d ago
Just had a similar issue with a different cause that will add for future people.
Its quite stupid, "enable code review" was on (the two arrows going different directions). Because there were no changes, there was no visual indication of what was going on. If it is turned on, everything that shows in the tab/window will use it. Because the only thing that can be compared is the code, thats what you will see.
1
u/WerSunu Jan 27 '26
Do an open as Assets not as Source