Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I was wondering if there was a way to detect a build or run in Xcode on a Cocoa app i.e. detect if the user of the app has built/run an xcode project?
您可以为此使用@( DATE )。
NSString *versionText = [NSString stringWithFormat:"Version is %@",@(__DATE__)];