diff --git a/MapboxMobileEvents.podspec b/MapboxMobileEvents.podspec index bba7ad61..32cd323a 100644 --- a/MapboxMobileEvents.podspec +++ b/MapboxMobileEvents.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # s.name = 'MapboxMobileEvents' - s.version = "0.9.3" + s.version = "0.9.4" s.summary = "Mapbox Mobile Events" s.description = "Collects usage information to help Mapbox improve its products." diff --git a/MapboxMobileEvents/Info.plist b/MapboxMobileEvents/Info.plist index f241fbb2..19662f41 100644 --- a/MapboxMobileEvents/Info.plist +++ b/MapboxMobileEvents/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.3 + 0.9.4 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/MapboxMobileEvents/MMEEvent.m b/MapboxMobileEvents/MMEEvent.m index 802afef6..54a0ecdf 100644 --- a/MapboxMobileEvents/MMEEvent.m +++ b/MapboxMobileEvents/MMEEvent.m @@ -93,7 +93,11 @@ + (instancetype)crashEventReporting:(NSError *)eventsError error:(NSError **)cre // start with common event data NSMutableDictionary *crashAttributes = MMECommonEventData.commonEventData; crashAttributes[MMEEventKeyEvent] = MMEEventMobileCrash; - crashAttributes[MMEEventKeyBuildType] = (DEBUG ? @"debug" : @"release"); +#if DEBUG + crashAttributes[MMEEventKeyBuildType] = @"debug"; +#else + crashAttributes[MMEEventKeyBuildType] = @"release"; +#endif crashAttributes[MMEEventKeyIsSilentCrash] = @"yes"; crashAttributes[MMEEventSDKIdentifier] = [NSString stringWithFormat:@"%@-%@", MMEEventsManager.sharedManager.userAgentBase, diff --git a/MapboxMobileEvents/MMENamespacedDependencies.h b/MapboxMobileEvents/MMENamespacedDependencies.h index d24be8b9..3d92405d 100644 --- a/MapboxMobileEvents/MMENamespacedDependencies.h +++ b/MapboxMobileEvents/MMENamespacedDependencies.h @@ -801,22 +801,6 @@ #define MMELoggerShareableHTML __NS_SYMBOL(MMELoggerShareableHTML) #endif -#ifndef MMENoError -#define MMENoError __NS_SYMBOL(MMENoError) -#endif - -#ifndef MMEErrorMin -#define MMEErrorMin __NS_SYMBOL(MMEErrorMin) -#endif - -#ifndef MMEErrorException -#define MMEErrorException __NS_SYMBOL(MMEErrorException) -#endif - -#ifndef MMEErrorEventInit -#define MMEErrorEventInit __NS_SYMBOL(MMEErrorEventInit) -#endif - #ifndef kMMEMaxRequestCount #define kMMEMaxRequestCount __NS_SYMBOL(kMMEMaxRequestCount) #endif diff --git a/resources/Info.plist b/resources/Info.plist index 582170f8..76bc3e11 100644 --- a/resources/Info.plist +++ b/resources/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.9.3 + 0.9.4 CFBundleVersion 1 NSHumanReadableCopyright