Questions tagged [libimobiledevice]

A cross-platform software protocol library and tools to communicate with iOS devices natively. It does not depend on using any existing proprietary libraries and does not require jailbreaking

libimobiledevice is a cross-platform open source software library that talks the protocols to support iPhone, iPod Touch, iPad and Apple TV devices. Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking. It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device. The library is in development since August 2007 with the goal to bring support for these devices to the Linux Desktop.

To install in your Mac

brew install libimobiledevice

Some major product using libimobiledevice under the hood

and many more...

Links

64 questions
1
vote
0 answers

What is the right way to use the libimobiledevice python bindings?

I am using macOS 10.15.7. I use pyenv to install Python 3.8.6. I use python -m venv myenv to setup a virtual environment and activate that environment. I clone the liblist repo from https://github.com/libimobiledevice/libplist. I then use…
James Hudson
  • 844
  • 6
  • 19
1
vote
1 answer

Detecting MacOS USB device with libmobiledevice

I have been using this library https://github.com/libimobiledevice/libimobiledevice to read and get information from iPhone devices connected via…
Bismarck
  • 115
  • 1
  • 8
1
vote
1 answer

Installing old version of ilibmobiledevice ( libimobiledevice.6.dylib ) in Mac Catalina

I need to install specific version of libimobiledevice in my mac machine. i.e. libimobiledevice.6.dylib. https://github.com/libimobiledevice In libimobiledevice git, I am not able to figure out which version i need to take for…
pratima
  • 131
  • 6
1
vote
1 answer

Cannot mount Developer Disk Image for iOS 13.6 using libimobiledevice

I'm trying to use the functionality of libimobiledevice on my iPad to do stuff like change location (idevicesetlocation) and etc. I have no problems if I install the Developer Disk Image using XCode, but as a primarily PC user, I would like to be…
Adrian Russo
  • 546
  • 4
  • 16
1
vote
1 answer

iMobileDevice library how to use the Installation Proxy feature to install .mobileconfig file

I need to install a .mobileconfig file into iPhone as a profile, similar to how AppleConfigurator does it but I don't own a MAC. I don't know where it default installs to, should there be options included? The goal is to skip the Setup Assistant…
1
vote
0 answers

iMobileDevice-Net event trigger when photo added or deleted

Is there any way in 'iMobileDevice-Net' library to trigger an event when photos on the connected device change? ex. when you delete a photo from device or take a new photo while the device is connected. So far, I have to check the Modification Time…
roozbeh S
  • 1,084
  • 1
  • 9
  • 16
1
vote
2 answers

"AppleARMPMUCharger" no longer exports Battery Information/Diagnostics when run via idevicediagnostics.exe prior to iOS 12

Up until iOS 11, i've been using the idevice** binaries to extract information from iPhones ranging from models 6 to X via idevicediagnostics.exe on Windows OS via idevicediagnostics ioreg AppleARMPMUCharger. However, with the release of iOS 12,…
Nii
  • 450
  • 6
  • 25
1
vote
1 answer

Is there a way to download apps from the ios app store programmatically

iOS does not allow users to clear the cache of an individual app (like android). This requires manually deleting and reinstalling the app each and every time to completely clear the cache. I would like to programmatically delete and reinstall apps…
Steve
  • 149
  • 1
  • 11
1
vote
1 answer

How to fix "Connection #0 to host left intact" in PHP"?

I am trying to access a PHP file (that contains redirect instructions) through Windows cmd using ideviceactivation from libimobiledevice. The file is hosted with GearHost. Before I started getting this error, I would specify the directory of the…
infinitedev108
  • 21
  • 1
  • 1
  • 3
1
vote
2 answers

Executing libimobiledevice commands over wifi

I am trying to recreate the trustjacking attack presented by Symantec at RSA 2018 but I have been unable to execute libimobiledevice commands remotely through iTunes wifi sync. When I have a physical USB connection between my ios device and the…
Soutcast
  • 91
  • 2
  • 7
1
vote
0 answers

Failed to start AFC service when access app container using libimobiledevice

I'm trying to access app container with libimobiledevice and copy some logs in iPhone 5 iOS 10.3: # Mount the app container ifuse Downloads/device_mounts/$DeviceId -u $DeviceId --container $BundleId But I have the following error: Failed to start…
Jan Tamm
  • 117
  • 2
  • 11
1
vote
1 answer

Unable to Handshake with iOS Device. Getting PList Error

I want to Access iOS Device Connected with USB into my c# Application. i am using iMObileDevice Library for that. But When i try to Handshake with Device than it Gives me Following Errors on Different Devices:- Additional information: An Lockdown…
yash
  • 812
  • 3
  • 12
  • 37
1
vote
1 answer

Start iOS UI test session without Xcode or xcodebuild

Test setup: a Windows PC and an iOS device connected by USB. Inside the device there is a MyAppUITests application that holds all XCTest-based UI tests required to test some UI-related things on this device. The question is: how to run this app so…
d.wsky
  • 31
  • 3
1
vote
2 answers

ideviceinstaller and "could not connect to lockdownd. exiting"

I tried to install the ipa file to my iOS devices with ideviceinstaller, but I got an error - "could not connect to lockdownd. exiting" with some devices not all devices. I found the lockdown folder stored at /var/lib/lockdown/ and I run the command…
Jesse
  • 517
  • 5
  • 24
1
vote
1 answer

Error while installinng libimobiledevice in ubuntu 14.04

After installing libimobiledevice in ubuntu 14.04, when I run command 'ideviceinfo' it is generating error 'Could not connect to lockdownd, error "code -5"' I have other dependencies -…
Shawon Kanji
  • 710
  • 5
  • 13