0

I am trying to copy an image file into a real iOS device. I am using Appium 1.20.2. I have installed macfuse, fuse, sshfs, and when I am trying to install ifuse, it is throwing error: ifuse is disable requires fuse.

Below is the code:

((IOSDriver) driver).pushFile("@com.apple.DocumentsApp:/" + img.getName(), new File(img));

Below is the error in Appium logs:

encountered internal error running command: Error: Failed to vend into the application container. Error: ApplicationLookupFailed

[W3C (b769138a)] at HouseArrestService.vendContainer (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-device/lib/house-arrest/index.js:47:13)

[W3C (b769138a)] at createAfcClient (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:39:12)

[W3C (b769138a)] at createService (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:64:21)

[W3C (b769138a)] at pushFileToRealDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:254:35)

[W3C (b769138a)] at XCUITestDriver.pushFile (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:478:7)

[HTTP] <-- POST /wd/hub/session/b769138a-80f2-4d3f-88b8-a5bc9bca7d42/appium/device/push_file 500

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.