This brief guide illustrate how to collect iPhone/iPad console log through Xcode.
Start Xcode, click ‘Window’ on menu bar, then choose Devices
Choose the attached device
Click the triangle button on the bottom
iPhone console message is appeared on the bottom.
Click the downward arrow on the right bottom to save the console message to a file.