Commits

Jeff Laing  committed f1b0e1f

Stupid mistake when reading directories - all files beginning with "." would be skipped, instead of just "." and ".."
Upgraded project to use Xcode 4.2

  • Participants
  • Parent commits 8042131

Comments (0)

Files changed (2)

File MobileDeviceAccess.m

 			if (*d=='.') {
 				if (d[1]=='\000') continue;			// skip '.'
 				if (d[1]=='.') {
-					if (d[2]=='\000'); continue;	// skip '..'
+					if (d[2]=='\000') continue;		// skip '..'
 				}
 			}
 			[result addObject:[NSString stringWithUTF8String:d]];
 		if (*d=='.') {
 			if (d[1]=='\000') continue;			// skip '.'
 			if (d[1]=='.') {
-				if (d[2]=='\000'); continue;	// skip '..'
+				if (d[2]=='\000') continue;		// skip '..'
 			}
 		}
 		[here addObject:[NSString stringWithFormat:@"%@/%s",path,d]];

File MobileDeviceAccess.xcodeproj/project.pbxproj

 	archiveVersion = 1;
 	classes = {
 	};
-	objectVersion = 45;
+	objectVersion = 46;
 	objects = {
 
 /* Begin PBXBuildFile section */
 /* Begin PBXProject section */
 		0867D690FE84028FC02AAC07 /* Project object */ = {
 			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0420;
+			};
 			buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "MobileDeviceAccess" */;
-			compatibilityVersion = "Xcode 3.1";
+			compatibilityVersion = "Xcode 3.2";
 			developmentRegion = English;
 			hasScannedForEncodings = 1;
 			knownRegions = (
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
 				COPY_PHASE_STRIP = NO;
 				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_ENABLE_FIX_AND_CONTINUE = YES;
 				GCC_MODEL_TUNING = G5;
 				GCC_OPTIMIZATION_LEVEL = 1;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				INSTALL_PATH = /usr/local/lib;
 				ONLY_ACTIVE_ARCH = YES;
 				PRODUCT_NAME = MobileDeviceAccess;
+				SDKROOT = macosx;
 			};
 			name = Debug;
 		};
 				GCC_WARN_UNUSED_VARIABLE = NO;
 				INSTALL_PATH = /usr/local/lib;
 				PRODUCT_NAME = MobileDeviceAccess;
-				SDKROOT = macosx10.5;
+				SDKROOT = macosx;
 			};
 			name = Release;
 		};
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				ONLY_ACTIVE_ARCH = YES;
-				PREBINDING = NO;
-				SDKROOT = macosx10.6;
+				SDKROOT = macosx;
 			};
 			name = Debug;
 		};
 				GCC_C_LANGUAGE_STANDARD = gnu99;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				PREBINDING = NO;
-				SDKROOT = macosx10.6;
+				SDKROOT = macosx;
 			};
 			name = Release;
 		};