Appium Xcode Simulator Installation App_appium

Source: Internet
Author: User
Tags appium

Most of the time we can get it from development. App

Basically is to use Appium to install automatically, recently I got the new version of the app in their own Mac with Appium installation, the result is installed, open application on the crash.

Online search, as if the development to the version of the problem. (It seems that you need to use the app without the certificate to install it on the emulator)


However, the company's Mac simulator is intended to be installed to see if it is due to the development of the version of the problem.

But the company Appium is still not available, so it is intended to install the app directly on the simulator to see if it will crash.


In the terminal input Xcrun simctl install booted Xxx.app path, click Enter. Note that the Xxx.app path is the path to the app you need to install into the emulator, and get the method to drag it directly into the terminal. Here's a tip to copy the Xcrun Simctl install booted paste to the terminal, and then drag the Xxx.app to the terminal, separated by a space.

Exception problem

1, xcrun simctl install Booted/path/xxx.app

2, xcrun:error:unable to find Utility "Simctl", not a developer tool or in PATH '
Xcrun Simctl Install Booted/path/xxx.app

3, xcrun:error:active Developer Path ("/volumes/xcode/xcode.app/contents/developer") does not exist, usexcode-select– Switch Path/to/xcode.app to specify the Xcode, wish to use for command line developer tools (or Seeman Xcode-selec T
No devices are booted '

These problems will cause the installation to be unsuccessful if the following actions are not installed on the installation. Solution

Steps 1: Gets the Xcode path. Getting the Xcode path simply finds the Xcode in the application and then drags it to the terminal to get the Xcode path.

Steps 2: Continue to enter the sudo xcode-select-switch xcode path/contents/developer in the terminal.

Tips

For example, my Xcode path is:/applications/xcode.app. Then I will enter in the terminal as: sudo xcode-select-switch/applications/xcode.app/contents/developer


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.