This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Simulator to test website on mac IOS
I need to test my site on a mac ios (desktop not mobile) is there a simulator available online to do this?
You can use the iOS simulator to do this. You need to enable "Developer Mode" on Safari (Preferences -> Advanced).
Then open the website you want to debug in the iOS simulator. Go back to safari and under Develop you will see the simulator and the tabs open on safari.
If you want to test an actual device, then just plug it into your computer and it should show there too.
That's how I do it.
Testing on Window's Safari browser and testing on Mac OS Safari browser both are same.
Still here is good link that might help you.
Hope this info helps you..
Related
This question already has answers here:
Developing for iOS device in Windows environment with Flutter
(8 answers)
Closed 2 years ago.
So I've been building a flutter app in Android Studio. I'd like to be able to test it on a device but apple tends to be a pain when it comes to testing on Iphone. I have an iphone 7 I'm not currently using that I'd be willing to jailbreak. Does anyone know how I can test on my device? Thanks
The way you can test your app without owning a Mac is by using https://codemagic.io/, which i do.
You can not run your app in debug mode on your iphone without having a mac.
The obvious suggestion would be to run a virtual Mac machine, but I think this is not legally possible. :-(
You need a Mac device almost surely to be able to test the app from your PC. There are a few options that let you develop for iOS from a PC, and test your app. However, eventually you'll require anyway a Mac device for App store submission.
After switching to new versions of iOS, I've not been able to debug my web app from OS X Safari to my iPhone Safari browser. My iPhone shows up but I get no options.
On my iPhone, I have allowed the web inspector.
English: Developer -> Johans iPhone -> No inspectable applications.
If I, however save my web app to my home screen - I can get the developer tools for that app, but it's not what I want at this occasion. Unfortunately I have no other iOS / OS X devices to test with, so any help would be greatly appreciated.
Though this is an old question, it should be mentioned somewhere in the answer that you actually have to enable remote inspection on the iPhone first before anything will show up.
Go to:
Settings --> Safari --> Advanced --> Web Inspector
Debugging iOS 8 mobile Safari requires desktop Safari 7.1, which is only available with OS X 10.9.5 or greater.
What you need to do is:
Update (via Apple menu->Software Update) to OS X 10.9.5 (if you haven't already)
Once you've done that, you should see the Safari 7.1 in the list of pending updates
Once done, you should see be able to debug as usual via desktop Safari.
Also for iOS 9:
On your mobile device under Settings -> Safari -> Fraudulent Website Warning = OFF [default = ON]
Even with OS X 10.9.5 and Safari > 7.1 I wasn't able to debug mobile Safari on an iPad with iOS 8.
It turned out that I had previously rejected a dialog on the iPad that asked whether to "trust this computer". The following steps helped:
Power down device.
Open iTunes on computer.
Connect device to computer.
Respond to computer question to let device access iTunes.
Turn on device.
It will ask you to confirm to trust the computer again. Accept and you should be able to debug as usual.
I'm currently having trouble enabling safari's debugging tools for a UIWebView. I'm trying to inspect why certain things are not loading in the UIWebView.
The app does not show up in the Safari > Develop > iOS Simulator list.
There are no inspectable applications for the app that is
loaded
I'm working with Xcode6-Beta, Mac OSX 10.10, and iOS 8.
I'm specifically looking for an answer that will allow me to debug using safari, or make note that the newest versions of Safari/Xcode don't debug app UIWebviews.
Wanted to let everyone know that it turns out that the bug I had on my end was on the webapp side not the ios side. Unfortunately I still have not found a way to debug in Safari an iOS 8 simulator.
I need to know my web application is work in iPad, but I don't have iPad with me, so someone told that, we can check this compatibility in Safari browser, but how?
I am using Windows 7 64 bit system installed latest version of Safari browser.
Use iOS simulator which is built into xcode.
Xcode may already be installed on a OSX system or you can either download from appstore or apple Dev site
You can go to http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/Safari_Developer_Guide/2SafariDeveloperTools/SafariDeveloperTools.html for more information about this tool.
Set the user agent to iPad Safari. This should work.
Note, this is only a representation...
I am developing a web app for iPad and testing it on Safari on Mac and Safari on iPad Simulator. Now there are some issues with CSS in iPad Simulator which work quite well in Safari on Mac.
Now my question is,
Is there a powerful debugging tool for Safari in iPad Simulator?
When running safari in an XCode device simulator, the desktop Safari (v6) Develop menu shows those devices. From there, you can fire up the developer tools (DOM browser etc.) for the mobile browser. This helped me debug an mobile safari css issue without hardware.
Note: As of iOS6 this is not the correct way of doing remote debugging, leaving this answer for historical reasons but you should look into remote inspection with Safari, here is a good article: http://jeffreysambells.com/2012/09/22/ios-safari-web-inspector
Have a look at this, (a bash script I wrote) https://gist.github.com/2241976. It will allow you to open the iPad simulator and run Webkit's remote inspector, which will look just like this.
iWebInspector is quite a powerful tool for the iOs simulator's Safari.
It uses the same inspector as Chrome and it works nicely (I've used it myself and found it really helpful).
From their website
iWebInspector is a free tool to debug, profile and inspect web
applications running on iOS Simulator (iPhone or iPad). You can check
resources, see and change HTML & CSS, use breakpoints on JavaScript
code, create charts and more just as if you were on Safari for
Desktop, Chrome or Firebug.
It works for any web in Safari -the web browser-, for a chrome-less
webapp (full-screen) and also for apps using UIWebView -including
PhoneGap applications-.