Version number and other variables should be available in Settings bundles
| Originator: | jaminguy | ||
| Number: | rdar://13410714 | Date Originated: | 13-Mar-2013 10:52 AM |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | |
| Classification: | Enhancement | Reproducible: | Always |
Summary: When building an iOS app, I want to put my app's version and build numbers in the Settings bundle. Steps to Reproduce: 1. Create an iOS app with a settings bundle. 2. Try to get the version and build number into the Settings bundle so that they'll be there if the user opens Settings.app and looks at your settings before they run the app. Expected Results: This is easy to do. Actual Results: As far as I can tell, the only way to get the app version and build number (which may be generated dynamically by a build script) into the settings bundle before first run of the app is to write a custom compile-time script to go into the settings bundle, find the appropriate .strings file, and do a string replacement. This is clumsy, and every developer who wants to do this has presumably rolled their own solution. Regression: This has always been a problem. Notes: I would like to see $VARIABLES that you can use in your settings bundle for version, build number, and other common constants you might want to include. Or, I would like to be able to run my own code inside Settings.app.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!