diff --git a/Application/Application/AVMonitor.m b/Application/Application/AVMonitor.m index bb3182a..a915941 100644 --- a/Application/Application/AVMonitor.m +++ b/Application/Application/AVMonitor.m @@ -1588,7 +1588,7 @@ bail: //add active device count [args addObject:@"-activeCount"]; - [args addObject:[NSNumber numberWithUnsignedLong:[self enumerateActiveDevices].count]]; + [args addObject:[NSString stringWithFormat:@"%lu", [self enumerateActiveDevices].count]]; } //exec user specified action diff --git a/Application/Application/Preferences.xib b/Application/Application/Preferences.xib index cc9022a..e61e700 100644 --- a/Application/Application/Preferences.xib +++ b/Application/Application/Preferences.xib @@ -1,8 +1,8 @@ - + - + @@ -27,7 +27,7 @@ - + @@ -82,7 +82,7 @@ - - + @@ -102,7 +102,7 @@ - + @@ -111,7 +111,7 @@ - - + @@ -131,7 +131,7 @@ - - + @@ -151,7 +151,7 @@ - + @@ -160,7 +160,7 @@ - - + @@ -180,7 +180,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -216,7 +216,7 @@ - - + @@ -236,7 +236,7 @@ - - + @@ -256,7 +256,7 @@ - + @@ -270,19 +270,19 @@ - + @@ -291,7 +291,7 @@ - + @@ -315,7 +315,7 @@ - - + @@ -335,7 +335,7 @@ - + @@ -359,7 +359,7 @@ - + diff --git a/Installer/Installer.xcodeproj/project.pbxproj b/Installer/Installer.xcodeproj/project.pbxproj index 9efc73d..764c9e5 100644 --- a/Installer/Installer.xcodeproj/project.pbxproj +++ b/Installer/Installer.xcodeproj/project.pbxproj @@ -329,7 +329,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#Note: To build uninstaller for app (menu)\n# 0. Delete this script and Installer.app from App's on-disk folder \n# 1. Build Installer\n# 2. Copy into App \"Uninstaller\" folder (& proj if needed)\n# 3. Re-add script, and then build (archive) for deployment\n\n#archive\n# copy in main application \nif [[ $BUILT_PRODUCTS_DIR = *\"ArchiveIntermediates\"* ]]; then\n cp -R -f \"$PROJECT_TEMP_ROOT/UninstalledProducts/macosx/OverSight.app\" \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources\"\n \n#normal build\n# delete and copy in main application \nelse\n\nrm -rf \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/OverSight.app\"\ncp -R -f \"$BUILT_PRODUCTS_DIR/OverSight.app\" \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources\"\n\nfi\n\n\n\n\n"; + shellScript = "#Note: To build uninstaller for app (menu)\n# 0. Delete this script and Installer.app from App's on-disk folder \n# 1. Build Installer\n# 2. Copy into App \"Uninstaller\" folder (& proj if needed)\n# 3. Re-add script, and then build (archive) for deployment\n\n#archive\n# copy in main application \nif [[ $BUILT_PRODUCTS_DIR = *\"ArchiveIntermediates\"* ]]; then\n cp -R -f \"$PROJECT_TEMP_ROOT/UninstalledProducts/macosx/OverSight.app\" \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources\"\n \n#normal build\n# delete and copy in main application \nelse\n\nrm -rf \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/OverSight.app\"\ncp -R -f \"$BUILT_PRODUCTS_DIR/OverSight.app\" \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources\"\n\nfi\n"; }; /* End PBXShellScriptBuildPhase section */