解析 embedded.mobileprovision 获取信息

解析 embedded.mobileprovision 获取信息

AppIDName

egrep -aw -A 1 AppIDName $1 | grep string | sed -e 's///' -e 's/<\/string>//'  

application-identifier

egrep -aw -A 1 application-identifier $1 | grep string | sed -e 's///' -e 's/<\/string>//'

TeamName

egrep -aw -A 1 TeamName $1 | grep string | sed -e 's///' -e 's/<\/string>//'

Platform

egrep -aw -A 2 Platform $1 | grep string | sed -e 's///' -e 's/<\/string>//'

UUID

egrep -aw -A 1 UUID $1 | grep string | sed -e 's///' -e 's/<\/string>//'

ProvisionedDevices

egrep -aw -A 2 ProvisionedDevices $1 | grep string | sed -e 's///' -e 's/<\/string>//' -e 's/[[:space:]]//g'

CreationDate

egrep -aw -A 1 CreationDate $1 | grep date | sed -e 's///' -e 's/<\/date>//'

ExpirationDate

egrep -aw -A 1 ExpirationDate $1 | grep date | sed -e 's///' -e 's/<\/date>//'

com.apple.developer.team-identifier

egrep -aw -A 1 com.apple.developer.team-identifier $1 | grep string | sed -e 's///' -e 's/<\/string>//'

application-identifier

egrep -aw -A 1 application-identifier $1 | grep string | sed -e 's///' -e 's/<\/string>//'

keychain-access-groups

egrep -aw -A 2 keychain-access-groups $1 | grep string | sed -e 's///' -e 's/<\/string>//' -e 's/[[:space:]]//g'     

你可能感兴趣的:(ios)