iOS real device: pushing files to Files App Failed to vend into the application container. Error: InstallationLookupFailed

Hello, I believe that Appium is saying they support pushing files but it has not been working. At least for iOS, the pushFiles commands always fails with the same error message.

Using Appium 1.21 with iOS 14.6 real device.
Here’s the error log
Calling AppiumDriver.pushFile() with args: [“@com.apple.DocumentsApp:Test/test.xml”,"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8P21zby1hcHBsaWNhdGlvbiBwcm9naWQ9IldvcmQuRG9jdW1lbnQiPz4KPHc6d29yZERvY3VtZW50IHhtbG5zOnc9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vb2ZmaWNlL3dvcmQvMjAwMy93b3JkbWwiIHhtbG5zOnY9InVybjpzY2hlbWFzLW1pY3Jvc29mdC1jb206dm1sIiB4bWxuczp3MTA9InVybjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOndvcmQiIHhtbG5zOnNsPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3NjaGVtYUxpYnJhcnkvMjAwMy9jb3JlIiB4bWxuczphbWw9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW1sLzIwMDEvY29yZSIgeG1sbnM6d3g9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vb2ZmaWNlL3dvcmQvMjAwMy9hdXhIaW50IiB4bWxuczpvPSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTpvZmZpY2UiIHhtbG5zOmR0PSJ1dWlkOkMyRjQxMDEwLTY1QjMtMTFkMS1BMjlGLTAwQUEwMEMxNDg4MiIgdzptYWNyb3NQcmVzZW50PSJubyIgdzplbWJlZGRlZE9ialByZXNlbnQ9Im5vIiB3Om9jeFByZXNlbnQ9Im5vIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bzpEb2N1bWVudFByb3BlcnRpZXM+PC9vOkRvY3VtZW50UHJvcGVydGllcz48dzpmb250cz48dzpkZWZhdWx0Rm9udHMgdzphc2NpaT0iVGltZXMgTmV3IFJvbWF…
[XCUITest] Executing command ‘pushFile’
[XCUITest] Parsed container type: Test
[W3C (bec36099)] Encountered internal error running command: Error: Failed to vend into the application container. Error: InstallationLookupFailed
[W3C (bec36099)] 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 (bec36099)] at createAfcClient (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:39:12)
[W3C (bec36099)] at createService (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:64:21)
[W3C (bec36099)] at pushFileToRealDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/file-movement.js:254:35)
[W3C (bec36099)] 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/bec36099-6904-4fc1-8dd0-dbf9a9d632e6/appium/device/push_file

Here’s other people struggling with the issue
https://stackoverflow.com/questions/67730352/driver-pushfile-on-real-ios-device-is-not-working

Try if solutions from https://github.com/appium/appium/issues/16409 work for you