Search code examples
iosxcodeios-simulatorxcode10ios12

How to show simulator logs? in IOS 12.0 & Xcode 10?


How to check simulator logs? I am running project in Xcode 10 and simulator iPad (6th generation) 12.0

I have checked in Xcode-> Window -> Devices and simulators -> select "simulator" But not showing simulator log

also i have checked in Simulator -> Debug -> Open system log... But not showing simulator log


Solution

  • I have found solution for this issue, Open system console log on MAC

    ⌘ + space and type "console" -> press "Enter" to open system console log then select your simulator

    You can see only log which is log using

    NSLog("MyLog")

    But, You can not see log which is write with print("MyLog")