Hi All,
We are uninstalling and intsalling the app in our batch run but sometime our installation fails with below error.
Can anyone suggest what could be the reason?
Thanks in Advance.
[debug] [W3C (5e4c5cc3)] Calling AppiumDriver.execute() with args: [“mobile: installApp”,[{“app”:"/Users/a212805796/Documents/IPA/CSipa"}],“5e4c5cc3-fe61-4eae-9e2c-1fd080d69655”]
[debug] [XCUITest] Executing command ‘execute’
[BaseDriver] Using local app ‘/Users/a2128/Documents/IPA/CS.ipa’
[BaseDriver] Will reuse previously cached application at ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app’
[XCUITest] Installing ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS Insights LIVE.app’ to the real device with UDID ‘00008020-00150C5202WRWER’
[debug] [XCUITest] Using ‘serial’ app deployment strategy. You could change it by providing another value to the ‘appInstallStrategy’ capability
ERR! Support Plist file doesn’t exist: ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app/Info.plist’
[XCUITest] Error installing app ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app’: Could not extract Info.plist from ‘CS.app’: Plist file doesn’t exist: ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app/Info.plist’
[XCUITest] Falling back to ‘ios-deploy’ usage
[Xcode] t = 28487.23s Get all elements bound by accessibility element for: Elements matching predicate ‘elementType IN {7, 5, 46}’
[Xcode]
[Xcode] t = 28487.23s Requesting snapshot of accessibility hierarchy for app with pid 62
[Xcode]
[Xcode] t = 28487.36s Find: Descendants matching type Any
[Xcode]
[Xcode] t = 28487.36s Find: Elements matching predicate ‘elementType IN {7, 5, 46}’
[Xcode]
[debug] [W3C (5e4c5cc3)] Encountered internal error running command: Error: Could not install ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app’:
[debug] [W3C (5e4c5cc3)] - Could not extract Info.plist from ‘CS.app’: Plist file doesn’t exist: ‘/var/folders/wv/67hy30kj2ngf3p9mr8300ddr0000gn/T/2022115-2539-1u89ore.k7gm/CS.app/Info.plist’
[debug] [W3C (5e4c5cc3)] - 2022-12-06 04:11:26.738 ios-deploy[27003:397900] [ !! ] Error 0xe8000051: Could not inspect the application package. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
[debug] [W3C (5e4c5cc3)]
[debug] [W3C (5e4c5cc3)] at IOSDeploy.install (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:88:17)
[debug] [W3C (5e4c5cc3)] at IOSDeploy.installApp (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:130:12)
[debug] [W3C (5e4c5cc3)] at XCUITestDriver.mobileInstallApp (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/app-management.js:28:3)
[debug] [W3C (5e4c5cc3)] at XCUITestDriver.executeMobile (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/execute.js:158:10)
[debug] [W3C (5e4c5cc3)] at XCUITestDriver.execute (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/execute.js:32:12)
[HTTP] <-- POST /wd/hub/session/5e4c5cc3-fe61-4eae-9e2c-1fd080d69655/execute/sync 500 1838 ms - 1531
[HTTP]