Skip to content

Instantly share code, notes, and snippets.

@tmspzz
Last active February 15, 2022 09:06
Show Gist options
  • Save tmspzz/a277bc68aa4d20ec2bc672b8103a089c to your computer and use it in GitHub Desktop.
Save tmspzz/a277bc68aa4d20ec2bc672b8103a089c to your computer and use it in GitHub Desktop.
A list of tricks useful when developing on macOS

A list of tricks useful when developing on macOS

Git & Github

$ git credential-osxkeychain erase
host=github.com
protocol=https
> [Press Return]

Then perform any git operation. Input your username & new access token

Simulator

Get the current version of the simulator SDK (CoreSimulator)

  • /usr/libexec/PlistBuddy -c "Print :CFBundleVersion" "/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/Resources/Info.plist" 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment