Skip to content

Instantly share code, notes, and snippets.

@chrisfsampaio
Last active December 30, 2016 01:22
Embed
What would you like to do?
LLDB 'script' to enable full screen mode in the iOS Simulator
#!/usr/bin/env bash
codesign --remove-signature /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
lldb -n Simulator \
-o "expr ((NSWindow *)[(NSArray *)[[NSApplication sharedApplication] windows] setValue:@(1<<7|1<<8|1<<11) forKey:@\"collectionBehavior\"]);" \
-o "set set auto-confirm true" \
-o quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment