I have raised this same issue a while back in Xamarin github issues and after some time decided to raise this in here as well, cause it might be that Realm’s team should fix something to make this work.
Basically, the cool Xamarin Hot Restart Feature is not working when you use Realm database.
Steps to Reproduce
- Download the sample project. HotRestart.zip
- Connect and iOS device to your PC
- Make sure that Xamarin experimental hot restart options are enabled
- Run the app on the local PC connected iOS device using hot restart feature
- Application will crash with the following error
This basically is a developer productivity killer… Considering most of the Xamarin projects I do are using Realm, you can imagine this has become very irritating. Is there anything that Realm team can do to fix this issue?