Can I debug iOS app on Windows?
Show Want to Support Me? Get two free stocks valued up to $1,850 when you open a new Webull investment account through my referral link and fund the account with at least $100! Have you ever needed to debug a website (especially JavaScript or CSS) in Safari on an iOS device but didn’t have a Mac handy? I ran into this problem, and after hours of trying other ways to debug, I finally discovered a pretty easy way to load up a debug interface on my Windows 10 PC that displayed debug info about a website in Safari on an iPad Mini. [update 10/20/2019 – I’ve heard reports that this solution only works in iOS 12 and below, not iOS 13 and up. I can neither confirm or deny.] [update 5/6/2018 – I previously included a solution that used WebIDE in the Mozilla Firefox browser, along with the Valence plugin. At some point, possibly beginning with iOS 9, that solution stopped working. I recently had a chance to try some other solutions and found an even easier solution that works with Google Chrome DevTools!] Thankfully, this solution uses the Google Chrome browser on your PC and the built-in Chrome DevTools that you should already be used to, but the content is coming from the website in Safari on the iOS device. According to what I’ve read online, it appears this solution only works with Windows 8 and up, so this may not work on Windows 7. Let’s get to it! SolutionI recorded a tutorial video of this solution, step-by-step, to go along with this post:
It should take you around 5 minutes to set this up, and you can be debugging a website in no time! Using iOS 11?You may need some extra steps to get this working on an iOS 11 device. Evidently, the version of the remotedebug-ios-webkit-adapter downloaded via npm is broken for iOS 11. The user bdice wrote a post on the remotedebug-ios-webkit-adapter Github Issues page describing how he was able to get this working on Windows 10 with an iOS 11 device. I tested it out, and here’s the lowdown:
After you have jumped through all these hoops, I would restart Windows PowerShell (as Administrator!), restart Chrome, and unplug then plug back in your iOS device, just to be safe. After doing so, go back to step 6 above, and when you get to step 9, you should now see your device under the list of Remote Targets! I tested this out, and it definitely worked! Your Turn!Have you tried debugging a website in Safari on iOS with a Windows machine before? How did it work out for you, and what tool(s) did you use? Or did you have a problem with this solution you’d like to discuss? I’d love to hear from you, so let’s discuss in the comments below! Want to Support Me? Get two free stocks valued up to $1,850 when you open a new Webull investment account through my referral link and fund the account with at least $100! Can I debug iOS on Windows?Debugging iPhone Safari on Windows using BrowserStack. BrowserStack makes iPhone Safari debugging simple, irrespective of the operating system being used. Windows users (on Windows XP, 7,8,10) can test and debug on the desired iPhone – Safari combination directly from their web browser (Firefox, Chrome, Safari, etc).
Can you Dev a iOS app on Microsoft?You can build native apps for Android, iOS, and Windows by using C# or F# (Visual Basic isn't supported at this time). To get started, install Visual Studio, select the Mobile Development with . NET option in the installer.
Can we code iOS apps on Windows?Whether it's a cloud-based Mac or a virtual machine Mac on VirtualBox, you need macOS to run Xcode. So please, don't try to develop iOS apps on windows.
How do I debug an installed iOS app?Steps to connect when the application is installed but not in running mode. Application is installed either on a simulator or on the device.. Select Debug option from XCode Menu.. Select Attach to Process by PID or Name.. You'll get a popup, where by entering PID or name you can attach to the debugger.. |