question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in Automating ios app

See original GitHub issue

The problem

While trying to automate an iOS app for which I have the ipa file , I am not able to launch my app using the set of capabilities

Environment

  • Appium version (or git revision) that exhibits the issue: Appium v1.8.2-beta
  • Last Appium version that did not exhibit the issue (if applicable): NA
  • Desktop OS/version used to run Appium: Mac
  • Node.js version (unless using Appium.app|exe): 8.11.1
  • Mobile platform/version under test: Ipad
  • Real device or emulator/simulator: Real device
  • Appium CLI or Appium.app|exe: Appium CLI

Details

I need to launch my iOS app using the appium

Link to Appium logs

https://gist.github.com/prateekchawla/b418301e5d864c77cb87a0084e9183de

Code To Reproduce Issue [ Good To Have ]

DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.SetCapability(CapabilityType.Platform, "Mac"); capabilities.SetCapability("platformName", "iOS"); capabilities.SetCapability("automationName", "XCUITest"); capabilities.SetCapability("deviceName", DeviceName); capabilities.SetCapability("udid", DeviceUdId); capabilities.SetCapability("newCommandTimeout", 360); capabilities.SetCapability("wdaLocalPort", WdalocalPort); capabilities.SetCapability("wdaConnectionTimeout", 600000); capabilities.SetCapability("usePrebuiltWDA", true); capabilities.SetCapability("showXcodeLog", true); capabilities.SetCapability("app", "users/testing/Desktop/RastreatorApp.ipa");

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
imurchiecommented, Oct 26, 2018

users\testing\Desktop\RastreatorApp.ipa is not a valid path. Please supply the fully qualified path… probably something like /Users/testing/Desktop/RastreatorApp.ipa.

0reactions
lock[bot]commented, Oct 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS shortcut automation failing with OSStatus error -54 in iOS 15
I have a shortcut that plays a sound when my phone is plugged in. I'm getting OSStatus error -54 and NSOSStatusErrorDomain -54.
Read more >
How to Fix iPhone Automation Not Working in iOS 16 - iToolab
Solution 1. Reboot your device · Solution 2. Re-Enable Automation · Solution 3. Recreate Automation · Solution 4. Toggle On/Off Wait Until Finished....
Read more >
Ios automation error - Issues/Bugs - Appium Discuss
i have got an error while starting tha ios App automation … application is opening but not performing the click …
Read more >
FAQs on Common Errors in App Automate | Support
Frequently asked questions by our users regarding Common Errors in App Automate. Use them to find instant help on using BrowserStack.
Read more >
Automation Not Working in iOS 16 on iPhone? Here Is The Fix!
Getting " Automation failed error in iOS 16? Here are the possible solutions to fix charging automation /any automation not working issues in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found