I am running a script in my Xcode project in the Scheme’s Build->Post-actions “Run Script”. It runs fine but I would like to see the console output of that script. It doesn’t seem to be included in the Log Navigator tab, where can I find this log?
I am running a script in my Xcode project in the Scheme’s Build->Post-actions Run
Share
The output from those scripts doesn’t seem to be logged anywhere by default. Your best bet is to manually redirect the output of the script to a known location. For example, add the following as the first line of your script:
This will redirect all following output to stdout and stderr to your specified log file.