"Failed to build the scheme (app name)"

Good morning, I have a problem. I'm a newbie on coding and I'm studying Swift with an old course online with Xcode 11 but I have Xcode 14 and some things are different.

I'm building a test app to learn code but now I don't view the canvas, is in error, and the diagnostic give me this:

API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0)


SchemeBuildError: Failed to build the scheme "PizzaList"

API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0)

Compile asset catalogs: CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) /* com.apple.actool.errors */ : error: ERROR: Identical key for two renditions

(E)Key element: Grouped/Packed Images part: Artwork Image value: (null) identifier: 0 dimension1: 0 state: (null) scale: 2 idiom: phone subtype: 0 gamut: sRGB target: any sizeClassHorizontal: universal sizeClassVertical: universal graphicsFeatureSetClass: GLES2,0 memoryClass: 0 target: any appearance: (null) localization: (null) glyphWeight: (null) tglypSize: (null) deployment: any

What is the problem?

Thanks to all!

Could be an error generated by wrong images?

Compile asset catalogs: CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600003e8df80, store PSC = 0x0) CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600003e8df80, store PSC = 0x0) 2023-03-19 18:56:05.213 AssetCatalogSimulatorAgent[97431:1814739] *** Assertion failure in -[CoreThemeDocument metadatumForKey:], CoreThemeDocument.m:8209 CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600003e8df80, store PSC = 0x0) CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600003e8df80, store PSC = 0x0) CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600003e8df80, store PSC = 0x0) Assertion failed: (result && key), function CUIRenditionKeyCopy, file CUIThemeRendition_Support.m, line 871. 2023-03-19 18:56:06.280 ibtoold[97426:1814598] *** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent)

Thank you all for the help

This sounds like a bug we'll want to look at. Can you please file a Feedback Report and include as much information as you can (build log, ideally the asset catalogs in your project, etc). Thank you!

I solved the problem but I don't know exactly how. I was able to go through and finish the course and then the error disappeared altogether. Alone.

"Failed to build the scheme (app name)"
 
 
Q