Last active
January 21, 2019 07:19
-
-
Save byJeevan/e073f835453741c413663ea034a78be5 to your computer and use it in GitHub Desktop.
Collection of XCode commands & other MAC terminal commands collections for reference.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//To show touch impression in simulator | |
//Note: Restart simulator after executing | |
defaults write com.apple.iphonesimulator ShowSingleTouches 1 | |
//To record video in the simulator | |
//Note : Close simulator and run command | |
xcrun simctl io booted recordVideo ~/Desktop/record_file_name.mp4 | |
//To show hidden files in the mac | |
defaults write com.apple.finder AppleShowAllFiles YES | |
//Delete all unused simulators - Free up mamoth Space | |
xcrun simctl delete unavailable | |
//In addition to the use of the Edit Menu in Simulator.app to copy data between the macOS and iOS pasteboards, with Xcode 8, //you can do this from the simctl command line. Check out: | |
xcrun simctl pbinfo | |
xcrun simctl pbsync | |
xcrun simctl pbcopy | |
xcrun simctl pbpaste | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment