My iPhone app has App Version number in Info.plist. I need a python script to read the App Version from it and print both?
I have printed the plist file. Below is the code
for file in os.walk(FOLDERPATH):
inFile = open('Info.plist', 'rt')
for line in inFile:
print(inFile.read())
I found this. I believe its what you’re looking for. Hope it helps!
http://docs.python.org/dev/library/plistlib.html