appium: Error during installation process - Path must be a string
The problem
When I start using appium@beta version 1.14.0-beta.2, I got the error during installation process on the real device: Path must be a string. Received undefined.
Environment
- Appium version: 1.14.0-beta.2
- Real device or emulator/simulator: real device
- Mobile platform/version under test: 13.0
- Npm: 6.11.3
- Node: 8.12.0
Details
This is my capabilities:
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 5000);
desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, System.getProperty("deviceName"));
desiredCapabilities.setCapability(MobileCapabilityType.UDID, System.getProperty("deviceUdid"));
desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, System.getProperty("platformVersion"));
desiredCapabilities.setCapability(MobileCapabilityType.APP, System.getProperty("appFilePath"));
desiredCapabilities.setCapability("autoGrantPermissions", true);
desiredCapabilities.setCapability(MobileCapabilityType.FULL_RESET, true);
desiredCapabilities.setCapability(MobileCapabilityType.NO_RESET, false);
desiredCapabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, Settings.IOS_AUTOMATION_NAME);
desiredCapabilities.setCapability("usePrebuiltWDA", true);
mobileDriver = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), desiredCapabilities);
Link to Appium logs
Here are the logs: https://gist.github.com/jovana119/2db809a17d8eb00736a807a3d763bccf
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (2 by maintainers)
Yes and it didn’t help. I’m still getting operation timed out error during installation.
able to install the app now.
The beta works such that it should get the latest versions of things.
I’m getting this timeout error as well
Log:
[debug] [35m[W3C][39m Encountered internal error running command: Error: Could not install app: 'operation timed out'
[debug] [35m[W3C][39m at IOSDeploy.install (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
I can manually transfer the app via Xcode, but if I try to transfer it using ios-deploy it will hang. I tried
ios-deploy -id 00008020-000829EA1428002E --bundle test.ipa
And it prints out the following:[....] Waiting for iOS device to be connected
Skipping 00008020-000829EA1428002E (D331pAP, D331pAP, uknownos, unkarch) a.k.a. 'XS Max iPhone'.
Normally this process only takes a few seconds and doesn’t hang.@umutuzgur I tried and it didn’t help. Now I have npm:6.9.0 and node:10.16.3 and I just got the other error: