Xcode - How can we get the current time (Create time) when archive in xcode?

my app has an About dialog that displaying the content as "Build time: 2013/05/14 14:20". The "Build time" can update when archive. I can update it manually, but sometime I forget it. I try to research how to update "build time" when archive like this: Running script only for an 'Archive' build in Xcode 4

I hope your helps!

p/s: Sorry for my poor english

Answers


Why not populate the About box with values of the predefined C (string) macros __DATE__ and __TIME__ rather than setting them manually?


Need Your Help

Validating Zend Forms with a Zend_Form_Element_File on mobile Safari

php ios zend-framework mobile-safari zend-form

I have a form that uses a Zend_Form_Element_File which isn't a required field.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.