Last active
December 6, 2022 23:33
-
-
Save nmcspadden/7c2eb78d6aba274f4ae5 to your computer and use it in GitHub Desktop.
Signs a folder full of profiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for profile in Profiles/*.mobileconfig | |
do | |
s=${profile##*/} | |
outName=${s%.*} | |
outName+="Signed.mobileconfig" | |
/usr/bin/security cms -S -N "Mac Developer Application" -i $profile -o "$outName" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment