Troubleshooting: Executing automated tests for iOS Xamarin apps
iOS
Xamarin appsIssue | Possible solution |
---|---|
I get an “Address already in use” device error. | This error may occur if you run the test on an iOS device while an iOS simulator is open. Close all simulators.For more information, see this Xamarin forum post. |
The simulator UI isn’t visible when I run the test. | Run the following command in the terminal:
|
Touch screen coordinates are incorrect. | UITest must run an app in the device’s native resolution. If you encounter this issue, run the test on the previous device or simulator version. For example, if you run into this issue with iPhone 8, run the test for iPhone 7.Alternatively, use only the GreetingsServer, GreetingsClient, or RssReader apps for testing. For more information, see this Xamarin forum post. |