user1443721
user1443721

Reputation: 1260

Original error: Could not initialize ideviceinstaller;

I worked out an "Hello iOS" app by Xcode and can test it by Appium on iOS Simulator. However, I got the following error message when I tried to test the same app on a real iPhone/iPad device.

A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system) (WARNING: The server did not provide any stacktrace information)

Here are my environment.

xcode: 7.0.1

mac os: version 10.11

appium version: 1.4.13

I tried this command "brew install --HEAD ideviceinstaller" but got another error message.

configure: error: in `/private/tmp/xz20151012-43217-o3pk5w/xz-5.2.1':

configure: error: cannot run C compiled programs.

Any solution for it? Thanks!

Upvotes: 1

Views: 3529

Answers (3)

Laraib Patoli
Laraib Patoli

Reputation: 21

This worked for me using this version 1.4.13

  • Run in Terminal app:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null


  • press enter/return key. Wait for the command to finish. Run: brew install ideviceinstaller

Upvotes: 0

user1443721
user1443721

Reputation: 1260

The problem is solved by running these commands:

cd /usr/local/Library
brew update
brew install ideviceinstaller

Upvotes: 3

Kristaps Mežavilks
Kristaps Mežavilks

Reputation: 595

Have you enabled Enable UI Automation in device Developer settings panel?

Upvotes: 0

Related Questions