LoginSignup
24
15

More than 1 year has passed since last update.

【Xcode】Simulatorで画面録画する方法

Last updated at Posted at 2021-02-02

Xcodeでアプリを開発していく上で、シミュレーターの画面録画をしたいときがたびたびあるので、記録としてその方法を残しておきます。

1. simulatorを起動しておく

2. ターミナルにて動画を保存したいディレクトリまで移動する。

terminal
 $ cd ../動画を保存したいディレクトリ名  

3. ターミナルにて以下のコマンドを実行する。

terminal
 $ xcrun simctl io booted recordVideo (動画名).mov  

(※ option + クリック でターミナル内で指定した場所にカーソル持っていくことができ、動画名を編集できる)

4. ターミナル内にてRecording startedと表示されると録画が開始されている証なので、simulatorを操作し収録する

5. 収録を終えたあと、ターミナルに戻り、 control + C で録画終了、指定したディレクトリに保存される

24
15
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
24
15