Problem Statement: I have a program running in Xcode w/ a bunch of print() statement which prints outputs to the debug console just fine. However, I want to be able to also redirect these outputs to a file such that I can get users to send them to me as a way to debug.
Solutions I've found on SO enables me to redirect outputs to file but debug console output would be missing.
The Ask: I want my cake and eat it to. I want to be able to redirect print() statements BOTH to debug console AND file.
SO's I've reference: https://stackoverflow.com/a/46339657/14414215 https://stackoverflow.com/a/53392944/14414215