Compile for Windows

Quamotion provides patches which you can use to compile libimobiledevice on Windows. If you don’t want to compile the software yourself, feel free to download the binaries from our Download page.

If you want to compile libimobiledevice on Windows yourself, here are the build instructions:

Installing Visual Studio

You’ll need Visual Studio 2019 or later to compile libimobiledevice on Windows

Installing VCPKG

You’ll need VCPKG to install the third party libraries (such as OpenSSL) which libimobiledevice uses.

Run the following commands to install VCPKG and prepare the third party libraries which libimobiledevice uses. This process may take a while to complete, but you’ll only need to do this once.

git clone
vcpkg\vcpkg integrate install
vcpkg\vcpkg install libiconv:x64-windows zlib:x64-windows openssl:x64-windows dirent:x64-windows getopt:x64-windows curl:x64-windows libzip:x64-windows libxml2:x64-windows libusb:x64-windows libusb-win32:x64-windows pthreads:x64-windows readline:x64-windows pcre:x64-windows

Checking out the sources

You can check out the latest libimobiledevice sources by cloning the repository, and then running the get-source.cmd script:

git clone
cd libimobiledevice-vs

Compiling libimobiledevice

To compile libimobiledevice on Windows, open the libimobiledevice-vs.sln solution file using Visual Studio, and click Build and Build Solution.

Continuous Integration Builds

Build Status

We use Azure DevOps for continuous integration of libimobiledevice on Windows. You can use the build badge above to view the status of the latest build.