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
echo "Using: http://krypted.com/mac-os-x/use-libimobiledevice-to-view-ios-logs/" | |
echo "Installing needed tools:" | |
brew install -v --fresh automake autoconf libtool wget libimobiledevice | |
echo "Done installing tools!" | |
echo "Make sure your iPhone is connected via USB" | |
read -p "Is your iPhone connected via USB? And do you want to restart it? [yn]" answer | |
if [[ $answer = y ]] ; then | |
echo "Trying to restart iPhone, make sure you keep it connected!" | |
idevicediagnostics restart | |
echo "iPhone restarted." |