I am able to display the build date for my app in the simulator, but whenever I archive the app, and upload it to TestFlight, and then install it on a device, the build date doe
Swift5
let compileDate = String(Date()) let df = DateFormatter() df.dateFormat = "MMM-dd-yyyy" let usLocale = NSLocale(localeIdentifier: "en_US") df.locale = usLocale let aDate: Date? = df.date(from: compileDate)