This script is useful for debugging code signing related build issues. Sometimes numerous provisioning profiles can interfere with each other. By identifying provisioning profiles present on the system, an engineer can deduce where a problem/conflict may occur.
The script prints out the filename of all provisioning profiles on the system along with the actual provisioning profiles name.
Sample output:
4d6f17a7-945c-4e56-a838-feac55a09521.mobileprovision >> CS429UH28N.com.choco.bar
58c1f8c3-1c43-4ae7-8d97-6f1d579ba5e1.mobileprovision >> 5Y399WZH5J.com.multivision.presto