Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Hot Reload not working. Currently I am using iOS simulator

Looking at the output, is being initialized and I set the iOS build's Linker Behavior to 'Don't Link'. When I make any changes, it does register as change as seen in Output window and it seems like its' working but I don't see any changes on my simulator.

like image 618
Shristi R Avatar asked Oct 21 '25 04:10

Shristi R


1 Answers

I was able to find a fix. Weird fix though.

So, in order to make your hot reload work

  1. Make sure its enabled through Tools ==> Options ==> Hot Reload ==> Check on Enable XAML Hot Reload. For Mac, Tools ==> Add Custom tools ==> Xaml Hot Reload ==> Enable

  2. Right-click on iOS project ==> Properties ==> iOS build and make sure that the Linker Behavior is selected to 'Don't Link'. For Mac, Options ==> iOS build ==> Set Linker Behavior to Dont Link. If you are building into a physical iOS device, type --interpreter under Additional mtouch arguments field.

  3. Open solution from the folder where it resides. Opening solution from open project page from VS will not work.

like image 193
Shristi R Avatar answered Oct 24 '25 12:10

Shristi R



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!