How to detect that a provisioning profile is for development or distribution, programmatically How to detect that a provisioning profile is for development or distribution, programmatically xcode xcode