I had this bug that appeared on all my Xcode projects and I don't understand how to fix it
My suggestion is that I had installed the beta version of Xcode 14 and I re-opened my projects on this one. I wanted to delete the beta version and re-install Xcode traditionally via the Mac Store.
But when I reopen a project that I opened on beta Xcode 14 the problem appears.
If I reset an Assets folder to zero, everything works but as soon as I add the slightest, logo, icons or other, the message is displayed again and it is impossible to compile the app.
The only solution I found to compile is therefore to have a blank asset folder, which is impossible for use is even publication.
Maybe reset asset data in the/a plist file? I don't really know.

I completely uninstalled Xcode and all the simulators installed with DevCleaner but nothing changed.
So I reinstalled an iOS 15.0 simulator and put the development of the app in ios 15.0 still no change.
I created a new project and I compiled it directly, it works but as I said, if I add any data in the assets the problem returns

I fixed the issue with the following steps:
Solution found by DaveWoodX https://twitter.com/davewoodx/status/1544820336629358601