Alex Stone
Alex Stone

Reputation: 47328

iOS do NSLog statements represent a security /privacy issue, or are they ignored by the system in 2018?

I have an app that potentially prints sensitive information to console using NSLog. I'm not aware of the current status of NSLog and am looking to make a suggestion on whether this should be removed.

My information is very outdated - around iOS 4 I could see my own NSLogs in the console and logs available from organizer>Devices>device logs. But recently it seems I'm only seeing the crash logs in there.

Upvotes: 0

Views: 152

Answers (1)

Anton Malyshev
Anton Malyshev

Reputation: 8851

You can't prevent debugging your app on jailbroken device, so it's better to avoid output of sensitive information using NSLog.

Upvotes: 1

Related Questions