Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A shell script build phase to add to your projects for automatic localization manager generation!
if [ -f "LocalizationManagerGenerator.swift" ]
then
if [ "$CONFIGURATION" = "Debug" ]
then
echo "Running LocalizationManagerGenerator script"
./LocalizationManagerGenerator.swift <your project> <output directory>
fi
else
echo "warning: Cannot automatically generate LocalizationManagers, script not found"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment