As I try to run the app the error comes up with:Print:
Entry, ":CFBundleShortVersionString", Does Not Exist Parse Error: Unclosed Quotes Value Required for Set Command Command /bin/sh failed with exit code 1
This is the coding for that part in my app
#!/bin/sh
VERSION=`/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' Translator/Translator-Info.plist`
/usr/libexec/PlistBuddy -c "Set :PreferenceSpecifiers:0:DefaultValue $VERSION" Translator/Settings.bundle/Root.plist
I don't know what's wrong!!
It means in your info.plist file, "Bundle versions string, short" key/value is not present. Add it to info.plist and re compile it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.