Connecting App Store release app to Xcode
You can access the device logs using Console. In Console.app, connected iOS devices appear in the sidebar and selecting a device brings up the system log in real time.

To use Xcode to attach to the process, choose Debug → ‘Attach to Process by PID or Name’ and enter the name of the app. See Attach debugger to iOS app after launch on Stack Overflow.