<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arjun Shukla on Medium]]></title>
        <description><![CDATA[Stories by Arjun Shukla on Medium]]></description>
        <link>https://medium.com/@bondjun_007?source=rss-849e8f27fbef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ta2OUJrggAeNvN6c.</url>
            <title>Stories by Arjun Shukla on Medium</title>
            <link>https://medium.com/@bondjun_007?source=rss-849e8f27fbef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 00:37:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bondjun_007/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Handling frequent Appium errors while running on real iOS device (part 1)]]></title>
            <link>https://medium.com/@bondjun_007/handling-popular-appium-errors-while-running-on-real-device-part-1-792dbafe46de?source=rss-849e8f27fbef------2</link>
            <guid isPermaLink="false">https://medium.com/p/792dbafe46de</guid>
            <category><![CDATA[appium]]></category>
            <category><![CDATA[ios-proxy-webdriver]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[safari]]></category>
            <dc:creator><![CDATA[Arjun Shukla]]></dc:creator>
            <pubDate>Tue, 06 Feb 2018 07:18:26 GMT</pubDate>
            <atom:updated>2018-03-07T05:16:18.145Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m documenting a few errors I encountered frequently while trying to connect and run my Appium test scripts on a physical device.</p><p>I assume you have the correct setup detailed in Appium <a href="https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md#setting-up-ios-real-devices-tests-with-xcuitest">docs</a>, but are still running into these errors like silly me was :)</p><h3>Error #1:</h3><blockquote>ENOENT: no such file or directory, open ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/PrivateHeaders/XCTest/XCUICoordinate.h</blockquote><p>Solution:</p><p>In your terminal, type:</p><blockquote>cd /Applications/Appium.app/Contents/Resources/app ; npm install</blockquote><h3>Error #2:</h3><blockquote>Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65</blockquote><blockquote>/Applications/Appium_1.6.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj</blockquote><p>Follow <a href="https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md#setting-up-ios-real-devices-tests-with-xcuitest">these</a> steps if you have a paid Apple developer account:</p><p>Add the xcodeOrgId and xcodeSigningId desired capabilities</p><pre>{<br>      &quot;xcodeOrgId&quot;: &quot;&lt;Team ID&gt;&quot;,<br>      &quot;xcodeSigningId&quot;: &quot;iPhone Developer&quot;<br>}</pre><p><strong>Note:</strong> The org/team Id is not available for free accounts.</p><p>Incase of using a free Apple developer account, you’ll need to manually set your team info in the WebDriverAgent Xcode project located at</p><blockquote>/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent</blockquote><p>You can follow <a href="https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md#basic-manual-configuration">these</a> instructions.</p><h3>Error #3</h3><blockquote>Could not connect to lockdownd. Exiting</blockquote><p>sudo chmod -R 777 /var/db/lockdown/</p><p>If still you face the problem then follow below steps: try to uninstall the ios-webkit-debug-proxy and install again (from <a href="https://github.com/google/ios-webkit-debug-proxy/issues/168">here</a>)</p><blockquote>brew update<br>brew reinstall — HEAD libimobiledevice<br>brew reinstall -s ios-webkit-debug-proxy</blockquote><p>Or</p><blockquote>brew uninstall — force libimobiledevice ios-webkit-debug-proxy<br>brew install — HEAD libimobiledevice ios-webkit-debug-proxy</blockquote><h3>Error #4</h3><blockquote>Xcode9.1+IOS 11.1.2+APPIUM1.2.7 runtime throws exceptions,’11.1.2&#39;does not exist in the list of simctl SDKs</blockquote><p>Run with the available simulator version.</p><h3>Error #5</h3><blockquote>Encountered internal error running command: Error: Could not initialize ios-deploy make sure it is installed (npm install -g ios-deploy) and works on your system.</blockquote><p>Make sure the <strong>Enable UI Automation</strong> toggle is turned <strong>ON</strong> for your device running Appium scripts</p><h4>Settings &gt; Developer &gt; Enable UI Automation</h4><p>Also note that when working with native safari, make sure you start the iOS debug <a href="http://appium.io/docs/en/writing-running-appium/web/ios-webkit-debug-proxy/">proxy</a> (<a href="https://github.com/google/ios-webkit-debug-proxy">github</a>), and that the connection to your device is established before you start the appium server either through command lineor app UI.</p><p>Run these commands in terminal:</p><ol><li>ios_webkit_debug_proxy -c &lt;device udid&gt;:27753</li><li>Start appium</li><li>Now try running your test scripts</li></ol><h3><strong>Error #6</strong></h3><blockquote>Script taking forever to load and launch on real device</blockquote><p>Try these approaches:</p><ol><li>If previously installed, then uninstall/delete the WebDriverAgent app from your real test device or simulator</li><li>If uninstall doesn’t fix issue, restart the phone and try running your tests</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=792dbafe46de" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>