Parsing mobileprovision files in bash?

后端 未结 6 594
一个人的身影
一个人的身影 2020-12-02 14:32

I am tying building a php/bash/mysql system for automating adhoc distribution for iPhone apps. But I want to read the application-identifier key in mobileprovision file of p

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 15:28

    If your running this on a machine with mac os x, you can use the following:

    /usr/libexec/PlistBuddy -c 'Print :Entitlements:application-identifier' /dev/stdin <<< $(security cms -D -i path_to_mobileprovision)
    

提交回复
热议问题