I wants to update the build number in plist file according to the scheme which is currently running in xcode project . Ex: If i am running with Sandbox scheme my App version will be {VERSION_NUM}S and if I run with Production scheme App version wil be {VERSION_NUM}P.
So Can you please suggest me how can we retrieve Scheme