Created
February 14, 2026 07:50
-
-
Save malikbenkirane/90b025e6e5866c9f71cb5e8845832ed6 to your computer and use it in GitHub Desktop.
idevicerestore homebrew hints
This file contains hidden or 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
| TLDR; | |
| git clone https://github.com/libimobiledevice/idevicerestore | |
| mkdir -p limd-build | |
| cd limd-build | |
| curl -o ./limd-build-macos.sh -L https://is.gd/limdmacos | |
| bash ./limd-build-macos.sh | |
| Manual build | |
| # in the following order: | |
| # https://github.com/libimobiledevice/usbmuxd/releases/tag/1.1.1 | |
| # https://github.com/libimobiledevice/idevicerestore/releases/tag/1.0.0 | |
| # https://github.com/libimobiledevice/libusbmuxd/releases/tag/2.1.1 | |
| # https://github.com/libimobiledevice/libirecovery/releases/tag/1.3.1 | |
| # https://github.com/libimobiledevice/libtatsu/releases/tag/1.0.5 | |
| # https://github.com/libimobiledevice/libimobiledevice/releases/tag/1.4.0 | |
| CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig ./configure --prefix=/opt/homebrew | |
| make | |
| make install | |
| # https://libzip.org/download/libzip-1.11.4.tar.xz | |
| mkdir build | |
| cd build | |
| CC=gcc-15 CXX=g++-15 \ | |
| CMAKE_INCLUDE_PATH=/opt/homebrew/include \ | |
| PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig \ | |
| cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/homebrew .. | |
| cmake --build . --target install | |
| git clone https://github.com/libimobiledevice/idevicerestore | |
| cd idevicerestore | |
| CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig aclocal | |
| CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig autoconf | |
| CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig automake | |
| bash-3.2$ CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig automake | |
| configure.ac:9: error: required file 'config.h.in' not found | |
| For a solution that may work see https://github.com/logological/gpp/issues/31#issuecomment-431121367 | |
| CC=gcc-15 CXX=g++-15 PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig ./autogen.sh --prefix=/opt/homebrew | |
| # IPSW | |
| # ~/Library/iTunes/iPhone\ Software\ Updates | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment