Skip to content

Instantly share code, notes, and snippets.

@MatthewPierson
Created February 29, 2020 21:45
Show Gist options
  • Save MatthewPierson/3838e6192120f27b195b2f284f5737c6 to your computer and use it in GitHub Desktop.
Save MatthewPierson/3838e6192120f27b195b2f284f5737c6 to your computer and use it in GitHub Desktop.
Fix for irecovery errors with PyBoot
#!/bin/bash
echo "Downloading and building libimobiledevice" # Just want to make sure theres no libimobiledevice related issues when installing libirecovery
brew install --HEAD libimobiledevice # This is just getting the latest libimobiledevice and building it instead of the older version that brew usually gets
brew link --overwrite libimobiledevice
echo "Downloading and building libirecovery"
mkdir -p build && cd build
git clone https://github.com/libimobiledevice/libirecovery
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" # openssl is annoying
cd libirecovery
git submodule init && git submodule update
./autogen.sh
make && make install
echo "Assuming that all went well we should be done and PyBoot should now run without any irecovery issues!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment