Permalink
Browse files

Build #101

Set up versioning, starting with build 101.
Set up code signing for ad-hoc distribution.
Don't save startup time test twice.
  • Loading branch information...
1 parent 182ca99 commit 3dd4014c8fd5e70b82ae50077aaa62357d940927 @snej snej committed Oct 11, 2011
Showing with 11 additions and 7 deletions.
  1. +5 −3 App/Info.plist
  2. +0 −3 App/TestListController.m
  3. +6 −1 Worker Bee.xcodeproj/project.pbxproj
View
@@ -27,19 +27,21 @@
</dict>
</dict>
<key>CFBundleIdentifier</key>
- <string>com.example.${PRODUCT_NAME:rfc1034identifier}</string>
+ <string>com.couchone.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>Build #${CURRENT_PROJECT_VERSION}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>${CURRENT_PROJECT_VERSION}</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.utilities</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
View
@@ -121,12 +121,9 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
- (void) serverStarted {
- AppDelegate* appDelegate = (AppDelegate*) [[UIApplication sharedApplication] delegate];
- [[SavedTestRun forTest: appDelegate.startupTest] save];
[self updateSavedTestUI];
}
-
- (void) updateSavedTestUI {
NSString* text;
int nSaved = [SavedTestRun savedTestCount];
@@ -322,7 +322,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: CouchOne";
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
@@ -332,6 +332,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "0EEF46DF-9D93-4ED4-A25A-584E1CCE619A";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
@@ -341,6 +342,7 @@
27B28FCF14314FB900B86F18 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CURRENT_PROJECT_VERSION = 101;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)/Frameworks\"",
@@ -349,13 +351,15 @@
GCC_PREFIX_HEADER = App/Prefix.pch;
INFOPLIST_FILE = App/Info.plist;
PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
27B28FD014314FB900B86F18 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CURRENT_PROJECT_VERSION = 101;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)/Frameworks\"",
@@ -364,6 +368,7 @@
GCC_PREFIX_HEADER = App/Prefix.pch;
INFOPLIST_FILE = App/Info.plist;
PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
WRAPPER_EXTENSION = app;
};
name = Release;

0 comments on commit 3dd4014

Please sign in to comment.