15

Today, likely as a result of upgrading to iOS 12.3 on my test phone, I am now receiving the following notifications in my debug console when I first instantiate my MPVolumeView.

019-05-21 11:00:22.874353-0600 sports-audio-dj[3831:982163] [MediaRemote] OutputDeviceUID is nil Speaker: (null)

I receive about 10+ of these.

Here is the code that kicks it off:

let volumeView = MPVolumeView(frame: self.view.bounds)

My code hasn't changed and I'd not seen this before today and wondering if anyone knows what is bringing this about and if I need to do anything about it if something is now unhappy. My app seems to work fine despite these new notifications.

spassas
  • 4,778
  • 2
  • 31
  • 39
HOTGS James
  • 321
  • 2
  • 9
  • 2
    Sadly the new iOS v12.3.1 didn't resolve the issue :( – HOTGS James May 30 '19 at 00:24
  • Has anyone filled a radar for this issue? – Gonzalo Durañona Jun 02 '19 at 03:40
  • I added one yesterday, WWDC will delay the response but I'll update this when I get one. – HOTGS James Jun 06 '19 at 03:58
  • I am also using MPVolumeView and seeing this (iOS 12.3.1). Unfortunately, in my case it seems to be causing some sort of main thread starvation. My UI may not update for as much as 5 seconds while these are firing in the console. I am looking for a workaround, but haven't found a solution yet. – Swany Jun 10 '19 at 21:01
  • Given the response Apple gave me you may be waiting until iOS 13 is out in the Fall. – HOTGS James Jun 11 '19 at 00:14

2 Answers2

15

Apple responded today with the following:

You can safely ignore this debugging message. It will be removed in a future version of iOS.

HOTGS James
  • 321
  • 2
  • 9
  • yes i agree with this. i haven't change anything except my xcode version. it's a new version library warning about something inside their library code or something like that. i don't know. but i know that i haven't change a single code. – EFE Jul 10 '19 at 06:00
  • 2
    These debug messages are still alive and well in iOS 12.4 :( – HOTGS James Jul 23 '19 at 05:38
  • These debug messages are still alive and well in iOS 12.4.1 – HOTGS James Aug 27 '19 at 03:35
2

iOS 13 has finally removed these errant debug messages.

HOTGS James
  • 321
  • 2
  • 9