Re: Extra logging in Simulators for iOS 10 & for macOS Sierra?
Re: Extra logging in Simulators for iOS 10 & for macOS Sierra?
- Subject: Re: Extra logging in Simulators for iOS 10 & for macOS Sierra?
- From: David Brittain <email@hidden>
- Date: Thu, 06 Oct 2016 12:33:13 -0700
You can set the environment variable OS_ACTIVITY_MODE=disable on the
scheme's Run page in the arguments tab. In the simulator that stops all the
stuff from the system and NSLog in your app still works. Unfortunately on
device this also suppresses NSLogs from your own code.
On 6 October 2016 at 12:06, Eric E. Dolecki <email@hidden> wrote:
> When I build to device for iOS - I get the expected logging. If I build to
> an iOS Simulated device, I am getting a bunch of logging to the console.
>
> 2016-10-06 15:02:35.138443 testBars[59267:10948290] subsystem:
> com.apple.UIKit, category: HIDEventFiltered, enable_level: 0,
> persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0,
> generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2,
> enable_private_data: 0
> ...
>
> The same goes for when I build a macOS application - I am getting all kinds
> of extra logging (not the same as for iOS).
>
> Is there a way to turn this off for Xcode 8.0? Is this new and to be
> expected? Did an Apple Engineer mistakenly leave some flags on prior to
> release?
>
> Thank you,
> Eric
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
David Brittain
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden