I have an iOS app in which i have a settings bundle. The root.plist is:
When I manually change the Item6>Titles>Item0
's value and run it, it reflects the changes in device's settings page for the app.
Now, I did a run script to set build version to this field
build=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion"
${PROJECT_DIR}/${INFOPLIST_FILE}`
/usr/libexec/PlistBuddy "$SRCROOT/Settings.bundle/Root.plist" -c "set PreferenceSpecifiers:6:Titles:0 $build"
The specified value for the item in Root.plist is changed (as I can see through Xcode) but it doesn't seem to be reflecting in the settings of the application on device.
Any idea why? Any fix for this weird issue? Am I missing something?