Updated to iOS 12.1/Xcode 10.1 and getting a flood of "Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 'Permission denied' errors"

Just updated my iPhone X to iOS 12.1 and Xcode to 10.1 and I'm now seeing a flood of what appear to be CoreTelephony error messages in the Xcode console everytime I debug. There have been no code changes, just the iOS and Xcode update. Have been unsuccessful in finding anything helpful/similar in the Developer Forums, Stack Overflow, or Google (outside of an old post from Ionic) and am at a loss. It doesn't seem to impact anything performance wise, the phone and the app are working fine afaik. It is however making the console useless as I'm getting a couple of these logs every 2-3 seconds. I've pasted a small example set of them below, any ideas or anyone else that has experienced this???


2018-11-28 13:21:48.687892-0500 AppName[1807:205924] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28051d700, domain=1, instance=1>

2018-11-28 13:21:48.696137-0500 AppName[1807:205924] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28051f800, domain=1, instance=1>

2018-11-28 13:21:50.860489-0500 AppName[1807:205948] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28054f7c0, domain=1, instance=1>

2018-11-28 13:21:50.869049-0500 AppName[1807:205948] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2805459a0, domain=1, instance=1>

2018-11-28 13:21:53.011700-0500 AppName[1807:205506] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28051e9c0, domain=1, instance=1>

2018-11-28 13:21:53.019719-0500 AppName[1807:205506] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28051f8e0, domain=1, instance=1>

Accepted Reply

It is not the first time that we get pollution by logs that we should not matter.

Would you find some relief here

https://stackoverflow.com/questions/37800790/hide-strange-unwanted-xcode-logs


Otherwise, maybe the best is to post a bug report.

Even though correction of this type of isse that do not affect end product appears pretty slow.

Replies

Just joining the thread because I'm seeing the exact same thing. Very annoying.

It is not the first time that we get pollution by logs that we should not matter.

Would you find some relief here

https://stackoverflow.com/questions/37800790/hide-strange-unwanted-xcode-logs


Otherwise, maybe the best is to post a bug report.

Even though correction of this type of isse that do not affect end product appears pretty slow.

Thanks for sharing! I had set that OS_ACTIVITY_MODE=disabled awhile back due to similar log pollution but it seems I may have unset it at some point.

Make sure you're setting the proper value.


OS_ACTIVITY_MODE = disable


I have seen you're using disabled instead of disable.