-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xamarin.UITest support fo iOS 13 and Xcode 11 #1129
Comments
Hi, iOS 13 devices are currently selectable for testing. If you use Xamarin.UITest, you may need to update to Xcode 11 and the latest dev release of Xamarin.UITest. Please let us know if you attempt to use the Test service and are unable to select iOS 13 devices. |
@GeorgeDarakchiev Just to clarify is this locally or in App Center Test. Our engineers are still working on iOS 13 support for App Center Test as there are some unexpected challenges. |
Hey, running UI tests on any of the new iOS 13 simulators doesn't work for me since upgrading to Xcode 11.1 I get this error mentioning the iPhone 6 simulator and containing an absolute file path for a developer named Ivan. This same error was talked about here for building a Xamarin.iOS project, however for me this problem only occurs for running UI tests on Xamarin.iOS, building and deploying the app to the new simulators is working fine. The fix they recommended on that thread doesn't fix the UI tests.
|
Version 3.0.4-dev2 has an update for local simulator tests using Xcode 11: https://www.nuget.org/packages/Xamarin.UITest/3.0.4-dev2 It might be worth giving it a shot @j-hat, though in the past, Xcode's minor version bumps (11.0 vs. 11.1, in this case) have sometimes required additional updates to Xamarin.UITest and/or the Test Cloud Agent; because despite being minor version bumps they contain changes which are breaking the test flow somehow. |
@GeorgeDarakchiev @j-hat does it work on the |
@Oddj0b we are running the tests locally and I can confirm that version 3.0.4-dev2 works with Xcode 11.0. and Xcode 11.1 and I am not getting the error @j-hat reported (I was not able to create iPhone 6 with iOS 13 simulator, but I have tested it on iPhone 11, iOS 13.1). Sadly, after upgrading to 3.0.4-dev2 (from 3.0.0-dev1) I am getting the following exception on Android (running on Windows, not tested on Mac):
This can be reproduce by starting the app few times (in my measurements the crash occurs around the 12th start of the app, but it is not always the same):
Here is my appconfig:
P.S. I am sorry for the late response. |
Just a FYI...using xcode 11.1 and the newish Version 3.0.4-dev2 I still get:
|
Can't start any test with new version of Xcode 11.1 and Visual Studio for mac 8.3.4, the problem is still reproducible and really critical. DeviceAgent app could not be installed on simulator and tests fail with error |
Same issue on my end. Visual Studio 8.4 Preview, XCode 11.1 installed, running local tests. |
Same issue here too. Any workaround available? |
@sebastianferrari my workaround is to have all my UI tests working is to have my xcode at v 11.0 |
Thank you @gziebold I'll downgrade it to v11.0. As it is now, it works fine on App Center Tests Platform. |
@gziebold I was also seeing issues on dev2. After updating to |
My teammate @ahanag22 has a theory to reproduce this issue, that might line up with the observations of those who can reproduce it vs. can't reproduce it:
Can some of you who have reported that the dev version still doesn't work confirm your Visual Studio version? I'm not sure if we've confirmed that it's the VSMac version itself that causes the issue, or if it could be other tooling linked to that version / update channel. (Other common candidates are Mono & Xamarin.iOS, just because they're the most likely to have some type of interaction.) |
PSA: 3.0.5-dev5 has been released. |
3.0.4 have been released! 🎆 |
I would like to be able to run UI tests on device\simulator running iOS13 (coming with Xcode 11).
The text was updated successfully, but these errors were encountered: