2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[Xcode]ライブラリのログが表示されない場合の対処法

Posted at

投稿の経緯

外部ライブラリを用いた開発で不具合が発生し、解決に向けてサポートチームの方とやり取りを進める中でログの提出を求められた。

だが求められたログはどこにもない...

サンプルアプリではログは表示されている。しかしこちらで開発しているアプリでは表示されていない。。

調査を進める中でログが表示されていなかった原因を特定したので記事にする。

対処法

スクリーンショット 2023-06-23 11.12.18.png

Edit Scheme...を選択

スクリーンショット 2023-06-23 11.16.12.png

OS_ACTIVITY_MODEのチェックを外してcloseをタップして保存

これで外部ライブラリのログを確認することができます。

逆にライブラリの不要なログを表示したくない場合は、

  1. OS_ACTIVITY_MODEを追加
  2. Valueにdisableと入力
  3. チェックをつける

で非表示になります。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?