Your Settings bundle is included with your app, so you can have the version number as a simple string item in that bundle and it’ll always be in sync with the app.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"