Hi,
I have xamarin native application that can be installed on a real iPhone 13 manually and using the Xcode / ideviceinstaller, and run without a problem.
When I run appium script, with app capability , the application is installed, starts, and crashed immediately.
When I try after the automation to enter the installed app, it crashed.
I don’t understand it, especially since it looks that the application working fine while I’m installing it by myself. The application is start on the iPhone when I’m running the automation without the app path, when I install it manually before running the automation.
Maybe the application itself is not compatible with accessibility services? Have you tried to run a basic UI xctest on it? Does it work with, for example, VoiceOver?
Also, consider checking device logs. They might contain more info about possible issues
Yeah, I would get my dev team to tell me why the app is crashing first. You might have found an environmental issue your app has that could bite your users later on. You can also try using ideviceinstaller library as a way to eliminate appium install logic being the cause?
@mykola-mokhnach yes, it works. I also tried with Simulator and it works. @Conrad_Braam we open the console logs with the developers, it also looks like the app was installed successfully.
As I mentioned, ideviceinstaller install it and the app is open, so probably is something with the appium install.
I investigate this solution, the key with the value ios-deploy helped to solve it.
Now I will try to see if it worth it, because the installation takes a lot of time using that way (parallel option is also lead to the crashes).