Readit News logoReadit News
defied · 5 years ago
At https://testingbot.com we use this to install apps, take screenshots and manage devices for our users running tests against our physical iOS devices.
dkarp · 5 years ago
does testingbot support running tests with Detox[0]?

[0] https://github.com/wix/Detox

defied · 5 years ago
not yet - though we would like to add support for Detox in the future.
voltagex_ · 5 years ago
While trying to get parts of this to compile, I found https://github.com/tihmstar/usbmuxd2 which you can replace usbmuxd with and get wifi sync support.
balu_ · 5 years ago
Has anyone a solution to use this to backup the iPhone to a linux pc (raspi) automaticaly?
pabs3 · 5 years ago
libimobiledevice has a command-line tool to initiate a backup, you should be able to run it on the RPi.
pabs3 · 5 years ago
For restoring a backup to a Linux filesystem, libimobiledevice requires the iOS device to be present, so you will probably want ideviceunback instead, which doesn't have this issue:

https://github.com/libimobiledevice/libimobiledevice/issues/...https://github.com/inflex/ideviceunback

swiley · 5 years ago
Does anyone even have a solution for automated scheduled script execution on the iPhone?
balu_ · 5 years ago
There doesn’t have to run anything special on the IPhone. In the early days iTunes could make backups on the local pc when the iPhone was connected via usb. Later on apple extended this to wifi: so if you had an iTunes running in your wifi and the iPhone joined a backup was done at the iTunes side.

I‘m not sure if this feature is still there, but I would have found this very useful if it would have been possible with the computer that is running anyways (as in the pi).

hansel_der · 5 years ago
have a look at the 'shortcuts' app[1]. the automation thing has conditional triggers inluding time of day and actions like ssh-rpc.

[1] https://apps.apple.com/us/app/shortcuts/id915249334

chewmieser · 5 years ago
Jailbroken you used to be able to use LaunchDaemons to handle this. Not sure if this is still the case.
jalino23 · 5 years ago
can someone explain the usecase for this? what kind of apps you'll opens up when you can communicate to apple devices natively? you can't do that before this?
saurik · 5 years ago
Flutter uses the tools built on top of this to automate the installation and bootstrap into their interactive code reload mechanism (by watching the device's syslog for the application to output the right port to connect to, which is then also accessed over the USB muxing bridge: libimobiledevice provides a way to activate the port mappings) for iOS apps you develop.

Essentially, this is giving you the ability to write tools similar to Android's adb (Android Debug Bridge), a tool that connects over USB to a daemon running on the phone to let you run commands and install apps and access the logs (which I take advantage of in Cydia Impactor, generalizing over the functionality of an integrated adb client and the functionality from libimobiledevice).

coolspot · 5 years ago
I use it to mount iPhone as a FUSE filesystem in order to download photos using rsync.
deathanatos · 5 years ago
It seems like the answer is "no", but … iPhones don't expose themselves as MTP devices when connected to USB?

I'm an Android user, but that just seems like basic table stakes…?

littlecranky67 · 5 years ago
Is this also possible with music? Got any links on details about that setup?
regecks · 5 years ago
I recently found one of the tools (some kind of low level REPL console) helpful to get my phone out of a recovery mode boot loop. I couldn't figure out how to do it any other way and was pretty grateful for its existence.

I had been feeling brave and tried to do a reset + update via KVM'd iTunes, but something went wrong with USB hot plugging with the way the device switches modes between boots ^_^.

ddalex · 5 years ago
can you please share more details about the tool and what did you do? I feel I am in the same boat, and a bit lost :)
fantyoon · 5 years ago
I use it for tethering with my iPhone since my phone internet is better and more stable than the cable internet I have otherwise. I wouldn't be aware that this is possible without Libimobiledevice.
hamandcheese · 5 years ago
If your wireless carrier enables it, you can create a wifi hotspot under Settings > Personal Hotspot.
euroderf · 5 years ago
Could I use this to (for example) read and/or write the iPhone databases for Reminders and Calendar ? I ask because ifuse source is not compiling on macOS.
parasight · 5 years ago
We were using this for test automation to install, launch and terminate apps on 50+ devices.
mschuster91 · 5 years ago
For example, doing backups and restores without requiring iTunes or OS X.
sfe22 · 5 years ago
So this is not for building ios applications
thangngoc89 · 5 years ago
Debugging Safari mobile if you don't have a macOS devices. I used to do this when I was using Ubuntu for web development.
Lammy · 5 years ago
It's up to the app. I can use it to copy CBZ/CBR/PDF files into my comics reader or access my saved drawings from ArtStudio Pro: https://i.imgur.com/v5bckxU.png
mraza007 · 5 years ago
Yup I’m confused here too

Like is it an alternative to iTunes especially for people who are using Linux

hugs · 5 years ago
If you do lots of test automation (especially on multiple platforms), its utility is immediately apparent.
drmpeg · 5 years ago
I use it for tethering when Comcast goes down. You also need ipheth-utils.
tootie · 5 years ago
Everything you'd do with adb.
dang · 5 years ago
Past related threads:

Libimobiledevice 1.3.0 Released - https://news.ycombinator.com/item?id=23540185 - June 2020 (1 comment)

libimobiledevice – A cross-platform library to communicate with iOS devices - https://news.ycombinator.com/item?id=9670745 - June 2015 (15 comments)

libimobiledevice - Teaching Penguins to Talk to Fruit - https://news.ycombinator.com/item?id=4596648 - Oct 2012 (13 comments)

tyingq · 5 years ago
None of the collapsible elements (tabs, accordions, etc) on this website work in Chrome for me. Looks like their "waypoints" javascript wants jQuery, and it's not being loaded.
pabs3 · 5 years ago
Could you gather some info from the devtools and report this as a bug to the website repo?

https://github.com/libimobiledevice/libimobiledevice.org/iss...

CameronNemo · 5 years ago
FWIW it does not work on (mobile) Firefox for me either.
rcMgD2BwE72F · 5 years ago
Could this be useful for adding iOS support to Syncthing?
dividuum · 5 years ago
If you want to run Syncthing on iOS, take a look at Möbius Sync.
rcMgD2BwE72F · 5 years ago
>The Möbius Sync iOS app is not open source at this time.
vecplane · 5 years ago
Very interesting! Can I assume this would work with the Windows Subsystem for Linux? The Windows directions aren't filled in there.
aymenim · 5 years ago
You can find windows builds in this fork https://github.com/libimobiledevice-win32/imobiledevice-net, but make sure you have iTunes 12.x version installed.
Diti · 5 years ago
I haven’t tested, but I believe it won’t work, at least by USB – WSL doesn’t have USB pass-through.
aymenim · 5 years ago
Could it be possible to have the usbmuxd part on the windows side, most likely the iTunes's Apple Mobile Device Helper service, and connect to it through TCP from WSL which might a bit of configuration on libimobiledevice or use socat to redirect from domain socket to TCP port.