- web apps
Why Install Chrome Extension?
Steps to Test Locally Hosted Apps
How to Turnoff Onboading Tutorial?
Non-Text Keys in Test Cases
Basic Authentication for Web
Why Bypass CAPTCHA?
Test Case Failures Due to Link Text Capture Issues
Why Is a Single Video for All Test Cases in a Test Plan Unavailable in Some Cases?
How to Handle Browser-Related Permission Issues?
Why Can’t Selenium ChromeDriver Interact With 3DS Authentication Pages?
How Do I Fix the Try Again Error When Opening the Testsigma Desktop App?
Why Am I Getting an Error While Registering the Agent?
Why Does the Try Again Error Appear While Installing the Testsigma Agent in a Proxy Environment?- mobile apps
Apple Pay Automation with Testsigma
How do I Enhance the Execution Speed for Mobile Native Apps?
Why am I Facing Permission Error During Local Test Execution?
How to Resolve App Launch Issues?
Why does the iOS App Close Right After Opening in Testsigma?
How to Execute Android/iOS Tests in Emulators/Simulators?- general
Why am I Unable to Download the XLS File from the Edge Browser?
How to Handle Browser-Related Pop-Up Issues?
How to Handle Text-Based CAPTCHA in Testsigma?
Why does Test Execution Fail with the Error No Route to Host?
Why do Errors Occur When I Try to Download Files from The Exports Page?
How to Test Flutter Apps Using Accessibility Mode?
How to Add Multiple Runtime Variables in Data Generator Functions?
How to Insert Test Data in RAW Body for POST API?
What is Chrome for Testing and How Does it Work?
How Can I Set Up Authenticator-Based Authentication in Testsigma?
How to Update an Excel File in Testsigma Uploads?
What Causes Longer Automation Test Execution Times in a Test Plan?
How Do I Retrieve the OTP When it’s Embedded within HTML Tags?
How to Configure the OracleDB Add-on in Testsigma?
Why does the iOS App Close Right After Opening in Testsigma?
When you try to start an iOS app on a local device using the recorder or Testsigma automation, the app opens and then closes almost immediately. This happens repeatedly, which stops your test from running. This article discusses how to debug the issue.
Steps to Resolve the Issue
To debug the issue, do one of the following:
- Restart the Testsigma Agent.
- Open the Testsigma Agent directory and delete the devimage folder.
- Uninstall the WebDriverAgent (WDA) app from your local device, then rerun the test case.
NOTE:
- WDA is an app installed on your device during automation execution. It is not located in the Testsigma Agent directory.
-
Set up Xcode:
-
Verify that Xcode is installed:
- Open the Applications folder on your Mac.
- Make sure Xcode.app is located at /Applications/Xcode.app.
- If it isn’t installed, download it from the Mac App Store.
-
Set the developer directory:
-
Open Terminal and run:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer - Enter your Mac password if prompted.
-
-
Confirm the developer directory:
-
Run:
xcode-select -p -
Expected output:
/Applications/Xcode.app/Contents/Developer
-
-
Install the command-line tools (if needed):
-
Run:
xcode-select --install
-
-
NOTE:
-
You don’t need to run sudo xcode-select -s again if the developer path is already set correctly. To confirm that Xcode is installed and working, run:
xcodebuild -version - If the version number appears, your Xcode setup is complete. Your system is now ready for compiling or running tools that require Xcode.
- The iOS app stays open when launched from the recorder or automation, just like it does when you open it manually.