Two steps:
In the Build Phases, the Run Script must be placed below Embed Foundation Extensions.
Just put the Run Script at the bottom.
In the Embed Foundation Extensions section, you must uncheck “Copy only when installing”.
It works for me.