diff --git a/CAENLabStatus.xcodeproj/project.pbxproj b/CAENLabStatus.xcodeproj/project.pbxproj index 0d70b19..eeaedfe 100644 --- a/CAENLabStatus.xcodeproj/project.pbxproj +++ b/CAENLabStatus.xcodeproj/project.pbxproj @@ -351,7 +351,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; @@ -405,7 +405,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; diff --git a/CAENLabStatus/DZCAppDelegate.m b/CAENLabStatus/DZCAppDelegate.m index b3bf618..34d27c8 100644 --- a/CAENLabStatus/DZCAppDelegate.m +++ b/CAENLabStatus/DZCAppDelegate.m @@ -5,8 +5,12 @@ #import "UIColor+DZCColors.h" #import "AFNetworkActivityIndicatorManager.h" +#import + static const NSTimeInterval DZCAppBackgroundRefreshTimeout = 60.0; +static NSString * const DZCCAENLabsBugSenseAPIKey = @"989bc067"; + @interface DZCAppDelegate () @property (nonatomic, strong) DZCDataController *dataController; @@ -20,6 +24,10 @@ @implementation DZCAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + [BugSenseController sharedControllerWithBugSenseAPIKey:DZCCAENLabsBugSenseAPIKey]; + [BugSenseController setLogMessagesCount:10]; + [BugSenseController setLogMessagesLevel:8]; + [self applyStyles]; UIViewController *rootVC; diff --git a/Podfile b/Podfile index e929044..cef9b2b 100644 --- a/Podfile +++ b/Podfile @@ -1,3 +1,4 @@ platform :ios, "7.0" pod 'AFNetworking' +pod 'BugSense' diff --git a/Podfile.lock b/Podfile.lock index ab12392..404dc37 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,10 +1,13 @@ PODS: - AFNetworking (1.1.0) + - BugSense (3.5.1) DEPENDENCIES: - AFNetworking + - BugSense SPEC CHECKSUMS: AFNetworking: 761a418233d280c1e0580bcb76ff9cb4c3073d17 + BugSense: d6c7be4f7edef7ac0d3867a0aa83bc339587a9b2 COCOAPODS: 0.27.1