In Xcode build ref:
It says:
ACTION
Description:
Identifier. Identifies the type of build to perform on the target.
Then I make a small script in scheme->build->pre-actions:
echo "action:"
echo ${ACTION}
But $ACTION
seems empty.
I also tried other variables like $BUILD_VARIANTS
and they are normal, so I'm pretty sure it's not my script's fault.
Does anyone have the same issue?