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!

Answered by KMT in 262956022

Might be a hidden file, or you're looking in the wrong Library folder, becuase if you're running Xcode/Simulator, it's on your system. Be sure to look in~/Library/Preferences, (the one in your home directory) not /Library/Preferences (the one that belongs to System).

I don't know why so many people jump on the first release, I always wait for the first rev of xcode *.1

Well some of us have updated our apps with support for new iOS 11 features, and therefore want to get it to our users ASAP now it’s publically released.

It looks like some simulator settings become corrupted. One nuclear approach that worked for me is to remove the local state by deleting ~/Library/Preferences/com.apple.iphonesimulator.plist.

Also see this.

Same here

Same issue. Removing ~/Library/Preferences/com.apple.iphonesimulator.plist did not resolve the issue for me.

That file doesn’t exist on my system!

Same issued. 'com.apple.iphonesimulator.plist' not found in my Mac.


The scale in iOS simulator 100% is disabled. So, it cannot update the screenshot for my apps !

maybe i'm missing something but take the dumped 100% images and scale them down with Preview. if you have many images, Imagemagick is your best friend to convert or mogrify to batch convert. unless you feel like hashing through javascript with photoshop or gimp.

GraphicConverter has great batch ability as well...very flexible.

I don't have any issues toggleing scale w/the new sim(s)...is there an identified configuration that causes it for you, yet?

Accepted Answer

Might be a hidden file, or you're looking in the wrong Library folder, becuase if you're running Xcode/Simulator, it's on your system. Be sure to look in~/Library/Preferences, (the one in your home directory) not /Library/Preferences (the one that belongs to System).

Be sure to look in~/Library/Preferences, (the one in your home directory) not /Library/Preferences (the one that belongs to System).

well my base is not the same as yours. from having used xcode since version 3, my enterprise customers want something rock solid and bullet proof that has been thoroughly regression tested not the latest whiz bang, bells and whistles.

On the window tab you can click zoom, which will increase the size from 50%

Doesn't work, that's the problem... the option is disabled. See: https://imgur.com/a/sY5Ev

Uncheck "Show Device Bezels" then the 100% will not be grayed out.

Still doesn't work...

Still doesn't work if you disable bezel: https://imgur.com/a/CCas2

it worked for me, but needed to reboot Mac after removing the plist.


Thanks!

I have found a way to solve this.

1. Uncheck Window -> Show Device Bezels

2. Click Window -> Zoom

3. Check Window -> Show Device Bezels

Thanks John! Mostly fixed the problem.


> 2. Click Window -> Zoom


I don't know why, but I have to do this in landscape. Then the 100% menu item became selectable. (I'm on 27-inch 5K)

The same happened with me on my 13" mac. Scale 100% appears back if you unckeck Window->Show Device Bezels.

The trick is to check Window > Show Device Bezels, and you'll get 100% resolution and screen shots.

Just changed my app to swift4 in Xcode 9. Didn't know what I should cooperate to fix the issue. (I tried above, some of them work temporarly. didn't work for a perminant solution)

This is clearly a bug and another case of Apple releasing untested/unstable code with a glaringly obvious and reproducible regession into a production release. It's a shame that we have to be identifying work arounds to irresponsible regressions that Apple is introducing into software they tell us is "stable". High Sierra is another perfect example of this.


The removal of the plist allowed me to get back to 100% screen size but I still can not adjust back if I switch to 50%. I can at least get the correct screensize I need now. Thanks everyone!

Simulator scale can't be changed (xcode9)
 
 
Q