Ideviceinstaller Report Segmentation fault:11 Error Resolution process

Source: Internet
Author: User
Tags appium

Background: Today in another computer installed Appium, this computer is used by others, the above has installed a lot of tools, encountered the problem of Ideviceinstaller error, made almost a day, record the process of settlement.

Since Ideviceinstaller is an essential tool for Appium 1.4 iOS automation, the nightmare begins with the installation of Ideviceinstaller with the brew install Ideviceinstaller.

Then is to use Appium run iOS script when prompt Ideviceinstaller error, so alone with ideviceinstaller command to check, found IDEVICEINSTALLER–L hint segmentation fault: 11 error, we know that segmentation fault is generally a C + + memory errors, how can this error?

The first idea is to re-install Ideviceinstaller, but, regardless of whether the first uninstall install or reinstall, errors are still. So Baidu find the root cause of the problem, sure enough, this kind of upset problem degree Niang very not to force, completely do not know what I want to search. So I found google,google on GitHub. There is a discussion about this problem, the address is:

Https://github.com/libimobiledevice/ideviceinstaller/issues/4

Also a discussion

Https://github.com/libimobiledevice/ideviceinstaller/issues/15

Having read these two discussions, it was suggested that

Brew Uninstall Ideviceinstaller

Brew Install--head Ideviceinstaller

But the method was useless to me and still reported the same mistake, when I was almost desperate. Take a break, look at the stock market plunged, calm down to find the root of the problem again, Google again to see the discussion on GitHub. Found someone mentioned may be home brew problem, my brew is when installed, finish can't remember, think only to find brew is the original on the computer is OK, because I use the old imac. So the original brew completely unloaded, not rest assured, then the usr/bin below the brew with rm–f Delete, and then according to the official website brew.sh Reinstall Brew. After the brew and then brew install Ideviceinstaller, finally, the problem solved.

In retrospect, why did it take so long to find the root of the problem? Because the first to find the wrong direction, because Ideviceinstaller error, so has been looking for ideviceinstaller reasons. The root cause could be a problem with the old version of the brew Anxin version of Ideviceinstaller, so upgrading the brew or reinstalling the new version of Brew will fix it.

Ideviceinstaller Report Segmentation fault:11 Error Resolution process

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.