SalesForce App - iOS Real Device - Stops right after opening the app

Hello everyone! So, here I am trying to automate Salesforce app on a real device. Of course, this is not my app, but trying to automate a login test right now. The code I have is, well just to start the app.

Here are my issues:

  • App stops right after starting.
  • Using the inspector tool, I cannot get any elements besides the top gear button

Below is my gist from GitHub. I hope this helps to solving my issues. Thank you!

Code: https://gist.github.com/jmccrary1/ec3904fb4eeca9ab0feab3828390e6c8
Xcode Logs: https://gist.github.com/jmccrary1/60e04713ac729e8934be7df3eb6b8f54
Appium Logs: https://gist.github.com/jmccrary1/2012e1aa8f4d5d3dbae73c42aecba252
Eclipse Console: https://gist.github.com/jmccrary1/afc3ea77846d273e9716ca34cc31acb1

I forgot to add the technical items:

macOS: 10.13.6 (17G65)
iPhone: 11.4.1
iPad: 11.4.1 (not this run, but same results)
Appium: 1.8.1

You have an old WebDriverAgent binary cached on the device. Remove it manually or reset the device

Mykola,
Thank you for the reply. If by the binary you mean when I use Xcode to put the WebDriverAgent on the device, I have only put the newest available from git on the device. Also, this is the native app downloaded from the App Store, not the website. I hope this helps as well.

Thanks :slight_smile:

Justin

You must check out WDA from our local branch https://github.com/appium/WebDriverAgent if want to use the most recent source snapshot, since it is not compatible with the original one from Facebook.

Or use the one, which is bundled with appium@beta