Skip to content

Instantly share code, notes, and snippets.

@EMart86
EMart86 / KUtils.h
Created April 16, 2019 20:25 — forked from ishaq/KUtils.h
This Xcode build phase script automatically sets the version and short version string of an application bundle based on information from the containing Git repository. To Use it, you 1) add the contents of `xcode-git-version.sh` to a "Run Script" build phase for your application target. 2) add a new value to your info plist called `FullVersion` …
#import <Foundation/Foundation.h>
@interface KUtils : NSObject
+ (NSString *)getVersionInfo;
@end