[M1] xCode simulator error: "_LSSchemaConfigureForStore failed with error"

Hello everyone,

MacBook Air M1 2020:

For two months I can not use the simulator because I get an error after the build:

I tried launching from different versions IOS (14.3 / 14.0), but every time I open the app from simulator I get this error:

Code Block 2021-02-05 14:30:25.825210+0100 MyApp[56865:1895569] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x64ffa485 dd556ca7 e49bc38c da04e080 ... e817a119 c3dad3ce }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xf74b7cf2 146c7320 f164d932 556def6c ... e5c99aa7 f132eec7 }}
2021-02-05 14:30:25.825935+0100 MyApp[56865:1895569] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x64ffa485 dd556ca7 e49bc38c da04e080 ... e817a119 c3dad3ce }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xf74b7cf2 146c7320 f164d932 556def6c ... e5c99aa7 f132eec7 }}


This error is repeated 6-8 times per application opening. After opening, I see a white screen of the application.

I tried to run a project on MacBook with processor Intel, and this problem does not arise.

I also tried to download the Xcode 12.5 beta but nothing changed.

Does anyone have a solution to this problem?

ASAP,
Thanks
  • Have you solved this issue? I'm having this issue too. It seems this is associated with the copy paste not working on simulator - I can't paste text into the App, the sim can't open the pasteboard file. Did that happen to yours as well?

Add a Comment

Replies

That's a worse problem.

I found the solution here: https://developer.apple.com/forums/thread/670640