C# App doesn't start up when running Appium WDA on iOS

Joost Jens 0 Reputation points
2024-09-10T12:05:51.0566667+00:00

We are using Appium to test our multi-platform app. (Windows, Android, iOS). This App is written using C# in .Net 8 with MVVMCross.

However, since about month or 2 ago, our App crashes on start up on iOS when the Appium xcuitest WebDriverAgent is running.

Looking into the logs and console, it's because the app is taking longer then 19 seconds to start up. If the WebDriverAgent is not running, the app is starting in less then a second and it working fine.

This seems related to the exact .Net version, as this started happening when.net 8.0.303 was updated to .Net 8.0.401. But any attempt to downgrade to .Net 8.0.303 doesn't seem to make it work again, meaning either our downgrade isn't working or it's something else that was updated around the same time.

We also realized that the ios workload has received an update. We were on 8.0.300 (we believe, could have been 8.0.100 as well) and now it's 8.0.401. We also can't downgrade that on our build server to test unfortunately.

We updated appium and it's drivers was part of the attempts to resolve this issue. It also stopped working with an older version so I don't think Appium directly is responsible for this not working anymore.

Edit2:

Does anyone have any idea what this could be?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,515 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,937 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.