A new session could not be created. (Original error: Please provide the ‘app’ or ‘browserName’ capability or start appium with the --app or --browser-name argument. Alternatively, you may provide the ‘bundleId’ and ‘udid’ capabilities for an app under test on a real device.) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 216 milliseconds
Do I need to set anything in Appium? Then please let me know.
As said above
capabilities.setCapability(“ipa”,"/Users/jack/Desktop/test.ipa");
should be
capabilities.setCapability(“app”,"/Users/jack/Desktop/test.ipa");
If you ipa is already installed in your ipad you can remove this “app” capability
you can give
capabilities.setCapability(“appPackage”,“package name of app”);
capabilities.setCapability(“appActivity”,“Launcher activity of app”);
Basically appium server for creating session want’s to know which app to launch it identifies it using capability “app” or it launches bases on package and launcher activity name if app is already installed
Thanks a lot for quick help , I have changed as you said but now I am getting error : > Could not initialize ideviceinstaller; make sure it is installed and works on your system