Is there any way to change the date/time as seen on the iOS simulator (other than changing Mac settings)?

Hot Licks picture Hot Licks · Sep 27, 2012 · Viewed 8.4k times · Source

I need to do some testing that involves moving the "phone" backwards and forwards through several days. I'd like to do this on the simulator. Is there any available hack that allows the date as seen on the simulator to be changed, without having to change the Mac date?

Answer

JOM picture JOM · Dec 18, 2012

Looks like it's pretty tough... How about using xcodebuild to automate building and running the app from a script and using systemsetup -setdate <mm:dd.yy> to change date in between different runs? Then you wouldn't need to change anything in code.