Libimobiledevice: Difference between revisions
imported>Tobias.bora No edit summary |
imported>Onny m Fix syntax errors |
||
Line 1: | Line 1: | ||
In order to be able to automatically mount your iOS device (such as an iPhone) when connecting it, you need to install | In order to be able to automatically mount your iOS device (such as an iPhone) when connecting it, you need to install <code>libimobiledevice</code> and to activate the <code>usbmuxd</code> service. | ||
Add the following to your | Add the following to your <code>configuration.nix</code>: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
Line 16: | Line 16: | ||
$ ifuse /tmp/iphone | $ ifuse /tmp/iphone | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If you get an error about | If you get an error about <code>ERROR: No device found!</code>, check the status of <code>usbmuxd</code>: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
$ sudo systemctl status usbmuxd.service | $ sudo systemctl status usbmuxd.service |