Appium throws "ideviceinstaller" not found when launched through Eclipse – Java

Hi, I am using appium 1.5.3 and facing the same issue.

idevice installer working with UI but not with NetBeans. Please help.

Hi,
Im using Appium on real IOS devices.
when i create new IOSDriver() on my local machine it work fine,
But in a case i’m running on remote computer (same local machine via Jenkins) i get the error:

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system

Any suggestions?
Appium: 1.5.3
Thanks!

. Navigate to Jenkins > Plugin Manager > Available Tab then search: Environment Injector Plugin > Install it > Restart Jenkins

. Rerun from Jenkins. Take a look at Jenkins console you can see something like “Inject Env…” and it should solve your problem.

1 Like

Solution 1:
1 ==> Go to eclipse location.
2 ==> Right Click on eclipse icon and choose Show Package Contents
3 ==> Navigate to Contents —> MacOS
4 ==> Create a file eclipse.sh
5. ==> Paste following code
#!/bin/sh

export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin​

logger “dirname \"$0\"/Eclipse”

exec “dirname \"$0\"/Eclipse” $@

Save the file.

  1. Go to Info.plist in Contents
    set value eclipse.sh instead of Eclipse for key CFBundleExecutable

Solution 2:
1 ==> Go to eclipse location.
2 ==> Right Click on eclipse icon and choose Show Package Contents
3 ==> Navigate to Contents —> MacOS
4 ==> Create Alias for eclipse and run eclipse using alias

Both Solution are working fine for me.