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
# Get all the logs from device | |
adb logcat *:V > "adb_all_verbose.txt" | |
# Get the errors logs from device | |
adb logcat *:E > "adb_all_errors.txt" | |
# Get all the app logs from device | |
adb logcat com.example.app:V > "adb_app_verbose.txt" | |
# Get the app errors logs from device |
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
# Useful to prevent Macbooks to go to sleep when closing the lid instead of running tools that requires a Kernel Extension (e.g. InsomniaX) and more | |
sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1; | |
# And to go back to normal: | |
sudo pmset -a sleep 1; sudo pmset -a hibernatemode 25; sudo pmset -a disablesleep 0; |
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
xcodebuild | |
-exportArchive | |
-exportOptionsPlist {PATH_TO_PROJECT_ROOT}/ios/build/info.plist | |
-archivePath {PATH_TO_ARCHIVE_MADE_USING_XCODE}/App.xcarchive | |
-exportPath {PATH_TO_EXPORT_THE_APP}/App.ipa |
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
#Requirements: | |
# - MacOS 10.13.3 | |
# - Homebrew | |
# - Node/NPM | |
# - Watchman | |
# - React Native CLI | |
# - Atom (with linter, linter-eslint and linter-ui-default packages) | |
# 1 - create a new react native project | |
react-native init <project_name> --package <com.example.project_name> |