LoginSignup
4
5

More than 5 years have passed since last update.

Ubuntu18.04からiPhone(iOS 10.2)にアクセスする

Posted at

Ubuntu18.04からiPhone(iOS 10.2)にアクセスする。
目的は、任意のデータのコピーをするため。
なお、iPhone ではパスコードを「オン」にしている。
 

1. パッケージをインストールする

sudo apt-get install -y libimobiledevice6 libimobiledevice-dev
sudo apt-get install -y ifuse
sudo apt-get install -y libimobiledevice-utils

2. Ubuntu 18.04 と iPhone を USB ケーブルで接続する

iPhone にて、アクセス許可を出すこと。

3. Ubuntu 18.04 から iPhone をマウントする

% sudo idevicepair pair
ERROR: Could not validate with device 7a9925b8a9a5a476ce62e6ec7a7898bec549b9d6 because a passcode is set. Please enter the passcode on the device and retry.

エラーになるが、iPhone と Ubuntu の USB ケーブルを再接続すれば良い。

4. Ubuntu 18.04 から iPhone へデータをコピーする

各自が iPhone にインストールしたファイルビューアーを開き、
Ubuntu 18.04 の nautilus などを使ってクリック&ドロップでコピーしてやればOK。

なお、iPhone にドロップしたときに、iPhone 上で接続先を信頼するか否か問われるので「信頼する」を選択すること。

 

参考

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5