Why are you trying to run iOS automation on a real device? That's a bad idea.
iOS Automation on a real device is notoriously slow and problematic.
For automation, you want solid and reliable. Use the iPhone Simulator.
Steps to using iPhone Simulator:
- Uncheck UDID
- Uncheck BundleId
- Check Force Device
- Set Force Device to "iPhone Simulator"
- Launch Appium Server
- Launch Appium Inspector
Steps to using a real device:
- Uncheck the App Path capability
- Check Force Device
- Set Force Device to "iPhone 5", "iPhone 5S", "iPhone 4", etc etc. (whatever device you're trying to automate on)
- Launch Appium Server
- Launch Appium Inspector
转自:http://stackoverflow.com/questions/26003675/appium-not-able-to-launch-the-inspector