Commits

Dan Bostonweeks committed 2a4a4d5

ready for adhoc release (1.0c)
-update the info.plist to reflect version number
-update the build target to do proper adhoc distribution
-add setting the version number progromatically in the tagLabel
-update the default.png
-add an entitlement plist
-add adhoc certificate
-add adhoc instructions

  • Participants
  • Parent commits e240b2a

Comments (0)

Files changed (9)

BlueTap/BlueTap.xcodeproj/project.pbxproj

 		310C66250EFE319600B992B7 /* BluetoothManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 310C66240EFE319600B992B7 /* BluetoothManager.framework */; };
 		310C665E0EFE398700B992B7 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 310C665C0EFE398700B992B7 /* icon.png */; };
 		310C665F0EFE398700B992B7 /* BluetoothLogo.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 310C665D0EFE398700B992B7 /* BluetoothLogo.tiff */; };
+		317D5E050F015C55000B775A /* dist.plist in Resources */ = {isa = PBXBuildFile; fileRef = 317D5E040F015C55000B775A /* dist.plist */; };
 		31D3C6450EFEC31200D60E23 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 31D3C6440EFEC31200D60E23 /* Default.png */; };
 /* End PBXBuildFile section */
 
 		310C66310EFE320C00B992B7 /* BluetoothManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BluetoothManager.h; sourceTree = "<group>"; };
 		310C665C0EFE398700B992B7 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = Images/icon.png; sourceTree = "<group>"; };
 		310C665D0EFE398700B992B7 /* BluetoothLogo.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = BluetoothLogo.tiff; path = Images/BluetoothLogo.tiff; sourceTree = "<group>"; };
+		317D5E040F015C55000B775A /* dist.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = dist.plist; sourceTree = "<group>"; };
 		31D3C6440EFEC31200D60E23 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Default.png; path = Images/Default.png; sourceTree = "<group>"; };
 		32CA4F630368D1EE00C91783 /* BlueTap_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BlueTap_Prefix.pch; sourceTree = "<group>"; };
 		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 				310C665B0EFE396700B992B7 /* Images */,
 				28AD733E0D9D9553002E5188 /* MainWindow.xib */,
 				8D1107310486CEB800E47090 /* Info.plist */,
+				317D5E040F015C55000B775A /* dist.plist */,
 			);
 			name = Resources;
 			sourceTree = "<group>";
 				310C665E0EFE398700B992B7 /* icon.png in Resources */,
 				310C665F0EFE398700B992B7 /* BluetoothLogo.tiff in Resources */,
 				31D3C6450EFEC31200D60E23 /* Default.png in Resources */,
+				317D5E050F015C55000B775A /* dist.plist in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 			};
 			name = Release;
 		};
+		31D3C6510EFF389E00D60E23 /* AdHoc */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+				CODE_SIGN_ENTITLEMENTS = dist.plist;
+				CODE_SIGN_IDENTITY = "iPhone Distribution: Daniel Weeks";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Daniel Weeks";
+				GCC_C_LANGUAGE_STANDARD = c99;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				PREBINDING = NO;
+				PROVISIONING_PROFILE = "93C8B3B8-F9F0-4A1E-9E4B-6D8CD5F7163D";
+				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "93C8B3B8-F9F0-4A1E-9E4B-6D8CD5F7163D";
+				SDKROOT = iphoneos2.2;
+			};
+			name = AdHoc;
+		};
+		31D3C6520EFF389E00D60E23 /* AdHoc */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CODE_SIGN_ENTITLEMENTS = dist.plist;
+				CODE_SIGN_IDENTITY = "iPhone Distribution: Daniel Weeks";
+				COPY_PHASE_STRIP = YES;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"",
+				);
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = BlueTap_Prefix.pch;
+				INFOPLIST_FILE = Info.plist;
+				PRODUCT_NAME = BlueTap;
+				PROVISIONING_PROFILE = "93C8B3B8-F9F0-4A1E-9E4B-6D8CD5F7163D";
+			};
+			name = AdHoc;
+		};
 		C01FCF4F08A954540054247B /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				CODE_SIGN_IDENTITY = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Daniel Weeks";
 				GCC_C_LANGUAGE_STANDARD = c99;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				PREBINDING = NO;
+				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "9867DF82-AAFA-4EB4-A0C3-38379B5274F5";
 				SDKROOT = iphoneos2.2;
 			};
 			name = Release;
 			buildConfigurations = (
 				1D6058940D05DD3E006BFB54 /* Debug */,
 				1D6058950D05DD3E006BFB54 /* Release */,
+				31D3C6520EFF389E00D60E23 /* AdHoc */,
 			);
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 			buildConfigurations = (
 				C01FCF4F08A954540054247B /* Debug */,
 				C01FCF5008A954540054247B /* Release */,
+				31D3C6510EFF389E00D60E23 /* AdHoc */,
 			);
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;

BlueTap/Classes/BlueTapAppDelegate.h

     UIWindow *window;
     id btSharedInstance;
     UILabel *statusLabel;
+    UILabel *tagLabel;
     UIButton *switchButton;
 }
 
 @property (nonatomic, retain) IBOutlet UIWindow *window;
 @property (nonatomic, retain) id btSharedInstance;
 @property (nonatomic, retain) IBOutlet UILabel *statusLabel;
+@property (nonatomic, retain) IBOutlet UILabel *tagLabel;
 @property (nonatomic, retain) IBOutlet UIButton *switchButton;
 
 - (IBAction)switchBluetoothStatus;

BlueTap/Classes/BlueTapAppDelegate.m

 @synthesize window;
 @synthesize btSharedInstance;
 @synthesize statusLabel;
+@synthesize tagLabel;
 @synthesize switchButton;
 
 - (void)applicationDidFinishLaunching:(UIApplication *)application 
-{    
+{   
+    [tagLabel setText:[NSString stringWithFormat:@"danimal/WideZero Industries (%@%@)", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]];
     btSharedInstance = [BluetoothManager sharedInstance];
     [self switchBluetoothStatus];
     // Override point for customization after application launch
 - (void)dealloc 
 {
     [statusLabel release];
+    [tagLabel release];
     [btSharedInstance release];
     [window release];
     [super dealloc];

BlueTap/Images/Default.png

Old
Old image
New
New image

BlueTap/Info.plist

 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>
 	<key>CFBundleDisplayName</key>
 	<key>CFBundleIconFile</key>
 	<string>icon.png</string>
 	<key>CFBundleIdentifier</key>
-	<string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
+	<string>com.widezero.${PRODUCT_NAME:identifier}</string>
 	<key>CFBundleInfoDictionaryVersion</key>
 	<string>6.0</string>
 	<key>CFBundleName</key>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>1.0</string>
+	<string>c</string>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
 	<key>NSMainNibFile</key>

BlueTap/MainWindow.xib

 						<bool key="IBUIOpaque">NO</bool>
 						<bool key="IBUIClipsSubviews">YES</bool>
 						<bool key="IBUIUserInteractionEnabled">NO</bool>
-						<string key="IBUIText">by danimal</string>
+						<string key="IBUIText">danimal/WideZero Industries (ver)</string>
 						<reference key="IBUITextColor" ref="176866844"/>
 						<nil key="IBUIHighlightedColor"/>
 						<int key="IBUIBaselineAdjustment">1</int>
 					</object>
 					<int key="connectionID">17</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">tagLabel</string>
+						<reference key="source" ref="664661524"/>
+						<reference key="destination" ref="264331509"/>
+					</object>
+					<int key="connectionID">18</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
 						<object class="NSMutableArray" key="children">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<reference ref="669709138"/>
-							<reference ref="264331509"/>
 							<reference ref="248425560"/>
 							<reference ref="880198617"/>
+							<reference ref="264331509"/>
 						</object>
 						<reference key="parent" ref="957960031"/>
 					</object>
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">17</int>
+			<int key="maxID">18</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
 							<string>btSharedInstance</string>
 							<string>statusLabel</string>
 							<string>switchButton</string>
+							<string>tagLabel</string>
 							<string>window</string>
 						</object>
 						<object class="NSMutableArray" key="dict.values">
 							<string>id</string>
 							<string>UILabel</string>
 							<string>UIButton</string>
+							<string>UILabel</string>
 							<string>UIWindow</string>
 						</object>
 					</object>

BlueTap/dist.plist

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>get-task-allow</key>
+	<false/>
+</dict>
+</plist>

distribution/BlueTap.mobileprovision

Binary file added.

distribution/instructions.txt

+INSTALL INSTRUCTIONS:
+
+1. Download the zip file for your application from WideZero:
+
+http://widezero.com/grabbag/BlueTap-1.0.zip
+
+
+2. Open the zip file and you should see two files: 
+    - BlueTap.mobileprovision
+    - BlueTap.app
+    
+   i. Drag the BlueTap.mobileprovision file and drop 
+      it on your iTunes icon (usually in the doc at the bottom of 
+      your screen) or into iTunes itself. Choose to replace the existing 
+      copy of BlueTap if it asks.
+    
+   ii. Drag the BlueTap.app file and drop it on the iTunes icon as well.
+    
+   iii. Open iTunes and click on the Applications tab to check. You 
+        should see an icon with the name BlueTap. The icon will be for
+        a default application. Don't worry, this will be the correct icon
+        on your device.
+
+3. Connect your iPhone or iPod touch to your computer.
+
+   i. If it does not synch automatically and attempt to install your 
+      new beta app, click on its icon under Devices in the iTunes left 
+      hand column.
+    
+   ii. Once you have the device selected, Click on its Applications 
+       tab in iTunes. You should see the app you are beta testing in 
+       the grayed out list with the checkboxes. Make sure Sync 
+       applications is checked, and All applications is selected. (if 
+       you are using checkboxes, you need to make sure BlueTap is 
+       checked, along with all the other apps you want to keep on your 
+       device)
+
+   iii. Click the Sync button in the lower right and watch the top 
+        bar. You should eventually see it installing the beta 
+        application on your device.
+