diff --git a/CoreDataUtil/CoreDataPro-Info.plist b/CoreDataUtil/CoreDataPro-Info.plist index e3830a3..7aaa73b 100644 --- a/CoreDataUtil/CoreDataPro-Info.plist +++ b/CoreDataUtil/CoreDataPro-Info.plist @@ -62,7 +62,7 @@ CFBundleIconFile ApplicationIcon.icns CFBundleIdentifier - com.fluentfactory.coredatapro.${PRODUCT_NAME:rfc1034identifier} + com.yepher.coredatapro.$(PRODUCT_NAME:rfc1034identifier) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -70,11 +70,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.2 + 1.3 CFBundleSignature ???? CFBundleVersion - 4 + 5 LSApplicationCategoryType public.app-category.developer-tools LSMinimumSystemVersion diff --git a/CoreDataUtil/MFLBuild.h b/CoreDataUtil/MFLBuild.h new file mode 100644 index 0000000..313402e --- /dev/null +++ b/CoreDataUtil/MFLBuild.h @@ -0,0 +1,28 @@ +// +// MFLBuild.h +// BriteIM +// +// Created by Chris Wilson on 1/30/14. +// Copyright (c) 2014 Chris Wilson All rights reserved. +// + +#import + +extern NSString *const MFL_VERSION; + +extern NSString *const MFL_BUILD_VERSION; + +extern NSString *const MFL_GIT_HASH; + +extern NSString *const MFL_GIT_LAST; + +extern NSString *const MFL_BUILD_DATE; + +extern NSString *const MFL_PLATFORM; + +extern NSInteger const MFL_DEVICE_TYPE; + + +@interface MFLBuild : NSObject + +@end diff --git a/CoreDataUtil/MFLBuild.m b/CoreDataUtil/MFLBuild.m new file mode 100644 index 0000000..85dcb1a --- /dev/null +++ b/CoreDataUtil/MFLBuild.m @@ -0,0 +1,56 @@ +// +// MFLBuild.m +// BriteIM +// +// Created by Chris Wilson on 1/30/14. +// Copyright (c) 2014 Chris Wilson All rights reserved. + +/******************** + WARNING: this file is automatically updated by XCode during the build. Any uncommited changes to this file + will be lost during the build process. + ********************/ + +#import "MFLBuild.h" + +@implementation MFLBuild + +NSString *const MFL_VERSION = @"APP_VERSION" +#ifdef DEBUG +// Show "d" after version if this is a DEBUG build +@" d" +#endif +; + +NSString *const MFL_BUILD_VERSION = @"BUILD_GENERATED_VERSION"; + +NSString *const MFL_GIT_HASH = @"BUILD_GENERATED_GIT_HASH"; + +NSString *const MFL_GIT_LAST = @"BUILD_LAST_COMMIT"; + +NSString *const MFL_BUILD_DATE = @"BUILD_GENERATED_DATE"; + +#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR + +NSString *const MFL_PLATFORM = @"ios"; + +#ifdef DEBUG +NSInteger const MFL_DEVICE_TYPE = 4; // IOS device - sandbox APNS +#else +NSInteger const MFL_DEVICE_TYPE = 6; // IOS device - production APNS +#endif + +#else + +NSString *const MFL_PLATFORM = @"mac"; + +#ifdef DEBUG +NSInteger const MFL_DEVICE_TYPE = 5; // MAC device - sandbox APNS +#else +NSInteger const MFL_DEVICE_TYPE = 7; // MAC device - production APNS +#endif + +#endif + + + +@end