Wednesday, March 15, 2017

iphone simulator

Just a reminder, for an even deeper experience than Chrome's Devtools Phone Emulator , on a Mac if you have xcode you have an even deeper iPhone simulator and can even do debugging by going into Safari.

StackOverflow explains, with the tl; dr being do
xcrun simctl list
to get a list of devices it can fake and then
/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID <THAT-DEVICE-ID>
to run it.

Warning, it's awfully primitive, in terms of not having scrolling and keyboard set up like you might expect

No comments:

Post a Comment