2021-04-05 17:31:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-05-02 17:50:05 +00:00
|
|
|
ERRORS=$(grep -nR --include project.pbxproj -E "(DevelopmentTeam|DEVELOPMENT_TEAM) =" . | grep -v -E '= ""')
|
2021-04-05 17:31:25 +00:00
|
|
|
COUNT=$(echo -n "$ERRORS\c" | wc -l | awk '{print $1}')
|
|
|
|
|
|
|
|
if [ $COUNT -ne 0 ]; then
|
|
|
|
echo $COUNT
|
|
|
|
echo "Remove Development Team specifications from project files:"
|
|
|
|
echo "$ERRORS";
|
|
|
|
exit 1;
|
|
|
|
fi
|