'Xcode13 how to see pre and post build action logs?
similar question to this thread but that thread is very outdated (Xocde4)
on Xcode13. How do you see logs of a pre and post build action? I am running a script as part of the pre-build action but logs can't be found anymore.
I am not even sure its kicked off - how do I check pre build action its actually invoked?
Solution 1:[1]
Resolved a similar issue by forwarding my pre-build logs to a file. I added the next bunch of code to the beginning of my pre-build script.
#/bin/bash
exec > "${PROJECT_DIR}/prebuild.log" 2>&1
set -o pipefail
set -e
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | vitaliy.pavlyuk.dev |