appium: Cannot install ipa on real device
[debug] [BaseDriver] Event 'appConfigured' logged at 1564040104914 (15:35:04 GMT+0800 (GMT+08:00))
[debug] [XCUITest] Checking whether app '/var/folders/_d/hsmcfz9n48bbb2t9pf56gxd80000gn/T/2019625-40624-o7g8a6.qnu1f/Payload/xxx.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/_d/hsmcfz9n48bbb2t9pf56gxd80000gn/T/2019625-40624-o7g8a6.qnu1f/Payload/xxx.app': 'xxxr'
[debug] [BaseDriver] Event 'resetStarted' logged at 1564040104917 (15:35:04 GMT+0800 (GMT+08:00))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1564040104917 (15:35:04 GMT+0800 (GMT+08:00))
[debug] [XCUITest] Crash reports root '/Users/sino/Library/Logs/CrashReporter/MobileDevice/xxx' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1564040105173 (15:35:05 GMT+0800 (GMT+08:00))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Installing '/var/folders/_d/hsmcfz9n48bbb2t9pf56gxd80000gn/T/2019625-40624-o7g8a6.qnu1f/Payload/xxx.app' on device with UUID 'xxxx'...
[XCUITest] Error: Could not install app: 'Unexpected response NO_RESOURCES'
[XCUITest] at IOSDeploy.install (/Users/xxx/Desktop/xxx/xxx/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:35:13)
I’m using appium 1.14.0-beta2 to test my app.But it failed when install the ipa on device.My device is iOS12.4 and Xcode is 10.3.And ios-deploy in my mac is 1.9.4.PLZ help me
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 44 (21 by maintainers)
@mayureshshirodkar Yes!! It is a node issue. It works all good with node 10.16.x. It must have something to do with the fs module of nodejs. I will investigate that tomorrow
I met this issue too. using appium@beta, iOS 13.0 and Xcode 11
@mayureshshirodkar Could you reinstall the beta? I changed the push logic and it is the same as how ideviceinstaller works. If ideviceinstaller works, appium should work as well now. I hope this fixes it
Hi @umutuzgur i have tested this issue on the latest appium@beta installed via
npm install -g appium@beta --no-shrinkwrap --verbose
This installed appium-xcuitest-driver after v2.125.0I tested below 2 devices, resulted in varying error. Issue doesn’t seem to be fixed for me. App size : 7.4 MB Also i have restarted both the devices.
iPhone X(v 12.3.1) This logs came after a time out of some seconds.
iPhone 6 (v12.3.1) This logs came up instantly.
Let me know if you need more details.
@mayureshshirodkar Were you able to test it after the restart? I’m asking because we might not be able to fix this issue but have an error instead that says please restart the phone
@mayureshshirodkar
ideviceinstaller
doesn’t need to be installed. Could you also make sure that you are on the latest beta? A reinstallation of appium@beta would do the trickHi @mayureshshirodkar. Thanks for the detailed investigation. I know where the problem is but I need some regression tests to verify that it is fixed. I hope to fix this issue soon