mirror of
https://github.com/ogoguel/activegs-ios.git
synced 2024-06-01 09:41:41 +00:00
Replaced xcodebuild.h with CFBundleVersion
This commit is contained in:
parent
8d3b2f1f71
commit
3a244bedee
|
@ -23,11 +23,11 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string></string>
|
<string>1.40</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.40</string>
|
<string>1</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UIAppFonts</key>
|
<key>UIAppFonts</key>
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include "../Common/svnversion.h"
|
#include "../Common/svnversion.h"
|
||||||
#import "asyncimageview.h"
|
#import "asyncimageview.h"
|
||||||
#import "activegsViewController.h"
|
#import "activegsViewController.h"
|
||||||
#include "../xcodebuild.h"
|
|
||||||
|
|
||||||
@implementation infoViewController
|
@implementation infoViewController
|
||||||
|
|
||||||
|
@ -27,13 +26,12 @@
|
||||||
-(void)viewDidLoad
|
-(void)viewDidLoad
|
||||||
{
|
{
|
||||||
|
|
||||||
|
NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
|
||||||
NSString *AppVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
|
NSString *buildVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
|
||||||
NSString *buildVersion = [NSString stringWithUTF8String:xcodebuild];
|
|
||||||
|
|
||||||
|
|
||||||
self.versionUILandscape.text=
|
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.portraitView setFrame:[[UIScreen mainScreen] bounds] ];
|
||||||
[self.landscapeView 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