![]() You should see a new Remote Target appear.In the world of modern web development, Web 2.0 (or is it 3.0?), with HTML5, CSS3, ES6, and frameworks and libraries up the wazoo, our web apps and sites always work seamlessly and flawlessly across all the browsers and devices… hahaha, I know… Go back to the Chrome tab of step 5 on your computer. Launch the developer tools on your computer Then open Safari and browse to the website you want to debug. Open your iOS settings and go to Safari>Advanced and enable the Web Inspector. Start browsing on your iOS deviceīefore browsing, make sure the Web Inspector is enabled. Add the address localhost:9000 and click on Done if it isn’t already on the list. Make sure the Discover network targets option is checked.Ĭlick on the Configure button. Configure Chromeīrowse to chrome://inspect/#devices in a new Chrome tab. You should get the following message: remotedebug-ios-webkit-adapter is listening on port 9000 5. With the iOS device correctly mounted, we can execute the dubugging tool with the following command on the terminal: $ remotedebug_ios_webkit_adapter -port=9000 If the device wasn’t automatically mounted, or if you want to verify it’s correctly mounted, you can also execute: $ idevicepair pairĪ success message should appear. You can verify it with the following command on the terminal: $ idevice_idĪ sequence of characters identifying your device should be shown. The iOS device should be automatically mounted. Unlock your device and select the Trust option to share information with the computer. libimobiledevice in particular allows Ubuntu to recognize iOS devices.Ĭonnect your iOS device to a USB port. With all the tools installed, you should be able to mount your iOS device on your Linux machine. ![]() With this tool and all of its dependencies correctly installed, we’re ready to start debugging! 3. To install it: npm install remotedebug-ios-webkit-adapter -g While this tool isn’t maintained anymore, it’s functional as of April 2021. In case you missed any of them, run the following command: sudo apt-get install autoconf automake libusb-dev libusb-1.0-0-dev libplist-dev libtool libssl-devīuild and install: cd ios-webkit-debug-proxy Sudo make install ios-webkit-debug-proxy installationĪll dependencies should already be installed. If you get a cannot open shared file or directory error message, run: sudo ldconfig usbmuxd installation Sudo make install libimobiledevice installation ![]() Sudo make install libusbmuxd installation Install tools and dependencies: sudo apt-get install \ Installing the dependencies in the order that is presented below worked for me, but it may require a bit of trial and error to work on your machine. In case of conflict, please refer to the original repos. For convenience, a summary of those installation steps, copied from the Github repos, is presented below. To install them, you can follow the installation instructions of each one of the Github repos provided above. In turn, they require the following dependencies: This tool requires the installation of libmobiledevice, and ios-webkit-debug-proxy. The main tool used to debug iOS on Linux is the remotedebug-ios-webkit-adapter. Icon made by Pixel perfect from Disclaimer: This tutorial requires the installation of external dependencies, particularly one that isn’t maintained anymore ( remotedebug-ios-webkit-adapter).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |