Appium1.4.13:Could not find a device to launch. You requested 'iOS (iOS)', but the available devices were: ["iPad 2 (9.2)

Continuing the discussion from [Error:Could not find a device to launch. You requested 'iOS (iOS)', but the available devices were: "iPad 2 (9.2):

The error mentioned in this post went away, after I added capabilities for udid.
But I see another error, so I created another post for that.

Resolved:

  1. uninstall Appium GUI app from my mac, remove corresponding path from bash_profile
  2. close terminal and reopen a new window, use npm install [email protected] -g to install Appium 1.4.13
  3. type Appium& to check if the server can start to make sure installation is successful
  4. kill the pid, navigate to eclipse->run->run configuration->select your test class->tap environment tab->new an environment variable: name=PATH value=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  5. run my test successfully

Did not try with 1.5.2 yet.