LoginSignup
4
4

More than 5 years have passed since last update.

tmux上でTitanium CLIのビルドを行った時にiosエミュレータが立ち上がらない問題の解決

Posted at

tmux上からTitaniumプロジェクトをビルドしてiPhoneシミュレータで確認しようとしても起動したiPhoneシミュレータの画面が真っ黒の画面になり以下のようにインストール出来ない.

$ti build -p ios
…
[INFO]  Focusing the iOS Simulator
[ERROR] Project failed to build after 1m 57s 931ms

解決方法

以下のようにreattach-to-user-namespaceをインストールしてから,.tmux.confを設定することによってtmux上からビルドできるようになる.

$ brew install reattach-to-user-namespace
$ echo 'set-option -g default-command "reattach-to-user-namespace -l zsh"' >> .tmux.conf
$ti build -p ios
4
4
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
4