mirror of
https://github.com/ogoguel/activegs-ios.git
synced 2024-06-14 03:29:38 +00:00
Replaced xcodebuild.h with CFBundleVersion
This commit is contained in:
parent
8d3b2f1f71
commit
3a244bedee
|
@ -23,11 +23,11 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string></string>
|
||||
<string>1.40</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.40</string>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIAppFonts</key>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "../Common/svnversion.h"
|
||||
#import "asyncimageview.h"
|
||||
#import "activegsViewController.h"
|
||||
#include "../xcodebuild.h"
|
||||
|
||||
@implementation infoViewController
|
||||
|
||||
|
@ -27,13 +26,12 @@
|
|||
-(void)viewDidLoad
|
||||
{
|
||||
|
||||
|
||||
NSString *AppVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
|
||||
NSString *buildVersion = [NSString stringWithUTF8String:xcodebuild];
|
||||
NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
|
||||
NSString *buildVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
|
||||
|
||||
|
||||
self.versionUILandscape.text=
|
||||
self.versionUI.text = [NSString stringWithFormat: @"v%@#%@ -- ActiveGS "TOSTRING(ACTIVEGSMAJOR)"."TOSTRING(ACTIVEGSMINOR)"."TOSTRING(ACTIVEGSBUILD)"",AppVersion,buildVersion];
|
||||
self.versionUI.text = [NSString stringWithFormat: @"v%@.%@ -- ActiveGS "TOSTRING(ACTIVEGSMAJOR)"."TOSTRING(ACTIVEGSMINOR)"."TOSTRING(ACTIVEGSBUILD)"",appVersion,buildVersion];
|
||||
|
||||
[self.portraitView setFrame:[[UIScreen mainScreen] bounds] ];
|
||||
[self.landscapeView setFrame:[[UIScreen mainScreen] bounds] ];
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
const char* xcodebuild="304";
|
Loading…
Reference in New Issue
Block a user