Code Monkey home page Code Monkey logo

Appium session gets terminated when i try to install app on real iOS device using a URLbug: <title> about appium HOT 18 CLOSED

ishan2788 avatar ishan2788 commented on June 8, 2024
Appium session gets terminated when i try to install app on real iOS device using a URLbug: <p>from appium.</p></section> </section> </article> <article> <h2 class="h2">Comments (18)</h2> <section class="issue-comment"> <section id="2049761061" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> <span class="issue-vote"> <i class="icon-vote"></i>1 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">It might be the app is just too big, so it needs a lot of time to complete the installation. Currently this timeout (60s) is not configurable, but I could add a new capability to change that</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051162838" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> <span class="issue-vote"> <i class="icon-vote"></i>1 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">the patch has been published to xcuitest driver v 7.11.3</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051428120" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> <span class="issue-vote"> <i class="icon-vote"></i>1 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">it does not work like that. Check </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/appium/appium/blob/d7cf01340199edc30cf7befe351865e7c9124d1a/packages/appium/docs/en/guides/migrating-1-to-2.md?plain=1#L147">appium/packages/appium/docs/en/guides/migrating-1-to-2.md</a> </p> <p class="mb-0 color-fg-muted"> Line 147 in <a data-pjax="true" class="commit-tease-sha Link--inTextBlock" href="/appium/appium/commit/d7cf01340199edc30cf7befe351865e7c9124d1a">d7cf013</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L147" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="147"></td> <td id="LC147" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> appium driver update xcuitest </td> </tr> </tbody></table> </div> </div> on how to update installed drivers. You could also fully reinstalll the driver to get the most recent version of it<p></p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2047955509" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/5511591?s=30&u=5f0efcad7028fba45b2f77f1b0d2fbb46f530e49&v=4" alt="KazuCocoa avatar" /> <a class="issue-username" href="/KazuCocoa">KazuCocoa</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">What happens when you run the <code class="notranslate">ios-deploy</code> command directly? (without Appium)</p> <p dir="auto">Or removing the strategy could help to see more errors directly by Appium.</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2048365277" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><blockquote> <p dir="auto">[AppiumDriver@25b6] Encountered internal error running command: Error: 2024-04-10 17:37:50.564 ios-deploy[89978:9858472] [ !! ] Error 0xe800002d: Could not send a message to the device. AMDeviceStopSession(device)<br> [AppiumDriver@25b6]<br> [AppiumDriver@25b6] at installWithIosDeploy (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:74:15)</p> </blockquote> <p dir="auto">this error has nothing to do with the driver. Consider changing the install strategy or report an issue to ios-deploy.</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2049646885" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Serial push fails and it automatically falls back to ios-deploy. I don't set it. I can also uninstall ios-deply from my machine and try if you need those logs. I am confused because the app installs on the device but the session terminates. I tried many things i increased the newcommand time out used different installStratergy but nothing worked. Need your help.!</p> <p dir="auto">[AppiumDriver@e7d4] Event 'newSessionRequested' logged at 1712839689671 (14:48:09 GMT+0200 (Central European Summer Time))<br> [BaseDriver] The capabilities ["platformName"] are standard capabilities and do not require "appium:" prefix<br> [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS'<br> [Appium] The 'xcuitest' driver was installed and matched caps.<br> [Appium] Will require it at /Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver<br> [Appium] Requiring driver at /Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/build/index.js<br> [AppiumDriver@e7d4] Appium v2.5.2 creating new XCUITestDriver (v6.0.2) session<br> [AppiumDriver@e7d4] Checking BaseDriver versions for Appium and XCUITestDriver<br> [AppiumDriver@e7d4] Appium's BaseDriver version is 9.5.3<br> [AppiumDriver@e7d4] XCUITestDriver's BaseDriver version is 9.5.3<br> [XCUITestDriver@3cfc] Creating session with W3C capabilities: {<br> [XCUITestDriver@3cfc] "alwaysMatch": {<br> [XCUITestDriver@3cfc] "platformName": "iOS",<br> [XCUITestDriver@3cfc] "appium:automationName": "XCUITest",<br> [XCUITestDriver@3cfc] "appium:udid": "00008101-001D444A1EC2001E",<br> [XCUITestDriver@3cfc] "appium:deviceName": "9 iPhone 12 mini",<br> [XCUITestDriver@3cfc] "appium:platformVersion": "17.3",<br> [XCUITestDriver@3cfc] "appium:clearSystemFiles": true,<br> [XCUITestDriver@3cfc] "appium:newCommandTimeout": 60,<br> [XCUITestDriver@3cfc] "appium:app": "<a href="https://appcenter.web.mediaworks.de/apps/category/1/app/772318/download?authorization=5sdsjdesjb1hss" rel="nofollow">https://appcenter.web.mediaworks.de/apps/category/1/app/772318/download?authorization=5sdsjdesjb1hss</a>",<br> [XCUITestDriver@3cfc] "appium:connectHardwareKeyboard": true<br> [XCUITestDriver@3cfc] },<br> [XCUITestDriver@3cfc] "firstMatch": [<br> [XCUITestDriver@3cfc] {}<br> [XCUITestDriver@3cfc] ]<br> [XCUITestDriver@3cfc] }<br> [XCUITestDriver@3cfc (287bdde9)] Session created with session id: 287bdde9-7078-487b-bef7-a1197bbfaff2<br> [XCUITest] Current user: 'ishan.nehu'<br> [XCUITestDriver@3cfc (287bdde9)] Available devices: 00008101-001D444A1EC2001E<br> [XCUITest] Creating iDevice object with udid '00008101-001D444A1EC2001E'<br> [XCUITestDriver@3cfc (287bdde9)] Determining device to run tests on: udid: '00008101-001D444A1EC2001E', real device: true<br> [XCUITestDriver@3cfc (287bdde9)] Event 'xcodeDetailsRetrieved' logged at 1712839689698 (14:48:09 GMT+0200 (Central European Summer Time))<br> [BaseDriver] Using downloadable app '<a href="https://appcenter.web.mediaworks.de/apps/category/1/app/772318/download?authorization=5sdsjdesjb1hss" rel="nofollow">https://appcenter.web.mediaworks.de/apps/category/1/app/772318/download?authorization=5sdsjdesjb1hss</a>'<br> [BaseDriver] Etag: undefined<br> [BaseDriver] Last-Modified: Thu, 11 Apr 2024 12:37:52 GMT<br> [BaseDriver] Cache-Control: max-age=0, must-revalidate, private<br> [BaseDriver] Content-Type: application/octet-stream<br> [BaseDriver] Content-Disposition: attachment; filename="care.ipa"<br> [BaseDriver] The application (460.95 MB) has been downloaded to '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-12oiq32.8sn3/care.ipa' in 44.300s<br> [BaseDriver] Approximate download speed: 10.41 MB/s<br> [XCUITestDriver@3cfc (287bdde9)] Found 1 bundle in 'care.ipa': Payload/care.app<br> [XCUITestDriver@3cfc (287bdde9)] 'Payload/care.app' is the resulting application bundle selected from '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-12oiq32.8sn3/care.ipa'<br> [XCUITestDriver@3cfc (287bdde9)] Event 'appConfigured' logged at 1712839743857 (14:49:03 GMT+0200 (Central European Summer Time))<br> [XCUITest] Checking whether app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app' is actually present on file system<br> [XCUITest] App is present<br> [XCUITest] Getting bundle ID from app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app': 'de.mediaworks.mediaworks.care.alpha'<br> [XCUITestDriver@3cfc (287bdde9)] Event 'resetStarted' logged at 1712839743860 (14:49:03 GMT+0200 (Central European Summer Time))<br> [XCUITest] Reset: running ios real device reset flow<br> [XCUITestDriver@3cfc (287bdde9)] Event 'resetComplete' logged at 1712839743860 (14:49:03 GMT+0200 (Central European Summer Time))<br> [XCUITestDriver@3cfc (287bdde9)] Using WDA path: '/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'<br> [XCUITestDriver@3cfc (287bdde9)] Using WDA agent: '/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'<br> [XCUITest] Crash reports root '/Users/ishan.nehu/Library/Logs/CrashReporter/MobileDevice/9 iPhone 12 mini' does not exist. Got nothing to gather.<br> [XCUITestDriver@3cfc (287bdde9)] Event 'logCaptureStarted' logged at 1712839743981 (14:49:03 GMT+0200 (Central European Summer Time))<br> [XCUITestDriver@3cfc (287bdde9)] Setting up real device<br> [XCUITest] Verifying application platform<br> [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]<br> [XCUITestDriver@3cfc (287bdde9)] App 'de.mediaworks.mediaworks.care.alpha' is not installed yet or it has an offload and cannot be detected, which might keep the local data.<br> [XCUITest] Installing '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app' on device with UUID '00008101-001D444A1EC2001E'...<br> [XCUITest] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability<br> [XCUITest] Getting bundle ID from app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app': 'de.mediaworks.mediaworks.care.alpha'<br> [XCUITest] Successfully scanned the tree structure of '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app'<br> [XCUITest] Got 657 folders and 6083 files to push<br> [XCUITestDriver@3cfc (287bdde9)] Parsed BUILD_DIR configuration value: '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Build/Products'<br> [XCUITestDriver@3cfc (287bdde9)] Got derived data root: '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg'<br> [XCUITest] Successfully created the remote folder structure (658 items)<br> [XCUITest] Proceeding to serial files push<br> [XCUITest] Successfully pushed 657 folders and 6083 files within 108811ms<br> [XCUITest] A new application installation is going to be performed<br> [XCUITest] Error installing app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app': Failed to receive any data within the timeout: 60000<br> [XCUITest] Falling back to 'ios-deploy' usage<br> [HTTP] <-- POST /session - - ms - -<br> [HTTP]<br> [XCUITestDriver@3cfc (287bdde9)] {}<br> [DevCon Factory] Releasing connections for 00008101-001D444A1EC2001E device on any port number<br> [DevCon Factory] No cached connections have been found<br> [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/com.apple.dt.XCTest*/'<br> [XCUITest] Cleaning test logs in '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Logs' folder<br> [XCUITest] Clearing log files<br> [XCUITest] Deleting '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Logs'. Freeing 20K.<br> [XCUITest] Finished clearing log files<br> [AppiumDriver@e7d4] Event 'newSessionStarted' logged at 1712840128377 (14:55:28 GMT+0200 (Central European Summer Time))<br> [AppiumDriver@e7d4] Encountered internal error running command: Error: Could not install '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024311-61079-zo8ck1.otq2/care.app':<br> [AppiumDriver@e7d4] - Failed to receive any data within the timeout: 60000<br> [AppiumDriver@e7d4] - 2024-04-11 14:55:28.344 ios-deploy[63651:10370216] [ !! ] Error 0xe800002d: Could not send a message to the device. AMDeviceStopSession(device)<br> [AppiumDriver@e7d4]<br> [AppiumDriver@e7d4] at IOSDeploy.install (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:104:17)<br> [AppiumDriver@e7d4] at installToRealDevice (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/real-device-management.js:85:5)<br> [AppiumDriver@e7d4] at XCUITestDriver.installAUT (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:1682:9)<br> [AppiumDriver@e7d4] at XCUITestDriver.start (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:598:5)<br> [AppiumDriver@e7d4] at XCUITestDriver.createSession (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:401:7)<br> [AppiumDriver@e7d4] at AppiumDriver.createSession (/usr/local/lib/node_modules/appium/lib/appium.js:717:35)</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2049887872" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mykola-mokhnach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mykola-mokhnach">@mykola-mokhnach</a>, I updated the newCommandTimeout to 5 mins but that also didn't help. Or are you taking about some other capability.?</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2049918484" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">I just wanted to add one more observation while it tries to install the app using the serial push and before failing back to ios-deploy. This is how it looks on the device.<br> <a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/60988110/321683597-a8ea739b-42de-4c0b-9650-3005bb924f8d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE2ODM1OTctYThlYTczOWItNDJkZS00YzBiLTk2NTAtMzAwNWJiOTI0ZjhkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRiZmZiZGFmZGMyODhkZjA2MWFkODc2NzMwNWU2OTIxOGNlNzE5ZjMwNTAwNzU1NmRjMTI4N2MyMmNhOTFhYjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8_2sgw1OmH_fL4CJ_9ch_hLYmiMiONwhGJFLwBauysg"><img src="https://private-user-images.githubusercontent.com/60988110/321683597-a8ea739b-42de-4c0b-9650-3005bb924f8d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE2ODM1OTctYThlYTczOWItNDJkZS00YzBiLTk2NTAtMzAwNWJiOTI0ZjhkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRiZmZiZGFmZGMyODhkZjA2MWFkODc2NzMwNWU2OTIxOGNlNzE5ZjMwNTAwNzU1NmRjMTI4N2MyMmNhOTFhYjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8_2sgw1OmH_fL4CJ_9ch_hLYmiMiONwhGJFLwBauysg" alt="IMG_0873" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/60988110/321683604-ae0815c7-4d2f-49c5-8211-a38b7a33f871.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE2ODM2MDQtYWUwODE1YzctNGQyZi00OWM1LTgyMTEtYTM4YjdhMzNmODcxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2YmI1NGUyYTU3NmY5MzE2Njk3ODU3MmJiZDY0MWE1YzE2NWVkMzdlYzBjYzlkM2I0NjI2MTNjYmZlMjE4NjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pAfkftq6_jFRxkpfjvLblnn1DxYxgnvVPBXWlkqaXsk"><img src="https://private-user-images.githubusercontent.com/60988110/321683604-ae0815c7-4d2f-49c5-8211-a38b7a33f871.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE2ODM2MDQtYWUwODE1YzctNGQyZi00OWM1LTgyMTEtYTM4YjdhMzNmODcxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2YmI1NGUyYTU3NmY5MzE2Njk3ODU3MmJiZDY0MWE1YzE2NWVkMzdlYzBjYzlkM2I0NjI2MTNjYmZlMjE4NjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pAfkftq6_jFRxkpfjvLblnn1DxYxgnvVPBXWlkqaXsk" alt="IMG_0874" style="max-width: 100%;"></a></p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2049921529" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">And then after it falls back to iOS deploy it installs the app correctly. But sadly the process gets terminated</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2050069367" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/5511591?s=30&u=5f0efcad7028fba45b2f77f1b0d2fbb46f530e49&v=4" alt="KazuCocoa avatar" /> <a class="issue-username" href="/KazuCocoa">KazuCocoa</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Such an icon could occur when an installation hasn't been completed.</p> <blockquote> <p dir="auto">[BaseDriver] The application (460.38 MB) has been downloaded to</p> </blockquote> <p dir="auto">Btw, how long did it take to install the app with vanilla <code class="notranslate">ios-deploy</code> for such a large file size? (Not via Appium to check the duration)</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051305344" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Hey <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mykola-mokhnach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mykola-mokhnach">@mykola-mokhnach</a>. Thank you for pushing the changes but unfortunately i couldn't install this version. I could only go upto XCUITestDriver (v6.0.2).<br> <a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/60988110/321921509-87bc3eb4-2e3a-491b-af3d-bc8cc821b2ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE5MjE1MDktODdiYzNlYjQtMmUzYS00OTFiLWFmM2QtYmM4Y2M4MjFiMmVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxZDFmNzEzYjljMDQyYTM2N2EwODk4MzEzZDQ3NjNjY2U2MTdmYWU3Njg2YzJiNDMwMmJiOTVmMzYzMjE1OTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3oeH2_Hofy28TMy25VnSo3_9gd9XFxIvApSd3Ho1P1s"><img width="838" alt="Screenshot 2024-04-12 at 10 38 41" src="https://private-user-images.githubusercontent.com/60988110/321921509-87bc3eb4-2e3a-491b-af3d-bc8cc821b2ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MDY2OTUsIm5iZiI6MTcxNDUwNjM5NSwicGF0aCI6Ii82MDk4ODExMC8zMjE5MjE1MDktODdiYzNlYjQtMmUzYS00OTFiLWFmM2QtYmM4Y2M4MjFiMmVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDE5NDYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxZDFmNzEzYjljMDQyYTM2N2EwODk4MzEzZDQ3NjNjY2U2MTdmYWU3Njg2YzJiNDMwMmJiOTVmMzYzMjE1OTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3oeH2_Hofy28TMy25VnSo3_9gd9XFxIvApSd3Ho1P1s" style="max-width: 100%;"></a></p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051525538" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Sadly it didn't work but we can see some exception logs. However it still installed the app on the device :) but the session got disconnected :(<br> [HTTP] {"capabilities":{"alwaysMatch":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"00008101-001D444A1EC2001E","appium:deviceName":"9 iPhone 12 mini","appium:platformVersion":"17.3","appium:clearSystemFiles":true,"appium:app":"<a href="https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx%22,%22appium:newCommandTimeout%22:3600,%22appium:connectHardwareKeyboard%22:true%7D,%22firstMatch%22:%5B%7B%7D%5D%7D,%22desiredCapabilities%22:%7B%22appium:platformName%22:%22iOS%22,%22appium:automationName%22:%22XCUITest%22,%22appium:udid%22:%2200008101-001D444A1EC2001E%22,%22appium:deviceName%22:%229" rel="nofollow">https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"00008101-001D444A1EC2001E","appium:deviceName":"9</a> iPhone 12 mini","appium:platformVersion":"17.3","appium:clearSystemFiles":true,"appium:app":"<a href="https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx%22,%22appium:newCommandTimeout%22:3600,%22appium:connectHardwareKeyboard%22:true%7D%7D" rel="nofollow">https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}</a><br> [AppiumDriver@0aac] Calling AppiumDriver.createSession() with args: [{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"00008101-001D444A1EC2001E","appium:deviceName":"9 iPhone 12 mini","appium:platformVersion":"17.3","appium:clearSystemFiles":true,"appium:app":"https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"00008101-001D444A1EC2001E","appium:deviceName":"9 iPhone 12 mini","appium:platformVersion":"17.3","appium:clearSystemFiles":true,"appium:app":"https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx","appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]<br> [AppiumDriver@0aac] Event 'newSessionRequested' logged at 1712918102334 (12:35:02 GMT+0200 (Central European Summer Time))<br> [BaseDriver] The capabilities ["platformName"] are standard capabilities and do not require "appium:" prefix<br> [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS'<br> [Appium] The 'xcuitest' driver was installed and matched caps.<br> [Appium] Will require it at /Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver<br> [Appium] Requiring driver at /Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/build/index.js<br> [AppiumDriver@0aac] Appium v2.5.2 creating new XCUITestDriver (v7.11.3) session<br> [AppiumDriver@0aac] Checking BaseDriver versions for Appium and XCUITestDriver<br> [AppiumDriver@0aac] Appium's BaseDriver version is 9.5.3<br> [AppiumDriver@0aac] XCUITestDriver's BaseDriver version is 9.5.3<br> [XCUITestDriver@75cb] Creating session with W3C capabilities: {<br> [XCUITestDriver@75cb] "alwaysMatch": {<br> [XCUITestDriver@75cb] "platformName": "iOS",<br> [XCUITestDriver@75cb] "appium:automationName": "XCUITest",<br> [XCUITestDriver@75cb] "appium:udid": "00008101-001D444A1EC2001E",<br> [XCUITestDriver@75cb] "appium:deviceName": "9 iPhone 12 mini",<br> [XCUITestDriver@75cb] "appium:platformVersion": "17.3",<br> [XCUITestDriver@75cb] "appium:clearSystemFiles": true,<br> [XCUITestDriver@75cb] "appium:app": "<a href="https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx" rel="nofollow">https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx</a>",<br> [XCUITestDriver@75cb] "appium:newCommandTimeout": 3600,<br> [XCUITestDriver@75cb] "appium:connectHardwareKeyboard": true<br> [XCUITestDriver@75cb] },<br> [XCUITestDriver@75cb] "firstMatch": [<br> [XCUITestDriver@75cb] {}<br> [XCUITestDriver@75cb] ]<br> [XCUITestDriver@75cb] }<br> [XCUITestDriver@75cb (7df71fbb)] Session created with session id: 7df71fbb-5c9e-40db-91e8-f9a7c1b074ef<br> [XCUITest] Current user: 'ishan.nehu'<br> [XCUITestDriver@75cb (7df71fbb)] Available real devices: 00008101-001D444A1EC2001E<br> [XCUITestDriver@75cb (7df71fbb)] Creating iDevice object with udid '00008101-001D444A1EC2001E'<br> [XCUITestDriver@75cb (7df71fbb)] Determining device to run tests on: udid: '00008101-001D444A1EC2001E', real device: true<br> [XCUITestDriver@75cb (7df71fbb)] Event 'xcodeDetailsRetrieved' logged at 1712918102365 (12:35:02 GMT+0200 (Central European Summer Time))<br> [BaseDriver] Using downloadable app '<a href="https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx" rel="nofollow">https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx</a>'<br> [BaseDriver] Etag: undefined<br> [BaseDriver] Last-Modified: Fri, 12 Apr 2024 09:40:49 GMT<br> [BaseDriver] Cache-Control: max-age=0, must-revalidate, private<br> [BaseDriver] Content-Type: application/octet-stream<br> [BaseDriver] Content-Disposition: attachment; filename="compwork.ipa"<br> [BaseDriver] The application (463.27 MB) has been downloaded to '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-oml6my.v2jlf/compwork.ipa' in 46.262s<br> [BaseDriver] Approximate download speed: 10.01 MB/s<br> [XCUITestDriver@75cb (7df71fbb)] Found 1 bundle in 'compwork.ipa': Payload/compwork.app<br> [XCUITestDriver@75cb (7df71fbb)] 'Payload/compwork.app' is the resulting application bundle selected from '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-oml6my.v2jlf/compwork.ipa'<br> [XCUITestDriver@75cb (7df71fbb)] Event 'appConfigured' logged at 1712918158092 (12:35:58 GMT+0200 (Central European Summer Time))<br> [XCUITest] Checking whether app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app' is actually present on file system<br> [XCUITest] App is present<br> [XCUITest] Getting bundle ID from app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app': 'de.mediaworks.mediaworks.compwork.alpha'<br> [XCUITestDriver@75cb (7df71fbb)] Event 'resetStarted' logged at 1712918158095 (12:35:58 GMT+0200 (Central European Summer Time))<br> [XCUITestDriver@75cb (7df71fbb)] Reset: running ios real device reset flow<br> [XCUITestDriver@75cb (7df71fbb)] Event 'resetComplete' logged at 1712918158095 (12:35:58 GMT+0200 (Central European Summer Time))<br> [XCUITestDriver@75cb (7df71fbb)] Using WDA path: '/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'<br> [XCUITestDriver@75cb (7df71fbb)] Using WDA agent: '/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'<br> [XCUITest] Crash reports root '/Users/ishan.nehu/Library/Logs/CrashReporter/MobileDevice/9 iPhone 12 mini' does not exist. Got nothing to gather.<br> [XCUITestDriver@75cb (7df71fbb)] Event 'logCaptureStarted' logged at 1712918158219 (12:35:58 GMT+0200 (Central European Summer Time))<br> [XCUITestDriver@75cb (7df71fbb)] Setting up real device<br> [XCUITest] Verifying application platform<br> [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]<br> [XCUITestDriver@75cb (7df71fbb)] App 'de.mediaworks.mediaworks.compwork.alpha' is not installed yet or it has an offload and cannot be detected, which might keep the local data.<br> [XCUITestDriver@75cb (7df71fbb)] Installing '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app' on the device with UUID '00008101-001D444A1EC2001E'...<br> [XCUITestDriver@75cb (7df71fbb)] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability<br> [XCUITest] Getting bundle ID from app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app': 'de.mediaworks.mediaworks.compwork.alpha'<br> [XCUITest] Successfully scanned the tree structure of '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app'<br> [XCUITest] Got 657 folders and 6089 files to push<br> [XCUITest] Successfully created the remote folder structure (658 items)<br> [XCUITest] Proceeding to serial files push<br> [XCUITestDriver@75cb (7df71fbb)] Parsed BUILD_DIR configuration value: '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Build/Products'<br> [XCUITestDriver@75cb (7df71fbb)] Got derived data root: '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg'<br> [XCUITest] Successfully pushed 657 folders and 6089 files within 102831ms<br> [XCUITestDriver@75cb (7df71fbb)] A new application installation is going to be performed. Will timeout in 377058.228208 ms<br> [XCUITestDriver@75cb (7df71fbb)] Error installing app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app': Unexpected data: {"Error":"ApplicationVerificationFailed","ErrorDetail":-402620393,"ErrorDescription":"Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.fYQbdS/extracted/de.mediaworks.mediaworks.compwork.alpha.app : 0xe8008017 (A signed resource has been added, modified, or deleted.)"}<br> [XCUITestDriver@75cb (7df71fbb)] Falling back to 'ios-deploy' usage<br> [HTTP] <-- POST /session - - ms - -<br> [HTTP]<br> [XCUITestDriver@75cb (7df71fbb)] {}<br> [DevCon Factory] Releasing connections for 00008101-001D444A1EC2001E device on any port number<br> [DevCon Factory] No cached connections have been found<br> [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/com.apple.dt.XCTest*/'<br> [XCUITest] Cleaning test logs in '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Logs' folder<br> [XCUITest] Clearing log files<br> [XCUITest] Deleting '/Users/ishan.nehu/Library/Developer/Xcode/DerivedData/WebDriverAgent-bnqaucvleszuxcdcergprpefpqdg/Logs'. Freeing 192K.<br> [XCUITest] Finished clearing log files<br> [AppiumDriver@0aac] Event 'newSessionStarted' logged at 1712918525594 (12:42:05 GMT+0200 (Central European Summer Time))<br> [AppiumDriver@0aac] Encountered internal error running command: Error: Could not install '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app':<br> [AppiumDriver@0aac] - Unexpected data: {"Error":"ApplicationVerificationFailed","ErrorDetail":-402620393,"ErrorDescription":"Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.fYQbdS/extracted/de.mediaworks.mediaworks.compwork.alpha.app : 0xe8008017 (A signed resource has been added, modified, or deleted.)"}<br> [AppiumDriver@0aac] - 2024-04-12 12:42:05.515 ios-deploy[2234:19558] [ !! ] Error 0xe800002d: Could not send a message to the device. AMDeviceStopSession(device)<br> [AppiumDriver@0aac]<br> [AppiumDriver@0aac] at RealDevice.install (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/real-device.js:141:17)<br> [AppiumDriver@0aac] at XCUITestDriver.installToRealDevice (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/real-device-management.js:43:5)<br> [AppiumDriver@0aac] at XCUITestDriver.installAUT (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:1671:9)<br> [AppiumDriver@0aac] at XCUITestDriver.start (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:611:5)<br> [AppiumDriver@0aac] at XCUITestDriver.createSession (/Users/ishan.nehu/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:419:7)<br> [AppiumDriver@0aac] at AppiumDriver.createSession (/usr/local/lib/node_modules/appium/lib/appium.js:717:35)</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051612401" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><blockquote> <p dir="auto">[XCUITestDriver@75cb (7df71fbb)] Error installing app '/var/folders/fn/97l7k3d928z34hn8jsgxn_1r0000gn/T/2024312-1228-xgl9b1.pqcta/compwork.app': Unexpected data: {"Error":"ApplicationVerificationFailed","ErrorDetail":-402620393,"ErrorDescription":"Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.fYQbdS/extracted/de.mediaworks.mediaworks.compwork.alpha.app : 0xe8008017 (A signed resource has been added, modified, or deleted.)"}</p> </blockquote> <p dir="auto">This means that your app is probably damaged or signed improperly, so it cannot be installed.</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051799607" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mykola-mokhnach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mykola-mokhnach">@mykola-mokhnach</a> . But the app gets installed perfectly :thinking_face: . What I do,<br> Using the Appium inspector I provide these capabilities,<br> {<br> "appium:platformName": "iOS",<br> "appium:automationName": "XCUITest",<br> "appium:udid": "00008101-001D444A1EC2001E",<br> "appium:deviceName": "9 iPhone 12 mini",<br> "appium:platformVersion": "17.3",<br> "appium:clearSystemFiles": true,<br> "appium:app": "<a href="https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx" rel="nofollow">https://storage.web.mediaworks.de/apps/category/1/app/773026/download?authorization=1fDnX7ciitQxxxxxx</a>"<br> }<br> In the Appium logs, I see that,</p> <ol dir="auto"> <li>It tries to install the app using serial push but only manages to partially install the app.</li> <li>Then it switches to ios-deploy even though I haven't specified anything.</li> <li>The session terminates seconds before the app gets installed to the device (It install the app correctly even after the session fails). This is something I don't understand. So I guess the app is not damaged. It might be due to signing. Can you kindly let me know how I can do that. Thank you for your help</li> </ol><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2051806581" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/7767781?v=4" alt="mykola-mokhnach avatar" /> <a class="issue-username" href="/mykola-mokhnach">mykola-mokhnach</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">I would try something like <a href="https://medium.com/testableapple/ios-application-verification-failed-d806d83ffdae" rel="nofollow">https://medium.com/testableapple/ios-application-verification-failed-d806d83ffdae</a>, but generally it's not something that could be fixed in the driver itself</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2056802014" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mykola-mokhnach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mykola-mokhnach">@mykola-mokhnach</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/KazuCocoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/KazuCocoa">@KazuCocoa</a> for your help. I understand the issue is with the app signing. But if i launch the driver again after the app installs it works fine. I am unable to understand why it only blocks the scenario where we install and launch the app but doesn't block scenarios in which the app in pre-installed.? Thank you for your help :)</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2057302334" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/5511591?s=30&u=5f0efcad7028fba45b2f77f1b0d2fbb46f530e49&v=4" alt="KazuCocoa avatar" /> <a class="issue-username" href="/KazuCocoa">KazuCocoa</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><blockquote> <p dir="auto">doesn't block scenarios in which the app in pre-installed</p> </blockquote> <p dir="auto">Because the installed app is already signed properly. Usually, installation succeeds with a valid sign for the device. Then, <em>Failed to verify code signature of</em> does not block the installation</p><p>from appium.</p></section> </section> <section class="issue-comment"> <section id="2059399113" class="issue-head"> <img class="issue-avatar" src="https://avatars.githubusercontent.com/u/60988110?s=30&v=4" alt="ishan2788 avatar" /> <a class="issue-username" href="/ishan2788">ishan2788</a> <span class="issue-time"> commented on June 8, 2024 </span> </section> <section class="markdown markdown-js p-5"><p dir="auto">Thank you <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/KazuCocoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/KazuCocoa">@KazuCocoa</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mykola-mokhnach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mykola-mokhnach">@mykola-mokhnach</a> . I will close this ticket. As of now i create a new driver session as a workaround and this works fine with that.</p><p>from appium.</p></section> </section> </article> <section> <h2 class="h2">Related Issues (20)</h2> <div class="issue"> <ul> <li> <a href="/appium/appium/issues/20000">appium</a> </li> <li> <a href="/appium/appium/issues/20001">[iOS-17] getScreenshot command timing out multiple times </a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> <li> <a href="/appium/appium/issues/20003">help me to automate any apps(system apps or custom apps) on secondary display android</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20004">[Feat]: alternate sendkey strategy/ies for iOS web</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20005">Any plans to support appium-windows-driver for windows 11</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20008">Unable to install appium drivers on windows 11</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> <li> <a href="/appium/appium/issues/20009">ERROR webdriver: Request failed with status 500 due to unsupported operation: This API is not supported anymore. See https://github.com/appium/appium/issues/15807</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> <li> <a href="/appium/appium/issues/20013">Getting error "WDA is not listening at 'http://127.0.0.1"</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 14</span> </li> <li> <a href="/appium/appium/issues/20014">× Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver'</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20018">Large DOM structure takes long time and sometimes crashed appium</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> <li> <a href="/appium/appium/issues/20025">Unable to start appium session</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20026">Unable to start appium session using appium GUI inspector even after upgrading or installing appium v2.5</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 12</span> </li> <li> <a href="/appium/appium/issues/20027">Is there a way or any desired capabilities in which we can stop Appium from launching the app after installation.</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20029">How to get bundleId dinamically?</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 2</span> </li> <li> <a href="/appium/appium/issues/20031">My automation tests are flaky- get alert text returns empty string sometimes</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 7</span> </li> <li> <a href="/appium/appium/issues/20032">bug: updating appium, driver or plugin, is not synchronized in node_modules/.cache/appium/extensions.yaml </a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 6</span> </li> <li> <a href="/appium/appium/issues/20034">Issue when perform gestures on both Android and iOS</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 3</span> </li> <li> <a href="/appium/appium/issues/20036">[Feat]: introduce getContextsWithDetails endpoint</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> <li> <a href="/appium/appium/issues/20043">bug: Scroll on Android don't work</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 1</span> </li> <li> <a href="/appium/appium/issues/20050">[Feat]: Can I specify my own registry in "appium driver install --source=npm"</a> <span class="text-red-600 text-xs font-normal py-0.5 px-1 border border-red-600 rounded-md">HOT 4</span> </li> </ul> </div> </section> </main> <section id="more" class="flex-none w-full md:w-60 text-gray-600 bg-gray-50 px-5 md:px-3 rounded-md dark-color"> <div class="w-full md:w-60 h-0.5"></div> <section> <!-- recommend projects --> <h2 class="h2 py-3.5">Recommend Projects</h2> <ul> <li class="mb-4"> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/facebook/react"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://raw.githubusercontent.com/facebook/create-react-app/master/packages/cra-template/template/public/logo192.png" alt="React photo" /> React </a> </h3> <p class="article-more pt-1">A declarative, efficient, and flexible JavaScript library for building user interfaces.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/vuejs/vue"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://camo.githubusercontent.com/c8f91d18976e27123643a926a2588b8d931a0292fd0b6532c3155379e8591629/68747470733a2f2f7675656a732e6f72672f696d616765732f6c6f676f2e706e67" alt="Vue.js photo" /> Vue.js </a> </h3> <p class="article-more pt-1">🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/microsoft/TypeScript"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://www.typescriptlang.org/favicon-32x32.png" alt="Typescript photo" /> Typescript </a> </h3> <p class="article-more pt-1">TypeScript is a superset of JavaScript that compiles to clean JavaScript output.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/tensorflow/tensorflow"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://camo.githubusercontent.com/c04e16c05de80dadbdc990884672fc941fdcbbfbb02b31dd48c248d010861426/68747470733a2f2f7777772e74656e736f72666c6f772e6f72672f696d616765732f74665f6c6f676f5f736f6369616c2e706e67" alt="TensorFlow photo" /> TensorFlow </a> </h3> <p class="article-more pt-1">An Open Source Machine Learning Framework for Everyone</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/django/django"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars2.githubusercontent.com/u/27804?s=200&v=4" alt="Django photo" /> Django </a> </h3> <p class="article-more pt-1">The Web framework for perfectionists with deadlines.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/laravel/laravel"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://laravel.com/img/logomark.min.svg" alt="Laravel photo" /> Laravel </a> </h3> <p class="article-more pt-1">A PHP framework for web artisans</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/d3/d3"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://camo.githubusercontent.com/586ccf0aad9684edc821658cee04146cf36d1f1d5ec904bbefd72728909ccb2e/68747470733a2f2f64336a732e6f72672f6c6f676f2e737667" alt="D3 photo" /> D3 </a> </h3> <p class="article-more pt-1">Bring data to life with SVG, Canvas and HTML. 📊📈🎉</p> </article> </li> <li> <div> </div> </li> </ul> </section> <section> <!-- recommend topics --> <h2 class="h2 py-3.5">Recommend Topics</h2> <ul> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/javascript"> javascript </a> </h3> <p class="article-more pt-1">JavaScript (JS) is a lightweight interpreted programming language with first-class functions.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/web"> web </a> </h3> <p class="article-more pt-1">Some thing interesting about web. New door for the world.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/server"> server </a> </h3> <p class="article-more pt-1">A server is a program made to process requests and deliver data to clients.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/machine-learning"> Machine learning </a> </h3> <p class="article-more pt-1">Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/visualization"> Visualization </a> </h3> <p class="article-more pt-1">Some thing interesting about visualization, use data art</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/topic/game"> Game </a> </h3> <p class="article-more pt-1">Some thing interesting about game, make everyone happy.</p> </article> </li> <li> </li> </ul> </section> <section> <!-- recommend users --> <h2 class="h2 py-3.5">Recommend Org</h2> <ul> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/facebook"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/69631?v=4" alt="Facebook photo" /> Facebook </a> </h3> <p class="article-more pt-1">We are working to build community through open source technology. NB: members must have two-factor auth.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/microsoft"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/6154722?v=4" alt="Microsoft photo" /> Microsoft </a> </h3> <p class="article-more pt-1">Open source projects and samples from Microsoft.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/google"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/1342004?v=4" alt="Google photo" /> Google </a> </h3> <p class="article-more pt-1">Google ❤️ Open Source for everyone.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/alibaba"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/1961952?v=4" alt="Alibaba photo" /> Alibaba </a> </h3> <p class="article-more pt-1">Alibaba Open Source for everyone</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/d3"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/1562726?v=4" alt="D3 photo" /> D3 </a> </h3> <p class="article-more pt-1">Data-Driven Documents codes.</p> </article> </li> <li> <article class="small-box"> <h3 class="article-title"> <a class="block break-all" href="/tencent"> <img loading="lazy" class="inline-block w-6 h-6 rounded-md border border-white" width="24" height="24" src="https://avatars.githubusercontent.com/u/18461506?v=4" alt="Tencent photo" /> Tencent </a> </h3> <p class="article-more pt-1">China tencent open source team.</p> </article> </li> <li> </li> </ul> </section> </section> </div> </div> <!-- footer --> <footer class="sizeing text-xs text-center p-5"> <div>Friends: <a class="hover:underline" target="_blank" href="https://www.chanpinqingbaoju.com">ProductDiscover</a> </div> Copyright © 2024 Code Monkey <!-- & <span class="block md:inline">Data Power by github.com</span> --> ❤️ <a class="hover:underline block md:inline" href="mailto:cs.victor.edison@gmail.com">Mail to me</a> </footer> </body> </html>