To get the SQLite database for your app on all simulators on which it’s installed:
find ~/Library/Developer/CoreSimulator/Devices -name MyAppName.sqlite
Open Finder and do
Shift + Cmd + G to bring up the “Go to folder” dialog. Paste in the file path and you should see it. It will be garbled if you try to open it with a plain text editor. DB Browser for SQLite seems to work for me.
I hate that Xcode doesn’t include a duplicate line shortcut. I have to keep adding it in every time a new version of Xcode comes out and every time, I have to Google it, so I’m pasting the SO post here that worked most recently. There must be a better way, but until I figure that out, here’s what has worked for me.
<key>Cut Current Line</key>
<key>Copy Current Line</key>
<key>Duplicate Current Line</key>
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>
Then restart Xcode and go to Preferences -> Key Bindings and assign your shortcuts.
This was taken from: https://stackoverflow.com/a/41579618
Reference to StackOverflow answer so I don’t have to keep searching for it:
I don’t think you’re really supposed to do this since the option is grayed out in Xcode when you select Editor -> Embed in Navigation Controller, but a hacky way to get around it is to control-drag from a free-standing Navigation Controller to the Tab Bar Controller and select “root view controller.”
Control-click from the Tab Bar Controller to the controller you want to be the new tab and select “view controllers.”
In Xcode, open Preferences and go to the “Key Bindings” section. Type “outline” in the search filter box. Select “Show Document Outline” and double-click to the right, in the “Key” column. A text box should appear and you can type in your new shortcut. I used Cmd+9.