NSDictionary* info=[[NSBundle mainBundle] infoDictionary];
//获取Build
NSString* build=info[@"CFBundleVersion"];
//获取Version
NSString* sVersion=info[@"CFBundleShortVersionString"];
NSLog(@"build:%@",build);
NSLog(@"sVersion:%@",sVersion);
NSDictionary* info=[[NSBundle mainBundle] infoDictionary];
//获取Build
NSString* build=info[@"CFBundleVersion"];
//获取Version
NSString* sVersion=info[@"CFBundleShortVersionString"];
NSLog(@"build:%@",build);
NSLog(@"sVersion:%@",sVersion);