LoginSignup
5
2

More than 5 years have passed since last update.

XCodeのPlaygroundで自動ビルドをオフにする

Posted at

調べてもパッと分からなかったのでメモ

環境

XCode 9.4.1

方法

自動ビルドOFF

左下の▷ボタンを長押しするとメニューが表示されるので「Manually Run」を選択

playground.png

これだけで自動ビルドのOFFはOK

キーボードショートカットの設定

Playgroundでの実行にはキーボードショートカットが割り当てられておらず、このままだとビルドする際に▷ボタンを押す必要がある。
このため、自分でキーボードショートカットを設定する。

Preference>Key Bindingsで「execute」と検索すると「Execute Playground」が出てくるのでショートカットを設定。⌘Rを設定したいところだが、通常のRunとconflictするので⌥(option)Rを設定

keyboard shortcut.png

参考

Macから設定すれば⌘Rで実行できる?
https://fluffy.es/xcode-playground-tips/#manual

5
2
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
5
2