From c5bc08f63de49e18e4a522eee72a89b8a94070d8 Mon Sep 17 00:00:00 2001 From: Weiran Zhang Date: Wed, 8 May 2013 13:41:16 +0100 Subject: [PATCH] Version 1.2 released to app store. --- Hackers/Hackers-Info.plist | 2 +- Hackers/WZAppDelegate.m | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Hackers/Hackers-Info.plist b/Hackers/Hackers-Info.plist index 27203043..70c9dfc2 100644 --- a/Hackers/Hackers-Info.plist +++ b/Hackers/Hackers-Info.plist @@ -34,7 +34,7 @@ CFBundleSignature ???? CFBundleVersion - 13 + 14 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/Hackers/WZAppDelegate.m b/Hackers/WZAppDelegate.m index 98d8bd50..7a8a8d48 100644 --- a/Hackers/WZAppDelegate.m +++ b/Hackers/WZAppDelegate.m @@ -6,6 +6,7 @@ // Copyright (c) 2012 Weiran Zhang. All rights reserved. // + #import "WZAppDelegate.h" #import @@ -14,16 +15,26 @@ #import "JSSlidingViewController.h" #import "WZTheme.h" -#if NDEBUG +#ifndef DEBUG #import #endif +//#if DEBUG +//#import +//#endif @implementation WZAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { -#if NDEBUG +// // Enable the Spark Inspector +// #if DEBUG +// [SparkInspector enableObservation]; +// NSLog(@"SparkInspector registered."); +// #endif + + #ifndef DEBUG [Crashlytics startWithAPIKey:@"6b3b4eba8698666ed08b19d6091a9728deaabab9"]; -#endif + NSLog(@"Crashlytics registered."); + #endif [WZTheme defaults]; // initilise storyboard with JSSlidingViewController