1

The problem:

  1. The console is filled with debug data making it impossible to log anything else.
  2. The iPad screen shows a lot of metal HUD views making creating screenshots impossible.

What I have tried:

  1. Setting the: Scheme -> Diagnostics -> Metal: API Validation flag to false or (true)
  2. Checking the docu for several RoomPlan classes and structs for words like: debug, show, logging, log... RoomCaptureSession.Configuration, RoomCaptureView
  3. Running the app in the Release build configuration (since the Debug was set per default).
  4. Several google searches
  5. Use a different demo project to verify if the issue is project-specific. Official Apple Demo Project

Screenshots: enter image description here enter image description here

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
Darkwonder
  • 1,149
  • 1
  • 13
  • 26

1 Answers1

1

Disable Metal Debug Data in Console

Go to Xcode 14.2 main menu:

Product Scheme Edit Scheme Run (Debug) Arguments and add environment variable.

// Name             Value
OS_ACTIVITY_MODE = disable

Disable Metal Performance HUD

Product Scheme Edit Scheme Run (Debug) Diagnostics and disable two options:

enter image description here

Or, when Developer Mode is enabled, disable it in iPadOS under

Settings app Developer (scroll down):

enter image description here

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
  • 1
    The man. The legend. Andy. Thank you. I would have never looked at the bottom of the developer settings on my iPad. Where did you learn this info? – Darkwonder Feb 08 '23 at 17:04
  • 1
    ;) Thanks to nice tech talk ~ https://developer.apple.com/videos/play/tech-talks/110339/ – Andy Jazz Feb 08 '23 at 17:24