I'm trying to compile my Xamarin Forms Android app on iOS. However I keep running into an error:
[db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x35effaa3 2bab3fa8 68f8c96b cd17d15e ... 9bf8f6b7 fd486754 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xe14e0f7b 39a9580e 8e4762c4 846107dc ... 21618def 3c69a5ae }}
[db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x35effaa3 2bab3fa8 68f8c96b cd17d15e ... 9bf8f6b7 fd486754 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xe14e0f7b 39a9580e 8e4762c4 846107dc ... 21618def 3c69a5ae }}
These 2 lines will repeat about 20 times.
I am compiling on a MacBook Air 2020 with the M1 chip.
I have tried debugging the app on a colleague's iPhone, which doesn't cause this error and works just fine.
MIT researchers recently discovered a physical security flaw in M1 chips. What should you do about it? On June 10, 2022, MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) released a report outlining an unpatchable flaw with Apple's popular M1 chip.
The M1 processors used in the latest Macs are based on technology first developed for the company's iPhone and iPad. (In fact, the current iPad Pro uses the same M1 processor.) Because of this, the M1 brings to the Mac the ability to run iPhone and iPad apps.
Apple uses memory, which is designed to serve both large chunks of data and do it very quickly. It is called 'low latency and high throughput'. This removes the need to have two different types of memory and all the copying of data between them, making the M1 faster.
To run a simulator on an M1-based Mac, your linked frameworks need to support an ARM64 for M1 slice. This is accomplished by application vendors shipping a new product packaged as an XCFramework rather than the traditional Framework. This new product version can include an M1 Simulator slice for testing.
Summary: Apple’s recent M1 Mac has aroused much excitement in Mac user base thanks to the new ARM-based Apple Silicon chip that uses the ‘indigenous unified memory architecture.’ In addition, this new M1 Mac performs incredibly well, consumes less power, and significantly increases the battery life of MacBook Air and MacBook Pro.
This also seems to be an issue with the Spotify iOS SDK as well, it is expecting the Simulator to be running x86_64 but on my MacBook Air M1 the simulator is running ARM. It works okay on a device though. Had the same issue. This has helped. Hope it will help you too.
Until software developers create Apple Silicon compatible apps, emulation is the only workaround to launch incompatible Intel-based x86 apps on M1 Mac. 3. M1 Mac has no Boot Camp to install Windows
Using a simulator on iOS 13.7 is working for me, but that's obviously a workaround.
To install:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With