Browse files

tweaks to build for simulator and eliminate a compiler warning.

  • Loading branch information...
1 parent 3c540a0 commit 9632a168163b97d2b2e9e684926fbba207eb13e0 @timburks committed Sep 11, 2012
View
8 iOSHealthThermometer.xcodeproj/project.pbxproj
@@ -80,10 +80,6 @@
2267077615FE9A6E00105A61 /* Icon-72.png */,
2267077415FE9A6600105A61 /* Icon-114.png */,
2267077215FE9A6000105A61 /* Icon-57.png */,
- 2267075415FE497600105A61 /* CoreVideo.framework */,
- 2267075215FE495E00105A61 /* CoreMedia.framework */,
- 2267075015FE494500105A61 /* QuartzCore.framework */,
- 2267074E15FE492A00105A61 /* AVFoundation.framework */,
22A85190153E8F3E000B4042 /* iOSHealthThermometer */,
22A85189153E8F3E000B4042 /* Frameworks */,
22A85187153E8F3E000B4042 /* Products */,
@@ -101,6 +97,10 @@
22A85189153E8F3E000B4042 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 2267075415FE497600105A61 /* CoreVideo.framework */,
+ 2267075215FE495E00105A61 /* CoreMedia.framework */,
+ 2267075015FE494500105A61 /* QuartzCore.framework */,
+ 2267074E15FE492A00105A61 /* AVFoundation.framework */,
22A851A1153E8F4F000B4042 /* CoreBluetooth.framework */,
22A8518A153E8F3E000B4042 /* UIKit.framework */,
22A8518C153E8F3E000B4042 /* Foundation.framework */,
View
5 iOSHealthThermometer/ThermometerViewController.m
@@ -9,8 +9,9 @@
#import "ThermometerViewController.h"
#import <CoreBluetooth/CoreBluetooth.h>
-
+#if !TARGET_IPHONE_SIMULATOR
#define CAMERA_ENABLED
+#endif
#ifdef CAMERA_ENABLED
#import "CameraView.h"
@@ -131,7 +132,7 @@ - (void) startScan
{
NSLog(@"startScan");
self.automaticallyReconnect = YES;
- NSArray *services = [NSArray arrayWithObject:[CBUUID UUIDWithString:@"F5E33626-FBD9-5263-98AA-1E0D2FCE4C65"]]; // nil; // [NSArray arrayWithObject:[CBUUID UUIDWithString:@"1809"]];
+ //NSArray *services = [NSArray arrayWithObject:[CBUUID UUIDWithString:@"1809"]];
[self.manager scanForPeripheralsWithServices:nil options:nil];
}

0 comments on commit 9632a16

Please sign in to comment.