def get_provisioning_profile_id():
try:
profile = subprocess.check_output(['security', 'cms', '-D', '-i',
PROVISIONING_PROFILE],
stderr=subprocess.STDOUT)
plist = plistlib.loads(profile)
return plist['UUID']
except subprocess.CalledProcessError:
return None
评论列表
文章目录