Simulator scale can't be changed (xcode9)

Since xcode 9 came out the simulator scale is broken. 1st time you launch a new device it is 100%, you can change it once to 50% and then that's it. Can't get back to 100%, can't set anything else. Command + 1/2/3 doesn't work and Window/Scale options are disabled. I need to get 100% back to take screenshots of iPad 12.9 device for AppStore images. Help!

The following will only work if you exit the simulator altogether first.


Instead of deleting ~/Library/Preferences/com.apple.iphonesimulator.plist, I opened it in Xcode's plist editor and found the simulator and offending property in "DevicePreferences." The offending property was SimulatorWindowLastScale, which was set to 0.5. I changed it to 1, saved it to disk, and reloaded the simulator. It worked.


For me it was pretty easy to find the right simulator UUID. The iPad Pro 12.9" simulator was the only simulator I had set to 50% so it was the only one with SimulatorWindowLastScale = 0.5.


One work around that always works is, with the bezels showing, move the ipad so you can get at the top right corner and drag it out so that the screen size is really big. Any screen size bigger than 100% will give a proper sized 100% screen shot.


(found this on stack overflow btw)

Simulator sizing change be modified by clicking and dragging on the corners of the simulator. (Took me way to long to figure this out tbh. Not sure why they took away the old functionality of Command + 1, 2, 3...)

Resizing by clicking and dragging on the corners of the simulator helps, but I am really missing being able to view at 200% scale in Portrait. With my 1920 x 1080 monitor, I can view an iPhone 5 at 200% in Landscape, but as soon as I rotate back to Portrait the simulator 'snaps' to a smaller scale, which fits the monitor's screen space (without overwriting toolbars). I could 'guesstimate' a 200% scale by click/dragging from a top corner, but that will only allow me to view the top half of a 'guesstimated' 200% scale. And it's just not possible to click/drag from a bottom corner to a scale any greater than that which fits on the monitor. So it's impossible to view the bottom half of my iPhone 5 in portrait at 200% scale. This was not a problem in Xcode 8, because there was a scrollbar in the simulator display. Does anyone know how I can get that scrollbar back in Xcode9, so I can see ALL of my iPhone (portrait) display at 200% again? Apple must surely realise that developers occasionally like to check that their graphics are exactly, as opposed to approximately, in the right places and the right size.

Strange, why I have to switch off show bezel view? But it works and get the bezel view back again.

The suggestion provided here doesn't seem to work. I deleted the ~/Library/Preferences/com.apple.iphonesimulator.plist file, then restarted xcode and the simulator stayed the smaller size. The way that I ultimately worked around this problem was by opening the com.apple.iphonesimulator.plist file > within the plist file open "DevicePreferences" > open the appropriate device ID > Set "SumulatorWindowLastScale" to 0 > Save the file then restart XCode.

It was very easy for me. First in simulator go to /Windows and then uncheck the "Show Device Bezels" options and then click zoom option will be enabled. Click zoom, then it will go back to 100%. Afterwards, check the "Show Device Bezels" option for the beuty of simulator.

Maybe I am over simplifying the original issue. I turned on Pixel Accurate, then Physical size and couldn't get back to original size and didn't see the former 50%/75%/100% options. Ultimately I realized you could drag the bottom corner and resize it to any size you want.

Simulator scale can't be changed (xcode9)
 
 
Q