Updating Fabric.

This commit is contained in:
Samuel Clay 2015-10-01 21:16:02 -07:00
parent 035ccdcb88
commit 065e0ad8be
14 changed files with 62 additions and 25 deletions

Binary file not shown.

View file

@ -0,0 +1,31 @@
//
// ANSCompatibility.h
// AnswersKit
//
// Copyright (c) 2015 Crashlytics, Inc. All rights reserved.
//
#pragma once
#if !__has_feature(nullability)
#define nonnull
#define nullable
#define _Nullable
#define _Nonnull
#endif
#ifndef NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN
#endif
#ifndef NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END
#endif
#if __has_feature(objc_generics)
#define ANS_GENERIC_NSARRAY(type) NSArray<type>
#define ANS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary<key_type, object_key>
#else
#define ANS_GENERIC_NSARRAY(type) NSArray
#define ANS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary
#endif

View file

@ -6,7 +6,7 @@
//
#import <Foundation/Foundation.h>
#import "CLSAttributes.h"
#import "ANSCompatibility.h"
NS_ASSUME_NONNULL_BEGIN
@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (void)logSignUpWithMethod:(nullable NSString *)signUpMethodOrNil
success:(nullable NSNumber *)signUpSucceededOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log an Log In event to see users logging into your app in real-time, understand how many
@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (void)logLoginWithMethod:(nullable NSString *)loginMethodOrNil
success:(nullable NSNumber *)loginSucceededOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Share event to see users sharing from your app in real-time, letting you
@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
contentName:(nullable NSString *)contentNameOrNil
contentType:(nullable NSString *)contentTypeOrNil
contentId:(nullable NSString *)contentIdOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log an Invite Event to track how users are inviting other users into
@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase.
*/
+ (void)logInviteWithMethod:(nullable NSString *)inviteMethodOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Purchase event to see your revenue in real-time, understand how many users are making purchases, see which
@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN
itemName:(nullable NSString *)itemNameOrNil
itemType:(nullable NSString *)itemTypeOrNil
itemId:(nullable NSString *)itemIdOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Level Start Event to track where users are in your game.
@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param customAttributesOrNil A dictionary of custom attributes to associate with this level start event.
*/
+ (void)logLevelStart:(nullable NSString *)levelNameOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Level End event to track how users are completing levels in your game.
@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)logLevelEnd:(nullable NSString *)levelNameOrNil
score:(nullable NSNumber *)scoreOrNil
success:(nullable NSNumber *)levelCompletedSuccesfullyOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log an Add to Cart event to see users adding items to a shopping cart in real-time, understand how
@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
itemName:(nullable NSString *)itemNameOrNil
itemType:(nullable NSString *)itemTypeOrNil
itemId:(nullable NSString *)itemIdOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Start Checkout event to see users moving through the purchase funnel in real-time, understand how many
@ -136,7 +136,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)logStartCheckoutWithPrice:(nullable NSDecimalNumber *)totalPriceOrNil
currency:(nullable NSString *)currencyOrNil
itemCount:(nullable NSNumber *)itemCountOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Rating event to see users rating content within your app in real-time and understand what
@ -152,7 +152,7 @@ NS_ASSUME_NONNULL_BEGIN
contentName:(nullable NSString *)contentNameOrNil
contentType:(nullable NSString *)contentTypeOrNil
contentId:(nullable NSString *)contentIdOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Content View event to see users viewing content within your app in real-time and
@ -166,7 +166,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)logContentViewWithName:(nullable NSString *)contentNameOrNil
contentType:(nullable NSString *)contentTypeOrNil
contentId:(nullable NSString *)contentIdOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Search event allows you to see users searching within your app in real-time and understand
@ -176,7 +176,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/
+ (void)logSearchWithQuery:(nullable NSString *)queryOrNil
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
/**
* Log a Custom Event to see user actions that are uniquely important for your app in real-time, to see how often
@ -199,7 +199,7 @@ NS_ASSUME_NONNULL_BEGIN
* engagement.
*/
+ (void)logCustomEventWithName:(NSString *)eventName
customAttributes:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
@end

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.3.1</string>
<string>3.3.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>79</string>
<string>81</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -41,7 +41,7 @@
<key>DTXcode</key>
<string>0700</string>
<key>DTXcodeBuild</key>
<string>7A218</string>
<string>7A220</string>
<key>MinimumOSVersion</key>
<string>6.0</string>
<key>NSHumanReadableCopyright</key>

View file

@ -1,6 +1,7 @@
framework module Crashlytics {
header "Crashlytics.h"
header "Answers.h"
header "ANSCompatibility.h"
header "CLSLogging.h"
header "CLSReport.h"
header "CLSStackFrame.h"

Binary file not shown.

Binary file not shown.

BIN
clients/ios/Crashlytics.framework/uploadDSYM vendored Executable file

Binary file not shown.

Binary file not shown.

View file

@ -2,7 +2,6 @@
// FABAttributes.h
// Fabric
//
// Created by Priyanka Joshi on 3/3/15.
// Copyright (c) 2015 Twitter. All rights reserved.
//
@ -10,10 +9,6 @@
#define FAB_UNAVAILABLE(x) __attribute__((unavailable(x)))
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#if __has_feature(nullability)
#define fab_nullable nullable
#define fab_nonnull nonnull

View file

@ -9,6 +9,16 @@
NS_ASSUME_NONNULL_BEGIN
#if TARGET_OS_IPHONE
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 60000
#error "Fabric's minimum iOS version is 6.0"
#endif
#else
#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1070
#error "Fabric's minimum OS X version is 10.7"
#endif
#endif
/**
* Fabric Base. Coordinates configuration and starts all provided kits.
*/

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.1</string>
<string>1.5.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>25</string>
<string>29</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -41,7 +41,7 @@
<key>DTXcode</key>
<string>0700</string>
<key>DTXcodeBuild</key>
<string>7A218</string>
<string>7A220</string>
<key>MinimumOSVersion</key>
<string>6.0</string>
<key>NSHumanReadableCopyright</key>

Binary file not shown.

BIN
clients/ios/Fabric.framework/uploadDSYM vendored Executable file

Binary file not shown.