Xcode 12.1 corrupts main.storyboard ?

After upgrading from 11.3 to 12.1, Xcode keeps popping up a warning screen saying "Multiple resources have same name: groupTableViewBackgroundColor" and said it maybe due to a SCM operation. The name/type of resource in the message can also be tableCellGroupedBackgroundColor.

I tried to manually edit main.storyboard to get rid of the duplicates but it keeps re-populating itself, even though I didn't initiate any source control operations.

Appreciate any input of how to stop this.
I had the same problem. It looks like these colors have been deprecated, but Xcode isn't upgrading them properly.

I fixed it by opening up all my storyboard files in a text editor, and find/replacing groupTableViewBackgroundColor with systemGroupedBackgroundColor, and tableCellGroupedBackgroundColor with secondarySystemGroupedBackgroundColor. Then, I opened each storyboard one more time in Xcode. This time it properly removed the duplicates, and I'm not seeing the errors anymore.
I had a problem of corruption that was due to an error in storyboard conversion.

When I open the storyboard of a project created in older XCode with XCode 12.1, I get the following error message:
The document “Main.storyboard” had an issue that was found and repaired.
This may be due to an SCM operation such as merging. Please save the document to fix the issue.

See fix here:
https://developer.apple.com/forums/thread/665777
Xcode 12.1 corrupts main.storyboard ?
 
 
Q