18
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Xcode】IDEPreferLogStreaming=YESへ環境変数を追加する方法

Posted at

環境:Xcode15

Xcodeで実行した時、このようなメッセージに遭遇しました。

Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.

IDEPreferLogStreamingの設定手順を紹介します。

手順

  1. メニューバーのProduct
  2. Scheme
  3. Edit Scheme
  4. Run
  5. Arguments
  6. Environment Variable
  7. +をクリック
  8. Nameに「IDEPreferLogStreaming」と入力
  9. Valueに「YES」と入力

これでエラーが出なくなりました。

参考

18
10
1

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
18
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?