My question is closely related with this question, as I am creating a Xamarin App and want to automatically test the UI. I've followed the instruction from the official documentation but once I do the last step, where I add Xamarin.Calabash.Start();
into my AppDelegate.cs, my Mac keeps on asking me, whether it allows incoming connections from the App.
I can manually acknowledge the firewall rule on each startup of the app and when starting the tests, since the application is redeployed over and over again. However - if I don't, weird things start happening: Sometimes it works (I'm not sure why, possibly if I started the app manually before), sometimes I get exceptions like
SetUp : System.Exception : Unable to start CalabashHostStrategyProxy
Is there any way to permanently enable my application (especially the Test Cloud Agent part) to accept incoming connections? Or at least to get rid of this dialog somehow automatically?
Would this affect my test-execution, if I run my tests in the Xamarin Test Cloud?
Adding the iOS simulator app to the mac's firewall worked for me.
Have a look at the instructions over here: https://stackoverflow.com/a/40067738/1135847
(I didn't have to add the app I was trying to run, just the iOS simulator app).
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