From 8008c81d8cc7b4cb82198155e96d893a7b4ef606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=A9=E8=BE=BA=E7=BE=85=E3=82=A8=E3=83=AB=E3=83=8D?= =?UTF-8?q?=E3=82=B9=E3=83=88?= Date: Thu, 14 Nov 2013 16:31:52 +0900 Subject: [PATCH] Update Demo --- Demo/ConsoleDemo.xcodeproj/project.pbxproj | 1156 +++++++------------- Demo/ConsoleDemo/AppDelegate.h | 16 +- Demo/ConsoleDemo/AppDelegate.m | 20 +- Demo/ConsoleDemo/ViewController.h | 16 +- Demo/ConsoleDemo/ViewController.m | 16 +- Demo/ConsoleDemo/main.m | 16 +- Demo/Podfile | 4 +- Demo/Podfile.lock | 15 +- Source/PTEConsoleLogger.h | 2 +- Source/PTEConsoleLogger.m | 2 +- 10 files changed, 458 insertions(+), 805 deletions(-) diff --git a/Demo/ConsoleDemo.xcodeproj/project.pbxproj b/Demo/ConsoleDemo.xcodeproj/project.pbxproj index 16e2e00..4988980 100644 --- a/Demo/ConsoleDemo.xcodeproj/project.pbxproj +++ b/Demo/ConsoleDemo.xcodeproj/project.pbxproj @@ -1,788 +1,368 @@ - - - - - archiveVersion - 1 - classes - - objectVersion - 46 - objects - - 12B78BCD8FEC46FC9EE5EDAC - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Copy Pods Resources - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Pods-resources.sh" - - showEnvVarsInLog - 0 - - 484D70DE230E4C7EA6E56506 - - fileRef - A00498F4060049EEA20EE506 - isa - PBXBuildFile - - 629388B2E4364AB29B64B707 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Check Pods Manifest.lock - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null -if [[ $? != 0 ]] ; then - cat << EOM -error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. -EOM - exit 1 -fi - - showEnvVarsInLog - 0 - - 7F75E4DA66FA441AB0A798CD - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods.xcconfig - path - Pods/Pods.xcconfig - sourceTree - <group> - - A00498F4060049EEA20EE506 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libPods.a - sourceTree - BUILT_PRODUCTS_DIR - - E57766CC18334DF6009F3276 - - children - - E57766DE18334DF6009F3276 - E57766D718334DF6009F3276 - E57766D618334DF6009F3276 - 7F75E4DA66FA441AB0A798CD - - isa - PBXGroup - sourceTree - <group> - - E57766CD18334DF6009F3276 - - attributes - - LastUpgradeCheck - 0500 - ORGANIZATIONNAME - PTEz - - buildConfigurationList - E57766D018334DF6009F3276 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - Base - - mainGroup - E57766CC18334DF6009F3276 - productRefGroup - E57766D618334DF6009F3276 - projectDirPath - - projectReferences - - projectRoot - - targets - - E57766D418334DF6009F3276 - - - E57766D018334DF6009F3276 - - buildConfigurations - - E577670818334DF7009F3276 - E577670918334DF7009F3276 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - E57766D118334DF6009F3276 - - buildActionMask - 2147483647 - files - - E57766F218334DF6009F3276 - E57766E918334DF6009F3276 - E57766E518334DF6009F3276 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - E57766D218334DF6009F3276 - - buildActionMask - 2147483647 - files - - E57766DB18334DF6009F3276 - E57766DD18334DF6009F3276 - E57766D918334DF6009F3276 - 484D70DE230E4C7EA6E56506 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - E57766D318334DF6009F3276 - - buildActionMask - 2147483647 - files - - E57766F418334DF6009F3276 - E57766EC18334DF6009F3276 - E57766E318334DF6009F3276 - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - E57766D418334DF6009F3276 - - buildConfigurationList - E577670A18334DF7009F3276 - buildPhases - - 629388B2E4364AB29B64B707 - E57766D118334DF6009F3276 - E57766D218334DF6009F3276 - E57766D318334DF6009F3276 - 12B78BCD8FEC46FC9EE5EDAC - - buildRules - - dependencies - - isa - PBXNativeTarget - name - ConsoleDemo - productName - ConsoleDemo - productReference - E57766D518334DF6009F3276 - productType - com.apple.product-type.application - - E57766D518334DF6009F3276 - - explicitFileType - wrapper.application - includeInIndex - 0 - isa - PBXFileReference - path - ConsoleDemo.app - sourceTree - BUILT_PRODUCTS_DIR - - E57766D618334DF6009F3276 - - children - - E57766D518334DF6009F3276 - - isa - PBXGroup - name - Products - sourceTree - <group> - - E57766D718334DF6009F3276 - - children - - E57766D818334DF6009F3276 - E57766DA18334DF6009F3276 - E57766DC18334DF6009F3276 - E57766FA18334DF7009F3276 - A00498F4060049EEA20EE506 - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - E57766D818334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - System/Library/Frameworks/Foundation.framework - sourceTree - SDKROOT - - E57766D918334DF6009F3276 - - fileRef - E57766D818334DF6009F3276 - isa - PBXBuildFile - - E57766DA18334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - CoreGraphics.framework - path - System/Library/Frameworks/CoreGraphics.framework - sourceTree - SDKROOT - - E57766DB18334DF6009F3276 - - fileRef - E57766DA18334DF6009F3276 - isa - PBXBuildFile - - E57766DC18334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - UIKit.framework - path - System/Library/Frameworks/UIKit.framework - sourceTree - SDKROOT - - E57766DD18334DF6009F3276 - - fileRef - E57766DC18334DF6009F3276 - isa - PBXBuildFile - - E57766DE18334DF6009F3276 - - children - - E57766E718334DF6009F3276 - E57766E818334DF6009F3276 - E57766EA18334DF6009F3276 - E57766F018334DF6009F3276 - E57766F118334DF6009F3276 - E57766F318334DF6009F3276 - E57766DF18334DF6009F3276 - - isa - PBXGroup - path - ConsoleDemo - sourceTree - <group> - - E57766DF18334DF6009F3276 - - children - - E57766E018334DF6009F3276 - E57766E118334DF6009F3276 - E57766E418334DF6009F3276 - E57766E618334DF6009F3276 - - isa - PBXGroup - name - Supporting Files - sourceTree - <group> - - E57766E018334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - ConsoleDemo-Info.plist - sourceTree - <group> - - E57766E118334DF6009F3276 - - children - - E57766E218334DF6009F3276 - - isa - PBXVariantGroup - name - InfoPlist.strings - sourceTree - <group> - - E57766E218334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - text.plist.strings - name - en - path - en.lproj/InfoPlist.strings - sourceTree - <group> - - E57766E318334DF6009F3276 - - fileRef - E57766E118334DF6009F3276 - isa - PBXBuildFile - - E57766E418334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - main.m - sourceTree - <group> - - E57766E518334DF6009F3276 - - fileRef - E57766E418334DF6009F3276 - isa - PBXBuildFile - - E57766E618334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - ConsoleDemo-Prefix.pch - sourceTree - <group> - - E57766E718334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - AppDelegate.h - sourceTree - <group> - - E57766E818334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - AppDelegate.m - sourceTree - <group> - - E57766E918334DF6009F3276 - - fileRef - E57766E818334DF6009F3276 - isa - PBXBuildFile - - E57766EA18334DF6009F3276 - - children - - E577671018334E38009F3276 - - isa - PBXVariantGroup - name - Main.storyboard - sourceTree - <group> - - E57766EC18334DF6009F3276 - - fileRef - E57766EA18334DF6009F3276 - isa - PBXBuildFile - - E57766F018334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - ViewController.h - sourceTree - <group> - - E57766F118334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - ViewController.m - sourceTree - <group> - - E57766F218334DF6009F3276 - - fileRef - E57766F118334DF6009F3276 - isa - PBXBuildFile - - E57766F318334DF6009F3276 - - isa - PBXFileReference - lastKnownFileType - folder.assetcatalog - path - Images.xcassets - sourceTree - <group> - - E57766F418334DF6009F3276 - - fileRef - E57766F318334DF6009F3276 - isa - PBXBuildFile - - E57766FA18334DF7009F3276 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - XCTest.framework - path - Library/Frameworks/XCTest.framework - sourceTree - DEVELOPER_DIR - - E577670818334DF7009F3276 - - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - ARCHS - $(ARCHS_STANDARD) - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - NO - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - ONLY_ACTIVE_ARCH - YES - SDKROOT - iphoneos - TARGETED_DEVICE_FAMILY - 1,2 - - isa - XCBuildConfiguration - name - Debug - - E577670918334DF7009F3276 - - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - ARCHS - $(ARCHS_STANDARD) - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - YES - ENABLE_NS_ASSERTIONS - NO - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - SDKROOT - iphoneos - TARGETED_DEVICE_FAMILY - 1,2 - VALIDATE_PRODUCT - YES - - isa - XCBuildConfiguration - name - Release - - E577670A18334DF7009F3276 - - buildConfigurations - - E577670B18334DF7009F3276 - E577670C18334DF7009F3276 - - defaultConfigurationIsVisible - 0 - isa - XCConfigurationList - - E577670B18334DF7009F3276 - - baseConfigurationReference - 7F75E4DA66FA441AB0A798CD - buildSettings - - ASSETCATALOG_COMPILER_APPICON_NAME - AppIcon - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME - LaunchImage - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - ConsoleDemo/ConsoleDemo-Prefix.pch - INFOPLIST_FILE - ConsoleDemo/ConsoleDemo-Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 5.0 - PRODUCT_NAME - $(TARGET_NAME) - WRAPPER_EXTENSION - app - - isa - XCBuildConfiguration - name - Debug - - E577670C18334DF7009F3276 - - baseConfigurationReference - 7F75E4DA66FA441AB0A798CD - buildSettings - - ASSETCATALOG_COMPILER_APPICON_NAME - AppIcon - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME - LaunchImage - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - ConsoleDemo/ConsoleDemo-Prefix.pch - INFOPLIST_FILE - ConsoleDemo/ConsoleDemo-Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 5.0 - PRODUCT_NAME - $(TARGET_NAME) - WRAPPER_EXTENSION - app - - isa - XCBuildConfiguration - name - Release - - E577671018334E38009F3276 - - isa - PBXFileReference - lastKnownFileType - file.storyboard - name - en - path - en.lproj/Main.storyboard - sourceTree - <group> - - - rootObject - E57766CD18334DF6009F3276 - - +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 484D70DE230E4C7EA6E56506 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A00498F4060049EEA20EE506 /* libPods.a */; }; + E57766D918334DF6009F3276 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E57766D818334DF6009F3276 /* Foundation.framework */; }; + E57766DB18334DF6009F3276 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E57766DA18334DF6009F3276 /* CoreGraphics.framework */; }; + E57766DD18334DF6009F3276 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E57766DC18334DF6009F3276 /* UIKit.framework */; }; + E57766E318334DF6009F3276 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E57766E118334DF6009F3276 /* InfoPlist.strings */; }; + E57766E518334DF6009F3276 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E57766E418334DF6009F3276 /* main.m */; }; + E57766E918334DF6009F3276 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E57766E818334DF6009F3276 /* AppDelegate.m */; }; + E57766EC18334DF6009F3276 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E57766EA18334DF6009F3276 /* Main.storyboard */; }; + E57766F218334DF6009F3276 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E57766F118334DF6009F3276 /* ViewController.m */; }; + E57766F418334DF6009F3276 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E57766F318334DF6009F3276 /* Images.xcassets */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 7F75E4DA66FA441AB0A798CD /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = ""; }; + A00498F4060049EEA20EE506 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; + E57766D518334DF6009F3276 /* ConsoleDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ConsoleDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E57766D818334DF6009F3276 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + E57766DA18334DF6009F3276 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + E57766DC18334DF6009F3276 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + E57766E018334DF6009F3276 /* ConsoleDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ConsoleDemo-Info.plist"; sourceTree = ""; }; + E57766E218334DF6009F3276 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + E57766E418334DF6009F3276 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + E57766E618334DF6009F3276 /* ConsoleDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ConsoleDemo-Prefix.pch"; sourceTree = ""; }; + E57766E718334DF6009F3276 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + E57766E818334DF6009F3276 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + E57766F018334DF6009F3276 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + E57766F118334DF6009F3276 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + E57766F318334DF6009F3276 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + E57766FA18334DF7009F3276 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + E577671018334E38009F3276 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/Main.storyboard; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E57766D218334DF6009F3276 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E57766DB18334DF6009F3276 /* CoreGraphics.framework in Frameworks */, + E57766DD18334DF6009F3276 /* UIKit.framework in Frameworks */, + E57766D918334DF6009F3276 /* Foundation.framework in Frameworks */, + 484D70DE230E4C7EA6E56506 /* libPods.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E57766CC18334DF6009F3276 = { + isa = PBXGroup; + children = ( + E57766DE18334DF6009F3276 /* ConsoleDemo */, + E57766D718334DF6009F3276 /* Frameworks */, + E57766D618334DF6009F3276 /* Products */, + 7F75E4DA66FA441AB0A798CD /* Pods.xcconfig */, + ); + sourceTree = ""; + }; + E57766D618334DF6009F3276 /* Products */ = { + isa = PBXGroup; + children = ( + E57766D518334DF6009F3276 /* ConsoleDemo.app */, + ); + name = Products; + sourceTree = ""; + }; + E57766D718334DF6009F3276 /* Frameworks */ = { + isa = PBXGroup; + children = ( + E57766D818334DF6009F3276 /* Foundation.framework */, + E57766DA18334DF6009F3276 /* CoreGraphics.framework */, + E57766DC18334DF6009F3276 /* UIKit.framework */, + E57766FA18334DF7009F3276 /* XCTest.framework */, + A00498F4060049EEA20EE506 /* libPods.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + E57766DE18334DF6009F3276 /* ConsoleDemo */ = { + isa = PBXGroup; + children = ( + E57766E718334DF6009F3276 /* AppDelegate.h */, + E57766E818334DF6009F3276 /* AppDelegate.m */, + E57766EA18334DF6009F3276 /* Main.storyboard */, + E57766F018334DF6009F3276 /* ViewController.h */, + E57766F118334DF6009F3276 /* ViewController.m */, + E57766F318334DF6009F3276 /* Images.xcassets */, + E57766DF18334DF6009F3276 /* Supporting Files */, + ); + path = ConsoleDemo; + sourceTree = ""; + }; + E57766DF18334DF6009F3276 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + E57766E018334DF6009F3276 /* ConsoleDemo-Info.plist */, + E57766E118334DF6009F3276 /* InfoPlist.strings */, + E57766E418334DF6009F3276 /* main.m */, + E57766E618334DF6009F3276 /* ConsoleDemo-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E57766D418334DF6009F3276 /* ConsoleDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = E577670A18334DF7009F3276 /* Build configuration list for PBXNativeTarget "ConsoleDemo" */; + buildPhases = ( + 629388B2E4364AB29B64B707 /* Check Pods Manifest.lock */, + E57766D118334DF6009F3276 /* Sources */, + E57766D218334DF6009F3276 /* Frameworks */, + E57766D318334DF6009F3276 /* Resources */, + 12B78BCD8FEC46FC9EE5EDAC /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ConsoleDemo; + productName = ConsoleDemo; + productReference = E57766D518334DF6009F3276 /* ConsoleDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E57766CD18334DF6009F3276 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + ORGANIZATIONNAME = ""; + }; + buildConfigurationList = E57766D018334DF6009F3276 /* Build configuration list for PBXProject "ConsoleDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E57766CC18334DF6009F3276; + productRefGroup = E57766D618334DF6009F3276 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E57766D418334DF6009F3276 /* ConsoleDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E57766D318334DF6009F3276 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E57766F418334DF6009F3276 /* Images.xcassets in Resources */, + E57766EC18334DF6009F3276 /* Main.storyboard in Resources */, + E57766E318334DF6009F3276 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 12B78BCD8FEC46FC9EE5EDAC /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 629388B2E4364AB29B64B707 /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E57766D118334DF6009F3276 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E57766F218334DF6009F3276 /* ViewController.m in Sources */, + E57766E918334DF6009F3276 /* AppDelegate.m in Sources */, + E57766E518334DF6009F3276 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + E57766E118334DF6009F3276 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + E57766E218334DF6009F3276 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + E57766EA18334DF6009F3276 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E577671018334E38009F3276 /* en */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E577670818334DF7009F3276 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + E577670918334DF7009F3276 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E577670B18334DF7009F3276 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7F75E4DA66FA441AB0A798CD /* Pods.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "ConsoleDemo/ConsoleDemo-Prefix.pch"; + INFOPLIST_FILE = "ConsoleDemo/ConsoleDemo-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + E577670C18334DF7009F3276 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7F75E4DA66FA441AB0A798CD /* Pods.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "ConsoleDemo/ConsoleDemo-Prefix.pch"; + INFOPLIST_FILE = "ConsoleDemo/ConsoleDemo-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E57766D018334DF6009F3276 /* Build configuration list for PBXProject "ConsoleDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E577670818334DF7009F3276 /* Debug */, + E577670918334DF7009F3276 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E577670A18334DF7009F3276 /* Build configuration list for PBXNativeTarget "ConsoleDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E577670B18334DF7009F3276 /* Debug */, + E577670C18334DF7009F3276 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E57766CD18334DF6009F3276 /* Project object */; +} diff --git a/Demo/ConsoleDemo/AppDelegate.h b/Demo/ConsoleDemo/AppDelegate.h index 6ba7ea7..4beccfa 100644 --- a/Demo/ConsoleDemo/AppDelegate.h +++ b/Demo/ConsoleDemo/AppDelegate.h @@ -2,8 +2,20 @@ // AppDelegate.h // ConsoleDemo // -// Created by 利辺羅 on 2013/11/13. -// Copyright (c) 2013年 PTEz. All rights reserved. +// Created by Ernesto Rivera on 2013/11/13. +// Copyright (c) 2013. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // #import diff --git a/Demo/ConsoleDemo/AppDelegate.m b/Demo/ConsoleDemo/AppDelegate.m index 86348e0..f32cd95 100644 --- a/Demo/ConsoleDemo/AppDelegate.m +++ b/Demo/ConsoleDemo/AppDelegate.m @@ -2,8 +2,20 @@ // AppDelegate.m // ConsoleDemo // -// Created by 利辺羅 on 2013/11/13. -// Copyright (c) 2013年 PTEz. All rights reserved. +// Created by Ernesto Rivera on 2013/11/13. +// Copyright (c) 2013. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // #import "AppDelegate.h" @@ -15,10 +27,12 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Add the console dashboard +#ifndef MY_PRODUCTION_MACRO + // Add the console dashboard for testing builds [DDLog addLogger:[PTEDashboard sharedDashboard].logger]; DDLogInfo(@"Added console dashboard"); +#endif [self generateRandomLogMessage]; diff --git a/Demo/ConsoleDemo/ViewController.h b/Demo/ConsoleDemo/ViewController.h index 549c18a..fd2b529 100644 --- a/Demo/ConsoleDemo/ViewController.h +++ b/Demo/ConsoleDemo/ViewController.h @@ -2,8 +2,20 @@ // ViewController.h // ConsoleDemo // -// Created by 利辺羅 on 2013/11/13. -// Copyright (c) 2013年 PTEz. All rights reserved. +// Created by Ernesto Rivera on 2013/11/13. +// Copyright (c) 2013. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // #import diff --git a/Demo/ConsoleDemo/ViewController.m b/Demo/ConsoleDemo/ViewController.m index d23318b..9c89664 100644 --- a/Demo/ConsoleDemo/ViewController.m +++ b/Demo/ConsoleDemo/ViewController.m @@ -2,8 +2,20 @@ // ViewController.m // ConsoleDemo // -// Created by 利辺羅 on 2013/11/13. -// Copyright (c) 2013年 PTEz. All rights reserved. +// Created by Ernesto Rivera on 2013/11/13. +// Copyright (c) 2013. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // #import "ViewController.h" diff --git a/Demo/ConsoleDemo/main.m b/Demo/ConsoleDemo/main.m index 33ba13a..7c75622 100644 --- a/Demo/ConsoleDemo/main.m +++ b/Demo/ConsoleDemo/main.m @@ -2,8 +2,20 @@ // main.m // ConsoleDemo // -// Created by 利辺羅 on 2013/11/13. -// Copyright (c) 2013年 PTEz. All rights reserved. +// Created by Ernesto Rivera on 2013/11/13. +// Copyright (c) 2013. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // #import diff --git a/Demo/Podfile b/Demo/Podfile index 4bf79d0..ab74bdb 100644 --- a/Demo/Podfile +++ b/Demo/Podfile @@ -1,10 +1,10 @@ platform :ios, '5.0' -# For regular projects use: +# For regular projects pod 'CocoaLumberjack' #pod 'LumberjackConsole' -# For development: +# For development pod 'NBUCore', :path => '../../NBUBase/NBUCore' pod 'LumberjackConsole', :path => '../' diff --git a/Demo/Podfile.lock b/Demo/Podfile.lock index 3665678..91a89a6 100644 --- a/Demo/Podfile.lock +++ b/Demo/Podfile.lock @@ -7,6 +7,17 @@ PODS: - CocoaLumberjack/Core - LumberjackConsole (1.0.0): - CocoaLumberjack (>= 1.6.3) + - LumberjackConsole/AdjustLevels + - LumberjackConsole/Base + - LumberjackConsole/Base + - NBUCore (>= 2.0.0) + - LumberjackConsole/AdjustLevels (1.0.0): + - CocoaLumberjack (>= 1.6.3) + - LumberjackConsole/Base + - NBUCore (>= 2.0.0) + - LumberjackConsole/Base (1.0.0): + - CocoaLumberjack (>= 1.6.3) + - LumberjackConsole/Base - NBUCore (>= 2.0.0) - NBUCore (2.0.0) @@ -23,7 +34,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: CocoaLumberjack: 0af89e0de15835a499fcc6ee5e0b6d396bc95976 - LumberjackConsole: 9d8622ce6c83eac71a806f18a0441351cf15ff74 - NBUCore: 11a648346e9b1847e477dd9367be857d64bc0457 + LumberjackConsole: 75832319e4dd435d600a533699c805bc94fc3f38 + NBUCore: 66e33f9426cbefb5ca88f3228cfc2dd36eac6e71 COCOAPODS: 0.25.0 diff --git a/Source/PTEConsoleLogger.h b/Source/PTEConsoleLogger.h index 909a33a..469fc71 100644 --- a/Source/PTEConsoleLogger.h +++ b/Source/PTEConsoleLogger.h @@ -3,7 +3,7 @@ // LumberjackConsole // // Created by Ernesto Rivera on 2013/05/23. -// Copyright (c) 2013 PTEz. +// Copyright (c) 2013. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/Source/PTEConsoleLogger.m b/Source/PTEConsoleLogger.m index b5cecb3..23f1194 100644 --- a/Source/PTEConsoleLogger.m +++ b/Source/PTEConsoleLogger.m @@ -3,7 +3,7 @@ // LumberjackConsole // // Created by Ernesto Rivera on 2013/05/23. -// Copyright (c) 2013 PTEz. +// Copyright (c) 2013. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.