How could detect debug or release is running with build phases/run script?
I have four custom configuration each one duplicated from release or debug.
I found this answer but it doesn't work
if [ "${CONFIGURATION}" = "Release" ]; then
echo "Relese"
else
echo "Debug"
fi