Xcode 8.1 beta 3 - AQDefaultDevice messages

2019-03-22 13:42发布

As of beta2, I'm getting this message every two seconds after I create an audio output unit:

2016-10-14 11:31:21.572479 MyProduct[94063:8294923] [aqme] 254: AQDefaultDevice (173): skipping input stream 0 0 0x0

Anyone know what it's generated by? I'd thought that perhaps I wasn't servicing an audio out callback, but as far as I can tell, I'm servicing it properly.

2条回答
ら.Afraid
2楼-- · 2019-03-22 14:20

I was also having this problem, but a backtrace message also preceded the "skipping input stream" messages. The backtrace issue was dealt with by this Stack Overflow link: Error: Protocol not available, dumping backtrace, and it turned out that suppressing the backtrace message also suppressed all of the "skipping input stream" messagaes. To repeat the steps outlined in the above link:

  1. Go to Product/Scheme/Edit Scheme
  2. Select Arguments
  3. Add the Environment Variable OS_ACTIVITY_MODE and set it to "disable"
查看更多
Anthone
3楼-- · 2019-03-22 14:28

A cleaner solution (than the one given by user6026720) that fixes Simulator logs without affecting Device logs is available at https://stackoverflow.com/a/39651073/1033581:

  1. Under Product > Scheme > Edit Scheme... > Run, set the OS_ACTIVITY_MODE environment variable to ${DEBUG_ACTIVITY_MODE} so it looks like this:

OS_ACTIVITY_MODE environment variable to ${DEBUG_ACTIVITY_MODE}

  1. Go to your project build settings, and click + to add a User-Defined Setting named DEBUG_ACTIVITY_MODE. Expand this setting and Click the + next to Debug to add a platform-specific value. Select the dropdown and change it to "Any iOS Simulator SDK". Then set its value to "disable" so it looks like this:

User-Defined setting DEBUG_ACTIVITY_MODE

查看更多
登录 后发表回答