MonoTouch debugger never connects to app

2020-03-01 10:46发布

I have an issue where the MonoDevelop debugger refuses to connect to the simulator. MonoDevelop pops a box saying "Waiting for debugger to connect on 127.0.0.1:10000..." but never connects.

I have uninstalled and reinstalled everything, but still have the same issue.

What am I missing?

Thanks in advance.

标签: xamarin.ios
8条回答
Melony?
2楼-- · 2020-03-01 11:18

Make sure you've got in project's oprions --> iPhone Build --> SDK Version set to default. On my machine anythings else causes simulator debugger to hang.

查看更多
Lonely孤独者°
3楼-- · 2020-03-01 11:19

I was having the same problem and I'll share my solution in case anyone else made the same embarrassing mistake. I didn't have wifi enabled, so my iPhone didn't have a NAT address like 192.168.1.xxx, so it wasn't able to contact the NAT address that MonoDevelop was listening from.

Enabling wifi and connecting to my home network fixed it.

查看更多
登录 后发表回答