How to read plist information (bundle id) from a shell script

前端 未结 5 1603
慢半拍i
慢半拍i 2020-12-14 07:29

I\'d like to write a script that can read info like Bundle Identifier or maybe version number from the Info.plist of the app. Xcode doesn\'t seem to give that information in

5条回答
  •  青春惊慌失措
    2020-12-14 08:09

    There is a command line program installed on the Mac called PlistBuddy that can read/write values in a plist. Type 'man PlistBuddy' in Terminal to get more info.

提交回复
热议问题