diff --git a/Analytics.podspec b/Analytics.podspec index b1e44937b..4648667eb 100644 --- a/Analytics.podspec +++ b/Analytics.podspec @@ -17,5 +17,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '7.0' s.tvos.deployment_target = '9.0' + s.framework = 'Security' + s.source_files = 'Analytics/Classes/**/*' end diff --git a/Analytics/Classes/Crypto/SEGAES256Crypto.h b/Analytics/Classes/Crypto/SEGAES256Crypto.h new file mode 100644 index 000000000..a86652e59 --- /dev/null +++ b/Analytics/Classes/Crypto/SEGAES256Crypto.h @@ -0,0 +1,23 @@ +// +// SEGAES256Crypto.h +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +#import +#import "SEGCrypto.h" + +@interface SEGAES256Crypto : NSObject + +@property (nonatomic, readonly, nonnull) NSString *password; +@property (nonatomic, readonly, nonnull) NSData *salt; +@property (nonatomic, readonly, nonnull) NSData *iv; + +- (instancetype _Nonnull)initWithPassword:(NSString * _Nonnull)password salt:(NSData * _Nonnull)salt iv:(NSData * _Nonnull)iv; +// Convenient shorthand. Will randomly generate salt and iv. +- (instancetype _Nonnull)initWithPassword:(NSString * _Nonnull)password; + ++ (NSData * _Nonnull)randomDataOfLength:(size_t)length; + +@end diff --git a/Analytics/Classes/Crypto/SEGAES256Crypto.m b/Analytics/Classes/Crypto/SEGAES256Crypto.m new file mode 100644 index 000000000..cdbfa7a95 --- /dev/null +++ b/Analytics/Classes/Crypto/SEGAES256Crypto.m @@ -0,0 +1,140 @@ +// +// SEGAES256Crypto.m +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + + +#import +#import +#import "SEGAES256Crypto.h" +#import "SEGUtils.h" + +// Implementation courtesy of http://robnapier.net/aes-commoncrypto + +static NSString * const kRNCryptManagerErrorDomain = @"com.segment.crypto"; + +static const CCAlgorithm kAlgorithm = kCCAlgorithmAES; +static const NSUInteger kAlgorithmKeySize = kCCKeySizeAES256; +static const NSUInteger kAlgorithmBlockSize = kCCBlockSizeAES128; +static const NSUInteger kAlgorithmIVSize = kCCBlockSizeAES128; +static const NSUInteger kPBKDFSaltSize = 8; +static const NSUInteger kPBKDFRounds = 10000; // ~80ms on an iPhone 4 + +@implementation SEGAES256Crypto + +- (instancetype)initWithPassword:(NSString *)password salt:(NSData *)salt iv:(NSData * _Nonnull)iv { + if (self = [super init]) { + _password = password; + _salt = salt; + _iv = iv; + } + return self; +} + +- (instancetype)initWithPassword:(NSString *)password { + NSData *iv = [SEGAES256Crypto randomDataOfLength:kAlgorithmIVSize]; + NSData *salt = [SEGAES256Crypto randomDataOfLength:kPBKDFSaltSize]; + return [self initWithPassword:password salt:salt iv:iv]; +} + +- (NSData *)aesKey { + return [[self class] AESKeyForPassword:self.password salt:self.salt]; +} + +- (NSData *)encrypt:(NSData *)data { + size_t outLength; + NSMutableData *cipherData = [NSMutableData dataWithLength:data.length + kAlgorithmBlockSize]; + + CCCryptorStatus + result = CCCrypt(kCCEncrypt, // operation + kAlgorithm, // Algorithm + kCCOptionPKCS7Padding, // options + self.aesKey.bytes, // key + self.aesKey.length, // keylength + self.iv.bytes,// iv + data.bytes, // dataIn + data.length, // dataInLength, + cipherData.mutableBytes, // dataOut + cipherData.length, // dataOutAvailable + &outLength); // dataOutMoved + + if (result == kCCSuccess) { + cipherData.length = outLength; + } else { + NSError *error = [NSError errorWithDomain:kRNCryptManagerErrorDomain + code:result + userInfo:nil]; + SEGLog(@"Unable to encrypt data", error); + return nil; + } + return cipherData; +} + +- (NSData *)decrypt:(NSData *)data { + size_t outLength; + NSMutableData *decryptedData = [NSMutableData dataWithLength:data.length + kAlgorithmBlockSize]; + + CCCryptorStatus + result = CCCrypt(kCCDecrypt, // operation + kAlgorithm, // Algorithm + kCCOptionPKCS7Padding, // options + self.aesKey.bytes, // key + self.aesKey.length, // keylength + self.iv.bytes,// iv + data.bytes, // dataIn + data.length, // dataInLength, + decryptedData.mutableBytes, // dataOut + decryptedData.length, // dataOutAvailable + &outLength); // dataOutMoved + + if (result == kCCSuccess) { + decryptedData.length = outLength; + } else { + NSError *error = [NSError errorWithDomain:kRNCryptManagerErrorDomain + code:result + userInfo:nil]; + SEGLog(@"Unable to encrypt data", error); + return nil; + } + return decryptedData; +} + ++ (NSData *)randomDataOfLength:(size_t)length { + NSMutableData *data = [NSMutableData dataWithLength:length]; + + int result = SecRandomCopyBytes(kSecRandomDefault, + length, + data.mutableBytes); + if (result != kCCSuccess) { + SEGLog(@"Unable to generate random bytes: %d", result); + } + + return data; +} + +// Replace this with a 10,000 hash calls if you don't have CCKeyDerivationPBKDF ++ (NSData *)AESKeyForPassword:(NSString *)password + salt:(NSData *)salt { + NSMutableData *derivedKey = [NSMutableData dataWithLength:kAlgorithmKeySize]; + + int result = CCKeyDerivationPBKDF(kCCPBKDF2, // algorithm + password.UTF8String, // password + [password lengthOfBytesUsingEncoding:NSUTF8StringEncoding], // passwordLength + salt.bytes, // salt + salt.length, // saltLen + kCCPRFHmacAlgSHA1, // PRF + kPBKDFRounds, // rounds + derivedKey.mutableBytes, // derivedKey + derivedKey.length); // derivedKeyLen + + // Do not log password here + if (result != kCCSuccess) { + SEGLog(@"Unable to create AES key for password: %d", result); + } + + return derivedKey; +} + +@end diff --git a/Analytics/Classes/Crypto/SEGCrypto.h b/Analytics/Classes/Crypto/SEGCrypto.h new file mode 100644 index 000000000..ceaceaa98 --- /dev/null +++ b/Analytics/Classes/Crypto/SEGCrypto.h @@ -0,0 +1,15 @@ +// +// SEGCrypto.h +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +#import + +@protocol SEGCrypto + +- (NSData * _Nullable)encrypt:(NSData * _Nonnull)data; +- (NSData * _Nullable)decrypt:(NSData * _Nonnull)data; + +@end diff --git a/Analytics/Classes/Internal/SEGAnalyticsUtils.h b/Analytics/Classes/Internal/SEGAnalyticsUtils.h index e7d2dd740..0aae375b0 100644 --- a/Analytics/Classes/Internal/SEGAnalyticsUtils.h +++ b/Analytics/Classes/Internal/SEGAnalyticsUtils.h @@ -1,6 +1,5 @@ #import -NSURL *SEGAnalyticsURLForFilename(NSString *filename); NSString *GenerateUUIDString(); // Date Utils diff --git a/Analytics/Classes/Internal/SEGAnalyticsUtils.m b/Analytics/Classes/Internal/SEGAnalyticsUtils.m index 1ed5168cc..a40fc0846 100644 --- a/Analytics/Classes/Internal/SEGAnalyticsUtils.m +++ b/Analytics/Classes/Internal/SEGAnalyticsUtils.m @@ -3,24 +3,6 @@ static BOOL kAnalyticsLoggerShowLogs = NO; -NSURL *SEGAnalyticsURLForFilename(NSString *filename) -{ - NSArray *paths = NSSearchPathForDirectoriesInDomains( - NSApplicationSupportDirectory, NSUserDomainMask, YES); - NSString *supportPath = [paths firstObject]; - if (![[NSFileManager defaultManager] fileExistsAtPath:supportPath - isDirectory:NULL]) { - NSError *error = nil; - if (![[NSFileManager defaultManager] createDirectoryAtPath:supportPath - withIntermediateDirectories:YES - attributes:nil - error:&error]) { - SEGLog(@"error: %@", error.localizedDescription); - } - } - return [[NSURL alloc] initFileURLWithPath:[supportPath stringByAppendingPathComponent:filename]]; -} - NSString *GenerateUUIDString() { CFUUIDRef theUUID = CFUUIDCreate(NULL); diff --git a/Analytics/Classes/Internal/SEGFileStorage.h b/Analytics/Classes/Internal/SEGFileStorage.h new file mode 100644 index 000000000..4a73d0c93 --- /dev/null +++ b/Analytics/Classes/Internal/SEGFileStorage.h @@ -0,0 +1,22 @@ +// +// SEGFileStorage.h +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +#import +#import "SEGStorage.h" + +@interface SEGFileStorage : NSObject + +@property (nonatomic, strong, nullable) id crypto; + +- (instancetype _Nonnull)init; +- (instancetype _Nonnull)initWithFolder:(NSURL * _Nonnull)folderURL crypto:(id _Nullable)crypto; + +- (NSURL * _Nonnull)urlForKey:(NSString * _Nonnull)key; + ++ (NSURL * _Nullable)applicationSupportDirectoryURL; + +@end diff --git a/Analytics/Classes/Internal/SEGFileStorage.m b/Analytics/Classes/Internal/SEGFileStorage.m new file mode 100644 index 000000000..7ea689dc4 --- /dev/null +++ b/Analytics/Classes/Internal/SEGFileStorage.m @@ -0,0 +1,165 @@ +// +// SEGFileStorage.m +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +#import "SEGUtils.h" +#import "SEGFileStorage.h" +#import "SEGCrypto.h" + +@interface SEGFileStorage () + +@property (nonatomic, strong, nonnull) NSURL *folderURL; + +@end + +@implementation SEGFileStorage + +- (instancetype)init { + return [self initWithFolder:[SEGFileStorage applicationSupportDirectoryURL] crypto:nil]; +} + +- (instancetype)initWithFolder:(NSURL *)folderURL crypto:(id)crypto { + if (self = [super init]) { + _folderURL = folderURL; + _crypto = crypto; + [self createDirectoryAtURLIfNeeded:folderURL]; + return self; + } + return nil; +} + +- (void)removeKey:(NSString *)key { + NSURL *url = [self urlForKey:key]; + NSError *error = nil; + if (![[NSFileManager defaultManager] removeItemAtURL:url error:&error]) { + SEGLog(@"Unable to remove key %@ - error removing file at path %@", key, url); + } +} + +- (void)resetAll { + NSError *error = nil; + if (![[NSFileManager defaultManager] removeItemAtURL:self.folderURL error:&error]) { + SEGLog(@"ERROR: Unable to reset file storage. Path cannot be removed - %@", self.folderURL.path); + } + [self createDirectoryAtURLIfNeeded:self.folderURL]; +} + +- (void)setData:(NSData *)data forKey:(NSString *)key { + NSURL *url = [self urlForKey:key]; + if (self.crypto) { + NSData *encryptedData = [self.crypto encrypt:data]; + [encryptedData writeToURL:url atomically:YES]; + } else { + [data writeToURL:url atomically:YES]; + } + + NSError *error = nil; + if (![url setResourceValue:@YES + forKey:NSURLIsExcludedFromBackupKey + error:&error]) { + SEGLog(@"Error excluding %@ from backup %@", [url lastPathComponent], error); + } +} + +- (NSData *)dataForKey:(NSString *)key { + NSURL *url = [self urlForKey:key]; + NSData *data = [NSData dataWithContentsOfURL:url]; + if (!data) { + SEGLog(@"WARNING: No data file for key %@", key); + return nil; + } + if (self.crypto) { + return [self.crypto decrypt:data]; + } + return data; +} + +- (NSDictionary *)dictionaryForKey:(NSString *)key { + return [self plistForKey:key]; +} + +- (void)setDictionary:(NSDictionary *)dictionary forKey:(NSString *)key { + [self setPlist:dictionary forKey:key]; +} + +- (NSArray *)arrayForKey:(NSString *)key { + return [self plistForKey:key]; +} + +- (void)setArray:(NSArray *)array forKey:(NSString *)key { + [self setPlist:array forKey:key]; +} + +- (NSString *)stringForKey:(NSString *)key { + return [self plistForKey:key]; +} + +- (void)setString:(NSString *)string forKey:(NSString *)key { + [self setPlist:string forKey:key]; +} + ++ (NSURL *)applicationSupportDirectoryURL { + NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES); + NSString *supportPath = [paths firstObject]; + return [NSURL fileURLWithPath:supportPath]; +} + +- (NSURL *)urlForKey:(NSString *)key { + return [self.folderURL URLByAppendingPathComponent:key]; +} + +#pragma mark - Helpers + +- (id _Nullable)plistForKey:(NSString *)key { + NSData *data = [self dataForKey:key]; + return data ? [self plistFromData:data] : nil; +} + +- (void)setPlist:(id _Nonnull)plist forKey:(NSString *)key { + NSData *data = [self dataFromPlist:plist]; + if (data) { + [self setData:data forKey:key]; + } +} + +- (NSData * _Nullable)dataFromPlist:(nonnull id)plist { + NSError *error = nil; + NSData *data = [NSPropertyListSerialization dataWithPropertyList:plist + format:NSPropertyListXMLFormat_v1_0 + options:0 + error:&error]; + if (error) { + SEGLog(@"Unable to serialize data from plist object", error, plist); + } + return data; +} + +- (id _Nullable)plistFromData:(NSData * _Nonnull)data { + NSError *error = nil; + id plist = [NSPropertyListSerialization propertyListWithData:data + options:0 + format:nil + error:&error]; + if (error) { + SEGLog(@"Unable to parse plist from data %@", error); + } + return plist; +} + +- (void)createDirectoryAtURLIfNeeded:(NSURL *)url { + if (![[NSFileManager defaultManager] fileExistsAtPath:url.path + isDirectory:NULL]) { + NSError *error = nil; + if (![[NSFileManager defaultManager] createDirectoryAtPath:url.path + withIntermediateDirectories:YES + attributes:nil + error:&error]) { + SEGLog(@"error: %@", error.localizedDescription); + } + } +} + +@end diff --git a/Analytics/Classes/Internal/SEGSegmentIntegration.m b/Analytics/Classes/Internal/SEGSegmentIntegration.m index 6cf2651b9..5fe3a1e74 100644 --- a/Analytics/Classes/Internal/SEGSegmentIntegration.m +++ b/Analytics/Classes/Internal/SEGSegmentIntegration.m @@ -8,6 +8,7 @@ #import "SEGReachability.h" #import "SEGLocation.h" #import "SEGHTTPClient.h" +#import "SEGStorage.h" #if TARGET_OS_IOS #import @@ -25,6 +26,10 @@ NSString *const SEGQueueKey = @"SEGQueue"; NSString *const SEGTraitsKey = @"SEGTraits"; +NSString *const kSEGUserIdFilename = @"segmentio.userId"; +NSString *const kSEGQueueFilename = @"segmentio.queue.plist"; +NSString *const kSEGTraitsFilename = @"segmentio.traits.plist"; + static NSString *GetDeviceModel() { size_t size; @@ -46,6 +51,12 @@ static BOOL GetAdTrackingEnabled() return result; } +@interface SEGAnalytics (Private) + +@property (nonatomic, readonly) id storage; + +@end + @interface SEGSegmentIntegration () @@ -104,9 +115,6 @@ - (id)initWithAnalytics:(SEGAnalytics *)analytics } }]; - [self addSkipBackupAttributeToItemAtPath:self.userIDURL]; - [self addSkipBackupAttributeToItemAtPath:self.traitsURL]; - [self addSkipBackupAttributeToItemAtPath:self.queueURL]; #endif dispatch_sync(dispatch_get_main_queue(), ^{ @@ -298,11 +306,11 @@ - (void)saveUserId:(NSString *)userId { [self dispatchBackground:^{ self.userId = userId; - + #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setValue:userId forKey:SEGUserIdKey]; + [self.analytics.storage setString:userId forKey:SEGUserIdKey]; #else - [self.userId writeToURL:self.userIDURL atomically:YES encoding:NSUTF8StringEncoding error:NULL]; + [self.analytics.storage setString:userId forKey:kSEGUserIdFilename]; #endif }]; } @@ -313,9 +321,9 @@ - (void)addTraits:(NSDictionary *)traits [self.traits addEntriesFromDictionary:traits]; #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setValue:[self.traits copy] forKey:SEGTraitsKey]; + [self.analytics.storage setDictionary:[self.traits copy] forKey:SEGTraitsKey]; #else - [[self.traits copy] writeToURL:self.traitsURL atomically:YES]; + [self.analytics.storage setDictionary:[self.traits copy] forKey:kSEGTraitsFilename]; #endif }]; } @@ -511,15 +519,14 @@ - (void)flushQueueByLength - (void)reset { [self dispatchBackgroundAndWait:^{ - [[NSUserDefaults standardUserDefaults] setValue:nil forKey:SEGUserIdKey]; - + [self.analytics.storage removeKey:SEGUserIdKey]; #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setValue:@[] forKey:SEGQueueKey]; - [[NSUserDefaults standardUserDefaults] setValue:@{} forKey:SEGTraitsKey]; + [self.analytics.storage removeKey:SEGTraitsKey]; + [self.analytics.storage removeKey:SEGQueueKey]; #else - [[NSFileManager defaultManager] removeItemAtURL:self.userIDURL error:NULL]; - [[NSFileManager defaultManager] removeItemAtURL:self.traitsURL error:NULL]; - [[NSFileManager defaultManager] removeItemAtURL:self.queueURL error:NULL]; + [self.analytics.storage removeKey:kSEGUserIdFilename]; + [self.analytics.storage removeKey:kSEGTraitsFilename]; + [self.analytics.storage removeKey:kSEGQueueFilename]; #endif self.userId = nil; @@ -530,24 +537,6 @@ - (void)reset }]; } -- (void)addSkipBackupAttributeToItemAtPath:(NSURL *)url -{ - BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:[url path]]; - if (!exists) { - return; - } - - NSError *error = nil; - BOOL success = [url setResourceValue:[NSNumber numberWithBool:YES] - forKey:NSURLIsExcludedFromBackupKey - error:&error]; - if (!success) { - SEGLog(@"Error excluding %@ from backup %@", [url lastPathComponent], error); - } - return; -} - - - (void)notifyForName:(NSString *)name userInfo:(id)userInfo { dispatch_async(dispatch_get_main_queue(), ^{ @@ -603,9 +592,9 @@ - (NSMutableArray *)queue { if (!_queue) { #if TARGET_OS_TV - _queue = [[[NSUserDefaults standardUserDefaults] objectForKey:SEGQueueKey] mutableCopy] ?: [[NSMutableArray alloc] init]; + _queue = [[self.analytics.storage arrayForKey:SEGQueueKey] ?: @[] mutableCopy]; #else - _queue = [NSMutableArray arrayWithContentsOfURL:self.queueURL] ?: [[NSMutableArray alloc] init]; + _queue = [[self.analytics.storage arrayForKey:kSEGQueueFilename] ?: @[] mutableCopy]; #endif } @@ -616,9 +605,9 @@ - (NSMutableDictionary *)traits { if (!_traits) { #if TARGET_OS_TV - _traits = [[[NSUserDefaults standardUserDefaults] objectForKey:SEGTraitsKey] mutableCopy] ?: [[NSMutableDictionary alloc] init]; + _traits = [[self.analytics.storage dictionaryForKey:SEGTraitsKey] ?: @{} mutableCopy]; #else - _traits = [NSMutableDictionary dictionaryWithContentsOfURL:self.traitsURL] ?: [[NSMutableDictionary alloc] init]; + _traits = [[self.analytics.storage dictionaryForKey:kSEGTraitsFilename] ?: @{} mutableCopy]; #endif } @@ -630,32 +619,17 @@ - (NSUInteger)maxBatchSize return 100; } -- (NSURL *)userIDURL -{ - return SEGAnalyticsURLForFilename(@"segmentio.userId"); -} - -- (NSURL *)queueURL -{ - return SEGAnalyticsURLForFilename(@"segmentio.queue.plist"); -} - -- (NSURL *)traitsURL -{ - return SEGAnalyticsURLForFilename(@"segmentio.traits.plist"); -} - - (NSString *)getUserId { - return [[NSUserDefaults standardUserDefaults] valueForKey:SEGUserIdKey] ?: [[NSString alloc] initWithContentsOfURL:self.userIDURL encoding:NSUTF8StringEncoding error:NULL]; + return [[NSUserDefaults standardUserDefaults] valueForKey:SEGUserIdKey] ?: [self.analytics.storage stringForKey:kSEGUserIdFilename]; } - (void)persistQueue { #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setValue:[self.queue copy] forKey:SEGQueueKey]; + [self.analytics.storage setArray:[self.queue copy] forKey:SEGQueueKey]; #else - [[self.queue copy] writeToURL:[self queueURL] atomically:YES]; + [self.analytics.storage setArray:[self.queue copy] forKey:kSEGQueueFilename]; #endif } diff --git a/Analytics/Classes/Internal/SEGStorage.h b/Analytics/Classes/Internal/SEGStorage.h new file mode 100644 index 000000000..e85ecf3da --- /dev/null +++ b/Analytics/Classes/Internal/SEGStorage.h @@ -0,0 +1,32 @@ +// +// SEGStorage.h +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +#import +#import "SEGCrypto.h" + +@protocol SEGStorage + +@property (nonatomic, strong, nullable) id crypto; + +- (void)removeKey:(NSString *_Nonnull)key; +- (void)resetAll; + +- (void)setData:(NSData * _Nonnull)data forKey:(NSString * _Nonnull)key; +- (NSData * _Nullable)dataForKey:(NSString * _Nonnull)key; + +- (void)setDictionary:(NSDictionary * _Nonnull)dictionary forKey:(NSString * _Nonnull)key; +- (NSDictionary * _Nullable)dictionaryForKey:(NSString * _Nonnull)key; + +- (void)setArray:(NSArray * _Nonnull)array forKey:(NSString * _Nonnull)key; +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key; + +- (void)setString:(NSString * _Nonnull)string forKey:(NSString * _Nonnull)key; +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key; + +// Number and Booleans are intentionally omitted at the moment because they are not needed + +@end diff --git a/Analytics/Classes/Internal/SEGUserDefaultsStorage.h b/Analytics/Classes/Internal/SEGUserDefaultsStorage.h new file mode 100644 index 000000000..43df87e00 --- /dev/null +++ b/Analytics/Classes/Internal/SEGUserDefaultsStorage.h @@ -0,0 +1,20 @@ +// +// SEGUserDefaultsStorage.h +// Analytics +// +// Created by Tony Xiao on 8/24/16. +// Copyright © 2016 Segment. All rights reserved. +// + +#import +#import "SEGStorage.h" + +@interface SEGUserDefaultsStorage : NSObject + +@property (nonatomic, strong, nullable) id crypto; +@property (nonnull, nonatomic, readonly) NSUserDefaults *defaults; +@property (nullable, nonatomic, readonly) NSString *namespacePrefix; + +- (instancetype _Nonnull)initWithDefaults:(NSUserDefaults * _Nonnull)defaults namespacePrefix:(NSString *_Nullable)namespacePrefix crypto:(id _Nullable)crypto; + +@end diff --git a/Analytics/Classes/Internal/SEGUserDefaultsStorage.m b/Analytics/Classes/Internal/SEGUserDefaultsStorage.m new file mode 100644 index 000000000..51babb68a --- /dev/null +++ b/Analytics/Classes/Internal/SEGUserDefaultsStorage.m @@ -0,0 +1,140 @@ +// +// SEGUserDefaultsStorage.m +// Analytics +// +// Created by Tony Xiao on 8/24/16. +// Copyright © 2016 Segment. All rights reserved. +// + +#import "SEGUtils.h" +#import "SEGUserDefaultsStorage.h" +#import "SEGCrypto.h" + +@implementation SEGUserDefaultsStorage + +- (instancetype)initWithDefaults:(NSUserDefaults *)defaults namespacePrefix:(NSString *)namespacePrefix crypto:(id)crypto { + if (self = [super init]) { + _defaults = defaults; + _namespacePrefix = namespacePrefix; + _crypto = crypto; + } + return self; +} + +- (void)removeKey:(NSString *)key { + [self.defaults removeObjectForKey:[self namespacedKey:key]]; +} + +- (void)resetAll { + // Courtesy of http://stackoverflow.com/questions/6358737/nsuserdefaults-reset + if (!self.namespacePrefix) { + NSString *domainName = [[NSBundle mainBundle] bundleIdentifier]; + if (domainName) { + [self.defaults removePersistentDomainForName:domainName]; + return; + } + } + for (NSString *key in self.defaults.dictionaryRepresentation.allKeys) { + if (!self.namespacePrefix || [key hasPrefix:self.namespacePrefix]) { + [self.defaults removeObjectForKey:key]; + } + } + [self.defaults synchronize]; +} + +- (void)setData:(NSData *)data forKey:(NSString *)key { + key = [self namespacedKey:key]; + if (!self.crypto) { + [self.defaults setObject:data forKey:key]; + return; + } + NSData *encryptedData = [self.crypto encrypt:data]; + [self.defaults setObject:encryptedData forKey:key]; +} + +- (NSData *)dataForKey:(NSString *)key { + key = [self namespacedKey:key]; + if (!self.crypto) { + return [self.defaults objectForKey:key]; + } + NSData *data = [self.defaults objectForKey:key]; + if (!data) { + SEGLog(@"WARNING: No data file for key %@", key); + return nil; + } + return [self.crypto decrypt:data]; +} + +- (NSDictionary *)dictionaryForKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + return [self.defaults dictionaryForKey:key]; + } + return [self plistForKey:key]; +} + +- (void)setDictionary:(NSDictionary *)dictionary forKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + [self.defaults setObject:dictionary forKey:key]; + return; + } + [self setPlist:dictionary forKey:key]; +} + +- (NSArray *)arrayForKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + return [self.defaults arrayForKey:key]; + } + return [self plistForKey:key]; +} + +- (void)setArray:(NSArray *)array forKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + [self.defaults setObject:array forKey:key]; + return; + } + [self setPlist:array forKey:key]; +} + +- (NSString *)stringForKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + return [self.defaults stringForKey:key]; + } + return [self plistForKey:key]; +} + +- (void)setString:(NSString *)string forKey:(NSString *)key { + if (!self.crypto) { + key = [self namespacedKey:key]; + [self.defaults setObject:string forKey:key]; + return; + } + [self setPlist:string forKey:key]; +} + +#pragma mark - Helpers + +- (id _Nullable)plistForKey:(NSString *)key { + NSData *data = [self dataForKey:key]; + return data ? [SEGUtils plistFromData:data] : nil; +} + +- (void)setPlist:(id _Nonnull)plist forKey:(NSString *)key { + NSData *data = [SEGUtils dataFromPlist:plist]; + if (data) { + [self setData:data forKey:key]; + } +} + +- (NSString *)namespacedKey:(NSString *)key { + if (self.namespacePrefix) { + return [NSString stringWithFormat:@"%@.%@", self.namespacePrefix, key]; + } + return key; +} + +@end diff --git a/Analytics/Classes/Internal/SEGUtils.h b/Analytics/Classes/Internal/SEGUtils.h new file mode 100644 index 000000000..83b1f263b --- /dev/null +++ b/Analytics/Classes/Internal/SEGUtils.h @@ -0,0 +1,14 @@ +// +// SEGUtils.h +// +// + +#import +#import "SEGAnalyticsUtils.h" + +@interface SEGUtils : NSObject + ++ (NSData * _Nullable)dataFromPlist:(nonnull id)plist; ++ (id _Nullable)plistFromData:(NSData * _Nonnull)data; + +@end diff --git a/Analytics/Classes/Internal/SEGUtils.m b/Analytics/Classes/Internal/SEGUtils.m new file mode 100644 index 000000000..d19107749 --- /dev/null +++ b/Analytics/Classes/Internal/SEGUtils.m @@ -0,0 +1,34 @@ +// +// SEGUtils.m +// +// + +#import "SEGUtils.h" + +@implementation SEGUtils + ++ (NSData * _Nullable)dataFromPlist:(nonnull id)plist { + NSError *error = nil; + NSData *data = [NSPropertyListSerialization dataWithPropertyList:plist + format:NSPropertyListXMLFormat_v1_0 + options:0 + error:&error]; + if (error) { + SEGLog(@"Unable to serialize data from plist object", error, plist); + } + return data; +} + ++ (id _Nullable)plistFromData:(NSData * _Nonnull)data { + NSError *error = nil; + id plist = [NSPropertyListSerialization propertyListWithData:data + options:0 + format:nil + error:&error]; + if (error) { + SEGLog(@"Unable to parse plist from data %@", error); + } + return plist; +} + +@end diff --git a/Analytics/Classes/SEGAnalytics.h b/Analytics/Classes/SEGAnalytics.h index e9fce0396..88bd76fd5 100644 --- a/Analytics/Classes/SEGAnalytics.h +++ b/Analytics/Classes/SEGAnalytics.h @@ -1,5 +1,6 @@ #import #import "SEGIntegrationFactory.h" +#import "SEGCrypto.h" /** * NSNotification name, that is posted after integrations are loaded. @@ -80,6 +81,11 @@ typedef NSMutableURLRequest * (^SEGRequestFactory)(NSURL *); */ @property (nonatomic, strong) SEGRequestFactory requestFactory; +/** + * Set a custom crypto + */ +@property (nonatomic, strong) id crypto; + /** * Register a factory that can be used to create an integration. */ @@ -296,6 +302,7 @@ typedef NSMutableURLRequest * (^SEGRequestFactory)(NSURL *); /** Returns the configuration used to create the analytics client. */ - (SEGAnalyticsConfiguration *)configuration; + @end diff --git a/Analytics/Classes/SEGAnalytics.m b/Analytics/Classes/SEGAnalytics.m index 301d36808..9a0df10a4 100644 --- a/Analytics/Classes/SEGAnalytics.m +++ b/Analytics/Classes/SEGAnalytics.m @@ -7,12 +7,15 @@ #import "UIViewController+SEGScreen.h" #import "SEGStoreKitTracker.h" #import "SEGHTTPClient.h" +#import "SEGStorage.h" +#import "SEGFileStorage.h" +#import "SEGUserDefaultsStorage.h" #import static SEGAnalytics *__sharedInstance = nil; NSString *SEGAnalyticsIntegrationDidStart = @"io.segment.analytics.integration.did.start"; NSString *const SEGAnonymousIdKey = @"SEGAnonymousId"; - +NSString *const kSEGAnonymousIdFilename = @"segment.anonymousId"; @interface SEGAnalyticsConfiguration () @@ -77,6 +80,7 @@ @interface SEGAnalytics () @property (nonatomic, copy) NSString *cachedAnonymousId; @property (nonatomic, strong) SEGHTTPClient *httpClient; @property (nonatomic, strong) NSURLSessionDataTask *settingsRequest; +@property (nonatomic, strong) id storage; @end @@ -108,9 +112,10 @@ - (instancetype)initWithConfiguration:(SEGAnalyticsConfiguration *)configuration self.configuration = configuration; self.cachedAnonymousId = [self loadOrGenerateAnonymousID:NO]; self.httpClient = [[SEGHTTPClient alloc] initWithRequestFactory:configuration.requestFactory]; - -#if !TARGET_OS_TV - [self addSkipBackupAttributeToItemAtPath:self.anonymousIDURL]; +#if TARGET_OS_TV + self.storage = [[SEGUserDefaultsStorage alloc] initWithDefaults:[NSUserDefaults standardUserDefaults] namespacePrefix:nil crypto:configuration.crypto]; +#else + self.storage = [[SEGFileStorage alloc] initWithFolder:[SEGFileStorage applicationSupportDirectoryURL] crypto:configuration.crypto]; #endif // Update settings on each integration immediately @@ -456,35 +461,12 @@ - (NSString *)getAnonymousId; return self.cachedAnonymousId; } -- (NSURL *)anonymousIDURL -{ - return SEGAnalyticsURLForFilename(@"segment.anonymousId"); -} - -- (void)addSkipBackupAttributeToItemAtPath:(NSURL *)url -{ - BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:[url path]]; - if (!exists) { - return; - } - - NSError *error = nil; - BOOL success = [url setResourceValue:[NSNumber numberWithBool:YES] - forKey:NSURLIsExcludedFromBackupKey - error:&error]; - if (!success) { - SEGLog(@"Error excluding %@ from backup %@", [url lastPathComponent], error); - } - return; -} - - (NSString *)loadOrGenerateAnonymousID:(BOOL)reset { #if TARGET_OS_TV - NSString *anonymousId = [[NSUserDefaults standardUserDefaults] valueForKey:SEGAnonymousIdKey]; + NSString *anonymousId = [self.storage stringForKey:SEGAnonymousIdKey]; #else - NSURL *url = self.anonymousIDURL; - NSString *anonymousId = [[NSString alloc] initWithContentsOfURL:url encoding:NSUTF8StringEncoding error:NULL]; + NSString *anonymousId = [self.storage stringForKey:kSEGAnonymousIdFilename]; #endif if (!anonymousId || reset) { @@ -494,9 +476,9 @@ - (NSString *)loadOrGenerateAnonymousID:(BOOL)reset anonymousId = GenerateUUIDString(); SEGLog(@"New anonymousId: %@", anonymousId); #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setObject:anonymousId forKey:SEGAnonymousIdKey]; + [self.storage setString:anonymousId forKey:SEGAnonymousIdKey]; #else - [anonymousId writeToURL:url atomically:YES encoding:NSUTF8StringEncoding error:NULL]; + [self.storage setString:anonymousId forKey:kSEGAnonymousIdFilename]; #endif } return anonymousId; @@ -506,9 +488,9 @@ - (void)saveAnonymousId:(NSString *)anonymousId { self.cachedAnonymousId = anonymousId; #if TARGET_OS_TV - [[NSUserDefaults standardUserDefaults] setValue:anonymousId forKey:SEGAnonymousIdKey]; + [self.storage setString:anonymousId forKey:SEGAnonymousIdKey]; #else - [self.cachedAnonymousId writeToURL:self.anonymousIDURL atomically:YES encoding:NSUTF8StringEncoding error:NULL]; + [self.storage setString:anonymousId forKey:@"segment.anonymousId"]; #endif } @@ -532,19 +514,18 @@ - (void)disable - (NSDictionary *)cachedSettings { if (!_cachedSettings) - _cachedSettings = [[NSDictionary alloc] initWithContentsOfURL:[self settingsURL]] ?: @{}; + _cachedSettings = [self.storage dictionaryForKey:@"analytics.settings.v2.plist"] ?: @{}; return _cachedSettings; } - (void)setCachedSettings:(NSDictionary *)settings { _cachedSettings = [settings copy]; - NSURL *settingsURL = [self settingsURL]; if (!_cachedSettings) { // [@{} writeToURL:settingsURL atomically:YES]; return; } - [_cachedSettings writeToURL:settingsURL atomically:YES]; + [self.storage setDictionary:_cachedSettings forKey:@"analytics.settings.v2.plist"]; static dispatch_once_t once; dispatch_once(&once, ^{ @@ -728,11 +709,6 @@ - (void)callIntegrationsWithSelector:(SEL)selector arguments:(NSArray *)argument }); } -- (NSURL *)settingsURL -{ - return SEGAnalyticsURLForFilename(@"analytics.settings.v2.plist"); -} - - (NSDictionary *)bundledIntegrations { return [self.registeredIntegrations copy]; diff --git a/Example/Analytics.xcodeproj/project.pbxproj b/Example/Analytics.xcodeproj/project.pbxproj index fc27b1dac..380864e6a 100644 --- a/Example/Analytics.xcodeproj/project.pbxproj +++ b/Example/Analytics.xcodeproj/project.pbxproj @@ -24,6 +24,9 @@ 64E04EDF96525073D7D8D34E /* Pods_Analytics_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E05C973F89287FDE47C6992 /* Pods_Analytics_Tests.framework */; }; 6E7A9E001D3ED0A600CDBE2E /* SEGHTTPClientTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E7A9DFF1D3ED0A600CDBE2E /* SEGHTTPClientTests.m */; }; 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; + EA2E214A1D7520AF00269F70 /* FileStorageTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA2E21441D75209E00269F70 /* FileStorageTest.swift */; }; + EA2E214B1D7520AF00269F70 /* UserDefaultsStorageTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA2E21451D75209E00269F70 /* UserDefaultsStorageTest.swift */; }; + EA2E214C1D7520AF00269F70 /* CryptoTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA2E21461D75209E00269F70 /* CryptoTest.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -66,6 +69,10 @@ 9758DD8BB1764DFFD7D77856 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; BAD32EE64997FAA302C3B9C9 /* Pods_Analytics_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Analytics_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E0161DAF0DE8CFA94AFA1B0D /* Pods-Analytics_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Analytics_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Analytics_Example/Pods-Analytics_Example.release.xcconfig"; sourceTree = ""; }; + EA2E21391D751D8D00269F70 /* Analytics_Tests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Analytics_Tests-Bridging-Header.h"; sourceTree = ""; }; + EA2E21441D75209E00269F70 /* FileStorageTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FileStorageTest.swift; sourceTree = ""; }; + EA2E21451D75209E00269F70 /* UserDefaultsStorageTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserDefaultsStorageTest.swift; sourceTree = ""; }; + EA2E21461D75209E00269F70 /* CryptoTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CryptoTest.swift; sourceTree = ""; }; ED7335138BFCEF6312C62A95 /* Analytics.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Analytics.podspec; path = ../Analytics.podspec; sourceTree = ""; }; /* End PBXFileReference section */ @@ -169,9 +176,13 @@ 6003F5B5195388D20070C39A /* Tests */ = { isa = PBXGroup; children = ( + EA2E21441D75209E00269F70 /* FileStorageTest.swift */, + EA2E21451D75209E00269F70 /* UserDefaultsStorageTest.swift */, + EA2E21461D75209E00269F70 /* CryptoTest.swift */, 6003F5BB195388D20070C39A /* Tests.m */, 6E7A9DFF1D3ED0A600CDBE2E /* SEGHTTPClientTests.m */, 6003F5B6195388D20070C39A /* Supporting Files */, + EA2E21391D751D8D00269F70 /* Analytics_Tests-Bridging-Header.h */, ); path = Tests; sourceTree = ""; @@ -247,6 +258,7 @@ isa = PBXProject; attributes = { CLASSPREFIX = SEG; + LastSwiftUpdateCheck = 0730; LastUpgradeCheck = 0720; ORGANIZATIONNAME = "Prateek Srivastava"; TargetAttributes = { @@ -403,7 +415,10 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + EA2E214C1D7520AF00269F70 /* CryptoTest.swift in Sources */, + EA2E214B1D7520AF00269F70 /* UserDefaultsStorageTest.swift in Sources */, 6E7A9E001D3ED0A600CDBE2E /* SEGHTTPClientTests.m in Sources */, + EA2E214A1D7520AF00269F70 /* FileStorageTest.swift in Sources */, 6003F5BC195388D20070C39A /* Tests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -517,12 +532,15 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CLANG_ENABLE_MODULES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Analytics/Analytics-Prefix.pch"; INFOPLIST_FILE = "Analytics/Analytics-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; WRAPPER_EXTENSION = app; }; name = Debug; @@ -533,9 +551,11 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CLANG_ENABLE_MODULES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Analytics/Analytics-Prefix.pch"; INFOPLIST_FILE = "Analytics/Analytics-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -548,6 +568,7 @@ baseConfigurationReference = 45CF19013EEE877E48F7228F /* Pods-Analytics_Tests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ENABLE_MODULES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -560,8 +581,11 @@ "$(inherited)", ); INFOPLIST_FILE = "Tests/Tests-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Tests/Analytics_Tests-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Analytics_Example.app/Analytics_Example"; WRAPPER_EXTENSION = xctest; }; @@ -572,6 +596,7 @@ baseConfigurationReference = 50D64207C7C0360E54185351 /* Pods-Analytics_Tests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ENABLE_MODULES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -580,8 +605,10 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; INFOPLIST_FILE = "Tests/Tests-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Tests/Analytics_Tests-Bridging-Header.h"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Analytics_Example.app/Analytics_Example"; WRAPPER_EXTENSION = xctest; }; diff --git a/Example/Podfile b/Example/Podfile index 2f62ac69a..546b00ef8 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -4,10 +4,14 @@ target 'Analytics_Example' do pod 'Analytics', :path => '../' target 'Analytics_Tests' do + use_frameworks! inherit! :search_paths pod 'Specta' pod 'Expecta' pod 'Nocilla' + pod 'Quick' # runner lib + pod 'Nimble' # Matcher lib + end end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 9306e337f..6e4821ccf 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,25 +1,31 @@ PODS: - Analytics (3.3.0) - Expecta (1.0.5) + - Nimble (4.1.0) - Nocilla (0.10.0) + - Quick (0.9.3) - Specta (1.0.5) DEPENDENCIES: - Analytics (from `../`) - Expecta + - Nimble - Nocilla + - Quick - Specta EXTERNAL SOURCES: Analytics: - :path: ../ + :path: "../" SPEC CHECKSUMS: - Analytics: be3d952b8b0f21679e25af3b9dfbbab89597e897 + Analytics: 5ebaf07a5067e730ca749c184f04db7752724e97 Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe + Nimble: 97a0a4cae5124c117115634b2d055d8c97d0af19 Nocilla: ae0a2b05f3087b473624ac2b25903695df51246a + Quick: 13a2a2b19a5d8e3ed4fd0c36ee46597fd77ebf71 Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 -PODFILE CHECKSUM: 5263f231a5bab62699699bbd2020ba55d983cfaa +PODFILE CHECKSUM: 47db4ff587c477b5722d8791ed787d6b86ffa0b6 COCOAPODS: 1.0.1 diff --git a/Example/Pods/Local Podspecs/Analytics.podspec.json b/Example/Pods/Local Podspecs/Analytics.podspec.json index ba938da57..3763c3c92 100644 --- a/Example/Pods/Local Podspecs/Analytics.podspec.json +++ b/Example/Pods/Local Podspecs/Analytics.podspec.json @@ -19,5 +19,6 @@ "ios": "7.0", "tvos": "9.0" }, + "frameworks": "Security", "source_files": "Analytics/Classes/**/*" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 9306e337f..6e4821ccf 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,25 +1,31 @@ PODS: - Analytics (3.3.0) - Expecta (1.0.5) + - Nimble (4.1.0) - Nocilla (0.10.0) + - Quick (0.9.3) - Specta (1.0.5) DEPENDENCIES: - Analytics (from `../`) - Expecta + - Nimble - Nocilla + - Quick - Specta EXTERNAL SOURCES: Analytics: - :path: ../ + :path: "../" SPEC CHECKSUMS: - Analytics: be3d952b8b0f21679e25af3b9dfbbab89597e897 + Analytics: 5ebaf07a5067e730ca749c184f04db7752724e97 Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe + Nimble: 97a0a4cae5124c117115634b2d055d8c97d0af19 Nocilla: ae0a2b05f3087b473624ac2b25903695df51246a + Quick: 13a2a2b19a5d8e3ed4fd0c36ee46597fd77ebf71 Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 -PODFILE CHECKSUM: 5263f231a5bab62699699bbd2020ba55d983cfaa +PODFILE CHECKSUM: 47db4ff587c477b5722d8791ed787d6b86ffa0b6 COCOAPODS: 1.0.1 diff --git a/Example/Pods/Nimble/LICENSE.md b/Example/Pods/Nimble/LICENSE.md new file mode 100644 index 000000000..0f3eb71ac --- /dev/null +++ b/Example/Pods/Nimble/LICENSE.md @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 Quick Team + + 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. diff --git a/Example/Pods/Nimble/README.md b/Example/Pods/Nimble/README.md new file mode 100644 index 000000000..6a71957d3 --- /dev/null +++ b/Example/Pods/Nimble/README.md @@ -0,0 +1,1237 @@ +# Nimble + +Use Nimble to express the expected outcomes of Swift +or Objective-C expressions. Inspired by +[Cedar](https://github.com/pivotal/cedar). + +```swift +// Swift + +expect(1 + 1).to(equal(2)) +expect(1.2).to(beCloseTo(1.1, within: 0.1)) +expect(3) > 2 +expect("seahorse").to(contain("sea")) +expect(["Atlantic", "Pacific"]).toNot(contain("Mississippi")) +expect(ocean.isClean).toEventually(beTruthy()) +``` + +# How to Use Nimble + + + +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* + +- [Some Background: Expressing Outcomes Using Assertions in XCTest](#some-background-expressing-outcomes-using-assertions-in-xctest) +- [Nimble: Expectations Using `expect(...).to`](#nimble-expectations-using-expectto) + - [Custom Failure Messages](#custom-failure-messages) + - [Type Checking](#type-checking) + - [Operator Overloads](#operator-overloads) + - [Lazily Computed Values](#lazily-computed-values) + - [C Primitives](#c-primitives) + - [Asynchronous Expectations](#asynchronous-expectations) + - [Objective-C Support](#objective-c-support) + - [Disabling Objective-C Shorthand](#disabling-objective-c-shorthand) +- [Built-in Matcher Functions](#built-in-matcher-functions) + - [Equivalence](#equivalence) + - [Identity](#identity) + - [Comparisons](#comparisons) + - [Types/Classes](#typesclasses) + - [Truthiness](#truthiness) + - [Swift Error Handling](#swift-error-handling) + - [Exceptions](#exceptions) + - [Collection Membership](#collection-membership) + - [Strings](#strings) + - [Checking if all elements of a collection pass a condition](#checking-if-all-elements-of-a-collection-pass-a-condition) + - [Verify collection count](#verify-collection-count) + - [Matching a value to any of a group of matchers](#matching-a-value-to-any-of-a-group-of-matchers) +- [Writing Your Own Matchers](#writing-your-own-matchers) + - [Lazy Evaluation](#lazy-evaluation) + - [Type Checking via Swift Generics](#type-checking-via-swift-generics) + - [Customizing Failure Messages](#customizing-failure-messages) + - [Supporting Objective-C](#supporting-objective-c) + - [Properly Handling `nil` in Objective-C Matchers](#properly-handling-nil-in-objective-c-matchers) +- [Installing Nimble](#installing-nimble) + - [Installing Nimble as a Submodule](#installing-nimble-as-a-submodule) + - [Installing Nimble via CocoaPods](#installing-nimble-via-cocoapods) + - [Using Nimble without XCTest](#using-nimble-without-xctest) + + + +# Some Background: Expressing Outcomes Using Assertions in XCTest + +Apple's Xcode includes the XCTest framework, which provides +assertion macros to test whether code behaves properly. +For example, to assert that `1 + 1 = 2`, XCTest has you write: + +```swift +// Swift + +XCTAssertEqual(1 + 1, 2, "expected one plus one to equal two") +``` + +Or, in Objective-C: + +```objc +// Objective-C + +XCTAssertEqual(1 + 1, 2, @"expected one plus one to equal two"); +``` + +XCTest assertions have a couple of drawbacks: + +1. **Not enough macros.** There's no easy way to assert that a string + contains a particular substring, or that a number is less than or + equal to another. +2. **It's hard to write asynchronous tests.** XCTest forces you to write + a lot of boilerplate code. + +Nimble addresses these concerns. + +# Nimble: Expectations Using `expect(...).to` + +Nimble allows you to express expectations using a natural, +easily understood language: + +```swift +// Swift + +import Nimble + +expect(seagull.squawk).to(equal("Squee!")) +``` + +```objc +// Objective-C + +@import Nimble; + +expect(seagull.squawk).to(equal(@"Squee!")); +``` + +> The `expect` function autocompletes to include `file:` and `line:`, + but these parameters are optional. Use the default values to have + Xcode highlight the correct line when an expectation is not met. + +To perform the opposite expectation--to assert something is *not* +equal--use `toNot` or `notTo`: + +```swift +// Swift + +import Nimble + +expect(seagull.squawk).toNot(equal("Oh, hello there!")) +expect(seagull.squawk).notTo(equal("Oh, hello there!")) +``` + +```objc +// Objective-C + +@import Nimble; + +expect(seagull.squawk).toNot(equal(@"Oh, hello there!")); +expect(seagull.squawk).notTo(equal(@"Oh, hello there!")); +``` + +## Custom Failure Messages + +Would you like to add more information to the test's failure messages? Use the `description` optional argument to add your own text: + +```swift +// Swift + +expect(1 + 1).to(equal(3)) +// failed - expected to equal <3>, got <2> + +expect(1 + 1).to(equal(3), description: "Make sure libKindergartenMath is loaded") +// failed - Make sure libKindergartenMath is loaded +// expected to equal <3>, got <2> +``` + +Or the *WithDescription version in Objective-C: + +```objc +// Objective-C + +@import Nimble; + +expect(@(1+1)).to(equal(@3)); +// failed - expected to equal <3.0000>, got <2.0000> + +expect(@(1+1)).toWithDescription(equal(@3), @"Make sure libKindergartenMath is loaded"); +// failed - Make sure libKindergartenMath is loaded +// expected to equal <3.0000>, got <2.0000> +``` + +## Type Checking + +Nimble makes sure you don't compare two types that don't match: + +```swift +// Swift + +// Does not compile: +expect(1 + 1).to(equal("Squee!")) +``` + +> Nimble uses generics--only available in Swift--to ensure + type correctness. That means type checking is + not available when using Nimble in Objective-C. :sob: + +## Operator Overloads + +Tired of so much typing? With Nimble, you can use overloaded operators +like `==` for equivalence, or `>` for comparisons: + +```swift +// Swift + +// Passes if squawk does not equal "Hi!": +expect(seagull.squawk) != "Hi!" + +// Passes if 10 is greater than 2: +expect(10) > 2 +``` + +> Operator overloads are only available in Swift, so you won't be able + to use this syntax in Objective-C. :broken_heart: + +## Lazily Computed Values + +The `expect` function doesn't evaluate the value it's given until it's +time to match. So Nimble can test whether an expression raises an +exception once evaluated: + +```swift +// Swift + +// Note: Swift currently doesn't have exceptions. +// Only Objective-C code can raise exceptions +// that Nimble will catch. +// (see https://github.com/Quick/Nimble/issues/220#issuecomment-172667064) +let exception = NSException( + name: NSInternalInconsistencyException, + reason: "Not enough fish in the sea.", + userInfo: ["something": "is fishy"]) +expect { exception.raise() }.to(raiseException()) + +// Also, you can customize raiseException to be more specific +expect { exception.raise() }.to(raiseException(named: NSInternalInconsistencyException)) +expect { exception.raise() }.to(raiseException( + named: NSInternalInconsistencyException, + reason: "Not enough fish in the sea")) +expect { exception.raise() }.to(raiseException( + named: NSInternalInconsistencyException, + reason: "Not enough fish in the sea", + userInfo: ["something": "is fishy"])) +``` + +Objective-C works the same way, but you must use the `expectAction` +macro when making an expectation on an expression that has no return +value: + +```objc +// Objective-C + +NSException *exception = [NSException exceptionWithName:NSInternalInconsistencyException + reason:@"Not enough fish in the sea." + userInfo:nil]; +expectAction(^{ [exception raise]; }).to(raiseException()); + +// Use the property-block syntax to be more specific. +expectAction(^{ [exception raise]; }).to(raiseException().named(NSInternalInconsistencyException)); +expectAction(^{ [exception raise]; }).to(raiseException(). + named(NSInternalInconsistencyException). + reason("Not enough fish in the sea")); +expectAction(^{ [exception raise]; }).to(raiseException(). + named(NSInternalInconsistencyException). + reason("Not enough fish in the sea"). + userInfo(@{@"something": @"is fishy"})); + +// You can also pass a block for custom matching of the raised exception +expectAction(exception.raise()).to(raiseException().satisfyingBlock(^(NSException *exception) { + expect(exception.name).to(beginWith(NSInternalInconsistencyException)); +})); +``` + +## C Primitives + +Some testing frameworks make it hard to test primitive C values. +In Nimble, it just works: + +```swift +// Swift + +let actual: CInt = 1 +let expectedValue: CInt = 1 +expect(actual).to(equal(expectedValue)) +``` + +In fact, Nimble uses type inference, so you can write the above +without explicitly specifying both types: + +```swift +// Swift + +expect(1 as CInt).to(equal(1)) +``` + +> In Objective-C, Nimble only supports Objective-C objects. To + make expectations on primitive C values, wrap then in an object + literal: + + ```objc + expect(@(1 + 1)).to(equal(@2)); + ``` + +## Asynchronous Expectations + +In Nimble, it's easy to make expectations on values that are updated +asynchronously. Just use `toEventually` or `toEventuallyNot`: + +```swift +// Swift + +dispatch_async(dispatch_get_main_queue()) { + ocean.add("dolphins") + ocean.add("whales") +} +expect(ocean).toEventually(contain("dolphins", "whales")) +``` + + +```objc +// Objective-C +dispatch_async(dispatch_get_main_queue(), ^{ + [ocean add:@"dolphins"]; + [ocean add:@"whales"]; +}); +expect(ocean).toEventually(contain(@"dolphins", @"whales")); +``` + +Note: toEventually triggers its polls on the main thread. Blocking the main +thread will cause Nimble to stop the run loop. This can cause test pollution +for whatever incomplete code that was running on the main thread. Blocking the +main thread can be caused by blocking IO, calls to sleep(), deadlocks, and +synchronous IPC. + +In the above example, `ocean` is constantly re-evaluated. If it ever +contains dolphins and whales, the expectation passes. If `ocean` still +doesn't contain them, even after being continuously re-evaluated for one +whole second, the expectation fails. + +Sometimes it takes more than a second for a value to update. In those +cases, use the `timeout` parameter: + +```swift +// Swift + +// Waits three seconds for ocean to contain "starfish": +expect(ocean).toEventually(contain("starfish"), timeout: 3) +``` + +```objc +// Objective-C + +// Waits three seconds for ocean to contain "starfish": +expect(ocean).withTimeout(3).toEventually(contain(@"starfish")); +``` + +You can also provide a callback by using the `waitUntil` function: + +```swift +// Swift + +waitUntil { done in + // do some stuff that takes a while... + NSThread.sleepForTimeInterval(0.5) + done() +} +``` + +```objc +// Objective-C + +waitUntil(^(void (^done)(void)){ + // do some stuff that takes a while... + [NSThread sleepForTimeInterval:0.5]; + done(); +}); +``` + +`waitUntil` also optionally takes a timeout parameter: + +```swift +// Swift + +waitUntil(timeout: 10) { done in + // do some stuff that takes a while... + NSThread.sleepForTimeInterval(1) + done() +} +``` + +```objc +// Objective-C + +waitUntilTimeout(10, ^(void (^done)(void)){ + // do some stuff that takes a while... + [NSThread sleepForTimeInterval:1]; + done(); +}); +``` + +Note: waitUntil triggers its timeout code on the main thread. Blocking the main +thread will cause Nimble to stop the run loop to continue. This can cause test +pollution for whatever incomplete code that was running on the main thread. +Blocking the main thread can be caused by blocking IO, calls to sleep(), +deadlocks, and synchronous IPC. + +In some cases (e.g. when running on slower machines) it can be useful to modify +the default timeout and poll interval values. This can be done as follows: + +```swift +// Swift + +// Increase the global timeout to 5 seconds: +Nimble.AsyncDefaults.Timeout = 5 + +// Slow the polling interval to 0.1 seconds: +Nimble.AsyncDefaults.PollInterval = 0.1 +``` + +## Objective-C Support + +Nimble has full support for Objective-C. However, there are two things +to keep in mind when using Nimble in Objective-C: + +1. All parameters passed to the `expect` function, as well as matcher + functions like `equal`, must be Objective-C objects: + + ```objc + // Objective-C + + @import Nimble; + + expect(@(1 + 1)).to(equal(@2)); + expect(@"Hello world").to(contain(@"world")); + ``` + +2. To make an expectation on an expression that does not return a value, + such as `-[NSException raise]`, use `expectAction` instead of + `expect`: + + ```objc + // Objective-C + + expectAction(^{ [exception raise]; }).to(raiseException()); + ``` + +## Disabling Objective-C Shorthand + +Nimble provides a shorthand for expressing expectations using the +`expect` function. To disable this shorthand in Objective-C, define the +`NIMBLE_DISABLE_SHORT_SYNTAX` macro somewhere in your code before +importing Nimble: + +```objc +#define NIMBLE_DISABLE_SHORT_SYNTAX 1 + +@import Nimble; + +NMB_expect(^{ return seagull.squawk; }, __FILE__, __LINE__).to(NMB_equal(@"Squee!")); +``` + +> Disabling the shorthand is useful if you're testing functions with + names that conflict with Nimble functions, such as `expect` or + `equal`. If that's not the case, there's no point in disabling the + shorthand. + +# Built-in Matcher Functions + +Nimble includes a wide variety of matcher functions. + +## Equivalence + +```swift +// Swift + +// Passes if actual is equivalent to expected: +expect(actual).to(equal(expected)) +expect(actual) == expected + +// Passes if actual is not equivalent to expected: +expect(actual).toNot(equal(expected)) +expect(actual) != expected +``` + +```objc +// Objective-C + +// Passes if actual is equivalent to expected: +expect(actual).to(equal(expected)) + +// Passes if actual is not equivalent to expected: +expect(actual).toNot(equal(expected)) +``` + +Values must be `Equatable`, `Comparable`, or subclasses of `NSObject`. +`equal` will always fail when used to compare one or more `nil` values. + +## Identity + +```swift +// Swift + +// Passes if actual has the same pointer address as expected: +expect(actual).to(beIdenticalTo(expected)) +expect(actual) === expected + +// Passes if actual does not have the same pointer address as expected: +expect(actual).toNot(beIdenticalTo(expected)) +expect(actual) !== expected +``` + +Its important to remember that `beIdenticalTo` only makes sense when comparing types with reference semantics, which have a notion of identity. In Swift, that means a `class`. This matcher will not work with types with value semantics such as `struct` or `enum`. If you need to compare two value types, you can either compare individual properties or if it makes sense to do so, make your type implement `Equatable` and use Nimble's equivalence matchers instead. + + +```objc +// Objective-C + +// Passes if actual has the same pointer address as expected: +expect(actual).to(beIdenticalTo(expected)); + +// Passes if actual does not have the same pointer address as expected: +expect(actual).toNot(beIdenticalTo(expected)); +``` + +## Comparisons + +```swift +// Swift + +expect(actual).to(beLessThan(expected)) +expect(actual) < expected + +expect(actual).to(beLessThanOrEqualTo(expected)) +expect(actual) <= expected + +expect(actual).to(beGreaterThan(expected)) +expect(actual) > expected + +expect(actual).to(beGreaterThanOrEqualTo(expected)) +expect(actual) >= expected +``` + +```objc +// Objective-C + +expect(actual).to(beLessThan(expected)); +expect(actual).to(beLessThanOrEqualTo(expected)); +expect(actual).to(beGreaterThan(expected)); +expect(actual).to(beGreaterThanOrEqualTo(expected)); +``` + +> Values given to the comparison matchers above must implement + `Comparable`. + +Because of how computers represent floating point numbers, assertions +that two floating point numbers be equal will sometimes fail. To express +that two numbers should be close to one another within a certain margin +of error, use `beCloseTo`: + +```swift +// Swift + +expect(actual).to(beCloseTo(expected, within: delta)) +``` + +```objc +// Objective-C + +expect(actual).to(beCloseTo(expected).within(delta)); +``` + +For example, to assert that `10.01` is close to `10`, you can write: + +```swift +// Swift + +expect(10.01).to(beCloseTo(10, within: 0.1)) +``` + +```objc +// Objective-C + +expect(@(10.01)).to(beCloseTo(@10).within(0.1)); +``` + +There is also an operator shortcut available in Swift: + +```swift +// Swift + +expect(actual) ≈ expected +expect(actual) ≈ (expected, delta) + +``` +(Type Option-x to get ≈ on a U.S. keyboard) + +The former version uses the default delta of 0.0001. Here is yet another way to do this: + +```swift +// Swift + +expect(actual) ≈ expected ± delta +expect(actual) == expected ± delta + +``` +(Type Option-Shift-= to get ± on a U.S. keyboard) + +If you are comparing arrays of floating point numbers, you'll find the following useful: + +```swift +// Swift + +expect([0.0, 2.0]) ≈ [0.0001, 2.0001] +expect([0.0, 2.0]).to(beCloseTo([0.1, 2.1], within: 0.1)) + +``` + +> Values given to the `beCloseTo` matcher must be coercable into a + `Double`. + +## Types/Classes + +```swift +// Swift + +// Passes if instance is an instance of aClass: +expect(instance).to(beAnInstanceOf(aClass)) + +// Passes if instance is an instance of aClass or any of its subclasses: +expect(instance).to(beAKindOf(aClass)) +``` + +```objc +// Objective-C + +// Passes if instance is an instance of aClass: +expect(instance).to(beAnInstanceOf(aClass)); + +// Passes if instance is an instance of aClass or any of its subclasses: +expect(instance).to(beAKindOf(aClass)); +``` + +> Instances must be Objective-C objects: subclasses of `NSObject`, + or Swift objects bridged to Objective-C with the `@objc` prefix. + +For example, to assert that `dolphin` is a kind of `Mammal`: + +```swift +// Swift + +expect(dolphin).to(beAKindOf(Mammal)) +``` + +```objc +// Objective-C + +expect(dolphin).to(beAKindOf([Mammal class])); +``` + +> `beAnInstanceOf` uses the `-[NSObject isMemberOfClass:]` method to + test membership. `beAKindOf` uses `-[NSObject isKindOfClass:]`. + +## Truthiness + +```swift +// Passes if actual is not nil, true, or an object with a boolean value of true: +expect(actual).to(beTruthy()) + +// Passes if actual is only true (not nil or an object conforming to BooleanType true): +expect(actual).to(beTrue()) + +// Passes if actual is nil, false, or an object with a boolean value of false: +expect(actual).to(beFalsy()) + +// Passes if actual is only false (not nil or an object conforming to BooleanType false): +expect(actual).to(beFalse()) + +// Passes if actual is nil: +expect(actual).to(beNil()) +``` + +```objc +// Objective-C + +// Passes if actual is not nil, true, or an object with a boolean value of true: +expect(actual).to(beTruthy()); + +// Passes if actual is only true (not nil or an object conforming to BooleanType true): +expect(actual).to(beTrue()); + +// Passes if actual is nil, false, or an object with a boolean value of false: +expect(actual).to(beFalsy()); + +// Passes if actual is only false (not nil or an object conforming to BooleanType false): +expect(actual).to(beFalse()); + +// Passes if actual is nil: +expect(actual).to(beNil()); +``` + +## Swift Error Handling + +If you're using Swift 2.0+, you can use the `throwError` matcher to check if an error is thrown. + +```swift +// Swift + +// Passes if somethingThatThrows() throws an ErrorType: +expect{ try somethingThatThrows() }.to(throwError()) + +// Passes if somethingThatThrows() throws an error with a given domain: +expect{ try somethingThatThrows() }.to(throwError { (error: ErrorType) in + expect(error._domain).to(equal(NSCocoaErrorDomain)) +}) + +// Passes if somethingThatThrows() throws an error with a given case: +expect{ try somethingThatThrows() }.to(throwError(NSCocoaError.PropertyListReadCorruptError)) + +// Passes if somethingThatThrows() throws an error with a given type: +expect{ try somethingThatThrows() }.to(throwError(errorType: MyError.self)) +``` + +If you are working directly with `ErrorType` values, as is sometimes the case when using `Result` or `Promise` types, you can use the `matchError` matcher to check if the error is the same error is is supposed to be, without requiring explicit casting. + +```swift +// Swift + +let actual: ErrorType = … + +// Passes if actual contains any error value from the MyErrorEnum type: +expect(actual).to(matchError(MyErrorEnum)) + +// Passes if actual contains the Timeout value from the MyErrorEnum type: +expect(actual).to(matchError(MyErrorEnum.Timeout)) + +// Passes if actual contains an NSError equal to the given one: +expect(actual).to(matchError(NSError(domain: "err", code: 123, userInfo: nil))) +``` + +Note: This feature is only available in Swift. + +## Exceptions + +```swift +// Swift + +// Passes if actual, when evaluated, raises an exception: +expect(actual).to(raiseException()) + +// Passes if actual raises an exception with the given name: +expect(actual).to(raiseException(named: name)) + +// Passes if actual raises an exception with the given name and reason: +expect(actual).to(raiseException(named: name, reason: reason)) + +// Passes if actual raises an exception and it passes expectations in the block +// (in this case, if name begins with 'a r') +expect { exception.raise() }.to(raiseException { (exception: NSException) in + expect(exception.name).to(beginWith("a r")) +}) +``` + +```objc +// Objective-C + +// Passes if actual, when evaluated, raises an exception: +expect(actual).to(raiseException()) + +// Passes if actual raises an exception with the given name +expect(actual).to(raiseException().named(name)) + +// Passes if actual raises an exception with the given name and reason: +expect(actual).to(raiseException().named(name).reason(reason)) + +// Passes if actual raises an exception and it passes expectations in the block +// (in this case, if name begins with 'a r') +expect(actual).to(raiseException().satisfyingBlock(^(NSException *exception) { + expect(exception.name).to(beginWith(@"a r")); +})); +``` + +Note: Swift currently doesn't have exceptions (see [#220](https://github.com/Quick/Nimble/issues/220#issuecomment-172667064)). Only Objective-C code can raise +exceptions that Nimble will catch. + +## Collection Membership + +```swift +// Swift + +// Passes if all of the expected values are members of actual: +expect(actual).to(contain(expected...)) + +// Passes if actual is an empty collection (it contains no elements): +expect(actual).to(beEmpty()) +``` + +```objc +// Objective-C + +// Passes if expected is a member of actual: +expect(actual).to(contain(expected)); + +// Passes if actual is an empty collection (it contains no elements): +expect(actual).to(beEmpty()); +``` + +> In Swift `contain` takes any number of arguments. The expectation + passes if all of them are members of the collection. In Objective-C, + `contain` only takes one argument [for now](https://github.com/Quick/Nimble/issues/27). + +For example, to assert that a list of sea creature names contains +"dolphin" and "starfish": + +```swift +// Swift + +expect(["whale", "dolphin", "starfish"]).to(contain("dolphin", "starfish")) +``` + +```objc +// Objective-C + +expect(@[@"whale", @"dolphin", @"starfish"]).to(contain(@"dolphin")); +expect(@[@"whale", @"dolphin", @"starfish"]).to(contain(@"starfish")); +``` + +> `contain` and `beEmpty` expect collections to be instances of + `NSArray`, `NSSet`, or a Swift collection composed of `Equatable` elements. + +To test whether a set of elements is present at the beginning or end of +an ordered collection, use `beginWith` and `endWith`: + +```swift +// Swift + +// Passes if the elements in expected appear at the beginning of actual: +expect(actual).to(beginWith(expected...)) + +// Passes if the the elements in expected come at the end of actual: +expect(actual).to(endWith(expected...)) +``` + +```objc +// Objective-C + +// Passes if the elements in expected appear at the beginning of actual: +expect(actual).to(beginWith(expected)); + +// Passes if the the elements in expected come at the end of actual: +expect(actual).to(endWith(expected)); +``` + +> `beginWith` and `endWith` expect collections to be instances of + `NSArray`, or ordered Swift collections composed of `Equatable` + elements. + + Like `contain`, in Objective-C `beginWith` and `endWith` only support + a single argument [for now](https://github.com/Quick/Nimble/issues/27). + +## Strings + +```swift +// Swift + +// Passes if actual contains substring expected: +expect(actual).to(contain(expected)) + +// Passes if actual begins with substring: +expect(actual).to(beginWith(expected)) + +// Passes if actual ends with substring: +expect(actual).to(endWith(expected)) + +// Passes if actual is an empty string, "": +expect(actual).to(beEmpty()) + +// Passes if actual matches the regular expression defined in expected: +expect(actual).to(match(expected)) +``` + +```objc +// Objective-C + +// Passes if actual contains substring expected: +expect(actual).to(contain(expected)); + +// Passes if actual begins with substring: +expect(actual).to(beginWith(expected)); + +// Passes if actual ends with substring: +expect(actual).to(endWith(expected)); + +// Passes if actual is an empty string, "": +expect(actual).to(beEmpty()); + +// Passes if actual matches the regular expression defined in expected: +expect(actual).to(match(expected)) +``` + +## Checking if all elements of a collection pass a condition + +```swift +// Swift + +// with a custom function: +expect([1,2,3,4]).to(allPass({$0 < 5})) + +// with another matcher: +expect([1,2,3,4]).to(allPass(beLessThan(5))) +``` + +```objc +// Objective-C + +expect(@[@1, @2, @3,@4]).to(allPass(beLessThan(@5))); +``` + +For Swift the actual value has to be a SequenceType, e.g. an array, a set or a custom seqence type. + +For Objective-C the actual value has to be a NSFastEnumeration, e.g. NSArray and NSSet, of NSObjects and only the variant which +uses another matcher is available here. + +## Verify collection count + +```swift +// passes if actual collection's count is equal to expected +expect(actual).to(haveCount(expected)) + +// passes if actual collection's count is not equal to expected +expect(actual).notTo(haveCount(expected)) +``` + +```objc +// passes if actual collection's count is equal to expected +expect(actual).to(haveCount(expected)) + +// passes if actual collection's count is not equal to expected +expect(actual).notTo(haveCount(expected)) +``` + +For Swift the actual value must be a `CollectionType` such as array, dictionary or set. + +For Objective-C the actual value has to be one of the following classes `NSArray`, `NSDictionary`, `NSSet`, `NSHashTable` or one of their subclasses. + +## Matching a value to any of a group of matchers + +```swift +// passes if actual is either less than 10 or greater than 20 +expect(actual).to(satisfyAnyOf(beLessThan(10), beGreaterThan(20))) + +// can include any number of matchers -- the following will pass +// **be careful** -- too many matchers can be the sign of an unfocused test +expect(6).to(satisfyAnyOf(equal(2), equal(3), equal(4), equal(5), equal(6), equal(7))) + +// in Swift you also have the option to use the || operator to achieve a similar function +expect(82).to(beLessThan(50) || beGreaterThan(80)) +``` + +```objc +// passes if actual is either less than 10 or greater than 20 +expect(actual).to(satisfyAnyOf(beLessThan(@10), beGreaterThan(@20))) + +// can include any number of matchers -- the following will pass +// **be careful** -- too many matchers can be the sign of an unfocused test +expect(@6).to(satisfyAnyOf(equal(@2), equal(@3), equal(@4), equal(@5), equal(@6), equal(@7))) +``` + +Note: This matcher allows you to chain any number of matchers together. This provides flexibility, + but if you find yourself chaining many matchers together in one test, consider whether you + could instead refactor that single test into multiple, more precisely focused tests for + better coverage. + +# Writing Your Own Matchers + +In Nimble, matchers are Swift functions that take an expected +value and return a `MatcherFunc` closure. Take `equal`, for example: + +```swift +// Swift + +public func equal(expectedValue: T?) -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(expectedValue)>" + return actualExpression.evaluate() == expectedValue + } +} +``` + +The return value of a `MatcherFunc` closure is a `Bool` that indicates +whether the actual value matches the expectation: `true` if it does, or +`false` if it doesn't. + +> The actual `equal` matcher function does not match when either + `actual` or `expected` are nil; the example above has been edited for + brevity. + +Since matchers are just Swift functions, you can define them anywhere: +at the top of your test file, in a file shared by all of your tests, or +in an Xcode project you distribute to others. + +> If you write a matcher you think everyone can use, consider adding it + to Nimble's built-in set of matchers by sending a pull request! Or + distribute it yourself via GitHub. + +For examples of how to write your own matchers, just check out the +[`Matchers` directory](https://github.com/Quick/Nimble/tree/master/Sources/Nimble/Matchers) +to see how Nimble's built-in set of matchers are implemented. You can +also check out the tips below. + +## Lazy Evaluation + +`actualExpression` is a lazy, memoized closure around the value provided to the +`expect` function. The expression can either be a closure or a value directly +passed to `expect(...)`. In order to determine whether that value matches, +custom matchers should call `actualExpression.evaluate()`: + +```swift +// Swift + +public func beNil() -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be nil" + return actualExpression.evaluate() == nil + } +} +``` + +In the above example, `actualExpression` is not `nil`--it is a closure +that returns a value. The value it returns, which is accessed via the +`evaluate()` method, may be `nil`. If that value is `nil`, the `beNil` +matcher function returns `true`, indicating that the expectation passed. + +Use `expression.isClosure` to determine if the expression will be invoking +a closure to produce its value. + +## Type Checking via Swift Generics + +Using Swift's generics, matchers can constrain the type of the actual value +passed to the `expect` function by modifying the return type. + +For example, the following matcher, `haveDescription`, only accepts actual +values that implement the `Printable` protocol. It checks their `description` +against the one provided to the matcher function, and passes if they are the same: + +```swift +// Swift + +public func haveDescription(description: String) -> MatcherFunc { + return MatcherFunc { actual, failureMessage in + return actual.evaluate().description == description + } +} +``` + +## Customizing Failure Messages + +By default, Nimble outputs the following failure message when an +expectation fails: + +``` +expected to match, got <\(actual)> +``` + +You can customize this message by modifying the `failureMessage` struct +from within your `MatcherFunc` closure. To change the verb "match" to +something else, update the `postfixMessage` property: + +```swift +// Swift + +// Outputs: expected to be under the sea, got <\(actual)> +failureMessage.postfixMessage = "be under the sea" +``` + +You can change how the `actual` value is displayed by updating +`failureMessage.actualValue`. Or, to remove it altogether, set it to +`nil`: + +```swift +// Swift + +// Outputs: expected to be under the sea +failureMessage.actualValue = nil +failureMessage.postfixMessage = "be under the sea" +``` + +## Supporting Objective-C + +To use a custom matcher written in Swift from Objective-C, you'll have +to extend the `NMBObjCMatcher` class, adding a new class method for your +custom matcher. The example below defines the class method +`+[NMBObjCMatcher beNilMatcher]`: + +```swift +// Swift + +extension NMBObjCMatcher { + public class func beNilMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher { actualBlock, failureMessage, location in + let block = ({ actualBlock() as NSObject? }) + let expr = Expression(expression: block, location: location) + return beNil().matches(expr, failureMessage: failureMessage) + } + } +} +``` + +The above allows you to use the matcher from Objective-C: + +```objc +// Objective-C + +expect(actual).to([NMBObjCMatcher beNilMatcher]()); +``` + +To make the syntax easier to use, define a C function that calls the +class method: + +```objc +// Objective-C + +FOUNDATION_EXPORT id beNil() { + return [NMBObjCMatcher beNilMatcher]; +} +``` + +### Properly Handling `nil` in Objective-C Matchers + +When supporting Objective-C, make sure you handle `nil` appropriately. +Like [Cedar](https://github.com/pivotal/cedar/issues/100), +**most matchers do not match with nil**. This is to bring prevent test +writers from being surprised by `nil` values where they did not expect +them. + +Nimble provides the `beNil` matcher function for test writer that want +to make expectations on `nil` objects: + +```objc +// Objective-C + +expect(nil).to(equal(nil)); // fails +expect(nil).to(beNil()); // passes +``` + +If your matcher does not want to match with nil, you use `NonNilMatcherFunc` +and the `canMatchNil` constructor on `NMBObjCMatcher`. Using both types will +automatically generate expected value failure messages when they're nil. + +```swift + +public func beginWith(startingElement: T) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "begin with <\(startingElement)>" + if let actualValue = actualExpression.evaluate() { + var actualGenerator = actualValue.generate() + return actualGenerator.next() == startingElement + } + return false + } +} + +extension NMBObjCMatcher { + public class func beginWithMatcher(expected: AnyObject) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let actual = actualExpression.evaluate() + let expr = actualExpression.cast { $0 as? NMBOrderedCollection } + return beginWith(expected).matches(expr, failureMessage: failureMessage) + } + } +} +``` + +# Installing Nimble + +> Nimble can be used on its own, or in conjunction with its sister + project, [Quick](https://github.com/Quick/Quick). To install both + Quick and Nimble, follow [the installation instructions in the Quick + README](https://github.com/Quick/Quick#how-to-install-quick). + +Nimble can currently be installed in one of two ways: using CocoaPods, or with +git submodules. + +## Installing Nimble as a Submodule + +To use Nimble as a submodule to test your iOS or OS X applications, follow these +4 easy steps: + +1. Clone the Nimble repository +2. Add Nimble.xcodeproj to the Xcode workspace for your project +3. Link Nimble.framework to your test target +4. Start writing expectations! + +For more detailed instructions on each of these steps, +read [How to Install Quick](https://github.com/Quick/Quick#how-to-install-quick). +Ignore the steps involving adding Quick to your project in order to +install just Nimble. + +## Installing Nimble via CocoaPods + +To use Nimble in CocoaPods to test your iOS or OS X applications, add Nimble to +your podfile and add the ```use_frameworks!``` line to enable Swift support for +CocoaPods. + +```ruby +platform :ios, '8.0' + +source 'https://github.com/CocoaPods/Specs.git' + +# Whatever pods you need for your app go here + +target 'YOUR_APP_NAME_HERE_Tests', :exclusive => true do + use_frameworks! + pod 'Nimble', '~> 4.0.0' +end +``` + +Finally run `pod install`. + +## Using Nimble without XCTest + +Nimble is integrated with XCTest to allow it work well when used in Xcode test +bundles, however it can also be used in a standalone app. After installing +Nimble using one of the above methods, there are two additional steps required +to make this work. + +1. Create a custom assertion handler and assign an instance of it to the + global `NimbleAssertionHandler` variable. For example: + +```swift +class MyAssertionHandler : AssertionHandler { + func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + if (!assertion) { + print("Expectation failed: \(message.stringValue)") + } + } +} +``` +```swift +// Somewhere before you use any assertions +NimbleAssertionHandler = MyAssertionHandler() +``` + +2. Add a post-build action to fix an issue with the Swift XCTest support + library being unnecessarily copied into your app + * Edit your scheme in Xcode, and navigate to Build -> Post-actions + * Click the "+" icon and select "New Run Script Action" + * Open the "Provide build settings from" dropdown and select your target + * Enter the following script contents: +``` +rm "${SWIFT_STDLIB_TOOL_DESTINATION_DIR}/libswiftXCTest.dylib" +``` + +You can now use Nimble assertions in your code and handle failures as you see +fit. diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift new file mode 100644 index 000000000..306d4ce68 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift @@ -0,0 +1,17 @@ +import Foundation + +/// Protocol for the assertion handler that Nimble uses for all expectations. +public protocol AssertionHandler { + func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) +} + +/// Global backing interface for assertions that Nimble creates. +/// Defaults to a private test handler that passes through to XCTest. +/// +/// If XCTest is not available, you must assign your own assertion handler +/// before using any matchers, otherwise Nimble will abort the program. +/// +/// @see AssertionHandler +public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in + return isXCTestAvailable() ? NimbleXCTestHandler() : NimbleXCTestUnavailableHandler() +}() diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift new file mode 100644 index 000000000..09caf2aae --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift @@ -0,0 +1,20 @@ + +/// AssertionDispatcher allows multiple AssertionHandlers to receive +/// assertion messages. +/// +/// @warning Does not fully dispatch if one of the handlers raises an exception. +/// This is possible with XCTest-based assertion handlers. +/// +public class AssertionDispatcher: AssertionHandler { + let handlers: [AssertionHandler] + + public init(handlers: [AssertionHandler]) { + self.handlers = handlers + } + + public func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + for handler in handlers { + handler.assert(assertion, message: message, location: location) + } + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift new file mode 100644 index 000000000..a1615a71d --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift @@ -0,0 +1,100 @@ +import Foundation + +/// A data structure that stores information about an assertion when +/// AssertionRecorder is set as the Nimble assertion handler. +/// +/// @see AssertionRecorder +/// @see AssertionHandler +public struct AssertionRecord: CustomStringConvertible { + /// Whether the assertion succeeded or failed + public let success: Bool + /// The failure message the assertion would display on failure. + public let message: FailureMessage + /// The source location the expectation occurred on. + public let location: SourceLocation + + public var description: String { + return "AssertionRecord { success=\(success), message='\(message.stringValue)', location=\(location) }" + } +} + +/// An AssertionHandler that silently records assertions that Nimble makes. +/// This is useful for testing failure messages for matchers. +/// +/// @see AssertionHandler +public class AssertionRecorder : AssertionHandler { + /// All the assertions that were captured by this recorder + public var assertions = [AssertionRecord]() + + public init() {} + + public func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + assertions.append( + AssertionRecord( + success: assertion, + message: message, + location: location)) + } +} + +/// Allows you to temporarily replace the current Nimble assertion handler with +/// the one provided for the scope of the closure. +/// +/// Once the closure finishes, then the original Nimble assertion handler is restored. +/// +/// @see AssertionHandler +public func withAssertionHandler(tempAssertionHandler: AssertionHandler, closure: () throws -> Void) { + let environment = NimbleEnvironment.activeInstance + let oldRecorder = environment.assertionHandler + let capturer = NMBExceptionCapture(handler: nil, finally: ({ + environment.assertionHandler = oldRecorder + })) + environment.assertionHandler = tempAssertionHandler + capturer.tryBlock { + try! closure() + } +} + +/// Captures expectations that occur in the given closure. Note that all +/// expectations will still go through to the default Nimble handler. +/// +/// This can be useful if you want to gather information about expectations +/// that occur within a closure. +/// +/// @param silently expectations are no longer send to the default Nimble +/// assertion handler when this is true. Defaults to false. +/// +/// @see gatherFailingExpectations +public func gatherExpectations(silently silently: Bool = false, closure: () -> Void) -> [AssertionRecord] { + let previousRecorder = NimbleEnvironment.activeInstance.assertionHandler + let recorder = AssertionRecorder() + let handlers: [AssertionHandler] + + if silently { + handlers = [recorder] + } else { + handlers = [recorder, previousRecorder] + } + + let dispatcher = AssertionDispatcher(handlers: handlers) + withAssertionHandler(dispatcher, closure: closure) + return recorder.assertions +} + +/// Captures failed expectations that occur in the given closure. Note that all +/// expectations will still go through to the default Nimble handler. +/// +/// This can be useful if you want to gather information about failed +/// expectations that occur within a closure. +/// +/// @param silently expectations are no longer send to the default Nimble +/// assertion handler when this is true. Defaults to false. +/// +/// @see gatherExpectations +/// @see raiseException source for an example use case. +public func gatherFailingExpectations(silently silently: Bool = false, closure: () -> Void) -> [AssertionRecord] { + let assertions = gatherExpectations(silently: silently, closure: closure) + return assertions.filter { assertion in + !assertion.success + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift new file mode 100644 index 000000000..27cdac993 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift @@ -0,0 +1,38 @@ +import Foundation + +/// "Global" state of Nimble is stored here. Only DSL functions should access / be aware of this +/// class' existance +internal class NimbleEnvironment { + static var activeInstance: NimbleEnvironment { + get { + let env = NSThread.currentThread().threadDictionary["NimbleEnvironment"] + if let env = env as? NimbleEnvironment { + return env + } else { + let newEnv = NimbleEnvironment() + self.activeInstance = newEnv + return newEnv + } + } + set { + NSThread.currentThread().threadDictionary["NimbleEnvironment"] = newValue + } + } + + // TODO: eventually migrate the global to this environment value + var assertionHandler: AssertionHandler { + get { return NimbleAssertionHandler } + set { NimbleAssertionHandler = newValue } + } + +#if _runtime(_ObjC) + var awaiter: Awaiter + + init() { + awaiter = Awaiter( + waitLock: AssertionWaitLock(), + asyncQueue: dispatch_get_main_queue(), + timeoutQueue: dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0)) + } +#endif +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift new file mode 100644 index 000000000..7d84f45e9 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift @@ -0,0 +1,77 @@ +import Foundation +import XCTest + +/// Default handler for Nimble. This assertion handler passes failures along to +/// XCTest. +public class NimbleXCTestHandler : AssertionHandler { + public func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + if !assertion { + recordFailure("\(message.stringValue)\n", location: location) + } + } +} + +/// Alternative handler for Nimble. This assertion handler passes failures along +/// to XCTest by attempting to reduce the failure message size. +public class NimbleShortXCTestHandler: AssertionHandler { + public func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + if !assertion { + let msg: String + if let actual = message.actualValue { + msg = "got: \(actual) \(message.postfixActual)" + } else { + msg = "expected \(message.to) \(message.postfixMessage)" + } + recordFailure("\(msg)\n", location: location) + } + } +} + +/// Fallback handler in case XCTest is unavailable. This assertion handler will abort +/// the program if it is invoked. +class NimbleXCTestUnavailableHandler : AssertionHandler { + func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { + fatalError("XCTest is not available and no custom assertion handler was configured. Aborting.") + } +} + +#if _runtime(_ObjC) + /// Helper class providing access to the currently executing XCTestCase instance, if any +@objc final internal class CurrentTestCaseTracker: NSObject, XCTestObservation { + @objc static let sharedInstance = CurrentTestCaseTracker() + + private(set) var currentTestCase: XCTestCase? + + @objc func testCaseWillStart(testCase: XCTestCase) { + currentTestCase = testCase + } + + @objc func testCaseDidFinish(testCase: XCTestCase) { + currentTestCase = nil + } +} +#endif + + +func isXCTestAvailable() -> Bool { +#if _runtime(_ObjC) + // XCTest is weakly linked and so may not be present + return NSClassFromString("XCTestCase") != nil +#else + return true +#endif +} + +private func recordFailure(message: String, location: SourceLocation) { +#if _runtime(_ObjC) + if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase { + testCase.recordFailureWithDescription(message, inFile: location.file, atLine: location.line, expected: true) + } else { + let msg = "Attempted to report a test failure to XCTest while no test case was running. " + + "The failure was:\n\"\(message)\"\nIt occurred at: \(location.file):\(location.line)" + NSException(name: NSInternalInconsistencyException, reason: msg, userInfo: nil).raise() + } +#else + XCTFail("\(message)\n", file: location.file, line: location.line) +#endif +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h new file mode 100644 index 000000000..5d416e475 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h @@ -0,0 +1,9 @@ +#import +#import + +SWIFT_CLASS("_TtC6Nimble22CurrentTestCaseTracker") +@interface CurrentTestCaseTracker : NSObject ++ (CurrentTestCaseTracker *)sharedInstance; +@end + +@interface CurrentTestCaseTracker (Register) @end diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.h b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.h new file mode 100644 index 000000000..a49905989 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.h @@ -0,0 +1,145 @@ +#import + +@class NMBExpectation; +@class NMBObjCBeCloseToMatcher; +@class NMBObjCRaiseExceptionMatcher; +@protocol NMBMatcher; + + +#define NIMBLE_EXPORT FOUNDATION_EXPORT + +#ifdef NIMBLE_DISABLE_SHORT_SYNTAX +#define NIMBLE_SHORT(PROTO, ORIGINAL) +#else +#define NIMBLE_SHORT(PROTO, ORIGINAL) FOUNDATION_STATIC_INLINE PROTO { return (ORIGINAL); } +#endif + +NIMBLE_EXPORT NMBExpectation *NMB_expect(id(^actualBlock)(), NSString *file, NSUInteger line); +NIMBLE_EXPORT NMBExpectation *NMB_expectAction(void(^actualBlock)(), NSString *file, NSUInteger line); + +NIMBLE_EXPORT id NMB_equal(id expectedValue); +NIMBLE_SHORT(id equal(id expectedValue), + NMB_equal(expectedValue)); + +NIMBLE_EXPORT id NMB_haveCount(id expectedValue); +NIMBLE_SHORT(id haveCount(id expectedValue), + NMB_haveCount(expectedValue)); + +NIMBLE_EXPORT NMBObjCBeCloseToMatcher *NMB_beCloseTo(NSNumber *expectedValue); +NIMBLE_SHORT(NMBObjCBeCloseToMatcher *beCloseTo(id expectedValue), + NMB_beCloseTo(expectedValue)); + +NIMBLE_EXPORT id NMB_beAnInstanceOf(Class expectedClass); +NIMBLE_SHORT(id beAnInstanceOf(Class expectedClass), + NMB_beAnInstanceOf(expectedClass)); + +NIMBLE_EXPORT id NMB_beAKindOf(Class expectedClass); +NIMBLE_SHORT(id beAKindOf(Class expectedClass), + NMB_beAKindOf(expectedClass)); + +NIMBLE_EXPORT id NMB_beginWith(id itemElementOrSubstring); +NIMBLE_SHORT(id beginWith(id itemElementOrSubstring), + NMB_beginWith(itemElementOrSubstring)); + +NIMBLE_EXPORT id NMB_beGreaterThan(NSNumber *expectedValue); +NIMBLE_SHORT(id beGreaterThan(NSNumber *expectedValue), + NMB_beGreaterThan(expectedValue)); + +NIMBLE_EXPORT id NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue); +NIMBLE_SHORT(id beGreaterThanOrEqualTo(NSNumber *expectedValue), + NMB_beGreaterThanOrEqualTo(expectedValue)); + +NIMBLE_EXPORT id NMB_beIdenticalTo(id expectedInstance); +NIMBLE_SHORT(id beIdenticalTo(id expectedInstance), + NMB_beIdenticalTo(expectedInstance)); + +NIMBLE_EXPORT id NMB_be(id expectedInstance); +NIMBLE_SHORT(id be(id expectedInstance), + NMB_be(expectedInstance)); + +NIMBLE_EXPORT id NMB_beLessThan(NSNumber *expectedValue); +NIMBLE_SHORT(id beLessThan(NSNumber *expectedValue), + NMB_beLessThan(expectedValue)); + +NIMBLE_EXPORT id NMB_beLessThanOrEqualTo(NSNumber *expectedValue); +NIMBLE_SHORT(id beLessThanOrEqualTo(NSNumber *expectedValue), + NMB_beLessThanOrEqualTo(expectedValue)); + +NIMBLE_EXPORT id NMB_beTruthy(void); +NIMBLE_SHORT(id beTruthy(void), + NMB_beTruthy()); + +NIMBLE_EXPORT id NMB_beFalsy(void); +NIMBLE_SHORT(id beFalsy(void), + NMB_beFalsy()); + +NIMBLE_EXPORT id NMB_beTrue(void); +NIMBLE_SHORT(id beTrue(void), + NMB_beTrue()); + +NIMBLE_EXPORT id NMB_beFalse(void); +NIMBLE_SHORT(id beFalse(void), + NMB_beFalse()); + +NIMBLE_EXPORT id NMB_beNil(void); +NIMBLE_SHORT(id beNil(void), + NMB_beNil()); + +NIMBLE_EXPORT id NMB_beEmpty(void); +NIMBLE_SHORT(id beEmpty(void), + NMB_beEmpty()); + +NIMBLE_EXPORT id NMB_containWithNilTermination(id itemOrSubstring, ...) NS_REQUIRES_NIL_TERMINATION; +#define NMB_contain(...) NMB_containWithNilTermination(__VA_ARGS__, nil) +#ifndef NIMBLE_DISABLE_SHORT_SYNTAX +#define contain(...) NMB_contain(__VA_ARGS__) +#endif + +NIMBLE_EXPORT id NMB_endWith(id itemElementOrSubstring); +NIMBLE_SHORT(id endWith(id itemElementOrSubstring), + NMB_endWith(itemElementOrSubstring)); + +NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException(void); +NIMBLE_SHORT(NMBObjCRaiseExceptionMatcher *raiseException(void), + NMB_raiseException()); + +NIMBLE_EXPORT id NMB_match(id expectedValue); +NIMBLE_SHORT(id match(id expectedValue), + NMB_match(expectedValue)); + +NIMBLE_EXPORT id NMB_allPass(id matcher); +NIMBLE_SHORT(id allPass(id matcher), + NMB_allPass(matcher)); + +NIMBLE_EXPORT id NMB_satisfyAnyOfWithMatchers(id matchers); +#define NMB_satisfyAnyOf(...) NMB_satisfyAnyOfWithMatchers(@[__VA_ARGS__]) +#ifndef NIMBLE_DISABLE_SHORT_SYNTAX +#define satisfyAnyOf(...) NMB_satisfyAnyOf(__VA_ARGS__) +#endif + +// In order to preserve breakpoint behavior despite using macros to fill in __FILE__ and __LINE__, +// define a builder that populates __FILE__ and __LINE__, and returns a block that takes timeout +// and action arguments. See https://github.com/Quick/Quick/pull/185 for details. +typedef void (^NMBWaitUntilTimeoutBlock)(NSTimeInterval timeout, void (^action)(void (^)(void))); +typedef void (^NMBWaitUntilBlock)(void (^action)(void (^)(void))); + +NIMBLE_EXPORT void NMB_failWithMessage(NSString *msg, NSString *file, NSUInteger line); + +NIMBLE_EXPORT NMBWaitUntilTimeoutBlock NMB_waitUntilTimeoutBuilder(NSString *file, NSUInteger line); +NIMBLE_EXPORT NMBWaitUntilBlock NMB_waitUntilBuilder(NSString *file, NSUInteger line); + +NIMBLE_EXPORT void NMB_failWithMessage(NSString *msg, NSString *file, NSUInteger line); + +#define NMB_waitUntilTimeout NMB_waitUntilTimeoutBuilder(@(__FILE__), __LINE__) +#define NMB_waitUntil NMB_waitUntilBuilder(@(__FILE__), __LINE__) + +#ifndef NIMBLE_DISABLE_SHORT_SYNTAX +#define expect(...) NMB_expect(^id{ return (__VA_ARGS__); }, @(__FILE__), __LINE__) +#define expectAction(BLOCK) NMB_expectAction((BLOCK), @(__FILE__), __LINE__) +#define failWithMessage(msg) NMB_failWithMessage(msg, @(__FILE__), __LINE__) +#define fail() failWithMessage(@"fail() always fails") + + +#define waitUntilTimeout NMB_waitUntilTimeout +#define waitUntil NMB_waitUntil +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.m b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.m new file mode 100644 index 000000000..217023880 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/DSL.m @@ -0,0 +1,150 @@ +#import +#import + +SWIFT_CLASS("_TtC6Nimble7NMBWait") +@interface NMBWait : NSObject + ++ (void)untilTimeout:(NSTimeInterval)timeout file:(NSString *)file line:(NSUInteger)line action:(void(^)())action; ++ (void)untilFile:(NSString *)file line:(NSUInteger)line action:(void(^)())action; + +@end + +NIMBLE_EXPORT NMBExpectation *NMB_expect(id(^actualBlock)(), NSString *file, NSUInteger line) { + return [[NMBExpectation alloc] initWithActualBlock:actualBlock + negative:NO + file:file + line:line]; +} + +NIMBLE_EXPORT NMBExpectation *NMB_expectAction(void(^actualBlock)(), NSString *file, NSUInteger line) { + return NMB_expect(^id{ + actualBlock(); + return nil; + }, file, line); +} + +NIMBLE_EXPORT void NMB_failWithMessage(NSString *msg, NSString *file, NSUInteger line) { + return [NMBExpectation failWithMessage:msg file:file line:line]; +} + +NIMBLE_EXPORT id NMB_beAnInstanceOf(Class expectedClass) { + return [NMBObjCMatcher beAnInstanceOfMatcher:expectedClass]; +} + +NIMBLE_EXPORT id NMB_beAKindOf(Class expectedClass) { + return [NMBObjCMatcher beAKindOfMatcher:expectedClass]; +} + +NIMBLE_EXPORT NMBObjCBeCloseToMatcher *NMB_beCloseTo(NSNumber *expectedValue) { + return [NMBObjCMatcher beCloseToMatcher:expectedValue within:0.001]; +} + +NIMBLE_EXPORT id NMB_beginWith(id itemElementOrSubstring) { + return [NMBObjCMatcher beginWithMatcher:itemElementOrSubstring]; +} + +NIMBLE_EXPORT id NMB_beGreaterThan(NSNumber *expectedValue) { + return [NMBObjCMatcher beGreaterThanMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue) { + return [NMBObjCMatcher beGreaterThanOrEqualToMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_beIdenticalTo(id expectedInstance) { + return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance]; +} + +NIMBLE_EXPORT id NMB_be(id expectedInstance) { + return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance]; +} + +NIMBLE_EXPORT id NMB_beLessThan(NSNumber *expectedValue) { + return [NMBObjCMatcher beLessThanMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_beLessThanOrEqualTo(NSNumber *expectedValue) { + return [NMBObjCMatcher beLessThanOrEqualToMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_beTruthy() { + return [NMBObjCMatcher beTruthyMatcher]; +} + +NIMBLE_EXPORT id NMB_beFalsy() { + return [NMBObjCMatcher beFalsyMatcher]; +} + +NIMBLE_EXPORT id NMB_beTrue() { + return [NMBObjCMatcher beTrueMatcher]; +} + +NIMBLE_EXPORT id NMB_beFalse() { + return [NMBObjCMatcher beFalseMatcher]; +} + +NIMBLE_EXPORT id NMB_beNil() { + return [NMBObjCMatcher beNilMatcher]; +} + +NIMBLE_EXPORT id NMB_beEmpty() { + return [NMBObjCMatcher beEmptyMatcher]; +} + +NIMBLE_EXPORT id NMB_containWithNilTermination(id itemOrSubstring, ...) { + NSMutableArray *itemOrSubstringArray = [NSMutableArray array]; + + if (itemOrSubstring) { + [itemOrSubstringArray addObject:itemOrSubstring]; + + va_list args; + va_start(args, itemOrSubstring); + id next; + while ((next = va_arg(args, id))) { + [itemOrSubstringArray addObject:next]; + } + va_end(args); + } + + return [NMBObjCMatcher containMatcher:itemOrSubstringArray]; +} + +NIMBLE_EXPORT id NMB_endWith(id itemElementOrSubstring) { + return [NMBObjCMatcher endWithMatcher:itemElementOrSubstring]; +} + +NIMBLE_EXPORT id NMB_equal(id expectedValue) { + return [NMBObjCMatcher equalMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_haveCount(id expectedValue) { + return [NMBObjCMatcher haveCountMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_match(id expectedValue) { + return [NMBObjCMatcher matchMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_allPass(id expectedValue) { + return [NMBObjCMatcher allPassMatcher:expectedValue]; +} + +NIMBLE_EXPORT id NMB_satisfyAnyOfWithMatchers(id matchers) { + return [NMBObjCMatcher satisfyAnyOfMatcher:matchers]; +} + +NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException() { + return [NMBObjCMatcher raiseExceptionMatcher]; +} + +NIMBLE_EXPORT NMBWaitUntilTimeoutBlock NMB_waitUntilTimeoutBuilder(NSString *file, NSUInteger line) { + return ^(NSTimeInterval timeout, void (^action)(void (^)(void))) { + [NMBWait untilTimeout:timeout file:file line:line action:action]; + }; +} + +NIMBLE_EXPORT NMBWaitUntilBlock NMB_waitUntilBuilder(NSString *file, NSUInteger line) { + return ^(void (^action)(void (^)(void))) { + [NMBWait untilFile:file line:line action:action]; + }; +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.h b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.h new file mode 100644 index 000000000..7e5fb07c3 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.h @@ -0,0 +1,11 @@ +#import +#import + +@interface NMBExceptionCapture : NSObject + +- (id)initWithHandler:(void(^)(NSException *))handler finally:(void(^)())finally; +- (void)tryBlock:(void(^)())unsafeBlock; + +@end + +typedef void(^NMBSourceCallbackBlock)(BOOL successful); diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.m b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.m new file mode 100644 index 000000000..d19d5d973 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.m @@ -0,0 +1,35 @@ +#import "NMBExceptionCapture.h" + +@interface NMBExceptionCapture () +@property (nonatomic, copy) void(^handler)(NSException *exception); +@property (nonatomic, copy) void(^finally)(); +@end + +@implementation NMBExceptionCapture + +- (id)initWithHandler:(void(^)(NSException *))handler finally:(void(^)())finally { + self = [super init]; + if (self) { + self.handler = handler; + self.finally = finally; + } + return self; +} + +- (void)tryBlock:(void(^)())unsafeBlock { + @try { + unsafeBlock(); + } + @catch (NSException *exception) { + if (self.handler) { + self.handler(exception); + } + } + @finally { + if (self.finally) { + self.finally(); + } + } +} + +@end diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExpectation.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExpectation.swift new file mode 100644 index 000000000..3f18d064f --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBExpectation.swift @@ -0,0 +1,131 @@ +import Foundation + +#if _runtime(_ObjC) + +internal struct ObjCMatcherWrapper : Matcher { + let matcher: NMBMatcher + + func matches(actualExpression: Expression, failureMessage: FailureMessage) -> Bool { + return matcher.matches( + ({ try! actualExpression.evaluate() }), + failureMessage: failureMessage, + location: actualExpression.location) + } + + func doesNotMatch(actualExpression: Expression, failureMessage: FailureMessage) -> Bool { + return matcher.doesNotMatch( + ({ try! actualExpression.evaluate() }), + failureMessage: failureMessage, + location: actualExpression.location) + } +} + +// Equivalent to Expectation, but for Nimble's Objective-C interface +public class NMBExpectation : NSObject { + internal let _actualBlock: () -> NSObject! + internal var _negative: Bool + internal let _file: FileString + internal let _line: UInt + internal var _timeout: NSTimeInterval = 1.0 + + public init(actualBlock: () -> NSObject!, negative: Bool, file: FileString, line: UInt) { + self._actualBlock = actualBlock + self._negative = negative + self._file = file + self._line = line + } + + private var expectValue: Expectation { + return expect(_file, line: _line){ + self._actualBlock() as NSObject? + } + } + + public var withTimeout: (NSTimeInterval) -> NMBExpectation { + return ({ timeout in self._timeout = timeout + return self + }) + } + + public var to: (NMBMatcher) -> Void { + return ({ matcher in + self.expectValue.to(ObjCMatcherWrapper(matcher: matcher)) + }) + } + + public var toWithDescription: (NMBMatcher, String) -> Void { + return ({ matcher, description in + self.expectValue.to(ObjCMatcherWrapper(matcher: matcher), description: description) + }) + } + + public var toNot: (NMBMatcher) -> Void { + return ({ matcher in + self.expectValue.toNot( + ObjCMatcherWrapper(matcher: matcher) + ) + }) + } + + public var toNotWithDescription: (NMBMatcher, String) -> Void { + return ({ matcher, description in + self.expectValue.toNot( + ObjCMatcherWrapper(matcher: matcher), description: description + ) + }) + } + + public var notTo: (NMBMatcher) -> Void { return toNot } + + public var notToWithDescription: (NMBMatcher, String) -> Void { return toNotWithDescription } + + public var toEventually: (NMBMatcher) -> Void { + return ({ matcher in + self.expectValue.toEventually( + ObjCMatcherWrapper(matcher: matcher), + timeout: self._timeout, + description: nil + ) + }) + } + + public var toEventuallyWithDescription: (NMBMatcher, String) -> Void { + return ({ matcher, description in + self.expectValue.toEventually( + ObjCMatcherWrapper(matcher: matcher), + timeout: self._timeout, + description: description + ) + }) + } + + public var toEventuallyNot: (NMBMatcher) -> Void { + return ({ matcher in + self.expectValue.toEventuallyNot( + ObjCMatcherWrapper(matcher: matcher), + timeout: self._timeout, + description: nil + ) + }) + } + + public var toEventuallyNotWithDescription: (NMBMatcher, String) -> Void { + return ({ matcher, description in + self.expectValue.toEventuallyNot( + ObjCMatcherWrapper(matcher: matcher), + timeout: self._timeout, + description: description + ) + }) + } + + public var toNotEventually: (NMBMatcher) -> Void { return toEventuallyNot } + + public var toNotEventuallyWithDescription: (NMBMatcher, String) -> Void { return toEventuallyNotWithDescription } + + public class func failWithMessage(message: String, file: FileString, line: UInt) { + fail(message, location: SourceLocation(file: file, line: line)) + } +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBObjCMatcher.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBObjCMatcher.swift new file mode 100644 index 000000000..9f31d42ba --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBObjCMatcher.swift @@ -0,0 +1,81 @@ +import Foundation + +#if _runtime(_ObjC) + +public typealias MatcherBlock = (actualExpression: Expression, failureMessage: FailureMessage) -> Bool +public typealias FullMatcherBlock = (actualExpression: Expression, failureMessage: FailureMessage, shouldNotMatch: Bool) -> Bool + +public class NMBObjCMatcher : NSObject, NMBMatcher { + let _match: MatcherBlock + let _doesNotMatch: MatcherBlock + let canMatchNil: Bool + + public init(canMatchNil: Bool, matcher: MatcherBlock, notMatcher: MatcherBlock) { + self.canMatchNil = canMatchNil + self._match = matcher + self._doesNotMatch = notMatcher + } + + public convenience init(matcher: MatcherBlock) { + self.init(canMatchNil: true, matcher: matcher) + } + + public convenience init(canMatchNil: Bool, matcher: MatcherBlock) { + self.init(canMatchNil: canMatchNil, matcher: matcher, notMatcher: ({ actualExpression, failureMessage in + return !matcher(actualExpression: actualExpression, failureMessage: failureMessage) + })) + } + + public convenience init(matcher: FullMatcherBlock) { + self.init(canMatchNil: true, matcher: matcher) + } + + public convenience init(canMatchNil: Bool, matcher: FullMatcherBlock) { + self.init(canMatchNil: canMatchNil, matcher: ({ actualExpression, failureMessage in + return matcher(actualExpression: actualExpression, failureMessage: failureMessage, shouldNotMatch: false) + }), notMatcher: ({ actualExpression, failureMessage in + return matcher(actualExpression: actualExpression, failureMessage: failureMessage, shouldNotMatch: true) + })) + } + + private func canMatch(actualExpression: Expression, failureMessage: FailureMessage) -> Bool { + do { + if !canMatchNil { + if try actualExpression.evaluate() == nil { + failureMessage.postfixActual = " (use beNil() to match nils)" + return false + } + } + } catch let error { + failureMessage.actualValue = "an unexpected error thrown: \(error)" + return false + } + return true + } + + public func matches(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + let expr = Expression(expression: actualBlock, location: location) + let result = _match( + actualExpression: expr, + failureMessage: failureMessage) + if self.canMatch(Expression(expression: actualBlock, location: location), failureMessage: failureMessage) { + return result + } else { + return false + } + } + + public func doesNotMatch(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + let expr = Expression(expression: actualBlock, location: location) + let result = _doesNotMatch( + actualExpression: expr, + failureMessage: failureMessage) + if self.canMatch(Expression(expression: actualBlock, location: location), failureMessage: failureMessage) { + return result + } else { + return false + } + } +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.h b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.h new file mode 100644 index 000000000..e5d5ddd2f --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.h @@ -0,0 +1,18 @@ +@class NSString; + +/** + * Returns a string appropriate for displaying in test output + * from the provided value. + * + * @param value A value that will show up in a test's output. + * + * @return The string that is returned can be + * customized per type by conforming a type to the `TestOutputStringConvertible` + * protocol. When stringifying a non-`TestOutputStringConvertible` type, this + * function will return the value's debug description and then its + * normal description if available and in that order. Otherwise it + * will return the result of constructing a string from the value. + * + * @see `TestOutputStringConvertible` + */ +extern NSString *_Nonnull NMBStringify(id _Nullable anyObject) __attribute__((warn_unused_result)); diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.m b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.m new file mode 100644 index 000000000..329d39a0f --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/NMBStringify.m @@ -0,0 +1,6 @@ +#import "NMBStringify.h" +#import + +NSString *_Nonnull NMBStringify(id _Nullable anyObject) { + return [NMBStringer stringify:anyObject]; +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/XCTestObservationCenter+Register.m b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/XCTestObservationCenter+Register.m new file mode 100644 index 000000000..35f26fd00 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Adapters/ObjectiveC/XCTestObservationCenter+Register.m @@ -0,0 +1,78 @@ +#import "CurrentTestCaseTracker.h" +#import +#import + +#pragma mark - Method Swizzling + +/// Swaps the implementations between two instance methods. +/// +/// @param class The class containing `originalSelector`. +/// @param originalSelector Original method to replace. +/// @param replacementSelector Replacement method. +void swizzleSelectors(Class class, SEL originalSelector, SEL replacementSelector) { + Method originalMethod = class_getInstanceMethod(class, originalSelector); + Method replacementMethod = class_getInstanceMethod(class, replacementSelector); + + BOOL didAddMethod = + class_addMethod(class, + originalSelector, + method_getImplementation(replacementMethod), + method_getTypeEncoding(replacementMethod)); + + if (didAddMethod) { + class_replaceMethod(class, + replacementSelector, + method_getImplementation(originalMethod), + method_getTypeEncoding(originalMethod)); + } else { + method_exchangeImplementations(originalMethod, replacementMethod); + } +} + +#pragma mark - Private + +@interface XCTestObservationCenter (Private) +- (void)_addLegacyTestObserver:(id)observer; +@end + +@implementation XCTestObservationCenter (Register) + +/// Uses objc method swizzling to register `CurrentTestCaseTracker` as a test observer. This is necessary +/// because Xcode 7.3 introduced timing issues where if a custom `XCTestObservation` is registered too early +/// it suppresses all console output (generated by `XCTestLog`), breaking any tools that depend on this output. +/// This approach waits to register our custom test observer until XCTest adds its first "legacy" observer, +/// falling back to registering after the first normal observer if this private method ever changes. ++ (void)load { + if (class_getInstanceMethod([self class], @selector(_addLegacyTestObserver:))) { + // Swizzle -_addLegacyTestObserver: + swizzleSelectors([self class], @selector(_addLegacyTestObserver:), @selector(NMB_original__addLegacyTestObserver:)); + } else { + // Swizzle -addTestObserver:, only if -_addLegacyTestObserver: is not implemented + swizzleSelectors([self class], @selector(addTestObserver:), @selector(NMB_original_addTestObserver:)); + } +} + +#pragma mark - Replacement Methods + +/// Registers `CurrentTestCaseTracker` as a test observer after `XCTestLog` has been added. +- (void)NMB_original__addLegacyTestObserver:(id)observer { + [self NMB_original__addLegacyTestObserver:observer]; + + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + [self addTestObserver:[CurrentTestCaseTracker sharedInstance]]; + }); +} + +/// Registers `CurrentTestCaseTracker` as a test observer after `XCTestLog` has been added. +/// This method is only used if `-_addLegacyTestObserver:` is not impelemented. (added in Xcode 7.3) +- (void)NMB_original_addTestObserver:(id)observer { + [self NMB_original_addTestObserver:observer]; + + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + [self NMB_original_addTestObserver:[CurrentTestCaseTracker sharedInstance]]; + }); +} + +@end diff --git a/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift b/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift new file mode 100644 index 000000000..912496454 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift @@ -0,0 +1,93 @@ +import Foundation + +#if _runtime(_ObjC) +private enum ErrorResult { + case Exception(NSException) + case Error(ErrorType) + case None +} + +/// Only classes, protocols, methods, properties, and subscript declarations can be +/// bridges to Objective-C via the @objc keyword. This class encapsulates callback-style +/// asynchronous waiting logic so that it may be called from Objective-C and Swift. +internal class NMBWait: NSObject { + internal class func until( + timeout timeout: NSTimeInterval, + file: FileString = #file, + line: UInt = #line, + action: (() -> Void) -> Void) -> Void { + return throwableUntil(timeout: timeout, file: file, line: line) { (done: () -> Void) throws -> Void in + action() { done() } + } + } + + // Using a throwable closure makes this method not objc compatible. + internal class func throwableUntil( + timeout timeout: NSTimeInterval, + file: FileString = #file, + line: UInt = #line, + action: (() -> Void) throws -> Void) -> Void { + let awaiter = NimbleEnvironment.activeInstance.awaiter + let leeway = timeout / 2.0 + let result = awaiter.performBlock { (done: (ErrorResult) -> Void) throws -> Void in + dispatch_async(dispatch_get_main_queue()) { + let capture = NMBExceptionCapture( + handler: ({ exception in + done(.Exception(exception)) + }), + finally: ({ }) + ) + capture.tryBlock { + do { + try action() { + done(.None) + } + } catch let e { + done(.Error(e)) + } + } + } + }.timeout(timeout, forcefullyAbortTimeout: leeway).wait("waitUntil(...)", file: file, line: line) + + switch result { + case .Incomplete: internalError("Reached .Incomplete state for waitUntil(...).") + case .BlockedRunLoop: + fail(blockedRunLoopErrorMessageFor("-waitUntil()", leeway: leeway), + file: file, line: line) + case .TimedOut: + let pluralize = (timeout == 1 ? "" : "s") + fail("Waited more than \(timeout) second\(pluralize)", file: file, line: line) + case let .RaisedException(exception): + fail("Unexpected exception raised: \(exception)") + case let .ErrorThrown(error): + fail("Unexpected error thrown: \(error)") + case .Completed(.Exception(let exception)): + fail("Unexpected exception raised: \(exception)") + case .Completed(.Error(let error)): + fail("Unexpected error thrown: \(error)") + case .Completed(.None): // success + break + } + } + + @objc(untilFile:line:action:) + internal class func until(file: FileString = #file, line: UInt = #line, action: (() -> Void) -> Void) -> Void { + until(timeout: 1, file: file, line: line, action: action) + } +} + +internal func blockedRunLoopErrorMessageFor(fnName: String, leeway: NSTimeInterval) -> String { + return "\(fnName) timed out but was unable to run the timeout handler because the main thread is unresponsive (\(leeway) seconds is allow after the wait times out). Conditions that may cause this include processing blocking IO on the main thread, calls to sleep(), deadlocks, and synchronous IPC. Nimble forcefully stopped run loop which may cause future failures in test run." +} + +/// Wait asynchronously until the done closure is called or the timeout has been reached. +/// +/// @discussion +/// Call the done() closure to indicate the waiting has completed. +/// +/// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function +/// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. +public func waitUntil(timeout timeout: NSTimeInterval = 1, file: FileString = #file, line: UInt = #line, action: (() -> Void) -> Void) -> Void { + NMBWait.until(timeout: timeout, file: file, line: line, action: action) +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/DSL.swift b/Example/Pods/Nimble/Sources/Nimble/DSL.swift new file mode 100644 index 000000000..b43a9335a --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/DSL.swift @@ -0,0 +1,68 @@ +import Foundation + +/// Make an expectation on a given actual value. The value given is lazily evaluated. +@warn_unused_result(message="Follow 'expect(…)' with '.to(…)', '.toNot(…)', 'toEventually(…)', '==', etc.") +public func expect(@autoclosure(escaping) expression: () throws -> T?, file: FileString = #file, line: UInt = #line) -> Expectation { + return Expectation( + expression: Expression( + expression: expression, + location: SourceLocation(file: file, line: line), + isClosure: true)) +} + +/// Make an expectation on a given actual value. The closure is lazily invoked. +@warn_unused_result(message="Follow 'expect(…)' with '.to(…)', '.toNot(…)', 'toEventually(…)', '==', etc.") +public func expect(file: FileString = #file, line: UInt = #line, expression: () throws -> T?) -> Expectation { + return Expectation( + expression: Expression( + expression: expression, + location: SourceLocation(file: file, line: line), + isClosure: true)) +} + +/// Always fails the test with a message and a specified location. +public func fail(message: String, location: SourceLocation) { + let handler = NimbleEnvironment.activeInstance.assertionHandler + handler.assert(false, message: FailureMessage(stringValue: message), location: location) +} + +/// Always fails the test with a message. +public func fail(message: String, file: FileString = #file, line: UInt = #line) { + fail(message, location: SourceLocation(file: file, line: line)) +} + +/// Always fails the test. +public func fail(file: FileString = #file, line: UInt = #line) { + fail("fail() always fails", file: file, line: line) +} + +/// Like Swift's precondition(), but raises NSExceptions instead of sigaborts +internal func nimblePrecondition( + @autoclosure expr: () -> Bool, + @autoclosure _ name: () -> String, + @autoclosure _ message: () -> String, + file: StaticString = #file, + line: UInt = #line) -> Bool { + let result = expr() + if !result { +#if _runtime(_ObjC) + let e = NSException( + name: name(), + reason: message(), + userInfo: nil) + e.raise() +#else + preconditionFailure("\(name()) - \(message())", file: file, line: line) +#endif + } + return result +} + +@noreturn +internal func internalError(msg: String, file: FileString = #file, line: UInt = #line) { + fatalError( + "Nimble Bug Found: \(msg) at \(file):\(line).\n" + + "Please file a bug to Nimble: https://github.com/Quick/Nimble/issues with the " + + "code snippet that caused this error." + ) +} \ No newline at end of file diff --git a/Example/Pods/Nimble/Sources/Nimble/Expectation.swift b/Example/Pods/Nimble/Sources/Nimble/Expectation.swift new file mode 100644 index 000000000..5baf25848 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Expectation.swift @@ -0,0 +1,66 @@ +import Foundation + +internal func expressionMatches(expression: Expression, matcher: U, to: String, description: String?) -> (Bool, FailureMessage) { + let msg = FailureMessage() + msg.userDescription = description + msg.to = to + do { + let pass = try matcher.matches(expression, failureMessage: msg) + if msg.actualValue == "" { + msg.actualValue = "<\(stringify(try expression.evaluate()))>" + } + return (pass, msg) + } catch let error { + msg.actualValue = "an unexpected error thrown: <\(error)>" + return (false, msg) + } +} + +internal func expressionDoesNotMatch(expression: Expression, matcher: U, toNot: String, description: String?) -> (Bool, FailureMessage) { + let msg = FailureMessage() + msg.userDescription = description + msg.to = toNot + do { + let pass = try matcher.doesNotMatch(expression, failureMessage: msg) + if msg.actualValue == "" { + msg.actualValue = "<\(stringify(try expression.evaluate()))>" + } + return (pass, msg) + } catch let error { + msg.actualValue = "an unexpected error thrown: <\(error)>" + return (false, msg) + } +} + +public struct Expectation { + + public let expression: Expression + + public func verify(pass: Bool, _ message: FailureMessage) { + let handler = NimbleEnvironment.activeInstance.assertionHandler + handler.assert(pass, message: message, location: expression.location) + } + + /// Tests the actual value using a matcher to match. + public func to(matcher: U, description: String? = nil) { + let (pass, msg) = expressionMatches(expression, matcher: matcher, to: "to", description: description) + verify(pass, msg) + } + + /// Tests the actual value using a matcher to not match. + public func toNot(matcher: U, description: String? = nil) { + let (pass, msg) = expressionDoesNotMatch(expression, matcher: matcher, toNot: "to not", description: description) + verify(pass, msg) + } + + /// Tests the actual value using a matcher to not match. + /// + /// Alias to toNot(). + public func notTo(matcher: U, description: String? = nil) { + toNot(matcher, description: description) + } + + // see: + // - AsyncMatcherWrapper for extension + // - NMBExpectation for Objective-C interface +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Expression.swift b/Example/Pods/Nimble/Sources/Nimble/Expression.swift new file mode 100644 index 000000000..f64ee2456 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Expression.swift @@ -0,0 +1,90 @@ +import Foundation + +// Memoizes the given closure, only calling the passed +// closure once; even if repeat calls to the returned closure +internal func memoizedClosure(closure: () throws -> T) -> (Bool) throws -> T { + var cache: T? + return ({ withoutCaching in + if (withoutCaching || cache == nil) { + cache = try closure() + } + return cache! + }) +} + +/// Expression represents the closure of the value inside expect(...). +/// Expressions are memoized by default. This makes them safe to call +/// evaluate() multiple times without causing a re-evaluation of the underlying +/// closure. +/// +/// @warning Since the closure can be any code, Objective-C code may choose +/// to raise an exception. Currently, Expression does not memoize +/// exception raising. +/// +/// This provides a common consumable API for matchers to utilize to allow +/// Nimble to change internals to how the captured closure is managed. +public struct Expression { + internal let _expression: (Bool) throws -> T? + internal let _withoutCaching: Bool + public let location: SourceLocation + public let isClosure: Bool + + /// Creates a new expression struct. Normally, expect(...) will manage this + /// creation process. The expression is memoized. + /// + /// @param expression The closure that produces a given value. + /// @param location The source location that this closure originates from. + /// @param isClosure A bool indicating if the captured expression is a + /// closure or internally produced closure. Some matchers + /// may require closures. For example, toEventually() + /// requires an explicit closure. This gives Nimble + /// flexibility if @autoclosure behavior changes between + /// Swift versions. Nimble internals always sets this true. + public init(expression: () throws -> T?, location: SourceLocation, isClosure: Bool = true) { + self._expression = memoizedClosure(expression) + self.location = location + self._withoutCaching = false + self.isClosure = isClosure + } + + /// Creates a new expression struct. Normally, expect(...) will manage this + /// creation process. + /// + /// @param expression The closure that produces a given value. + /// @param location The source location that this closure originates from. + /// @param withoutCaching Indicates if the struct should memoize the given + /// closure's result. Subsequent evaluate() calls will + /// not call the given closure if this is true. + /// @param isClosure A bool indicating if the captured expression is a + /// closure or internally produced closure. Some matchers + /// may require closures. For example, toEventually() + /// requires an explicit closure. This gives Nimble + /// flexibility if @autoclosure behavior changes between + /// Swift versions. Nimble internals always sets this true. + public init(memoizedExpression: (Bool) throws -> T?, location: SourceLocation, withoutCaching: Bool, isClosure: Bool = true) { + self._expression = memoizedExpression + self.location = location + self._withoutCaching = withoutCaching + self.isClosure = isClosure + } + + /// Returns a new Expression from the given expression. Identical to a map() + /// on this type. This should be used only to typecast the Expression's + /// closure value. + /// + /// The returned expression will preserve location and isClosure. + /// + /// @param block The block that can cast the current Expression value to a + /// new type. + public func cast(block: (T?) throws -> U?) -> Expression { + return Expression(expression: ({ try block(self.evaluate()) }), location: self.location, isClosure: self.isClosure) + } + + public func evaluate() throws -> T? { + return try self._expression(_withoutCaching) + } + + public func withoutCaching() -> Expression { + return Expression(memoizedExpression: self._expression, location: location, withoutCaching: true, isClosure: isClosure) + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift b/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift new file mode 100644 index 000000000..4d23bc8e8 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift @@ -0,0 +1,56 @@ +import Foundation + +/// Encapsulates the failure message that matchers can report to the end user. +/// +/// This is shared state between Nimble and matchers that mutate this value. +public class FailureMessage: NSObject { + public var expected: String = "expected" + public var actualValue: String? = "" // empty string -> use default; nil -> exclude + public var to: String = "to" + public var postfixMessage: String = "match" + public var postfixActual: String = "" + public var userDescription: String? = nil + + public var stringValue: String { + get { + if let value = _stringValueOverride { + return value + } else { + return computeStringValue() + } + } + set { + _stringValueOverride = newValue + } + } + + internal var _stringValueOverride: String? + + public override init() { + } + + public init(stringValue: String) { + _stringValueOverride = stringValue + } + + internal func stripNewlines(str: String) -> String { + var lines: [String] = NSString(string: str).componentsSeparatedByString("\n") as [String] + let whitespace = NSCharacterSet.whitespaceAndNewlineCharacterSet() + lines = lines.map { line in NSString(string: line).stringByTrimmingCharactersInSet(whitespace) } + return lines.joinWithSeparator("") + } + + internal func computeStringValue() -> String { + var value = "\(expected) \(to) \(postfixMessage)" + if let actualValue = actualValue { + value = "\(expected) \(to) \(postfixMessage), got \(actualValue)\(postfixActual)" + } + value = stripNewlines(value) + + if let userDescription = userDescription { + return "\(userDescription)\n\(value)" + } + + return value + } +} \ No newline at end of file diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift new file mode 100644 index 000000000..d67714b2a --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift @@ -0,0 +1,92 @@ +import Foundation + +public func allPass + (passFunc: (T?) -> Bool) -> NonNilMatcherFunc { + return allPass("pass a condition", passFunc) +} + +public func allPass + (passName: String, _ passFunc: (T?) -> Bool) -> NonNilMatcherFunc { + return createAllPassMatcher() { + expression, failureMessage in + failureMessage.postfixMessage = passName + return passFunc(try expression.evaluate()) + } +} + +public func allPass + (matcher: V) -> NonNilMatcherFunc { + return createAllPassMatcher() { + try matcher.matches($0, failureMessage: $1) + } +} + +private func createAllPassMatcher + (elementEvaluator:(Expression, FailureMessage) throws -> Bool) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.actualValue = nil + if let actualValue = try actualExpression.evaluate() { + for currentElement in actualValue { + let exp = Expression( + expression: {currentElement}, location: actualExpression.location) + if try !elementEvaluator(exp, failureMessage) { + failureMessage.postfixMessage = + "all \(failureMessage.postfixMessage)," + + " but failed first at element <\(stringify(currentElement))>" + + " in <\(stringify(actualValue))>" + return false + } + } + failureMessage.postfixMessage = "all \(failureMessage.postfixMessage)" + } else { + failureMessage.postfixMessage = "all pass (use beNil() to match nils)" + return false + } + + return true + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func allPassMatcher(matcher: NMBObjCMatcher) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let location = actualExpression.location + let actualValue = try! actualExpression.evaluate() + var nsObjects = [NSObject]() + + var collectionIsUsable = true + if let value = actualValue as? NSFastEnumeration { + let generator = NSFastGenerator(value) + while let obj:AnyObject = generator.next() { + if let nsObject = obj as? NSObject { + nsObjects.append(nsObject) + } else { + collectionIsUsable = false + break + } + } + } else { + collectionIsUsable = false + } + + if !collectionIsUsable { + failureMessage.postfixMessage = + "allPass only works with NSFastEnumeration (NSArray, NSSet, ...) of NSObjects" + failureMessage.expected = "" + failureMessage.to = "" + return false + } + + let expr = Expression(expression: ({ nsObjects }), location: location) + let elementEvaluator: (Expression, FailureMessage) -> Bool = { + expression, failureMessage in + return matcher.matches( + {try! expression.evaluate()}, failureMessage: failureMessage, location: expr.location) + } + return try! createAllPassMatcher(elementEvaluator).matches( + expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift new file mode 100644 index 000000000..3df6eb656 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift @@ -0,0 +1,140 @@ +import Foundation + +#if _runtime(_ObjC) + +public struct AsyncDefaults { + public static var Timeout: NSTimeInterval = 1 + public static var PollInterval: NSTimeInterval = 0.01 +} + +internal struct AsyncMatcherWrapper: Matcher { + let fullMatcher: U + let timeoutInterval: NSTimeInterval + let pollInterval: NSTimeInterval + + init(fullMatcher: U, timeoutInterval: NSTimeInterval = AsyncDefaults.Timeout, pollInterval: NSTimeInterval = AsyncDefaults.PollInterval) { + self.fullMatcher = fullMatcher + self.timeoutInterval = timeoutInterval + self.pollInterval = pollInterval + } + + func matches(actualExpression: Expression, failureMessage: FailureMessage) -> Bool { + let uncachedExpression = actualExpression.withoutCaching() + let fnName = "expect(...).toEventually(...)" + let result = pollBlock( + pollInterval: pollInterval, + timeoutInterval: timeoutInterval, + file: actualExpression.location.file, + line: actualExpression.location.line, + fnName: fnName) { + try self.fullMatcher.matches(uncachedExpression, failureMessage: failureMessage) + } + switch (result) { + case let .Completed(isSuccessful): return isSuccessful + case .TimedOut: return false + case let .ErrorThrown(error): + failureMessage.actualValue = "an unexpected error thrown: <\(error)>" + return false + case let .RaisedException(exception): + failureMessage.actualValue = "an unexpected exception thrown: <\(exception)>" + return false + case .BlockedRunLoop: + failureMessage.postfixMessage += " (timed out, but main thread was unresponsive)." + return false + case .Incomplete: + internalError("Reached .Incomplete state for toEventually(...).") + } + } + + func doesNotMatch(actualExpression: Expression, failureMessage: FailureMessage) -> Bool { + let uncachedExpression = actualExpression.withoutCaching() + let result = pollBlock( + pollInterval: pollInterval, + timeoutInterval: timeoutInterval, + file: actualExpression.location.file, + line: actualExpression.location.line, + fnName: "expect(...).toEventuallyNot(...)") { + try self.fullMatcher.doesNotMatch(uncachedExpression, failureMessage: failureMessage) + } + switch (result) { + case let .Completed(isSuccessful): return isSuccessful + case .TimedOut: return false + case let .ErrorThrown(error): + failureMessage.actualValue = "an unexpected error thrown: <\(error)>" + return false + case let .RaisedException(exception): + failureMessage.actualValue = "an unexpected exception thrown: <\(exception)>" + return false + case .BlockedRunLoop: + failureMessage.postfixMessage += " (timed out, but main thread was unresponsive)." + return false + case .Incomplete: + internalError("Reached .Incomplete state for toEventuallyNot(...).") + } + } +} + +private let toEventuallyRequiresClosureError = FailureMessage(stringValue: "expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )\nSwift 1.2 @autoclosure behavior has changed in an incompatible way for Nimble to function") + + +extension Expectation { + /// Tests the actual value using a matcher to match by checking continuously + /// at each pollInterval until the timeout is reached. + /// + /// @discussion + /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function + /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. + public func toEventually(matcher: U, timeout: NSTimeInterval = AsyncDefaults.Timeout, pollInterval: NSTimeInterval = AsyncDefaults.PollInterval, description: String? = nil) { + if expression.isClosure { + let (pass, msg) = expressionMatches( + expression, + matcher: AsyncMatcherWrapper( + fullMatcher: matcher, + timeoutInterval: timeout, + pollInterval: pollInterval), + to: "to eventually", + description: description + ) + verify(pass, msg) + } else { + verify(false, toEventuallyRequiresClosureError) + } + } + + /// Tests the actual value using a matcher to not match by checking + /// continuously at each pollInterval until the timeout is reached. + /// + /// @discussion + /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function + /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. + public func toEventuallyNot(matcher: U, timeout: NSTimeInterval = AsyncDefaults.Timeout, pollInterval: NSTimeInterval = AsyncDefaults.PollInterval, description: String? = nil) { + if expression.isClosure { + let (pass, msg) = expressionDoesNotMatch( + expression, + matcher: AsyncMatcherWrapper( + fullMatcher: matcher, + timeoutInterval: timeout, + pollInterval: pollInterval), + toNot: "to eventually not", + description: description + ) + verify(pass, msg) + } else { + verify(false, toEventuallyRequiresClosureError) + } + } + + /// Tests the actual value using a matcher to not match by checking + /// continuously at each pollInterval until the timeout is reached. + /// + /// Alias of toEventuallyNot() + /// + /// @discussion + /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function + /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. + public func toNotEventually(matcher: U, timeout: NSTimeInterval = AsyncDefaults.Timeout, pollInterval: NSTimeInterval = AsyncDefaults.PollInterval, description: String? = nil) { + return toEventuallyNot(matcher, timeout: timeout, pollInterval: pollInterval, description: description) + } +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift new file mode 100644 index 000000000..d1f3737c4 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift @@ -0,0 +1,38 @@ +import Foundation + +#if _runtime(_ObjC) + +// A Nimble matcher that catches attempts to use beAKindOf with non Objective-C types +public func beAKindOf(expectedClass: Any) -> NonNilMatcherFunc { + return NonNilMatcherFunc {actualExpression, failureMessage in + failureMessage.stringValue = "beAKindOf only works on Objective-C types since" + + " the Swift compiler will automatically type check Swift-only types." + + " This expectation is redundant." + return false + } +} + +/// A Nimble matcher that succeeds when the actual value is an instance of the given class. +/// @see beAnInstanceOf if you want to match against the exact class +public func beAKindOf(expectedClass: AnyClass) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let instance = try actualExpression.evaluate() + if let validInstance = instance { + failureMessage.actualValue = "<\(classAsString(validInstance.dynamicType)) instance>" + } else { + failureMessage.actualValue = "" + } + failureMessage.postfixMessage = "be a kind of \(classAsString(expectedClass))" + return instance != nil && instance!.isKindOfClass(expectedClass) + } +} + +extension NMBObjCMatcher { + public class func beAKindOfMatcher(expected: AnyClass) -> NMBMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + return try! beAKindOf(expected).matches(actualExpression, failureMessage: failureMessage) + } + } +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift new file mode 100644 index 000000000..32477dd83 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift @@ -0,0 +1,40 @@ +import Foundation + +// A Nimble matcher that catches attempts to use beAnInstanceOf with non Objective-C types +public func beAnInstanceOf(expectedClass: Any) -> NonNilMatcherFunc { + return NonNilMatcherFunc {actualExpression, failureMessage in + failureMessage.stringValue = "beAnInstanceOf only works on Objective-C types since" + + " the Swift compiler will automatically type check Swift-only types." + + " This expectation is redundant." + return false + } +} + +/// A Nimble matcher that succeeds when the actual value is an instance of the given class. +/// @see beAKindOf if you want to match against subclasses +public func beAnInstanceOf(expectedClass: AnyClass) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let instance = try actualExpression.evaluate() + if let validInstance = instance { + failureMessage.actualValue = "<\(classAsString(validInstance.dynamicType)) instance>" + } else { + failureMessage.actualValue = "" + } + failureMessage.postfixMessage = "be an instance of \(classAsString(expectedClass))" +#if _runtime(_ObjC) + return instance != nil && instance!.isMemberOfClass(expectedClass) +#else + return instance != nil && instance!.dynamicType == expectedClass +#endif + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beAnInstanceOfMatcher(expected: AnyClass) -> NMBMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + return try! beAnInstanceOf(expected).matches(actualExpression, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift new file mode 100644 index 000000000..2ba9d2f6d --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift @@ -0,0 +1,124 @@ +#if os(Linux) +import Glibc +#endif +import Foundation + +internal let DefaultDelta = 0.0001 + +internal func isCloseTo(actualValue: NMBDoubleConvertible?, expectedValue: NMBDoubleConvertible, delta: Double, failureMessage: FailureMessage) -> Bool { + failureMessage.postfixMessage = "be close to <\(stringify(expectedValue))> (within \(stringify(delta)))" + failureMessage.actualValue = "<\(stringify(actualValue))>" + return actualValue != nil && abs(actualValue!.doubleValue - expectedValue.doubleValue) < delta +} + +/// A Nimble matcher that succeeds when a value is close to another. This is used for floating +/// point values which can have imprecise results when doing arithmetic on them. +/// +/// @see equal +public func beCloseTo(expectedValue: Double, within delta: Double = DefaultDelta) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + return isCloseTo(try actualExpression.evaluate(), expectedValue: expectedValue, delta: delta, failureMessage: failureMessage) + } +} + +/// A Nimble matcher that succeeds when a value is close to another. This is used for floating +/// point values which can have imprecise results when doing arithmetic on them. +/// +/// @see equal +public func beCloseTo(expectedValue: NMBDoubleConvertible, within delta: Double = DefaultDelta) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + return isCloseTo(try actualExpression.evaluate(), expectedValue: expectedValue, delta: delta, failureMessage: failureMessage) + } +} + +#if _runtime(_ObjC) +public class NMBObjCBeCloseToMatcher : NSObject, NMBMatcher { + var _expected: NSNumber + var _delta: CDouble + init(expected: NSNumber, within: CDouble) { + _expected = expected + _delta = within + } + + public func matches(actualExpression: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + let actualBlock: () -> NMBDoubleConvertible? = ({ + return actualExpression() as? NMBDoubleConvertible + }) + let expr = Expression(expression: actualBlock, location: location) + let matcher = beCloseTo(self._expected, within: self._delta) + return try! matcher.matches(expr, failureMessage: failureMessage) + } + + public func doesNotMatch(actualExpression: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + let actualBlock: () -> NMBDoubleConvertible? = ({ + return actualExpression() as? NMBDoubleConvertible + }) + let expr = Expression(expression: actualBlock, location: location) + let matcher = beCloseTo(self._expected, within: self._delta) + return try! matcher.doesNotMatch(expr, failureMessage: failureMessage) + } + + public var within: (CDouble) -> NMBObjCBeCloseToMatcher { + return ({ delta in + return NMBObjCBeCloseToMatcher(expected: self._expected, within: delta) + }) + } +} + +extension NMBObjCMatcher { + public class func beCloseToMatcher(expected: NSNumber, within: CDouble) -> NMBObjCBeCloseToMatcher { + return NMBObjCBeCloseToMatcher(expected: expected, within: within) + } +} +#endif + +public func beCloseTo(expectedValues: [Double], within delta: Double = DefaultDelta) -> NonNilMatcherFunc <[Double]> { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be close to <\(stringify(expectedValues))> (each within \(stringify(delta)))" + if let actual = try actualExpression.evaluate() { + failureMessage.actualValue = "<\(stringify(actual))>" + + if actual.count != expectedValues.count { + return false + } else { + for (index, actualItem) in actual.enumerate() { + if fabs(actualItem - expectedValues[index]) > delta { + return false + } + } + return true + } + } + return false + } +} + +// MARK: - Operators + +infix operator ≈ { + associativity none + precedence 130 +} + +public func ≈(lhs: Expectation<[Double]>, rhs: [Double]) { + lhs.to(beCloseTo(rhs)) +} + +public func ≈(lhs: Expectation, rhs: NMBDoubleConvertible) { + lhs.to(beCloseTo(rhs)) +} + +public func ≈(lhs: Expectation, rhs: (expected: NMBDoubleConvertible, delta: Double)) { + lhs.to(beCloseTo(rhs.expected, within: rhs.delta)) +} + +public func ==(lhs: Expectation, rhs: (expected: NMBDoubleConvertible, delta: Double)) { + lhs.to(beCloseTo(rhs.expected, within: rhs.delta)) +} + +// make this higher precedence than exponents so the Doubles either end aren't pulled in +// unexpectantly +infix operator ± { precedence 170 } +public func ±(lhs: NMBDoubleConvertible, rhs: Double) -> (expected: NMBDoubleConvertible, delta: Double) { + return (expected: lhs, delta: rhs) +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift new file mode 100644 index 000000000..cebd82df7 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift @@ -0,0 +1,92 @@ +import Foundation + + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For strings, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actualSeq = try actualExpression.evaluate() + if actualSeq == nil { + return true + } + var generator = actualSeq!.generate() + return generator.next() == nil + } +} + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For strings, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actualString = try actualExpression.evaluate() + return actualString == nil || NSString(string: actualString!).length == 0 + } +} + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For NSString instances, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actualString = try actualExpression.evaluate() + return actualString == nil || actualString!.length == 0 + } +} + +// Without specific overrides, beEmpty() is ambiguous for NSDictionary, NSArray, +// etc, since they conform to SequenceType as well as NMBCollection. + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For strings, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actualDictionary = try actualExpression.evaluate() + return actualDictionary == nil || actualDictionary!.count == 0 + } +} + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For strings, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actualArray = try actualExpression.evaluate() + return actualArray == nil || actualArray!.count == 0 + } +} + +/// A Nimble matcher that succeeds when a value is "empty". For collections, this +/// means the are no items in that collection. For strings, it is an empty string. +public func beEmpty() -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be empty" + let actual = try actualExpression.evaluate() + return actual == nil || actual!.count == 0 + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beEmptyMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let location = actualExpression.location + let actualValue = try! actualExpression.evaluate() + failureMessage.postfixMessage = "be empty" + if let value = actualValue as? NMBCollection { + let expr = Expression(expression: ({ value as NMBCollection }), location: location) + return try! beEmpty().matches(expr, failureMessage: failureMessage) + } else if let value = actualValue as? NSString { + let expr = Expression(expression: ({ value as String }), location: location) + return try! beEmpty().matches(expr, failureMessage: failureMessage) + } else if let actualValue = actualValue { + failureMessage.postfixMessage = "be empty (only works for NSArrays, NSSets, NSIndexSets, NSDictionaries, NSHashTables, and NSStrings)" + failureMessage.actualValue = "\(classAsString(actualValue.dynamicType)) type" + } + return false + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift new file mode 100644 index 000000000..0f24ab597 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift @@ -0,0 +1,39 @@ +import Foundation + + +/// A Nimble matcher that succeeds when the actual value is greater than the expected value. +public func beGreaterThan(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be greater than <\(stringify(expectedValue))>" + return try actualExpression.evaluate() > expectedValue + } +} + +/// A Nimble matcher that succeeds when the actual value is greater than the expected value. +public func beGreaterThan(expectedValue: NMBComparable?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be greater than <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) == NSComparisonResult.OrderedDescending + return matches + } +} + +public func >(lhs: Expectation, rhs: T) { + lhs.to(beGreaterThan(rhs)) +} + +public func >(lhs: Expectation, rhs: NMBComparable?) { + lhs.to(beGreaterThan(rhs)) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beGreaterThanMatcher(expected: NMBComparable?) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let expr = actualExpression.cast { $0 as? NMBComparable } + return try! beGreaterThan(expected).matches(expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift new file mode 100644 index 000000000..c89ff07d5 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift @@ -0,0 +1,41 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is greater than +/// or equal to the expected value. +public func beGreaterThanOrEqualTo(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be greater than or equal to <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + return actualValue >= expectedValue + } +} + +/// A Nimble matcher that succeeds when the actual value is greater than +/// or equal to the expected value. +public func beGreaterThanOrEqualTo(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be greater than or equal to <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) != NSComparisonResult.OrderedAscending + return matches + } +} + +public func >=(lhs: Expectation, rhs: T) { + lhs.to(beGreaterThanOrEqualTo(rhs)) +} + +public func >=(lhs: Expectation, rhs: T) { + lhs.to(beGreaterThanOrEqualTo(rhs)) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beGreaterThanOrEqualToMatcher(expected: NMBComparable?) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let expr = actualExpression.cast { $0 as? NMBComparable } + return try! beGreaterThanOrEqualTo(expected).matches(expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift new file mode 100644 index 000000000..a36950155 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift @@ -0,0 +1,39 @@ +import Foundation + + +/// A Nimble matcher that succeeds when the actual value is the same instance +/// as the expected instance. +public func beIdenticalTo(expected: AnyObject?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let actual = try actualExpression.evaluate() + failureMessage.actualValue = "\(identityAsString(actual))" + failureMessage.postfixMessage = "be identical to \(identityAsString(expected))" + return actual === expected && actual !== nil + } +} + +public func ===(lhs: Expectation, rhs: AnyObject?) { + lhs.to(beIdenticalTo(rhs)) +} +public func !==(lhs: Expectation, rhs: AnyObject?) { + lhs.toNot(beIdenticalTo(rhs)) +} + +/// A Nimble matcher that succeeds when the actual value is the same instance +/// as the expected instance. +/// +/// Alias for "beIdenticalTo". +public func be(expected: AnyObject?) -> NonNilMatcherFunc { + return beIdenticalTo(expected) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beIdenticalToMatcher(expected: NSObject?) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let aExpr = actualExpression.cast { $0 as AnyObject? } + return try! beIdenticalTo(expected).matches(aExpr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift new file mode 100644 index 000000000..ea4725bad --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift @@ -0,0 +1,38 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is less than the expected value. +public func beLessThan(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be less than <\(stringify(expectedValue))>" + return try actualExpression.evaluate() < expectedValue + } +} + +/// A Nimble matcher that succeeds when the actual value is less than the expected value. +public func beLessThan(expectedValue: NMBComparable?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be less than <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) == NSComparisonResult.OrderedAscending + return matches + } +} + +public func <(lhs: Expectation, rhs: T) { + lhs.to(beLessThan(rhs)) +} + +public func <(lhs: Expectation, rhs: NMBComparable?) { + lhs.to(beLessThan(rhs)) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beLessThanMatcher(expected: NMBComparable?) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let expr = actualExpression.cast { $0 as! NMBComparable? } + return try! beLessThan(expected).matches(expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift new file mode 100644 index 000000000..a24cf8cbf --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift @@ -0,0 +1,39 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is less than +/// or equal to the expected value. +public func beLessThanOrEqualTo(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be less than or equal to <\(stringify(expectedValue))>" + return try actualExpression.evaluate() <= expectedValue + } +} + +/// A Nimble matcher that succeeds when the actual value is less than +/// or equal to the expected value. +public func beLessThanOrEqualTo(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be less than or equal to <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + return actualValue != nil && actualValue!.NMB_compare(expectedValue) != NSComparisonResult.OrderedDescending + } +} + +public func <=(lhs: Expectation, rhs: T) { + lhs.to(beLessThanOrEqualTo(rhs)) +} + +public func <=(lhs: Expectation, rhs: T) { + lhs.to(beLessThanOrEqualTo(rhs)) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beLessThanOrEqualToMatcher(expected: NMBComparable?) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil:false) { actualExpression, failureMessage in + let expr = actualExpression.cast { $0 as? NMBComparable } + return try! beLessThanOrEqualTo(expected).matches(expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift new file mode 100644 index 000000000..ac729b2ab --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift @@ -0,0 +1,89 @@ +import Foundation + +internal func matcherWithFailureMessage(matcher: NonNilMatcherFunc, postprocessor: (FailureMessage) -> Void) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + defer { postprocessor(failureMessage) } + return try matcher.matcher(actualExpression, failureMessage) + } +} + +// MARK: beTrue() / beFalse() + +/// A Nimble matcher that succeeds when the actual value is exactly true. +/// This matcher will not match against nils. +public func beTrue() -> NonNilMatcherFunc { + return matcherWithFailureMessage(equal(true)) { failureMessage in + failureMessage.postfixMessage = "be true" + } +} + +/// A Nimble matcher that succeeds when the actual value is exactly false. +/// This matcher will not match against nils. +public func beFalse() -> NonNilMatcherFunc { + return matcherWithFailureMessage(equal(false)) { failureMessage in + failureMessage.postfixMessage = "be false" + } +} + +// MARK: beTruthy() / beFalsy() + +/// A Nimble matcher that succeeds when the actual value is not logically false. +public func beTruthy() -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be truthy" + let actualValue = try actualExpression.evaluate() + if let actualValue = actualValue { + if let actualValue = actualValue as? BooleanType { + return actualValue.boolValue == true + } + } + return actualValue != nil + } +} + +/// A Nimble matcher that succeeds when the actual value is logically false. +/// This matcher will match against nils. +public func beFalsy() -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be falsy" + let actualValue = try actualExpression.evaluate() + if let actualValue = actualValue { + if let actualValue = actualValue as? BooleanType { + return actualValue.boolValue != true + } + } + return actualValue == nil + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beTruthyMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher { actualExpression, failureMessage in + let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false as BooleanType? } + return try! beTruthy().matches(expr, failureMessage: failureMessage) + } + } + + public class func beFalsyMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher { actualExpression, failureMessage in + let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false as BooleanType? } + return try! beFalsy().matches(expr, failureMessage: failureMessage) + } + } + + public class func beTrueMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher { actualExpression, failureMessage in + let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false as Bool? } + return try! beTrue().matches(expr, failureMessage: failureMessage) + } + } + + public class func beFalseMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false as Bool? } + return try! beFalse().matches(expr, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift new file mode 100644 index 000000000..a6fb31fa1 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift @@ -0,0 +1,20 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is nil. +public func beNil() -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be nil" + let actualValue = try actualExpression.evaluate() + return actualValue == nil + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beNilMatcher() -> NMBObjCMatcher { + return NMBObjCMatcher { actualExpression, failureMessage in + return try! beNil().matches(actualExpression, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift new file mode 100644 index 000000000..8f8626525 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift @@ -0,0 +1,18 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is Void. +public func beVoid() -> MatcherFunc<()> { + return MatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "be void" + let actualValue: ()? = try actualExpression.evaluate() + return actualValue != nil + } +} + +public func ==(lhs: Expectation<()>, rhs: ()) { + lhs.to(beVoid()) +} + +public func !=(lhs: Expectation<()>, rhs: ()) { + lhs.toNot(beVoid()) +} \ No newline at end of file diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift new file mode 100644 index 000000000..0b5e0e18c --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift @@ -0,0 +1,55 @@ +import Foundation + + +/// A Nimble matcher that succeeds when the actual sequence's first element +/// is equal to the expected value. +public func beginWith(startingElement: T) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "begin with <\(startingElement)>" + if let actualValue = try actualExpression.evaluate() { + var actualGenerator = actualValue.generate() + return actualGenerator.next() == startingElement + } + return false + } +} + +/// A Nimble matcher that succeeds when the actual collection's first element +/// is equal to the expected object. +public func beginWith(startingElement: AnyObject) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "begin with <\(startingElement)>" + let collection = try actualExpression.evaluate() + return collection != nil && collection!.indexOfObject(startingElement) == 0 + } +} + +/// A Nimble matcher that succeeds when the actual string contains expected substring +/// where the expected substring's location is zero. +public func beginWith(startingSubstring: String) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "begin with <\(startingSubstring)>" + if let actual = try actualExpression.evaluate() { + let range = actual.rangeOfString(startingSubstring) + return range != nil && range!.startIndex == actual.startIndex + } + return false + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func beginWithMatcher(expected: AnyObject) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let actual = try! actualExpression.evaluate() + if let _ = actual as? String { + let expr = actualExpression.cast { $0 as? String } + return try! beginWith(expected as! String).matches(expr, failureMessage: failureMessage) + } else { + let expr = actualExpression.cast { $0 as? NMBOrderedCollection } + return try! beginWith(expected).matches(expr, failureMessage: failureMessage) + } + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift new file mode 100644 index 000000000..cc087689b --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift @@ -0,0 +1,92 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual sequence contains the expected value. +public func contain(items: T...) -> NonNilMatcherFunc { + return contain(items) +} + +public func contain(items: [T]) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "contain <\(arrayAsString(items))>" + if let actual = try actualExpression.evaluate() { + return items.all { + return actual.contains($0) + } + } + return false + } +} + +/// A Nimble matcher that succeeds when the actual string contains the expected substring. +public func contain(substrings: String...) -> NonNilMatcherFunc { + return contain(substrings) +} + +public func contain(substrings: [String]) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "contain <\(arrayAsString(substrings))>" + if let actual = try actualExpression.evaluate() { + return substrings.all { + let range = actual.rangeOfString($0) + return range != nil && !range!.isEmpty + } + } + return false + } +} + +/// A Nimble matcher that succeeds when the actual string contains the expected substring. +public func contain(substrings: NSString...) -> NonNilMatcherFunc { + return contain(substrings) +} + +public func contain(substrings: [NSString]) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "contain <\(arrayAsString(substrings))>" + if let actual = try actualExpression.evaluate() { + return substrings.all { actual.rangeOfString($0.description).length != 0 } + } + return false + } +} + +/// A Nimble matcher that succeeds when the actual collection contains the expected object. +public func contain(items: AnyObject?...) -> NonNilMatcherFunc { + return contain(items) +} + +public func contain(items: [AnyObject?]) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "contain <\(arrayAsString(items))>" + guard let actual = try actualExpression.evaluate() else { return false } + return items.all { item in + return item != nil && actual.containsObject(item!) + } + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func containMatcher(expected: [NSObject]) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let location = actualExpression.location + let actualValue = try! actualExpression.evaluate() + if let value = actualValue as? NMBContainer { + let expr = Expression(expression: ({ value as NMBContainer }), location: location) + + // A straightforward cast on the array causes this to crash, so we have to cast the individual items + let expectedOptionals: [AnyObject?] = expected.map({ $0 as AnyObject? }) + return try! contain(expectedOptionals).matches(expr, failureMessage: failureMessage) + } else if let value = actualValue as? NSString { + let expr = Expression(expression: ({ value as String }), location: location) + return try! contain(expected as! [String]).matches(expr, failureMessage: failureMessage) + } else if actualValue != nil { + failureMessage.postfixMessage = "contain <\(arrayAsString(expected))> (only works for NSArrays, NSSets, NSHashTables, and NSStrings)" + } else { + failureMessage.postfixMessage = "contain <\(arrayAsString(expected))>" + } + return false + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift new file mode 100644 index 000000000..ff2bd9e82 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift @@ -0,0 +1,65 @@ +import Foundation + + +/// A Nimble matcher that succeeds when the actual sequence's last element +/// is equal to the expected value. +public func endWith(endingElement: T) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "end with <\(endingElement)>" + + if let actualValue = try actualExpression.evaluate() { + var actualGenerator = actualValue.generate() + var lastItem: T? + var item: T? + repeat { + lastItem = item + item = actualGenerator.next() + } while(item != nil) + + return lastItem == endingElement + } + return false + } +} + +/// A Nimble matcher that succeeds when the actual collection's last element +/// is equal to the expected object. +public func endWith(endingElement: AnyObject) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "end with <\(endingElement)>" + let collection = try actualExpression.evaluate() + return collection != nil && collection!.indexOfObject(endingElement) == collection!.count - 1 + } +} + + +/// A Nimble matcher that succeeds when the actual string contains the expected substring +/// where the expected substring's location is the actual string's length minus the +/// expected substring's length. +public func endWith(endingSubstring: String) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "end with <\(endingSubstring)>" + if let collection = try actualExpression.evaluate() { + let range = collection.rangeOfString(endingSubstring) + return range != nil && range!.endIndex == collection.endIndex + } + return false + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func endWithMatcher(expected: AnyObject) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let actual = try! actualExpression.evaluate() + if let _ = actual as? String { + let expr = actualExpression.cast { $0 as? String } + return try! endWith(expected as! String).matches(expr, failureMessage: failureMessage) + } else { + let expr = actualExpression.cast { $0 as? NMBOrderedCollection } + return try! endWith(expected).matches(expr, failureMessage: failureMessage) + } + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift new file mode 100644 index 000000000..6373d8ccc --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift @@ -0,0 +1,181 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value is equal to the expected value. +/// Values can support equal by supporting the Equatable protocol. +/// +/// @see beCloseTo if you want to match imprecise types (eg - floats, doubles). +public func equal(expectedValue: T?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + let matches = actualValue == expectedValue && expectedValue != nil + if expectedValue == nil || actualValue == nil { + if expectedValue == nil { + failureMessage.postfixActual = " (use beNil() to match nils)" + } + return false + } + return matches + } +} + +/// A Nimble matcher that succeeds when the actual value is equal to the expected value. +/// Values can support equal by supporting the Equatable protocol. +/// +/// @see beCloseTo if you want to match imprecise types (eg - floats, doubles). +public func equal(expectedValue: [T: C]?) -> NonNilMatcherFunc<[T: C]> { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + if expectedValue == nil || actualValue == nil { + if expectedValue == nil { + failureMessage.postfixActual = " (use beNil() to match nils)" + } + return false + } + return expectedValue! == actualValue! + } +} + +/// A Nimble matcher that succeeds when the actual collection is equal to the expected collection. +/// Items must implement the Equatable protocol. +public func equal(expectedValue: [T]?) -> NonNilMatcherFunc<[T]> { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(stringify(expectedValue))>" + let actualValue = try actualExpression.evaluate() + if expectedValue == nil || actualValue == nil { + if expectedValue == nil { + failureMessage.postfixActual = " (use beNil() to match nils)" + } + return false + } + return expectedValue! == actualValue! + } +} + +/// A Nimble matcher allowing comparison of collection with optional type +public func equal(expectedValue: [T?]) -> NonNilMatcherFunc<[T?]> { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(stringify(expectedValue))>" + if let actualValue = try actualExpression.evaluate() { + if expectedValue.count != actualValue.count { + return false + } + + for (index, item) in actualValue.enumerate() { + let otherItem = expectedValue[index] + if item == nil && otherItem == nil { + continue + } else if item == nil && otherItem != nil { + return false + } else if item != nil && otherItem == nil { + return false + } else if item! != otherItem! { + return false + } + } + + return true + } else { + failureMessage.postfixActual = " (use beNil() to match nils)" + } + + return false + } +} + +/// A Nimble matcher that succeeds when the actual set is equal to the expected set. +public func equal(expectedValue: Set?) -> NonNilMatcherFunc> { + return equal(expectedValue, stringify: stringify) +} + +/// A Nimble matcher that succeeds when the actual set is equal to the expected set. +public func equal(expectedValue: Set?) -> NonNilMatcherFunc> { + return equal(expectedValue, stringify: { + if let set = $0 { + return stringify(Array(set).sort { $0 < $1 }) + } else { + return "nil" + } + }) +} + +private func equal(expectedValue: Set?, stringify: Set? -> String) -> NonNilMatcherFunc> { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "equal <\(stringify(expectedValue))>" + + if let expectedValue = expectedValue { + if let actualValue = try actualExpression.evaluate() { + failureMessage.actualValue = "<\(stringify(actualValue))>" + + if expectedValue == actualValue { + return true + } + + let missing = expectedValue.subtract(actualValue) + if missing.count > 0 { + failureMessage.postfixActual += ", missing <\(stringify(missing))>" + } + + let extra = actualValue.subtract(expectedValue) + if extra.count > 0 { + failureMessage.postfixActual += ", extra <\(stringify(extra))>" + } + } + } else { + failureMessage.postfixActual = " (use beNil() to match nils)" + } + + return false + } +} + +public func ==(lhs: Expectation, rhs: T?) { + lhs.to(equal(rhs)) +} + +public func !=(lhs: Expectation, rhs: T?) { + lhs.toNot(equal(rhs)) +} + +public func ==(lhs: Expectation<[T]>, rhs: [T]?) { + lhs.to(equal(rhs)) +} + +public func !=(lhs: Expectation<[T]>, rhs: [T]?) { + lhs.toNot(equal(rhs)) +} + +public func ==(lhs: Expectation>, rhs: Set?) { + lhs.to(equal(rhs)) +} + +public func !=(lhs: Expectation>, rhs: Set?) { + lhs.toNot(equal(rhs)) +} + +public func ==(lhs: Expectation>, rhs: Set?) { + lhs.to(equal(rhs)) +} + +public func !=(lhs: Expectation>, rhs: Set?) { + lhs.toNot(equal(rhs)) +} + +public func ==(lhs: Expectation<[T: C]>, rhs: [T: C]?) { + lhs.to(equal(rhs)) +} + +public func !=(lhs: Expectation<[T: C]>, rhs: [T: C]?) { + lhs.toNot(equal(rhs)) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func equalMatcher(expected: NSObject) -> NMBMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + return try! equal(expected).matches(actualExpression, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift new file mode 100644 index 000000000..a17cca2d2 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift @@ -0,0 +1,50 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual CollectionType's count equals +/// the expected value +public func haveCount(expectedValue: T.Index.Distance) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + if let actualValue = try actualExpression.evaluate() { + failureMessage.postfixMessage = "have \(stringify(actualValue)) with count \(stringify(expectedValue))" + let result = expectedValue == actualValue.count + failureMessage.actualValue = "\(actualValue.count)" + return result + } else { + return false + } + } +} + +/// A Nimble matcher that succeeds when the actual collection's count equals +/// the expected value +public func haveCount(expectedValue: Int) -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + if let actualValue = try actualExpression.evaluate() { + failureMessage.postfixMessage = "have \(stringify(actualValue)) with count \(stringify(expectedValue))" + let result = expectedValue == actualValue.count + failureMessage.actualValue = "\(actualValue.count)" + return result + } else { + return false + } + } +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func haveCountMatcher(expected: NSNumber) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let location = actualExpression.location + let actualValue = try! actualExpression.evaluate() + if let value = actualValue as? NMBCollection { + let expr = Expression(expression: ({ value as NMBCollection}), location: location) + return try! haveCount(expected.integerValue).matches(expr, failureMessage: failureMessage) + } else if let actualValue = actualValue { + failureMessage.postfixMessage = "get type of NSArray, NSSet, NSDictionary, or NSHashTable" + failureMessage.actualValue = "\(classAsString(actualValue.dynamicType))" + } + return false + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift new file mode 100644 index 000000000..586e61699 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift @@ -0,0 +1,30 @@ +import Foundation + +#if _runtime(_ObjC) + +/// A Nimble matcher that succeeds when the actual string satisfies the regular expression +/// described by the expected string. +public func match(expectedValue: String?) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + failureMessage.postfixMessage = "match <\(stringify(expectedValue))>" + + if let actual = try actualExpression.evaluate() { + if let regexp = expectedValue { + return actual.rangeOfString(regexp, options: .RegularExpressionSearch) != nil + } + } + + return false + } +} + +extension NMBObjCMatcher { + public class func matchMatcher(expected: NSString) -> NMBMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + let actual = actualExpression.cast { $0 as? String } + return try! match(expected.description).matches(actual, failureMessage: failureMessage) + } + } +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift new file mode 100644 index 000000000..cba70c2a5 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift @@ -0,0 +1,26 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual expression evaluates to an +/// error from the specified case. +/// +/// Errors are tried to be compared by their implementation of Equatable, +/// otherwise they fallback to comparision by _domain and _code. +public func matchError(error: T) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let actualError: ErrorType? = try actualExpression.evaluate() + + setFailureMessageForError(failureMessage, postfixMessageVerb: "match", actualError: actualError, error: error) + return errorMatchesNonNilFieldsOrClosure(actualError, error: error) + } +} + +/// A Nimble matcher that succeeds when the actual expression evaluates to an +/// error of the specified type +public func matchError(errorType: T.Type) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let actualError: ErrorType? = try actualExpression.evaluate() + + setFailureMessageForError(failureMessage, postfixMessageVerb: "match", actualError: actualError, errorType: errorType) + return errorMatchesNonNilFieldsOrClosure(actualError, errorType: errorType) + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift new file mode 100644 index 000000000..c8a92179f --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift @@ -0,0 +1,69 @@ +/// A convenience API to build matchers that don't need special negation +/// behavior. The toNot() behavior is the negation of to(). +/// +/// @see NonNilMatcherFunc if you prefer to have this matcher fail when nil +/// values are recieved in an expectation. +/// +/// You may use this when implementing your own custom matchers. +/// +/// Use the Matcher protocol instead of this type to accept custom matchers as +/// input parameters. +/// @see allPass for an example that uses accepts other matchers as input. +public struct MatcherFunc: Matcher { + public let matcher: (Expression, FailureMessage) throws -> Bool + + public init(_ matcher: (Expression, FailureMessage) throws -> Bool) { + self.matcher = matcher + } + + public func matches(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { + return try matcher(actualExpression, failureMessage) + } + + public func doesNotMatch(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { + return try !matcher(actualExpression, failureMessage) + } +} + +/// A convenience API to build matchers that don't need special negation +/// behavior. The toNot() behavior is the negation of to(). +/// +/// Unlike MatcherFunc, this will always fail if an expectation contains nil. +/// This applies regardless of using to() or toNot(). +/// +/// You may use this when implementing your own custom matchers. +/// +/// Use the Matcher protocol instead of this type to accept custom matchers as +/// input parameters. +/// @see allPass for an example that uses accepts other matchers as input. +public struct NonNilMatcherFunc: Matcher { + public let matcher: (Expression, FailureMessage) throws -> Bool + + public init(_ matcher: (Expression, FailureMessage) throws -> Bool) { + self.matcher = matcher + } + + public func matches(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { + let pass = try matcher(actualExpression, failureMessage) + if try attachNilErrorIfNeeded(actualExpression, failureMessage: failureMessage) { + return false + } + return pass + } + + public func doesNotMatch(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { + let pass = try !matcher(actualExpression, failureMessage) + if try attachNilErrorIfNeeded(actualExpression, failureMessage: failureMessage) { + return false + } + return pass + } + + internal func attachNilErrorIfNeeded(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { + if try actualExpression.evaluate() == nil { + failureMessage.postfixActual = " (use beNil() to match nils)" + return true + } + return false + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift new file mode 100644 index 000000000..978d54c90 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift @@ -0,0 +1,143 @@ +import Foundation + +/// Implement this protocol to implement a custom matcher for Swift +public protocol Matcher { + associatedtype ValueType + func matches(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool + func doesNotMatch(actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool +} + +#if _runtime(_ObjC) +/// Objective-C interface to the Swift variant of Matcher. +@objc public protocol NMBMatcher { + func matches(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool + func doesNotMatch(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool +} +#endif + +#if _runtime(_ObjC) +/// Protocol for types that support contain() matcher. +@objc public protocol NMBContainer { + func containsObject(object: AnyObject!) -> Bool +} + +extension NSHashTable : NMBContainer {} // Corelibs Foundation does not include this class yet +#else +public protocol NMBContainer { + func containsObject(object: AnyObject) -> Bool +} +#endif + +extension NSArray : NMBContainer {} +extension NSSet : NMBContainer {} + +#if _runtime(_ObjC) +/// Protocol for types that support only beEmpty(), haveCount() matchers +@objc public protocol NMBCollection { + var count: Int { get } +} + +extension NSHashTable : NMBCollection {} // Corelibs Foundation does not include these classes yet +extension NSMapTable : NMBCollection {} +#else +public protocol NMBCollection { + var count: Int { get } +} +#endif + +extension NSSet : NMBCollection {} +extension NSIndexSet : NMBCollection {} +extension NSDictionary : NMBCollection {} + +#if _runtime(_ObjC) +/// Protocol for types that support beginWith(), endWith(), beEmpty() matchers +@objc public protocol NMBOrderedCollection : NMBCollection { + func indexOfObject(object: AnyObject!) -> Int +} +#else +public protocol NMBOrderedCollection : NMBCollection { + func indexOfObject(object: AnyObject) -> Int +} +#endif + +extension NSArray : NMBOrderedCollection {} + +#if _runtime(_ObjC) +/// Protocol for types to support beCloseTo() matcher +@objc public protocol NMBDoubleConvertible { + var doubleValue: CDouble { get } +} +#else +public protocol NMBDoubleConvertible { + var doubleValue: CDouble { get } +} + +extension Double : NMBDoubleConvertible { + public var doubleValue: CDouble { + get { + return self + } + } +} + +extension Float : NMBDoubleConvertible { + public var doubleValue: CDouble { + get { + return CDouble(self) + } + } +} +#endif + +extension NSNumber : NMBDoubleConvertible { +} + +private let dateFormatter: NSDateFormatter = { + let formatter = NSDateFormatter() + formatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSSS" + formatter.locale = NSLocale(localeIdentifier: "en_US_POSIX") + + return formatter +}() + +#if _runtime(_ObjC) +extension NSDate: NMBDoubleConvertible { + public var doubleValue: CDouble { + get { + return self.timeIntervalSinceReferenceDate + } + } +} +#endif + +extension NSDate: TestOutputStringConvertible { + public var testDescription: String { + return dateFormatter.stringFromDate(self) + } +} + +/// Protocol for types to support beLessThan(), beLessThanOrEqualTo(), +/// beGreaterThan(), beGreaterThanOrEqualTo(), and equal() matchers. +/// +/// Types that conform to Swift's Comparable protocol will work implicitly too +#if _runtime(_ObjC) +@objc public protocol NMBComparable { + func NMB_compare(otherObject: NMBComparable!) -> NSComparisonResult +} +#else +// This should become obsolete once Corelibs Foundation adds Comparable conformance to NSNumber +public protocol NMBComparable { + func NMB_compare(otherObject: NMBComparable!) -> NSComparisonResult +} +#endif + +extension NSNumber : NMBComparable { + public func NMB_compare(otherObject: NMBComparable!) -> NSComparisonResult { + return compare(otherObject as! NSNumber) + } +} +extension NSString : NMBComparable { + public func NMB_compare(otherObject: NMBComparable!) -> NSComparisonResult { + return compare(otherObject as! String) + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift new file mode 100644 index 000000000..0191f8806 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift @@ -0,0 +1,66 @@ +import Foundation + +internal class NotificationCollector { + private(set) var observedNotifications: [NSNotification] + private let notificationCenter: NSNotificationCenter + #if _runtime(_ObjC) + private var token: AnyObject? + #else + private var token: NSObjectProtocol? + #endif + + required init(notificationCenter: NSNotificationCenter) { + self.notificationCenter = notificationCenter + self.observedNotifications = [] + } + + func startObserving() { + self.token = self.notificationCenter.addObserverForName(nil, object: nil, queue: nil) { + // linux-swift gets confused by .append(n) + [weak self] n in self?.observedNotifications += [n] + } + } + + deinit { + #if _runtime(_ObjC) + if let token = self.token { + self.notificationCenter.removeObserver(token) + } + #else + if let token = self.token as? AnyObject { + self.notificationCenter.removeObserver(token) + } + #endif + } +} + +private let mainThread = pthread_self() + +public func postNotifications( + notificationsMatcher: T, + fromNotificationCenter center: NSNotificationCenter = NSNotificationCenter.defaultCenter()) + -> MatcherFunc { + let _ = mainThread // Force lazy-loading of this value + let collector = NotificationCollector(notificationCenter: center) + collector.startObserving() + var once: Bool = false + return MatcherFunc { actualExpression, failureMessage in + let collectorNotificationsExpression = Expression(memoizedExpression: { _ in + return collector.observedNotifications + }, location: actualExpression.location, withoutCaching: true) + + assert(pthread_equal(mainThread, pthread_self()) != 0, "Only expecting closure to be evaluated on main thread.") + if !once { + once = true + try actualExpression.evaluate() + } + + let match = try notificationsMatcher.matches(collectorNotificationsExpression, failureMessage: failureMessage) + if collector.observedNotifications.isEmpty { + failureMessage.actualValue = "no notifications" + } else { + failureMessage.actualValue = "<\(stringify(collector.observedNotifications))>" + } + return match + } +} \ No newline at end of file diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift new file mode 100644 index 000000000..ff6b74a1c --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift @@ -0,0 +1,182 @@ +import Foundation + +// This matcher requires the Objective-C, and being built by Xcode rather than the Swift Package Manager +#if _runtime(_ObjC) && !SWIFT_PACKAGE + +/// A Nimble matcher that succeeds when the actual expression raises an +/// exception with the specified name, reason, and/or userInfo. +/// +/// Alternatively, you can pass a closure to do any arbitrary custom matching +/// to the raised exception. The closure only gets called when an exception +/// is raised. +/// +/// nil arguments indicates that the matcher should not attempt to match against +/// that parameter. +public func raiseException( + named named: String? = nil, + reason: String? = nil, + userInfo: NSDictionary? = nil, + closure: ((NSException) -> Void)? = nil) -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + + var exception: NSException? + let capture = NMBExceptionCapture(handler: ({ e in + exception = e + }), finally: nil) + + capture.tryBlock { + try! actualExpression.evaluate() + return + } + + setFailureMessageForException(failureMessage, exception: exception, named: named, reason: reason, userInfo: userInfo, closure: closure) + return exceptionMatchesNonNilFieldsOrClosure(exception, named: named, reason: reason, userInfo: userInfo, closure: closure) + } +} + +internal func setFailureMessageForException( + failureMessage: FailureMessage, + exception: NSException?, + named: String?, + reason: String?, + userInfo: NSDictionary?, + closure: ((NSException) -> Void)?) { + failureMessage.postfixMessage = "raise exception" + + if let named = named { + failureMessage.postfixMessage += " with name <\(named)>" + } + if let reason = reason { + failureMessage.postfixMessage += " with reason <\(reason)>" + } + if let userInfo = userInfo { + failureMessage.postfixMessage += " with userInfo <\(userInfo)>" + } + if let _ = closure { + failureMessage.postfixMessage += " that satisfies block" + } + if named == nil && reason == nil && userInfo == nil && closure == nil { + failureMessage.postfixMessage = "raise any exception" + } + + if let exception = exception { + failureMessage.actualValue = "\(classAsString(exception.dynamicType)) { name=\(exception.name), reason='\(stringify(exception.reason))', userInfo=\(stringify(exception.userInfo)) }" + } else { + failureMessage.actualValue = "no exception" + } +} + +internal func exceptionMatchesNonNilFieldsOrClosure( + exception: NSException?, + named: String?, + reason: String?, + userInfo: NSDictionary?, + closure: ((NSException) -> Void)?) -> Bool { + var matches = false + + if let exception = exception { + matches = true + + if named != nil && exception.name != named { + matches = false + } + if reason != nil && exception.reason != reason { + matches = false + } + if userInfo != nil && exception.userInfo != userInfo { + matches = false + } + if let closure = closure { + let assertions = gatherFailingExpectations { + closure(exception) + } + let messages = assertions.map { $0.message } + if messages.count > 0 { + matches = false + } + } + } + + return matches +} + +public class NMBObjCRaiseExceptionMatcher : NSObject, NMBMatcher { + internal var _name: String? + internal var _reason: String? + internal var _userInfo: NSDictionary? + internal var _block: ((NSException) -> Void)? + + internal init(name: String?, reason: String?, userInfo: NSDictionary?, block: ((NSException) -> Void)?) { + _name = name + _reason = reason + _userInfo = userInfo + _block = block + } + + public func matches(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + let block: () -> Any? = ({ actualBlock(); return nil }) + let expr = Expression(expression: block, location: location) + + return try! raiseException( + named: _name, + reason: _reason, + userInfo: _userInfo, + closure: _block + ).matches(expr, failureMessage: failureMessage) + } + + public func doesNotMatch(actualBlock: () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { + return !matches(actualBlock, failureMessage: failureMessage, location: location) + } + + public var named: (name: String) -> NMBObjCRaiseExceptionMatcher { + return ({ name in + return NMBObjCRaiseExceptionMatcher( + name: name, + reason: self._reason, + userInfo: self._userInfo, + block: self._block + ) + }) + } + + public var reason: (reason: String?) -> NMBObjCRaiseExceptionMatcher { + return ({ reason in + return NMBObjCRaiseExceptionMatcher( + name: self._name, + reason: reason, + userInfo: self._userInfo, + block: self._block + ) + }) + } + + public var userInfo: (userInfo: NSDictionary?) -> NMBObjCRaiseExceptionMatcher { + return ({ userInfo in + return NMBObjCRaiseExceptionMatcher( + name: self._name, + reason: self._reason, + userInfo: userInfo, + block: self._block + ) + }) + } + + public var satisfyingBlock: (block: ((NSException) -> Void)?) -> NMBObjCRaiseExceptionMatcher { + return ({ block in + return NMBObjCRaiseExceptionMatcher( + name: self._name, + reason: self._reason, + userInfo: self._userInfo, + block: block + ) + }) + } +} + +extension NMBObjCMatcher { + public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionMatcher { + return NMBObjCRaiseExceptionMatcher(name: nil, reason: nil, userInfo: nil, block: nil) + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift new file mode 100644 index 000000000..d383a31b4 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift @@ -0,0 +1,61 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual value matches with any of the matchers +/// provided in the variable list of matchers. +public func satisfyAnyOf(matchers: U...) -> NonNilMatcherFunc { + return satisfyAnyOf(matchers) +} + +internal func satisfyAnyOf(matchers: [U]) -> NonNilMatcherFunc { + return NonNilMatcherFunc { actualExpression, failureMessage in + let postfixMessages = NSMutableArray() + var matches = false + for matcher in matchers { + if try matcher.matches(actualExpression, failureMessage: failureMessage) { + matches = true + } + postfixMessages.addObject(NSString(string: "{\(failureMessage.postfixMessage)}")) + } + + failureMessage.postfixMessage = "match one of: " + postfixMessages.componentsJoinedByString(", or ") + if let actualValue = try actualExpression.evaluate() { + failureMessage.actualValue = "\(actualValue)" + } + + return matches + } +} + +public func ||(left: NonNilMatcherFunc, right: NonNilMatcherFunc) -> NonNilMatcherFunc { + return satisfyAnyOf(left, right) +} + +public func ||(left: MatcherFunc, right: MatcherFunc) -> NonNilMatcherFunc { + return satisfyAnyOf(left, right) +} + +#if _runtime(_ObjC) +extension NMBObjCMatcher { + public class func satisfyAnyOfMatcher(matchers: [NMBObjCMatcher]) -> NMBObjCMatcher { + return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in + if matchers.isEmpty { + failureMessage.stringValue = "satisfyAnyOf must be called with at least one matcher" + return false + } + + var elementEvaluators = [NonNilMatcherFunc]() + for matcher in matchers { + let elementEvaluator: (Expression, FailureMessage) -> Bool = { + expression, failureMessage in + return matcher.matches( + {try! expression.evaluate()}, failureMessage: failureMessage, location: actualExpression.location) + } + + elementEvaluators.append(NonNilMatcherFunc(elementEvaluator)) + } + + return try! satisfyAnyOf(elementEvaluators).matches(actualExpression, failureMessage: failureMessage) + } + } +} +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift new file mode 100644 index 000000000..9563565a4 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift @@ -0,0 +1,53 @@ +import Foundation + +/// A Nimble matcher that succeeds when the actual expression throws an +/// error of the specified type or from the specified case. +/// +/// Errors are tried to be compared by their implementation of Equatable, +/// otherwise they fallback to comparision by _domain and _code. +/// +/// Alternatively, you can pass a closure to do any arbitrary custom matching +/// to the thrown error. The closure only gets called when an error was thrown. +/// +/// nil arguments indicates that the matcher should not attempt to match against +/// that parameter. +public func throwError( + error: T? = nil, + errorType: T.Type? = nil, + closure: ((T) -> Void)? = nil) -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + + var actualError: ErrorType? + do { + try actualExpression.evaluate() + } catch let catchedError { + actualError = catchedError + } + + setFailureMessageForError(failureMessage, actualError: actualError, error: error, errorType: errorType, closure: closure) + return errorMatchesNonNilFieldsOrClosure(actualError, error: error, errorType: errorType, closure: closure) + } +} + +/// A Nimble matcher that succeeds when the actual expression throws any +/// error or when the passed closures' arbitrary custom matching succeeds. +/// +/// This duplication to it's generic adequate is required to allow to receive +/// values of the existential type ErrorType in the closure. +/// +/// The closure only gets called when an error was thrown. +public func throwError( + closure closure: ((ErrorType) -> Void)? = nil) -> MatcherFunc { + return MatcherFunc { actualExpression, failureMessage in + + var actualError: ErrorType? + do { + try actualExpression.evaluate() + } catch let catchedError { + actualError = catchedError + } + + setFailureMessageForError(failureMessage, actualError: actualError, closure: closure) + return errorMatchesNonNilFieldsOrClosure(actualError, closure: closure) + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Nimble.h b/Example/Pods/Nimble/Sources/Nimble/Nimble.h new file mode 100644 index 000000000..1eab61a98 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Nimble.h @@ -0,0 +1,7 @@ +#import +#import "NMBExceptionCapture.h" +#import "NMBStringify.h" +#import "DSL.h" + +FOUNDATION_EXPORT double NimbleVersionNumber; +FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift new file mode 100644 index 000000000..8f1a6de9c --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift @@ -0,0 +1,358 @@ +import Foundation + +#if _runtime(_ObjC) +import Dispatch + +private let timeoutLeeway: UInt64 = NSEC_PER_MSEC +private let pollLeeway: UInt64 = NSEC_PER_MSEC + +/// Stores debugging information about callers +internal struct WaitingInfo: CustomStringConvertible { + let name: String + let file: FileString + let lineNumber: UInt + + var description: String { + return "\(name) at \(file):\(lineNumber)" + } +} + +internal protocol WaitLock { + func acquireWaitingLock(fnName: String, file: FileString, line: UInt) + func releaseWaitingLock() + func isWaitingLocked() -> Bool +} + +internal class AssertionWaitLock: WaitLock { + private var currentWaiter: WaitingInfo? = nil + init() { } + + func acquireWaitingLock(fnName: String, file: FileString, line: UInt) { + let info = WaitingInfo(name: fnName, file: file, lineNumber: line) + nimblePrecondition( + NSThread.isMainThread(), + "InvalidNimbleAPIUsage", + "\(fnName) can only run on the main thread." + ) + nimblePrecondition( + currentWaiter == nil, + "InvalidNimbleAPIUsage", + "Nested async expectations are not allowed to avoid creating flaky tests.\n\n" + + "The call to\n\t\(info)\n" + + "triggered this exception because\n\t\(currentWaiter!)\n" + + "is currently managing the main run loop." + ) + currentWaiter = info + } + + func isWaitingLocked() -> Bool { + return currentWaiter != nil + } + + func releaseWaitingLock() { + currentWaiter = nil + } +} + +internal enum AwaitResult { + /// Incomplete indicates None (aka - this value hasn't been fulfilled yet) + case Incomplete + /// TimedOut indicates the result reached its defined timeout limit before returning + case TimedOut + /// BlockedRunLoop indicates the main runloop is too busy processing other blocks to trigger + /// the timeout code. + /// + /// This may also mean the async code waiting upon may have never actually ran within the + /// required time because other timers & sources are running on the main run loop. + case BlockedRunLoop + /// The async block successfully executed and returned a given result + case Completed(T) + /// When a Swift Error is thrown + case ErrorThrown(ErrorType) + /// When an Objective-C Exception is raised + case RaisedException(NSException) + + func isIncomplete() -> Bool { + switch self { + case .Incomplete: return true + default: return false + } + } + + func isCompleted() -> Bool { + switch self { + case .Completed(_): return true + default: return false + } + } +} + +/// Holds the resulting value from an asynchronous expectation. +/// This class is thread-safe at receiving an "response" to this promise. +internal class AwaitPromise { + private(set) internal var asyncResult: AwaitResult = .Incomplete + private var signal: dispatch_semaphore_t + + init() { + signal = dispatch_semaphore_create(1) + } + + /// Resolves the promise with the given result if it has not been resolved. Repeated calls to + /// this method will resolve in a no-op. + /// + /// @returns a Bool that indicates if the async result was accepted or rejected because another + /// value was recieved first. + func resolveResult(result: AwaitResult) -> Bool { + if dispatch_semaphore_wait(signal, DISPATCH_TIME_NOW) == 0 { + self.asyncResult = result + return true + } else { + return false + } + } +} + +internal struct AwaitTrigger { + let timeoutSource: dispatch_source_t + let actionSource: dispatch_source_t? + let start: () throws -> Void +} + +/// Factory for building fully configured AwaitPromises and waiting for their results. +/// +/// This factory stores all the state for an async expectation so that Await doesn't +/// doesn't have to manage it. +internal class AwaitPromiseBuilder { + let awaiter: Awaiter + let waitLock: WaitLock + let trigger: AwaitTrigger + let promise: AwaitPromise + + internal init( + awaiter: Awaiter, + waitLock: WaitLock, + promise: AwaitPromise, + trigger: AwaitTrigger) { + self.awaiter = awaiter + self.waitLock = waitLock + self.promise = promise + self.trigger = trigger + } + + func timeout(timeoutInterval: NSTimeInterval, forcefullyAbortTimeout: NSTimeInterval) -> Self { + // = Discussion = + // + // There's a lot of technical decisions here that is useful to elaborate on. This is + // definitely more lower-level than the previous NSRunLoop based implementation. + // + // + // Why Dispatch Source? + // + // + // We're using a dispatch source to have better control of the run loop behavior. + // A timer source gives us deferred-timing control without having to rely as much on + // a run loop's traditional dispatching machinery (eg - NSTimers, DefaultRunLoopMode, etc.) + // which is ripe for getting corrupted by application code. + // + // And unlike dispatch_async(), we can control how likely our code gets prioritized to + // executed (see leeway parameter) + DISPATCH_TIMER_STRICT. + // + // This timer is assumed to run on the HIGH priority queue to ensure it maintains the + // highest priority over normal application / test code when possible. + // + // + // Run Loop Management + // + // In order to properly interrupt the waiting behavior performed by this factory class, + // this timer stops the main run loop to tell the waiter code that the result should be + // checked. + // + // In addition, stopping the run loop is used to halt code executed on the main run loop. + dispatch_source_set_timer( + trigger.timeoutSource, + dispatch_time(DISPATCH_TIME_NOW, Int64(timeoutInterval * Double(NSEC_PER_SEC))), + DISPATCH_TIME_FOREVER, + timeoutLeeway + ) + dispatch_source_set_event_handler(trigger.timeoutSource) { + guard self.promise.asyncResult.isIncomplete() else { return } + let timedOutSem = dispatch_semaphore_create(0) + let semTimedOutOrBlocked = dispatch_semaphore_create(0) + dispatch_semaphore_signal(semTimedOutOrBlocked) + let runLoop = CFRunLoopGetMain() + CFRunLoopPerformBlock(runLoop, kCFRunLoopDefaultMode) { + if dispatch_semaphore_wait(semTimedOutOrBlocked, DISPATCH_TIME_NOW) == 0 { + dispatch_semaphore_signal(timedOutSem) + dispatch_semaphore_signal(semTimedOutOrBlocked) + if self.promise.resolveResult(.TimedOut) { + CFRunLoopStop(CFRunLoopGetMain()) + } + } + } + // potentially interrupt blocking code on run loop to let timeout code run + CFRunLoopStop(runLoop) + let now = dispatch_time(DISPATCH_TIME_NOW, Int64(forcefullyAbortTimeout * Double(NSEC_PER_SEC))) + let didNotTimeOut = dispatch_semaphore_wait(timedOutSem, now) != 0 + let timeoutWasNotTriggered = dispatch_semaphore_wait(semTimedOutOrBlocked, 0) == 0 + if didNotTimeOut && timeoutWasNotTriggered { + if self.promise.resolveResult(.BlockedRunLoop) { + CFRunLoopStop(CFRunLoopGetMain()) + } + } + } + return self + } + + /// Blocks for an asynchronous result. + /// + /// @discussion + /// This function must be executed on the main thread and cannot be nested. This is because + /// this function (and it's related methods) coordinate through the main run loop. Tampering + /// with the run loop can cause undesireable behavior. + /// + /// This method will return an AwaitResult in the following cases: + /// + /// - The main run loop is blocked by other operations and the async expectation cannot be + /// be stopped. + /// - The async expectation timed out + /// - The async expectation succeeded + /// - The async expectation raised an unexpected exception (objc) + /// - The async expectation raised an unexpected error (swift) + /// + /// The returned AwaitResult will NEVER be .Incomplete. + func wait(fnName: String = #function, file: FileString = #file, line: UInt = #line) -> AwaitResult { + waitLock.acquireWaitingLock( + fnName, + file: file, + line: line) + + let capture = NMBExceptionCapture(handler: ({ exception in + self.promise.resolveResult(.RaisedException(exception)) + }), finally: ({ + self.waitLock.releaseWaitingLock() + })) + capture.tryBlock { + do { + try self.trigger.start() + } catch let error { + self.promise.resolveResult(.ErrorThrown(error)) + } + dispatch_resume(self.trigger.timeoutSource) + while self.promise.asyncResult.isIncomplete() { + // Stopping the run loop does not work unless we run only 1 mode + NSRunLoop.currentRunLoop().runMode(NSDefaultRunLoopMode, beforeDate: NSDate.distantFuture()) + } + dispatch_suspend(self.trigger.timeoutSource) + dispatch_source_cancel(self.trigger.timeoutSource) + if let asyncSource = self.trigger.actionSource { + dispatch_source_cancel(asyncSource) + } + } + + return promise.asyncResult + } +} + +internal class Awaiter { + let waitLock: WaitLock + let timeoutQueue: dispatch_queue_t + let asyncQueue: dispatch_queue_t + + internal init( + waitLock: WaitLock, + asyncQueue: dispatch_queue_t, + timeoutQueue: dispatch_queue_t) { + self.waitLock = waitLock + self.asyncQueue = asyncQueue + self.timeoutQueue = timeoutQueue + } + + private func createTimerSource(queue: dispatch_queue_t) -> dispatch_source_t { + return dispatch_source_create( + DISPATCH_SOURCE_TYPE_TIMER, + 0, + DISPATCH_TIMER_STRICT, + queue + ) + } + + func performBlock( + closure: ((T) -> Void) throws -> Void) -> AwaitPromiseBuilder { + let promise = AwaitPromise() + let timeoutSource = createTimerSource(timeoutQueue) + var completionCount = 0 + let trigger = AwaitTrigger(timeoutSource: timeoutSource, actionSource: nil) { + try closure() { + completionCount += 1 + nimblePrecondition( + completionCount < 2, + "InvalidNimbleAPIUsage", + "Done closure's was called multiple times. waitUntil(..) expects its " + + "completion closure to only be called once.") + if promise.resolveResult(.Completed($0)) { + CFRunLoopStop(CFRunLoopGetMain()) + } + } + } + + return AwaitPromiseBuilder( + awaiter: self, + waitLock: waitLock, + promise: promise, + trigger: trigger) + } + + func poll(pollInterval: NSTimeInterval, closure: () throws -> T?) -> AwaitPromiseBuilder { + let promise = AwaitPromise() + let timeoutSource = createTimerSource(timeoutQueue) + let asyncSource = createTimerSource(asyncQueue) + let trigger = AwaitTrigger(timeoutSource: timeoutSource, actionSource: asyncSource) { + let interval = UInt64(pollInterval * Double(NSEC_PER_SEC)) + dispatch_source_set_timer(asyncSource, DISPATCH_TIME_NOW, interval, pollLeeway) + dispatch_source_set_event_handler(asyncSource) { + do { + if let result = try closure() { + if promise.resolveResult(.Completed(result)) { + CFRunLoopStop(CFRunLoopGetCurrent()) + } + } + } catch let error { + if promise.resolveResult(.ErrorThrown(error)) { + CFRunLoopStop(CFRunLoopGetCurrent()) + } + } + } + dispatch_resume(asyncSource) + } + + return AwaitPromiseBuilder( + awaiter: self, + waitLock: waitLock, + promise: promise, + trigger: trigger) + } +} + +internal func pollBlock( + pollInterval pollInterval: NSTimeInterval, + timeoutInterval: NSTimeInterval, + file: FileString, + line: UInt, + fnName: String = #function, + expression: () throws -> Bool) -> AwaitResult { + let awaiter = NimbleEnvironment.activeInstance.awaiter + let result = awaiter.poll(pollInterval) { () throws -> Bool? in + do { + if try expression() { + return true + } + return nil + } catch let error { + throw error + } + }.timeout(timeoutInterval, forcefullyAbortTimeout: timeoutInterval / 2.0).wait(fnName, file: file, line: line) + + return result +} + +#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift new file mode 100644 index 000000000..29c47234c --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift @@ -0,0 +1,133 @@ +import Foundation + +// Generic + +internal func setFailureMessageForError( + failureMessage: FailureMessage, + postfixMessageVerb: String = "throw", + actualError: ErrorType?, + error: T? = nil, + errorType: T.Type? = nil, + closure: ((T) -> Void)? = nil) { + failureMessage.postfixMessage = "\(postfixMessageVerb) error" + + if let error = error { + if let error = error as? CustomDebugStringConvertible { + failureMessage.postfixMessage += " <\(error.debugDescription)>" + } else { + failureMessage.postfixMessage += " <\(error)>" + } + } else if errorType != nil || closure != nil { + failureMessage.postfixMessage += " from type <\(T.self)>" + } + if let _ = closure { + failureMessage.postfixMessage += " that satisfies block" + } + if error == nil && errorType == nil && closure == nil { + failureMessage.postfixMessage = "\(postfixMessageVerb) any error" + } + + if let actualError = actualError { + failureMessage.actualValue = "<\(actualError)>" + } else { + failureMessage.actualValue = "no error" + } +} + +internal func errorMatchesExpectedError( + actualError: ErrorType, + expectedError: T) -> Bool { + return actualError._domain == expectedError._domain + && actualError._code == expectedError._code +} + +internal func errorMatchesExpectedError( + actualError: ErrorType, + expectedError: T) -> Bool { + if let actualError = actualError as? T { + return actualError == expectedError + } + return false +} + +internal func errorMatchesNonNilFieldsOrClosure( + actualError: ErrorType?, + error: T? = nil, + errorType: T.Type? = nil, + closure: ((T) -> Void)? = nil) -> Bool { + var matches = false + + if let actualError = actualError { + matches = true + + if let error = error { + if !errorMatchesExpectedError(actualError, expectedError: error) { + matches = false + } + } + if let actualError = actualError as? T { + if let closure = closure { + let assertions = gatherFailingExpectations { + closure(actualError as T) + } + let messages = assertions.map { $0.message } + if messages.count > 0 { + matches = false + } + } + } else if errorType != nil && closure != nil { + // The closure expects another ErrorType as argument, so this + // is _supposed_ to fail, so that it becomes more obvious. + let assertions = gatherExpectations { + expect(actualError is T).to(equal(true)) + } + precondition(assertions.map { $0.message }.count > 0) + matches = false + } + } + + return matches +} + +// Non-generic + +internal func setFailureMessageForError( + failureMessage: FailureMessage, + actualError: ErrorType?, + closure: ((ErrorType) -> Void)?) { + failureMessage.postfixMessage = "throw error" + + if let _ = closure { + failureMessage.postfixMessage += " that satisfies block" + } else { + failureMessage.postfixMessage = "throw any error" + } + + if let actualError = actualError { + failureMessage.actualValue = "<\(actualError)>" + } else { + failureMessage.actualValue = "no error" + } +} + +internal func errorMatchesNonNilFieldsOrClosure( + actualError: ErrorType?, + closure: ((ErrorType) -> Void)?) -> Bool { + var matches = false + + if let actualError = actualError { + matches = true + + if let closure = closure { + let assertions = gatherFailingExpectations { + closure(actualError) + } + let messages = assertions.map { $0.message } + if messages.count > 0 { + matches = false + } + } + } + + return matches +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift new file mode 100644 index 000000000..e85c75584 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift @@ -0,0 +1,12 @@ +import Foundation + +extension SequenceType { + internal func all(fn: Generator.Element -> Bool) -> Bool { + for item in self { + if !fn(item) { + return false + } + } + return true + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift new file mode 100644 index 000000000..a7279aa2a --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift @@ -0,0 +1,31 @@ +import Foundation + +// Ideally we would always use `StaticString` as the type for tracking the file name +// that expectations originate from, for consistency with `assert` etc. from the +// stdlib, and because recent versions of the XCTest overlay require `StaticString` +// when calling `XCTFail`. Under the Objective-C runtime (i.e. building on Mac), we +// have to use `String` instead because StaticString can't be generated from Objective-C +#if _runtime(_ObjC) +public typealias FileString = String +#else +public typealias FileString = StaticString +#endif + +public final class SourceLocation : NSObject { + public let file: FileString + public let line: UInt + + override init() { + file = "Unknown File" + line = 0 + } + + init(file: FileString, line: UInt) { + self.file = file + self.line = line + } + + override public var description: String { + return "\(file):\(line)" + } +} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift new file mode 100644 index 000000000..4edead3f4 --- /dev/null +++ b/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift @@ -0,0 +1,171 @@ +import Foundation + + +internal func identityAsString(value: AnyObject?) -> String { + if let value = value { + return NSString(format: "<%p>", unsafeBitCast(value, Int.self)).description + } else { + return "nil" + } +} + +internal func classAsString(cls: AnyClass) -> String { +#if _runtime(_ObjC) + return NSStringFromClass(cls) +#else + return String(cls) +#endif +} + +internal func arrayAsString(items: [T], joiner: String = ", ") -> String { + return items.reduce("") { accum, item in + let prefix = (accum.isEmpty ? "" : joiner) + return accum + prefix + "\(stringify(item))" + } +} + +/// A type with a customized test output text representation. +/// +/// This textual representation is produced when values will be +/// printed in test runs, and may be useful when producing +/// error messages in custom matchers. +/// +/// - SeeAlso: `CustomDebugStringConvertible` +public protocol TestOutputStringConvertible { + var testDescription: String { get } +} + +extension Double: TestOutputStringConvertible { + public var testDescription: String { + return NSNumber(double: self).testDescription + } +} + +extension Float: TestOutputStringConvertible { + public var testDescription: String { + return NSNumber(float: self).testDescription + } +} + +extension NSNumber: TestOutputStringConvertible { + // This is using `NSString(format:)` instead of + // `String(format:)` because the latter somehow breaks + // the travis CI build on linux. + public var testDescription: String { + let description = self.description + + if description.containsString(".") { + // Travis linux swiftpm build doesn't like casting String to NSString, + // which is why this annoying nested initializer thing is here. + // Maybe this will change in a future snapshot. + let decimalPlaces = NSString(string: NSString(string: description) + .componentsSeparatedByString(".")[1]) + + if decimalPlaces.length > 4 { + return NSString(format: "%0.4f", self.doubleValue).description + } + } + return self.description + } +} + +extension Array: TestOutputStringConvertible { + public var testDescription: String { + let list = self.map(Nimble.stringify).joinWithSeparator(", ") + return "[\(list)]" + } +} + +extension AnySequence: TestOutputStringConvertible { + public var testDescription: String { + let generator = self.generate() + var strings = [String]() + var value: AnySequence.Generator.Element? + + repeat { + value = generator.next() + if let value = value { + strings.append(stringify(value)) + } + } while value != nil + + let list = strings.joinWithSeparator(", ") + return "[\(list)]" + } +} + +extension NSArray: TestOutputStringConvertible { + public var testDescription: String { + let list = Array(self).map(Nimble.stringify).joinWithSeparator(", ") + return "(\(list))" + } +} + +extension NSIndexSet: TestOutputStringConvertible { + public var testDescription: String { + let list = Array(self).map(Nimble.stringify).joinWithSeparator(", ") + return "(\(list))" + } +} + +extension String: TestOutputStringConvertible { + public var testDescription: String { + return self + } +} + +extension NSData: TestOutputStringConvertible { + public var testDescription: String { + #if os(Linux) + // FIXME: Swift on Linux triggers a segfault when calling NSData's hash() (last checked on 03-11-16) + return "NSData" + #else + return "NSData" + #endif + } +} + +/// +/// Returns a string appropriate for displaying in test output +/// from the provided value. +/// +/// - parameter value: A value that will show up in a test's output. +/// +/// - returns: The string that is returned can be +/// customized per type by conforming a type to the `TestOutputStringConvertible` +/// protocol. When stringifying a non-`TestOutputStringConvertible` type, this +/// function will return the value's debug description and then its +/// normal description if available and in that order. Otherwise it +/// will return the result of constructing a string from the value. +/// +/// - SeeAlso: `TestOutputStringConvertible` +@warn_unused_result +public func stringify(value: T) -> String { + if let value = value as? TestOutputStringConvertible { + return value.testDescription + } + + if let value = value as? CustomDebugStringConvertible { + return value.debugDescription + } + + return String(value) +} + +/// -SeeAlso: `stringify(value: T)` +@warn_unused_result +public func stringify(value: T?) -> String { + if let unboxed = value { + return stringify(unboxed) + } + return "nil" +} + +#if _runtime(_ObjC) +@objc public class NMBStringer: NSObject { + @warn_unused_result + @objc public class func stringify(obj: AnyObject?) -> String { + return Nimble.stringify(obj) + } +} +#endif diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 76944243b..d39b2ef93 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,527 +7,768 @@ objects = { /* Begin PBXBuildFile section */ - 01304C20BC2C7E959D452DF9D0FAD0B6 /* Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = 41657CB8575AD4F6ED3C41808EFBAAFF /* Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 02F6B0D7B86AB56F90307DB23E661896 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 348E28395AC3E9B59263F66C9B316799 /* XCTest.framework */; }; - 036DC31354B4DFA82ABC0D96D68D1DF6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - 03818163A522CE759866C29D654F469C /* SEGBluetooth.m in Sources */ = {isa = PBXBuildFile; fileRef = 1690FDF5CCEF0ABAADCD8708780782D0 /* SEGBluetooth.m */; }; - 05FC69F940FABFD8407DB2C7C300EEE4 /* SPTExampleGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 420D34612C84353D8EE232B5BE7A6593 /* SPTExampleGroup.m */; }; - 08D3436DDB71F2C2250BBDFBE80B2D23 /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 9EE6D868687E658E956E0558A26DCF81 /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 0AD434F1EE4803CB93B7298DF5704EA8 /* SEGGroupPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = A21DCEA714702B96A8020B32249F7F05 /* SEGGroupPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0C6FF91EB1F0391ED75DC72D31D159EF /* EXPMatchers+beTruthy.m in Sources */ = {isa = PBXBuildFile; fileRef = 035E9D6E0275BCAFD58AF47623DB22DF /* EXPMatchers+beTruthy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0CEC9AE7F285514B6F72CB302B63DD4F /* SEGReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 75341CC2685C2C9FAF02EFAA538C591A /* SEGReachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0D16B556212D317A0D4FEB71E102E207 /* EXPMatchers+beLessThan.h in Headers */ = {isa = PBXBuildFile; fileRef = F4E609243D8AB1B2E70A8F2C5E9F7186 /* EXPMatchers+beLessThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0D96C808906230C689C8310AC8E7DF5B /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 25F5A3115A623DA04AA16CFEC74F2EF9 /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 0EBFA5FBE4953A83B677CE2A75746761 /* EXPMatchers+beLessThan.m in Sources */ = {isa = PBXBuildFile; fileRef = 90FBD137D0DEDCABC737FF2FDFBEFCBA /* EXPMatchers+beLessThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0F94F5B0ABB3252B9275B7C129EC7A26 /* EXPMatchers+equal.h in Headers */ = {isa = PBXBuildFile; fileRef = 367CD2B562A7D4E32D8B08A63DA602ED /* EXPMatchers+equal.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 11C1AEB289C1EB80089349B71F09D04B /* EXPMatchers+raiseWithReason.h in Headers */ = {isa = PBXBuildFile; fileRef = 43D97130E4590D9EBE6FDAE4AFCA402B /* EXPMatchers+raiseWithReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1277359C8D8BB837B24617969BAAC9DF /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = BE47DB6B3284121632123362631DE174 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 128B9A07E9D0F95B28E5F1F3483CB7EA /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = F99FFAD3309B4F39F8BE9FF058F500C0 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 1312A7D381C51428CF481E33E3D37901 /* EXPMatchers+beGreaterThan.m in Sources */ = {isa = PBXBuildFile; fileRef = BD444BE7AACE3345E729ED0A7EE2E468 /* EXPMatchers+beGreaterThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 131532787AD40BE1F35DF288D2E6FFD7 /* EXPMatchers+beInTheRangeOf.h in Headers */ = {isa = PBXBuildFile; fileRef = C65D93644F144030CDCAB432512075EB /* EXPMatchers+beInTheRangeOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 15A7217C749314E8423F3C36A99BAF7A /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = B7F90B078EAD016D3617F5FA13AD0878 /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 16325200AF77954D55A5F9F56A6433F5 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = E4A58CAACBA17AEF72394FEA6AA92DE2 /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 17572374B2AE183C6347C41E8DF8E579 /* EXPMatchers+beFalsy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B15D02A719ABC18B697A175F171D199 /* EXPMatchers+beFalsy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 183609639E124198767341441931D06D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - 19F252BCEC49E582AC0E1D9D533E47E2 /* SEGPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EA5EAF696160B8FCE4415DCB87AC746 /* SEGPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1A1AB2EC52323C5EA28DAA99F1E1A90D /* EXPMatchers+endWith.h in Headers */ = {isa = PBXBuildFile; fileRef = DA87C31144BB044ECD47FB6C44ACB2CC /* EXPMatchers+endWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1AB3304B6884F626BC54150AC7565E18 /* EXPMatchers+equal.m in Sources */ = {isa = PBXBuildFile; fileRef = 83A007F3F3B0E1BA3EA6F01CF4311AA2 /* EXPMatchers+equal.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 1B0389CD88AA949B34DC7269030FEC6F /* EXPMatchers+beGreaterThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 52DDA6BC21D08377214BCAF012289DF5 /* EXPMatchers+beGreaterThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 1CDB65207041EBE85AC82F1C097F88E9 /* SEGAnalyticsUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0D48E47A1AC08B1418D2C75C730E90 /* SEGAnalyticsUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1D70460708A86CB706BFAD0E12C41EE2 /* XCTest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E69917134319E650F4C9F5269A7FDDA /* XCTest+Private.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 201BF9C605852822CA5A65ADE282A310 /* EXPMatcherHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = DECB1E291A2275FD038BDF383541831A /* EXPMatcherHelpers.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 204D694B03BFF3B244A6AB73FACFFC43 /* Expecta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D7E90431DC0B8E1E7403353232CC41A /* Expecta-dummy.m */; }; + 006508633C125AD3FD0F3C001BA2682F /* XCTest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9970595F594B72C310568ECE249519D0 /* XCTest+Private.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 01751FAAFA5A389E33627F976BBCCE93 /* SPTTestSuite.m in Sources */ = {isa = PBXBuildFile; fileRef = ECE9D6C866F93783D6564557734FF000 /* SPTTestSuite.m */; }; + 01D2DD1C92EB87452CAF30B9367833C8 /* NMBObjCMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = C015E4874F28B7BE21C787ADCDD3EA16 /* NMBObjCMatcher.swift */; }; + 032FD07D6D72F84DC79815ADE7D5F607 /* UIViewController+SEGScreen.h in Headers */ = {isa = PBXBuildFile; fileRef = 7624D14605AD8F3F06A1743BD2AA2600 /* UIViewController+SEGScreen.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 06B645C9138F6C65427EB68102A8DF09 /* World+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 02C9DE12D796C1DB8391378F59275FB0 /* World+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 06F38EEA76AD575F621EBFCDEB67E100 /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = F99E42684D0F906E1B0766893512CCCF /* DSL.swift */; }; + 07511C83FBD8486E341EA953D511B5F1 /* SPTCallSite.m in Sources */ = {isa = PBXBuildFile; fileRef = A1ECF26918D12E29D335F556A65EB68E /* SPTCallSite.m */; }; + 0827735D297EEABFD811FE333206FD8D /* NMBExpectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA7215B60955144537FC85156769B891 /* NMBExpectation.swift */; }; + 08D3436DDB71F2C2250BBDFBE80B2D23 /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = C010BB4CCE1884DE4CDA7BFC394EF719 /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 099C64CF560DC424DB43BBBEC6370D8F /* ThrowError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A58AE6AC251C123A93C2B327D9291CA /* ThrowError.swift */; }; + 09A544025DBC53E36DB6C6520AF15C27 /* SEGReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 9BCCD26FC76A1CD48A0151148EF5D595 /* SEGReachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0A9A1B8CB1963791ADDF67361E687CAA /* NMBStringify.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FDD92626E53F880CDD4BABB4F985215 /* NMBStringify.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0C6FF91EB1F0391ED75DC72D31D159EF /* EXPMatchers+beTruthy.m in Sources */ = {isa = PBXBuildFile; fileRef = 870BDD9736254DB2E76EF981570129AA /* EXPMatchers+beTruthy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 0D16B556212D317A0D4FEB71E102E207 /* EXPMatchers+beLessThan.h in Headers */ = {isa = PBXBuildFile; fileRef = 06254A24CBBD6A27778A4ADD0FED8E14 /* EXPMatchers+beLessThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0D96C808906230C689C8310AC8E7DF5B /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = F0C24C274A463B8C6EF4BD9077486734 /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 0E26DA8D70586475CB5EC2B40B0CA686 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 0EBFA5FBE4953A83B677CE2A75746761 /* EXPMatchers+beLessThan.m in Sources */ = {isa = PBXBuildFile; fileRef = BE25A04DCB6AD77EFA459409CADDC6D2 /* EXPMatchers+beLessThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 0EFC427122BCD44D2DE6F6335B607270 /* SEGStoreKitTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 468D07940103A15A377E706D948E09D0 /* SEGStoreKitTracker.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0F94F5B0ABB3252B9275B7C129EC7A26 /* EXPMatchers+equal.h in Headers */ = {isa = PBXBuildFile; fileRef = 2EE702C0A3EC7501E42538205C12F160 /* EXPMatchers+equal.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 11C1AEB289C1EB80089349B71F09D04B /* EXPMatchers+raiseWithReason.h in Headers */ = {isa = PBXBuildFile; fileRef = 8FF5C2CBB340757AC8F1F3F84E459910 /* EXPMatchers+raiseWithReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 122C9B689949F35D5A262CC83DB61B74 /* SEGAliasPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 98F3ABC87F48FE925DFD0E6629964642 /* SEGAliasPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1277359C8D8BB837B24617969BAAC9DF /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = C78659B0ECF32C462248FD1DE7760688 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 128B9A07E9D0F95B28E5F1F3483CB7EA /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = DB03D3928B76FAB7BF7F289A4D3842FD /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 12C7DFDE64E024A42D68810D6B872457 /* Closures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 356833FAFF65A3D10D663502D8C0CF43 /* Closures.swift */; }; + 1312A7D381C51428CF481E33E3D37901 /* EXPMatchers+beGreaterThan.m in Sources */ = {isa = PBXBuildFile; fileRef = DC3730436AC4ABC10EF92B5B7C812A29 /* EXPMatchers+beGreaterThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 131532787AD40BE1F35DF288D2E6FFD7 /* EXPMatchers+beInTheRangeOf.h in Headers */ = {isa = PBXBuildFile; fileRef = F0A6E7712EE7079CCB700403D0302CED /* EXPMatchers+beInTheRangeOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 13D86F035E8027D8C1D6747A90384D90 /* ExampleGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76EB4CD09AE6155F0067DA38D97869E3 /* ExampleGroup.swift */; }; + 1506857073C82B36917FBB4F9CF01068 /* SEGBluetooth.m in Sources */ = {isa = PBXBuildFile; fileRef = D829E368118B61FFA584C01DF74C0B67 /* SEGBluetooth.m */; }; + 15A7217C749314E8423F3C36A99BAF7A /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 114CF0E3D2F6B9F63D0D69A29C2151A9 /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 1605F8488EA2281B38AAFED554B9DD9C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 16325200AF77954D55A5F9F56A6433F5 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = E1FFB2553B1635BF0923307D5FF83B35 /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 17158E82C5346BB03652053CBC8E904E /* NSString+QCKSelectorName.m in Sources */ = {isa = PBXBuildFile; fileRef = 5202B4A132E06E5CDF2014C8A353A027 /* NSString+QCKSelectorName.m */; }; + 17572374B2AE183C6347C41E8DF8E579 /* EXPMatchers+beFalsy.m in Sources */ = {isa = PBXBuildFile; fileRef = 737333433A96822B337A3269CBC5C747 /* EXPMatchers+beFalsy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 17ABB0C0726665DE8BE996ABCB9B391D /* SEGStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = 365F8A5F1631E08DACECED0B041CF52B /* SEGStorage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 18719A1DBF05C5C86552143BA48D9D8C /* Pods-Analytics_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3937A2307ECFEFDF18B81943CB85FE11 /* Pods-Analytics_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 18E82D977DACD4DEF29F1426EE561B52 /* Specta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C8C4618A13416C3249A9E1991FE5F5B8 /* Specta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 192C4EF47D90895E51E5597323364A3C /* NMBExceptionCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 435516180AB54D4DD39F1C23DCE071AA /* NMBExceptionCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1A1592F5F63303C2FC08D58D4AC50C82 /* NSBundle+CurrentTestBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7914AAB0864F0D49EA3BBAC1F57C3E58 /* NSBundle+CurrentTestBundle.swift */; }; + 1A1AB2EC52323C5EA28DAA99F1E1A90D /* EXPMatchers+endWith.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B5870261F3EFB7DF62A31B2CF2A907F /* EXPMatchers+endWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1AA12F9FE5E130BF350F9DA058604613 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 88D92256B2CA39B811A34D1BBBEF61F5 /* XCTestSuite+QuickTestSuiteBuilder.m */; }; + 1AB3304B6884F626BC54150AC7565E18 /* EXPMatchers+equal.m in Sources */ = {isa = PBXBuildFile; fileRef = 731892004CA0979CA5676903F46510FB /* EXPMatchers+equal.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 1B0389CD88AA949B34DC7269030FEC6F /* EXPMatchers+beGreaterThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = D411383BA4C19E8F7F0A6DD1DD96070A /* EXPMatchers+beGreaterThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 201BF9C605852822CA5A65ADE282A310 /* EXPMatcherHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 4EF6708C54DFC249D5216B275BAB0315 /* EXPMatcherHelpers.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 204D694B03BFF3B244A6AB73FACFFC43 /* Expecta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FF148C8FA20933843473FDF04069412F /* Expecta-dummy.m */; }; 205D2E281F68A223DBB09262E9514D41 /* Pods-Analytics_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B12869C98411D50EACF87FAC7CCADD0 /* Pods-Analytics_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2070701995190A07047F664492D7F156 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = CBE6515D380AD0A5F2B850991320F479 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 21B9BDF15D08F33883999509AC98847C /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 94DBD92946E86E0425D0A419D59595F6 /* CFNetwork.framework */; }; - 24B569099A40F837596002531AEBBE6C /* Nocilla-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 287BFBC3E9767165D9BCD7FD0BAD33D1 /* Nocilla-dummy.m */; }; - 260BC7EED9289AF321A6F791964CE472 /* EXPMatchers+respondTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 48E6F388DB4C94996CFDB96CF560CBF8 /* EXPMatchers+respondTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 27832B2605A37241AF9CD554C9ECB6D0 /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F6572099C332D69E0D8AEF41D4F9F83 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 27FEF9B885DDC6AF516D3816141BF58B /* XCTestCase+Specta.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B69B1E64147D5B5D22E6B8CAF1955AA /* XCTestCase+Specta.m */; }; - 2916A0606136A9DC67F2463AB230868B /* EXPMatchers+match.h in Headers */ = {isa = PBXBuildFile; fileRef = 56F8D051211772210563049DD3A251E8 /* EXPMatchers+match.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2A1140DE1AF9BC590ABEC7D33C4AF8D0 /* SEGIntegration.h in Headers */ = {isa = PBXBuildFile; fileRef = 2F5B032D6C28D7D23779332687354C86 /* SEGIntegration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C0A8737FDB9B9C6A6BDF437FD11334C /* EXPMatchers+beNil.m in Sources */ = {isa = PBXBuildFile; fileRef = C2DEF35243EE7B74E0BADE527AC8E6B0 /* EXPMatchers+beNil.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 2CFE2898496C1C7096DB8DA43AF19103 /* EXPMatchers+raise.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0684A9A2D760E042578EB213B228AB /* EXPMatchers+raise.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 2D0294A1F074AD370FDFE53FF14199AC /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 348E28395AC3E9B59263F66C9B316799 /* XCTest.framework */; }; - 2D650B8931887E7AEAF614ED80FC8DE0 /* Pods-Analytics_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3937A2307ECFEFDF18B81943CB85FE11 /* Pods-Analytics_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2D9B75878287C3650BDDB3C06661E7C8 /* SEGSegmentIntegrationFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F987F4D76DF1691DEDEEE8FE2A4F406 /* SEGSegmentIntegrationFactory.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2DA2EC9D7F9B3A8BC5271F9C9F161AF4 /* NSData+SEGGZIP.h in Headers */ = {isa = PBXBuildFile; fileRef = 6C9F28DF4E74B9F2B225436D9EA58C2E /* NSData+SEGGZIP.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2DBDF5B701DC699F0E5A0ADCFF7F3E94 /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 57F611336E125F4ECBD6F0DF8F8CB0C5 /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 2E14619153A453BB8DF389FB6EA147BE /* ExpectaObject.h in Headers */ = {isa = PBXBuildFile; fileRef = DCF1F5F3DBA0F14ACBD55191FE7C28E6 /* ExpectaObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2E4FF0434401AC1DB9F5DBF38D9287D3 /* SEGLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 268853C2956555636C6BD6081F8AAE6D /* SEGLocation.m */; }; - 2F427490ACABC4408D57CC0592276678 /* EXPDoubleTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C7BB766C918FEA55596360DD0B3BB /* EXPDoubleTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 30E860E40F2D456E532481BF7D54C124 /* SEGScreenPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 354E53CA2386704D8DB4A48EF2CF11E5 /* SEGScreenPayload.m */; }; - 34B6E9A30603BEBBD87BA535B7D384CA /* EXPMatchers+beInstanceOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 323E13462D209A8AC526A27D9D767E45 /* EXPMatchers+beInstanceOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 34E62597F5978F7A993623739F71601D /* SEGAnalyticsUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F06AC9B7CA83F3048A7254B9068F9C8 /* SEGAnalyticsUtils.m */; }; - 372F7A9CCE59CE86316CF436F832A3FC /* EXPMatchers+beGreaterThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = A32C700EBED12A89A370905134C69E44 /* EXPMatchers+beGreaterThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 37A2D0F8493469EF2495FC689440F079 /* EXPMatchers+beLessThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 119280D2BDDC2135EAF4BB7B955E8FAB /* EXPMatchers+beLessThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 386B6C6533361BFE379152A810606851 /* XCTestCase+Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = D4AAAFD96AA7809B77E24852A143E81B /* XCTestCase+Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 397B320B7C59C168CC5B62E18ED8DEA0 /* EXPMatchers+beSubclassOf.h in Headers */ = {isa = PBXBuildFile; fileRef = E0DAE6457BDB82C50109C4667531F696 /* EXPMatchers+beSubclassOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3A82F4E68E8D3FF7D414E6073346C049 /* SPTTestSuite.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D998F787BB3D83CE6B21CA86B405B46 /* SPTTestSuite.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3B4F15B3D4EBB8580874CFA87CAAB437 /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 048D94BE82C84555D409A93BF039EEE5 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 3B588A1AD8E3D88B70EF1A8D3CF519ED /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 5750F85C4001818E251789B8C0029267 /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 3B5B7495707BF7133B9FB3F834045611 /* EXPBlockDefinedMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 07F6FEB6A8B5B3C02B1F7AC0B1416F42 /* EXPBlockDefinedMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3BD06A1A9216438AA513BCFF39EE2F30 /* SEGSegmentIntegrationFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = F30FA578EAD204F81712C3A4EC7B1B1E /* SEGSegmentIntegrationFactory.m */; }; - 3C2700C7DAA15C6AF84A595865C42F4D /* EXPMatchers+contain.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B75167FE543EDAB22C03FFA2C43EB27 /* EXPMatchers+contain.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3C380C634D63206648B6D947901FF88D /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 58EF9D321A4473CCBF2CF307F3A716A1 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3EDF6A877923CA3D380A27BA221A3693 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DC44F50C0C0B23F18EEA2E4452A285E /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 403292D82DA62291204BF59524BC4EDB /* EXPMatchers+haveCountOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 1B1D2940D8C1436462D7D6D8912D3797 /* EXPMatchers+haveCountOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 4064CF661F3AD87993F7BFD4AD26C45D /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 0381D6093D21AFDDE30CFE22F3BB680D /* LSMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 41953DAA65006204A4869C536A6B0F2A /* SPTExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B83420442E5AFA48C73D177548DC6AA /* SPTExample.m */; }; - 43271DD951A1049D87FF064A1FD87175 /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 47FF6EF9E62A9175DF61CE4FC4F0CBCF /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 436A0A20916A6DC135B2A053C44CA331 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = ECF26B74CC2081100643793D5A3CB1CF /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 45E572D31967530C97D396B86E4A8749 /* SEGAnalytics.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B18B8410C6425F24B866CBDB74CABBF /* SEGAnalytics.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 46137F5CC368BF38BAF0D0AF81DD8FFE /* EXPMatchers+raise.h in Headers */ = {isa = PBXBuildFile; fileRef = 129E0D30DA701F5E349DEA97F20661CA /* EXPMatchers+raise.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 471FD4F68E27AB26FA2AEBB8B245CEE4 /* NSValue+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = F0C23C26D420E80AD34DF7B0996B25E8 /* NSValue+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 49727DC45DB1C0FD0D754C89A0B39F7E /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = D735F936248170D1FDFD5E59888BA634 /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 49CBA94E894CB4CF83C7A8EE9711249F /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 56F3BF36F4B28877AED0C75CDB6C2CF9 /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 4B0FACF86699832CB060706698EEDA62 /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = CCE7C8867802A1DE14149AD62F3983F9 /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 4BBCBB9D8EF0B241A4A4FE4982985481 /* ExpectaSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = B640F7EF833538A7567F2876134FEC3C /* ExpectaSupport.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 4C33130DFD75412F3E280502FBAA0945 /* SpectaDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 952C900BA9FB23A1C1FB1A1ABFFA27EF /* SpectaDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4DEA938F1EACED5EFF9D45FD037D3BB2 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C45254A956BCDEE1A509CC47D9AE828 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 51DDDB0FB4899757CF6A826B531B940D /* EXPUnsupportedObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 756CD0982961FCE099DA103BA646FD59 /* EXPUnsupportedObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 52695B80D42DFB4C48D7A906478509EB /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = A68EE479CD32D935ECB7001FAF476988 /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 52E493AC179B1F738F42276D7B57E16B /* SPTTestSuite.m in Sources */ = {isa = PBXBuildFile; fileRef = 44FB4DDE2873BC99C9529F866BA25D18 /* SPTTestSuite.m */; }; - 53E1FC22599DC2467C1CFA87CF82C705 /* Analytics-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BE093074278010988054D4827E030ABB /* Analytics-dummy.m */; }; - 57F39C3A350D0C79515078277A4A30F2 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 04102C8A636C2565CCD3FBB08DA3B957 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5879A13A87CC9D9BEDE5351704BDA541 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = 07A9FBDBCA6592F4689ED88CC150A26F /* SPTExcludeGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5B2D4A621D3DA971A474776AF36BB073 /* EXPBlockDefinedMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = D170E667AE51D1E486429CF9EB14F8E2 /* EXPBlockDefinedMatcher.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 5B4AC8A357D5257AC7361DFCD16EFC20 /* SEGHTTPClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 5E186BE69F61E7EDBE62801AE998DC95 /* SEGHTTPClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5BE554338DE6FB62A2C1E198797C3C79 /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BCC19A1ADDDD255485E6F7519161F9B /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5DFEEE705DFD71AECAB14611FD8C9D93 /* SEGReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = ADF0FC53693A9842E3FB69D92934BA59 /* SEGReachability.m */; }; - 5EA7043FE10E75D02F3C3052AF8B8318 /* EXPDefines.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E09F4CDEE2C1AF48406C4B1D274F21A /* EXPDefines.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5EE7C2DDFD91350494A3B17E9C8CCAFC /* SEGIntegrationFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = DE36CBC163E9F3578D7D2552F1BF89DD /* SEGIntegrationFactory.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 60E906CDC30F4C0523F21C90F9491A14 /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D88FCD425720D9CDAA8CF432423A50E /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 61F8A44E8A863E6BB75069FB1473C8C3 /* SEGHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 9161DD85D2FEE10004CF637D901D9070 /* SEGHTTPClient.m */; }; - 63402D899FE759DBD6505CFF19BFD7E3 /* SPTSharedExampleGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = F5268D4F677423311AF279E51E02717D /* SPTSharedExampleGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 63A37D6623A54DB47C2B12D08E02264B /* SEGIdentifyPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = D41DBD56C412C840D2090A4BF5CC6023 /* SEGIdentifyPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 65BC31095CCDFC80CBF6BBA843751F23 /* EXPMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = FEEF1CCD4245A7A1DD5741CB920D2D0D /* EXPMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 65E2F7AD000FC4031DE3B3D9C4DD0461 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A751917E35042705FAA69CC21DBF68E9 /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 66A27898E989A3FA5C15AA671C4536F0 /* EXPMatchers+beIdenticalTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 54956A0063A54B236DD3CB15A478F607 /* EXPMatchers+beIdenticalTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 67459AD239EF669A365519E06B45DCFE /* EXPExpect.h in Headers */ = {isa = PBXBuildFile; fileRef = 4CC2B2F237911FB7A48EA0A688CE9DFD /* EXPExpect.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 683D42CCDBA04DEAA5927130555865FB /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 5EA21B0A0686B2730612CAA48E246F7C /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 68648F40FB98A5F4EF4AD187473D1F3D /* SPTSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = EB6E879A49A59A04DF43FA52A7B9ABC5 /* SPTSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6AAD3EF28C1C2DA026B93AD8D814F64D /* Nocilla-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 76010B681AA03D877FD5A52AF8E82C9D /* Nocilla-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6E1D978790705E137FDE439AA68DD3AA /* EXPFloatTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A77024A1E8F3C2079DEEB9C333F7C62 /* EXPFloatTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6EC0C9FA543DF6EF0AEC1434823658EB /* UIViewController+SEGScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = F48391C7669C37154448ED565B6D9233 /* UIViewController+SEGScreen.m */; }; - 6EFC63A5CED45BB39FC79D87F2C47D6B /* EXPMatchers+beGreaterThan.h in Headers */ = {isa = PBXBuildFile; fileRef = 52269A5CEFF209E97F66A41DB2300E1C /* EXPMatchers+beGreaterThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6F278423C8AE1DA47F35E374BB5B91EC /* EXPMatchers+beSupersetOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 35D5D72603A85EDED9BC68C849A71677 /* EXPMatchers+beSupersetOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 6F9AC619478339681794CFB2FFF49EA3 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = BEF8786C83B5717F9219906718C628A9 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 72D1D73620A94FA53E1B32472F3E00C2 /* SPTExample.h in Headers */ = {isa = PBXBuildFile; fileRef = FCB28A78CDBB39AB53186AED8F73F51A /* SPTExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 72E2C941E1D6B2686F50ED36658F1BA3 /* SEGScreenPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 302868B704DAA2DFE9B11259778B473E /* SEGScreenPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7378D773448D44130FB2CF4847619B8D /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE10F02F8C6D0A45FF51B31983F2168 /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 746762DD022722AA0783532E872ACCC0 /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 166736907F1E5180FC092545C416D144 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 74D38E3369D473A7ADA9B2D3F2320B63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - 76CCABE79C04444450153424D7CE1DC1 /* EXPMatchers+beSupersetOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 8BA4D4B8C6E5AF50AB609E295A01DAE5 /* EXPMatchers+beSupersetOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 76D337327C10A7555447B69AA1562647 /* EXPMatchers+beInstanceOf.m in Sources */ = {isa = PBXBuildFile; fileRef = C22F0A3F7D136F37CBC921C82913151E /* EXPMatchers+beInstanceOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 781A3371065498563238D5E4E7F7BC49 /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = FB8EAF8AD870197091A669E2F17D31C7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 79558B1F97ABE4AB8942DC18BEBD4B82 /* EXPMatchers+beKindOf.h in Headers */ = {isa = PBXBuildFile; fileRef = BCC2B009D60DA44006AF374F9AA779D5 /* EXPMatchers+beKindOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7AFCEE99C2A708CAA64C621B4E280087 /* SPTSharedExampleGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = 24565F37B7304C172A8154C3A695BDCB /* SPTSharedExampleGroups.m */; }; - 7B223B4E6EF14BA12DA113F7EE10B96C /* NSObject+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DE49C43591ED9234166839F5158A27 /* NSObject+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7DE4B7B1DA9C7FF9D2B1B4615A8EB759 /* UIViewController+SEGScreen.h in Headers */ = {isa = PBXBuildFile; fileRef = FA89F1F324EFFE5F63AF2C9D97775F3F /* UIViewController+SEGScreen.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 805E425BBEF7A6133E32E1D30A073010 /* EXPExpect.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9DB94FDFB0EDD4A7B005776522AD8F /* EXPExpect.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 80C451D6026B1C2BF6EF917B4F5BF98B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - 837B593D7C1D01B4EA400247309D6AB0 /* Expecta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 36CEB42FC801D6DD1C0C86F8D5A6B031 /* Expecta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 85E31076D5530AEEB45ACF16B2B8A983 /* EXPMatchers.h in Headers */ = {isa = PBXBuildFile; fileRef = A92A84FCFC4ABCF6BE29001116807297 /* EXPMatchers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 85EB2F216487CB2E8F3FCCFBC4D69912 /* EXPMatchers+beTruthy.h in Headers */ = {isa = PBXBuildFile; fileRef = 32EC638BEB57AED9169DE0100EF22F2D /* EXPMatchers+beTruthy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 861BC8874F6CC678B0C994082425BB2C /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = F13E1AE89B0F592308CBD954E0C4FA45 /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 87FD5F0F682CDEB6A348CA448889E3EA /* EXPMatchers+beKindOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 621F843A137B3E3899CF96CF46CF5A5A /* EXPMatchers+beKindOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 8897AD5D3DBA96C3D02EC51FC6C4F71F /* SEGStoreKitTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = EC37B44F5A4A8FE55A6BC47A2FEB8375 /* SEGStoreKitTracker.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8927C37DD5750B9F6409C3EA80623A16 /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = B69A66C3DB5045ACF35AE9E9F44D01B6 /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 8929941F0C7A48971332804FD69CC3CA /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 7245ADF080442E19CC8B85AD6F96A6B6 /* LSASIHTTPRequestHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 8C8C1B0D83FE6A4352F15154DB16372C /* EXPMatcherHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 81BC3CC72028638F87B514D1A7853EEB /* EXPMatcherHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8F8D4BABD6C928CFEE32CDA5CC97188A /* Specta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A2B067495F18D88E6AAE62ED9A3A952 /* Specta-dummy.m */; }; - 913A727BA58EBFEBCA86115EF0123003 /* SEGSegmentIntegration.h in Headers */ = {isa = PBXBuildFile; fileRef = ED69209F90F0AE41E738AC5C92A87F30 /* SEGSegmentIntegration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 918E06480F28F27361B19D19432F8538 /* EXPMatchers+endWith.m in Sources */ = {isa = PBXBuildFile; fileRef = 81D50D817643B34BE0A6793B8A38C131 /* EXPMatchers+endWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 931D410B9F8ACB935883DF8C59F9C93E /* EXPMatchers+postNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = AE5E4907A3648032A5E52DCB25AF70A2 /* EXPMatchers+postNotification.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 94C47C87E397972CE98F75929F3B706C /* ExpectaObject.m in Sources */ = {isa = PBXBuildFile; fileRef = A4480B33930A9075D36FFA16677F5113 /* ExpectaObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 94EB8FF688C1E8F952B8C167F3F2B0B4 /* SPTCompiledExample.h in Headers */ = {isa = PBXBuildFile; fileRef = CB93789D9F5E4D02164A25D17E4624CB /* SPTCompiledExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 95F0E3816CCB73CCF8BFAC82C1EDE91B /* SpectaUtility.m in Sources */ = {isa = PBXBuildFile; fileRef = D91118622DEF2A715C0CD5CBA450F494 /* SpectaUtility.m */; }; - 98448E68F706C3077F402B1F1B64520E /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = DF9CDAC774AF1EC88F9AC25D9F7E84AD /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9B2E761A064459F77EA9870BEF03ACC3 /* EXPMatchers+postNotification.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E8EFD397EC324185FA95501C7A096F7 /* EXPMatchers+postNotification.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9BB9159FBA757600D3D4C0FF645F3911 /* EXPMatchers+beInTheRangeOf.m in Sources */ = {isa = PBXBuildFile; fileRef = ADD0C2A882D7119AB07E313F15E6308B /* EXPMatchers+beInTheRangeOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - A10DD31CE801172ADE6CADAFC3BEF9CE /* SPTExampleGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = ED7B697D020FD4EE3EBBE0801C80017A /* SPTExampleGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A434C8CB0F23A35DA222105C7B11300D /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = F6FCFB90F9A4F2EC5FC71A3E0A0D4D48 /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; - A460983620B3719092C5217CCC57A699 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15457E7901D93551F110977610781944 /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; - A5C90576850BC920FB28CA13242AED17 /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = BA4F20DC01C560722BCBB19127C7A148 /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A7321D75FDD5D9685F18845E84A206F4 /* SPTSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = ACA9E38A9ABB8CFEF3056F4E22836A79 /* SPTSpec.m */; }; - A968114B5888EE6CF93F30331B51FF89 /* SPTCompiledExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 72ADC84696EDBD1596C7756BC3CAAB31 /* SPTCompiledExample.m */; }; - AF1F46668D4591602887998C6E9C10AD /* EXPMatchers+beCloseTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 19326B1AD9863BA4843E7602B723451C /* EXPMatchers+beCloseTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AF484B13886751D179A8B3E58663FD33 /* SEGIdentifyPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E64EA832A59F14879437B3965DD8C35 /* SEGIdentifyPayload.m */; }; - AFFC8900E52BBEC72059334132F3A8F3 /* ExpectaSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = EAA0B0D8410A748100182967B6BD8E5D /* ExpectaSupport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AFFF59A6580376AFB69A1B0877FEAE98 /* SpectaUtility.h in Headers */ = {isa = PBXBuildFile; fileRef = 35910C380D55DE8C13B47AB42B48125D /* SpectaUtility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B0BD13A01F667B129F4F5F167088A024 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = E0923798C6DA8B5F02D377F72EBE9220 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B30D380B5EFCD54FEE04D3C4F1988262 /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = EAEEC0CE4F05D24E0928BD1776E06892 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B479AE437D9B71C51CB95895BCCA7373 /* Specta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 400AC27B28C940AD4C7FED5171E00B73 /* Specta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B7185ADC751C1C1B68DCE07933CF0CB5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - B7B6C386D18C61D236CE7B92C62DC4F4 /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = DADA5DCACFCC26BAF81CBA77D5DAA680 /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - B7BAA1610C192270DE28D6F9ACE95542 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = FE0F7A461D70E6027BC573A58C77C205 /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B84431CF8C64F363A334AA7089F6C134 /* NSValue+Expecta.m in Sources */ = {isa = PBXBuildFile; fileRef = DC8C0425C03478A644814F28209B4B59 /* NSValue+Expecta.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - BA12B131F10BCE3BE6E9A02FC908FE9D /* EXPMatchers+beCloseTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 10FB2870274E6A883E945515401DCA07 /* EXPMatchers+beCloseTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - BC3752AC356067DF109591107D6BBEE8 /* NSData+SEGGZIP.m in Sources */ = {isa = PBXBuildFile; fileRef = 2BE70A0BE6E3AC40EF4AAC64151CCCDC /* NSData+SEGGZIP.m */; }; - BC5155194259A004C9DD605674B023A9 /* SpectaTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 271512C3D7207E4C56D018B95B7531C0 /* SpectaTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BC55C8365AEFF8217F6A567607754854 /* EXPDoubleTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = 180E448B9AF17FE7D45A0668988629FB /* EXPDoubleTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - BDE2564FBEF154A959111B0B91A34ED4 /* SpectaDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = EECB3EED6027FDABD7D3EAF6A92E046F /* SpectaDSL.m */; }; - BEA154ECF7C6ED3CF8C6C0DB54AC77B6 /* SEGAnalytics.m in Sources */ = {isa = PBXBuildFile; fileRef = B0D090B0373B3F51B59F99A087DD9876 /* SEGAnalytics.m */; }; - BEFFE9FFE52E9A0833A7D2D8FB67EB4D /* EXPMatchers+beSubclassOf.m in Sources */ = {isa = PBXBuildFile; fileRef = B6E1163F011E3D444A62D529DD550108 /* EXPMatchers+beSubclassOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - BF3CB6A6F9B86A8723208C7A2418BB10 /* Pods-Analytics_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CFDE47A271C4D8EB4957B57FD71DD6E /* Pods-Analytics_Tests-dummy.m */; }; - C1774B2978C825F944AB75401E099018 /* SEGAliasPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = B588367A6A267BEB469E601813B6475F /* SEGAliasPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C4F4C8EF4A764C0FDEB5789F9207FFF2 /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = BFA2BD58C9EFC80EA6F447245DDE8374 /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - C6B1AECA74F601617F8329EB45FB0265 /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = E36B02538433DEEBA0722170A625F321 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - C79A1CD129A1579A7749F570CB4D3962 /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = EA4C6FC11C1430748A8424DE661C017A /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - CA303CF6D30D41F05C81DF35576B6C34 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 5526DDE7CBC2FA01EE8D2FDDCB4D8815 /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - CE3F4ECBB0BC095577D66AE50C8E604C /* EXPFloatTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DB4CCAC4A118DC45CB2F562BDE1E5AC /* EXPFloatTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - CFF7859C74224C77BC66F32FB7703C7E /* SEGGroupPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D7B595DA38C7DFC60F78642C2073770 /* SEGGroupPayload.m */; }; - D03A170B778B2DDBDBF3B98B9A477CF0 /* SEGSegmentIntegration.m in Sources */ = {isa = PBXBuildFile; fileRef = 023328B94DE65BA07618E7046973F47E /* SEGSegmentIntegration.m */; }; - D0C4EA5695549C1A7A0C509AADDC530E /* SEGTrackPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = C94F72101EEBF1EDE5E101FC2E6AA35B /* SEGTrackPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D2B3B8A5532F9F084D2855970798CB82 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 04CC74C4C61327B9C4DF18957B7812E3 /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - D4E2C5E311068E1AA79643974090A086 /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = DFA130006D64C9119222D3CC6DEEB97F /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - D7BCFFA5B563E1FD333EC77D14633DC1 /* SEGTrackPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = E207EDD9318353F4CA3E68BBD2CBFD1B /* SEGTrackPayload.m */; }; - D83677C54D2226C67886A525B0B46FBE /* EXPMatchers+beLessThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 63AB1B8A34F9D4B45393CE44CE285382 /* EXPMatchers+beLessThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - D84D38929D245CF5F96890CD985D299C /* SEGPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = A5BA035D6043B4036AA1DDF515E27387 /* SEGPayload.m */; }; - D85A177AB6B05E3FA5D83B4EB90805EE /* SEGLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = 8476918918FBB6405D369344E4D62A04 /* SEGLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D89A3918634DBBD74E3642EDEFF76A71 /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 68EA8E41E380502BF92641F1CCBA68CA /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - D8D1615374BCBF30AC4B2572E4EA0DE0 /* SPTGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = 6AB3944B9D9D2C15A730CE655C94C4F1 /* SPTGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DB30F82FB1BE083D9471B965FB500CA2 /* EXPMatchers+conformTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C86E1F5E7B8BE2BA68A3B6416E532D1 /* EXPMatchers+conformTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - DB5E7396AB1F4CA51F6B02A52E3BCA8A /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = D2CFFA1D7BA56478F70ED09046A27493 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - DDA4DCAE58682D1F923541927EDD2275 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 372CBB8F4D124EFE07566B3EFBA4352E /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - DE94765732B7FBCD78E56173F4A782ED /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BD66B7A4E6D29687CDA5EDA6122D4FBC /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 2070701995190A07047F664492D7F156 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 32AF86905BE2C3357D54CCDB8F857E6F /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 21B9BDF15D08F33883999509AC98847C /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F43A8EFA672CB05EC9111931AA53430A /* CFNetwork.framework */; }; + 21FCC4B725EAF5F42EDFDA386FF3EC4C /* BeNil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75906B0363E848ACBAF7C5F354E7EB7B /* BeNil.swift */; }; + 23609D781FEA74F78234E5B31AE644CA /* SPTSharedExampleGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = ADBC388B201BD2D4C5BAB4BD8BD8102F /* SPTSharedExampleGroups.m */; }; + 236E397C0E190BC2D409BBEF93A09302 /* DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = EF32B53E0F8F4D700E01464220F57CE9 /* DSL.m */; }; + 2474E0A98C87052E42D94530502284FC /* SEGAnalyticsUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 2877CEC45417EE0FA8C0860CDB81E406 /* SEGAnalyticsUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 24AE47A6560D6EBB0AFF78BAAAB15E0F /* AsyncMatcherWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = C353D0BB9278082FC3B8767401C4576D /* AsyncMatcherWrapper.swift */; }; + 24B569099A40F837596002531AEBBE6C /* Nocilla-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E7B7375637D9BD65374A013F571EAED /* Nocilla-dummy.m */; }; + 260BC7EED9289AF321A6F791964CE472 /* EXPMatchers+respondTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 027A1D8E0CD2741744D6DAA7C0A313E0 /* EXPMatchers+respondTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 263465A57520B440C99D428CE2E51AE9 /* NimbleEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8D4FAFBB2941D65FFD1D889DC556C12 /* NimbleEnvironment.swift */; }; + 27832B2605A37241AF9CD554C9ECB6D0 /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = E753EF09A2CC87267CE0182BE37A0C07 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 2916A0606136A9DC67F2463AB230868B /* EXPMatchers+match.h in Headers */ = {isa = PBXBuildFile; fileRef = DBA28D49B2537AF7560C79D9D0624783 /* EXPMatchers+match.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2A35910DF89CBA928F404970143F8E7A /* XCTestCase+Specta.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FEA059184FF5F57F3C8B3064801A6CF /* XCTestCase+Specta.m */; }; + 2C0A8737FDB9B9C6A6BDF437FD11334C /* EXPMatchers+beNil.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DE87E24041B17983B7D6F3922FDD108 /* EXPMatchers+beNil.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 2CF2E077B4AF5A7FAB68FC48CEBB67B3 /* SEGCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D8588FC7F9643DC9B416ED9D5F1FBC1 /* SEGCrypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2CFE2898496C1C7096DB8DA43AF19103 /* EXPMatchers+raise.m in Sources */ = {isa = PBXBuildFile; fileRef = 05FAE8DFC495749B9E4803F6419828A4 /* EXPMatchers+raise.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 2D0294A1F074AD370FDFE53FF14199AC /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DE604BA5578B3C008F23F53AC9D8822 /* XCTest.framework */; }; + 2DBDF5B701DC699F0E5A0ADCFF7F3E94 /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D5B16BC31CA6B154C114225552FE49 /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 2E14619153A453BB8DF389FB6EA147BE /* ExpectaObject.h in Headers */ = {isa = PBXBuildFile; fileRef = D58CFF72C9AC39E1705408655E912787 /* ExpectaObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2F427490ACABC4408D57CC0592276678 /* EXPDoubleTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E2E178AE7A3CC5791C67C78C3C27ABC /* EXPDoubleTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2F79B1E74C92968DC78536D0432F415A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DE604BA5578B3C008F23F53AC9D8822 /* XCTest.framework */; }; + 32C61C48E80612D02D082422DDB5EA24 /* SPTExample.h in Headers */ = {isa = PBXBuildFile; fileRef = 66B1726CFE32ED255630510B30A8262F /* SPTExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 32E7D82A0FFDB8738F1FCB56195A00C4 /* QuickSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A5766F435B3533DEE7DCD0EFF545D17 /* QuickSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 343DCD2CC3A44B2203D0B5674A405325 /* NSString+QCKSelectorName.h in Headers */ = {isa = PBXBuildFile; fileRef = 7606DC02DADE239D0987C82628955F63 /* NSString+QCKSelectorName.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 34B6E9A30603BEBBD87BA535B7D384CA /* EXPMatchers+beInstanceOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B6264801DD08FC419E8D775753B6FEA /* EXPMatchers+beInstanceOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 35E0EBA7AA92E190AB5B4ACFCF0F61C4 /* AssertionDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E7FC9CD32188BAED7796EA8AB83FF22 /* AssertionDispatcher.swift */; }; + 36CD90DEFBD0688187272857090A14D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 372F7A9CCE59CE86316CF436F832A3FC /* EXPMatchers+beGreaterThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = C4B70A1EA3CE0F856CC311640B92F1FE /* EXPMatchers+beGreaterThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 37A2D0F8493469EF2495FC689440F079 /* EXPMatchers+beLessThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = ABD550DA4DAEDD7E15A0A75604431CA6 /* EXPMatchers+beLessThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 38CDBEB259165D0AA8D3F1F5E0B53EB4 /* Analytics-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F8115C1476FCC21E22C39FDAC8BB6EB8 /* Analytics-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39007AD3711A35BCFA1D853E7AB79510 /* BeLessThanOrEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E212A4A0ACAC90DA6A55722A5E9275D /* BeLessThanOrEqual.swift */; }; + 397B320B7C59C168CC5B62E18ED8DEA0 /* EXPMatchers+beSubclassOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 281AC41638F0C5CA205AE8924CCC3252 /* EXPMatchers+beSubclassOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3B4F15B3D4EBB8580874CFA87CAAB437 /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = B082312CD9ACED5871DD3C874EA85D94 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 3B588A1AD8E3D88B70EF1A8D3CF519ED /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D2DC0FC95BD8824C9C3ED27B4FD9BA1 /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 3B5B7495707BF7133B9FB3F834045611 /* EXPBlockDefinedMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 1FBC3F8FD605847E5DE569FE9BC32EB8 /* EXPBlockDefinedMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3B78C4F35C369FBABE62D4622A67E7DF /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF46D4592ECF79E89F0E0140F3465C82 /* DSL.swift */; }; + 3C2700C7DAA15C6AF84A595865C42F4D /* EXPMatchers+contain.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DACEF77AD35D583799F167215568F86 /* EXPMatchers+contain.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3C380C634D63206648B6D947901FF88D /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = BB5086D2C6E5CB0F4DEFEE01D97FC460 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3C918E40C04067FAF57B447C0BC52B04 /* BeGreaterThanOrEqualTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74A6812D2BE3D5D55A44D1CF462C70A6 /* BeGreaterThanOrEqualTo.swift */; }; + 3D7AF86E9032C99357D2ED046461874F /* BeGreaterThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0DA1D35129D9CB19816D163F4BD4260 /* BeGreaterThan.swift */; }; + 3DF21CC8B1540FC57080402578510573 /* SEGTrackPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 32159F0B2293399896F70ED6E3E8538F /* SEGTrackPayload.m */; }; + 3EDF6A877923CA3D380A27BA221A3693 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B5ECEE8F4FB020B7FA66EA9F69D4A64 /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 403292D82DA62291204BF59524BC4EDB /* EXPMatchers+haveCountOf.m in Sources */ = {isa = PBXBuildFile; fileRef = F069D8DB4989FA02ADA57AF29059BEB0 /* EXPMatchers+haveCountOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 4064CF661F3AD87993F7BFD4AD26C45D /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E82E06036771A97E6FCA3D47E48BAEB /* LSMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 41EE5E3698CC1A17046AC74B36A279E0 /* RaisesException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96F0B729EA46F41106481339E7C239F4 /* RaisesException.swift */; }; + 43271DD951A1049D87FF064A1FD87175 /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = C2F1F4A3850DE69BC154AC15438441E1 /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 436A0A20916A6DC135B2A053C44CA331 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C8E4E803F16018B29F801CC13764163 /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 43B99F06587ACD844A4D09A0ED9FB66B /* Stringers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 423373EB119D1453E5DF217A09282844 /* Stringers.swift */; }; + 45E2862FC41D4A08D1C6CEE754FF6C46 /* Quick-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 060FB8DF34406D58D805B11FC5268002 /* Quick-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 46137F5CC368BF38BAF0D0AF81DD8FFE /* EXPMatchers+raise.h in Headers */ = {isa = PBXBuildFile; fileRef = 80D3943FC745B6CF09FCD7DAA4157E18 /* EXPMatchers+raise.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 471FD4F68E27AB26FA2AEBB8B245CEE4 /* NSValue+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = A0217325565ACE0C80BC154A6D3B50FF /* NSValue+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 47CB2F121AF5F7AD87E0983A849631FF /* World+DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3532B231976303887EEA00A826629B /* World+DSL.swift */; }; + 49727DC45DB1C0FD0D754C89A0B39F7E /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 265ECB34427120EB28EBD0A248DBA5FE /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 49CBA94E894CB4CF83C7A8EE9711249F /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 24890E9DEED954F6D3458EE5C8D57125 /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 4B0FACF86699832CB060706698EEDA62 /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 30B91B1D82D6ECD67C89D0F8EC0626A9 /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 4BBCA9F2EE21158ABB4CD25E2A0CF76D /* SPTSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 39934EC1080C7C1F1688D15B7F3DD0BD /* SPTSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4BBCBB9D8EF0B241A4A4FE4982985481 /* ExpectaSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E57D77035E4D55B115281114088CAAE /* ExpectaSupport.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 4D5CE76C290C8E662653C693952B6CCF /* QuickConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 2BC898930DFA79B76FC22CD36B7925A5 /* QuickConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4DEA938F1EACED5EFF9D45FD037D3BB2 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = E53862F3FA8B329202410BD6F74CC7C5 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 4ED290051222328B4E32D7C2C876D946 /* SPTExampleGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 50C0185407A6C7BE5A5A071C3F34902C /* SPTExampleGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 51BDEC4C717DC258476A16D6EB764B74 /* SEGUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 49D7AF4025B23008723A8AF9AAA83CB5 /* SEGUtils.m */; }; + 51DDDB0FB4899757CF6A826B531B940D /* EXPUnsupportedObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 8503B68B46C2B4188C3CFBF40D520534 /* EXPUnsupportedObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5216D66808E07F68DE2BC8AB534DB6EC /* SEGUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 2F8BF9DE3097C37C78968316CE45F70D /* SEGUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 52695B80D42DFB4C48D7A906478509EB /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = 267EAEE3511F1CC3796747F0AE3702E0 /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 5289D7499BA4A5ED209DD55FB819254F /* NMBExceptionCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = F076C079C811F5BE87E4397A5292C9D2 /* NMBExceptionCapture.m */; }; + 54CE3FBBD31744EFA8B0A8EADB09F50C /* NMBStringify.m in Sources */ = {isa = PBXBuildFile; fileRef = 9071949B875725BA59482FED488AEA07 /* NMBStringify.m */; }; + 56CA153033917F08CCDD22E94806C873 /* MatchError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D0B5EDDC5CB70D3A5339424C9F3E743 /* MatchError.swift */; }; + 57F39C3A350D0C79515078277A4A30F2 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 23DB2D8DC767EEBA4B19148357514725 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 59726981E63CD066FAB20F5A137A21C2 /* SEGIdentifyPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B59E1DEE82270C48619A219A4DA2B1A /* SEGIdentifyPayload.m */; }; + 59A4C06B57864AA9BBFAE0B762DAE871 /* BeLessThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653676CFF689B20E529DCB0A9CBE17D8 /* BeLessThan.swift */; }; + 59AFC17D744CDEED360B4DF8876295BF /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AD7AF2B20205CD25259A755AF015691 /* Errors.swift */; }; + 5A4AC5619A05687E5EB0A4BBDC8AF154 /* AllPass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57601F005BE7FA3198F9FF971BC39E2E /* AllPass.swift */; }; + 5B21B2BBADCCEB5AC51E0A0C99BA5B93 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4104713F1F4776A7F96D91B5E9D0B39 /* Expression.swift */; }; + 5B2D4A621D3DA971A474776AF36BB073 /* EXPBlockDefinedMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A1A89216F583ED6B0260EDB32829229 /* EXPBlockDefinedMatcher.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 5BE554338DE6FB62A2C1E198797C3C79 /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 38C164CA3099AC1E19C8C01ADB001347 /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 5E5D4CD1C177D1FFCE5B269A7F9A716B /* SEGIdentifyPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 729DD38A9798E954AD5C3FED60E771B3 /* SEGIdentifyPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5EA7043FE10E75D02F3C3052AF8B8318 /* EXPDefines.h in Headers */ = {isa = PBXBuildFile; fileRef = EE46B4B32B30C2D62DFEBD82667833F4 /* EXPDefines.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 602B5CEB21CA60AFA67B508D13282E94 /* BeCloseTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71CC18610454E6238F99133F7583A10C /* BeCloseTo.swift */; }; + 60E906CDC30F4C0523F21C90F9491A14 /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = B06DEA8ACE152C866264DF4374FB8C2A /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 618E805C3DA8865A82C6BAFFFF6B1668 /* SpectaDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = E8ABC4A52C6821662DE9DDD4757CF387 /* SpectaDSL.m */; }; + 640E4342A413F80BA8632C35ABB9F7D9 /* Quick.h in Headers */ = {isa = PBXBuildFile; fileRef = BDB659D5DF2B3407626F170297D4D1D3 /* Quick.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6445B28465C1A7900E895709BC333C23 /* Contain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 701AA68E557838D583C4E733706F3202 /* Contain.swift */; }; + 65BC31095CCDFC80CBF6BBA843751F23 /* EXPMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E31D163A5F98AF3D113C22235559E939 /* EXPMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 65E2F7AD000FC4031DE3B3D9C4DD0461 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = FB9ADC2B3942452EF39A11CF4436496A /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 66A27898E989A3FA5C15AA671C4536F0 /* EXPMatchers+beIdenticalTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 899067C1EE0C572BF5EF24F18E0D0F23 /* EXPMatchers+beIdenticalTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 67459AD239EF669A365519E06B45DCFE /* EXPExpect.h in Headers */ = {isa = PBXBuildFile; fileRef = 43FC32F64D4E0954552FA3B0B7265816 /* EXPExpect.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 683D42CCDBA04DEAA5927130555865FB /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = B443C871FB477787321EE5397C92D10D /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 684A7E4C24ADAAB1B497B5F658036FC2 /* Functional.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AAE7410FABF2409B8FD5704469BEDF /* Functional.swift */; }; + 6AAD3EF28C1C2DA026B93AD8D814F64D /* Nocilla-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EC46A6B83C5D3CD824625FA0A23433C5 /* Nocilla-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6B991EF8D0E6937713D91D9A7BDF4C8D /* NSData+SEGGZIP.m in Sources */ = {isa = PBXBuildFile; fileRef = F6483E5A4C32F0B2EF01B13781DDF053 /* NSData+SEGGZIP.m */; }; + 6D529590AF7F946D703BBD8DAB2BB712 /* SPTExampleGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 515684BDFC82FFD9BB4AD1855459D1BB /* SPTExampleGroup.m */; }; + 6E1D978790705E137FDE439AA68DD3AA /* EXPFloatTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = 78DDF1C22026CF8BE6BE2976FEC051CA /* EXPFloatTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6EFC63A5CED45BB39FC79D87F2C47D6B /* EXPMatchers+beGreaterThan.h in Headers */ = {isa = PBXBuildFile; fileRef = E16C306E8F1B806231A6724A1243C4D3 /* EXPMatchers+beGreaterThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6F278423C8AE1DA47F35E374BB5B91EC /* EXPMatchers+beSupersetOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 36A54822C5B118156134C4E324DEF678 /* EXPMatchers+beSupersetOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 6F9AC619478339681794CFB2FFF49EA3 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 89BC0D03394C492D6CD3E67181542EE7 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7070E1BDFFD9D6D40C6ED465BD5C58CB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 71910E2FE30222826C7001F2496AC3F0 /* SPTGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = D567475377AEB18BA2C066BC79A3B8CA /* SPTGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7378D773448D44130FB2CF4847619B8D /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 105F968604AEEA80E8A8CA387FB7AE7B /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 73D2E569B1EC0D07050355451FD069AA /* SEGReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CABC82843926E7FD4E81B8226B58E4D /* SEGReachability.m */; }; + 746762DD022722AA0783532E872ACCC0 /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D6A5C841E4BED8A50A2D11A0F9BDB91 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 74D38E3369D473A7ADA9B2D3F2320B63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 7541E8D4D7960907F902012C28B90E6F /* QCKDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = BF806E5B77D298840759CEABDE875452 /* QCKDSL.m */; }; + 76CCABE79C04444450153424D7CE1DC1 /* EXPMatchers+beSupersetOf.h in Headers */ = {isa = PBXBuildFile; fileRef = BA797F7F2A626447FA8481C7E819E7C0 /* EXPMatchers+beSupersetOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 76D337327C10A7555447B69AA1562647 /* EXPMatchers+beInstanceOf.m in Sources */ = {isa = PBXBuildFile; fileRef = BD293E989D6883C8BA62D938C8BBF5D1 /* EXPMatchers+beInstanceOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 781A3371065498563238D5E4E7F7BC49 /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = C0BAD64A9E23C39831371DE16A5BD25A /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 792CD4D6D276C16BC3579F3E7229001F /* SEGUserDefaultsStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = B4C38673C1033E0723F2F8E6B3E587BB /* SEGUserDefaultsStorage.m */; }; + 79558B1F97ABE4AB8942DC18BEBD4B82 /* EXPMatchers+beKindOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 2923866FCC86B3EA3F8FB42B258B1BD4 /* EXPMatchers+beKindOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7AF4971E520C7EB71AE5D99ACB88E47A /* SEGAES256Crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = 69C76B134D84D164718177EB0DAB73C4 /* SEGAES256Crypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7B223B4E6EF14BA12DA113F7EE10B96C /* NSObject+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = 6925BDFD6663163DFB3781270C163F44 /* NSObject+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7D2820C605EF1AB6E7A7AFE9332F467A /* SPTSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = EE172AD3636D0181E12412D59C994847 /* SPTSpec.m */; }; + 7D6EF993DC800FDF67D48A896A8091A9 /* SEGAliasPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = F15617FB2EA6B0D3E6AA7F1CBE688294 /* SEGAliasPayload.m */; }; + 7F8AC53F92F56C3319DD733CAFB9DD58 /* BeAKindOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2918397DC23F0537CCB042A9F208F955 /* BeAKindOf.swift */; }; + 805E425BBEF7A6133E32E1D30A073010 /* EXPExpect.m in Sources */ = {isa = PBXBuildFile; fileRef = C3408ADA738C2B43339EFE489A643E9D /* EXPExpect.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 809B6E1B7AE17AA0960F34C7E7B6FA7F /* SEGFileStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = E3FEC101C287C9FF2F6A85EA5E5FE737 /* SEGFileStorage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 80C451D6026B1C2BF6EF917B4F5BF98B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 80F1EFCF1171E2425214A0BAD47F9A51 /* SEGAES256Crypto.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D1A52E921492466F3503650F581CA10 /* SEGAES256Crypto.m */; }; + 812A89BB2E8D5301C5D856181F276779 /* XCTestObservationCenter+Register.m in Sources */ = {isa = PBXBuildFile; fileRef = BBDD84072ABBD34E782658F5946531FF /* XCTestObservationCenter+Register.m */; }; + 8185E5F348853C03984DA2C132DDDD1B /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DE604BA5578B3C008F23F53AC9D8822 /* XCTest.framework */; }; + 837B593D7C1D01B4EA400247309D6AB0 /* Expecta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B69080495737AE3BEFEE7B773E4AFB2E /* Expecta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 83CCFCC61E294245A1DA67AA7F7A9B11 /* SEGAnalyticsUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = E9685D775719CFF07A71008E3254E248 /* SEGAnalyticsUtils.m */; }; + 8510C3D907B4A9406DABCCD505E3C680 /* Pods-Analytics_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CFDE47A271C4D8EB4957B57FD71DD6E /* Pods-Analytics_Tests-dummy.m */; }; + 85E31076D5530AEEB45ACF16B2B8A983 /* EXPMatchers.h in Headers */ = {isa = PBXBuildFile; fileRef = 1303087C0050B11453EBF3241F2A9564 /* EXPMatchers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 85EB2F216487CB2E8F3FCCFBC4D69912 /* EXPMatchers+beTruthy.h in Headers */ = {isa = PBXBuildFile; fileRef = 234D5EFF2D014DF32B9693677A3273A4 /* EXPMatchers+beTruthy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 861BC8874F6CC678B0C994082425BB2C /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = AD25ED4C8100AF4528E47E46E3CA363A /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 866830C585216CA87A15D078A28C410A /* CurrentTestCaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 47334D45ED966F74171E4053E73BAFF6 /* CurrentTestCaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 87FD5F0F682CDEB6A348CA448889E3EA /* EXPMatchers+beKindOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 61DA9C35CCC5DAF7296DE86A00B197D4 /* EXPMatchers+beKindOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 8927C37DD5750B9F6409C3EA80623A16 /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 7F2372139AA9840378F82BAB97153027 /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 8929941F0C7A48971332804FD69CC3CA /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F5B5E8DF688DFA4F8FB19477C61D886 /* LSASIHTTPRequestHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 8B7B17CE41673C814845B679DC0A418E /* SEGSegmentIntegrationFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AE5253250E6F02E9BD69B1886F87F24 /* SEGSegmentIntegrationFactory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8C8C1B0D83FE6A4352F15154DB16372C /* EXPMatcherHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = F5728155B0477E51E763695B211A515D /* EXPMatcherHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8DE9336C9EF7F96A60A2A024B5A9B361 /* SEGLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = B16937B8762009D6195A83A815079ABF /* SEGLocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8DFE23F2C7973BC8A159168AFC2FB8C3 /* MatcherFunc.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBC378557D24589C0F07C634FE2E2295 /* MatcherFunc.swift */; }; + 8E5F8BAF1D27F8F0CF242C8B508A2F84 /* SEGStoreKitTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B0382CEE8C33D5132C9CD5B925453B8 /* SEGStoreKitTracker.m */; }; + 8E791C68E33E99B1FA91193235900342 /* SEGHTTPClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 18B74443611FA38FDF357B94FE71B117 /* SEGHTTPClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 90EBEA480B7F7E51B540006A8D06D0D1 /* SpectaUtility.m in Sources */ = {isa = PBXBuildFile; fileRef = 659841D06F271E1B3AEC0180392484C0 /* SpectaUtility.m */; }; + 918E06480F28F27361B19D19432F8538 /* EXPMatchers+endWith.m in Sources */ = {isa = PBXBuildFile; fileRef = 443104AA7437A799504CC2D9029BFF19 /* EXPMatchers+endWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 921F295475B64DFBC83B3A6423550C68 /* SpectaUtility.h in Headers */ = {isa = PBXBuildFile; fileRef = 2640EF03B36668A99F66B46A7BD20A4D /* SpectaUtility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9296C7ABDE9E5894D47CD74E7F78F968 /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABBD28AFD0E2CE4496A9692E2F0708EA /* Match.swift */; }; + 92BC58B0158D9DFE7D59C341A85D4359 /* Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7790D3209889075FAB822EF713A9DEF6 /* Async.swift */; }; + 931D410B9F8ACB935883DF8C59F9C93E /* EXPMatchers+postNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E1B7811D386F4987E678AF4A96D0CF4 /* EXPMatchers+postNotification.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 9453EC5D7933570264F7D5F63CBC3177 /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A5600B0D5A86273EFABCA2ABF1E721F /* Example.swift */; }; + 94C47C87E397972CE98F75929F3B706C /* ExpectaObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 21E033AB515924F3BBAFE459BFD1E336 /* ExpectaObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 95F54B9537875729AE90B472EA5D39BF /* Expectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 461F7D6D654A4B5F9FF8B83B7A191551 /* Expectation.swift */; }; + 969128E5B22399ED100630B7D68A1D07 /* HooksPhase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 966A8F978D1433E55409A816DC8D85A1 /* HooksPhase.swift */; }; + 96D47B4C32B8255C4A03DA84E0D112A2 /* SEGScreenPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 991ABB1D6ABE916A1231AD8E5717A16C /* SEGScreenPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9712EBC74FB89B90F019FF96D310D900 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = 283250691EF876BA7E0C1237449C5053 /* SPTExcludeGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9808DEC2607B0EC2D7028FAA1868A14B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + 98448E68F706C3077F402B1F1B64520E /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 7DCA87DEBA44143F649AF1DCA8EBBDD0 /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9B2E761A064459F77EA9870BEF03ACC3 /* EXPMatchers+postNotification.h in Headers */ = {isa = PBXBuildFile; fileRef = DCDA1760D82F802FDE736960E0D07906 /* EXPMatchers+postNotification.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9BB9159FBA757600D3D4C0FF645F3911 /* EXPMatchers+beInTheRangeOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 645EA5733D74BB5E63F2E1F212C6CAAE /* EXPMatchers+beInTheRangeOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 9D69D997DE4521270C2BDA269C24FEC1 /* QCKDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A334F350CD0D8E9262F53198D883F9C /* QCKDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9D904B7EAD0EC56AD12E704757CAA640 /* SourceLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBC01180D5F2225E5FB7C46CE5CB7662 /* SourceLocation.swift */; }; + 9E88BC95EA655C050B14FF365C3CF3DA /* Callsite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81C93A09BA373B40B0D75BCA7DA741A1 /* Callsite.swift */; }; + 9EFD3EE819EB1FAA5EDE26E8DAA483CD /* EndWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C817B2B8D627E656A899391AB91411E /* EndWith.swift */; }; + A18E791645056D5563206104A3E3AD87 /* PostNotification.swift in Sources */ = {isa = PBXBuildFile; fileRef = C39EDD2CD1E05944FB926C0D54C63215 /* PostNotification.swift */; }; + A1F69DD3961B60955EFD28E2BDF446E8 /* Nimble.h in Headers */ = {isa = PBXBuildFile; fileRef = C45CA8C3B1F21260FB9C43B3C22D2170 /* Nimble.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A3D9E68FB846D363F028948DB55DB7A7 /* SEGSegmentIntegrationFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = CAC3C34C25AFBD15E66DAAD6AAC10332 /* SEGSegmentIntegrationFactory.m */; }; + A434C8CB0F23A35DA222105C7B11300D /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = EB7CC9A8980AB39D509B7A494AF46C9E /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; + A460983620B3719092C5217CCC57A699 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 95827EF3ED51DD556F92DB3E9C7D7C4D /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; + A59C249CFA9EECF11074C606BF9FFA4F /* SEGIntegration.h in Headers */ = {isa = PBXBuildFile; fileRef = 59243AC7F66C66FDAFD71CFCE3B62D1F /* SEGIntegration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5C90576850BC920FB28CA13242AED17 /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 96C6A928A55F4F5B1BEA891C2978785A /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + A6231D0599B690684E18F181DCC91AC5 /* SEGGroupPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = F79A1F4B86843BE05E9553280C0D0908 /* SEGGroupPayload.m */; }; + A74F7A588523133D0A4E1A713CC1DF41 /* QuickSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 88B2A0272346C7561E7938649B11275E /* QuickSpec.m */; }; + A7F5843694383F554EFE98D6F6E3BACA /* SEGSegmentIntegration.h in Headers */ = {isa = PBXBuildFile; fileRef = 03ADC218D66C726B20FDCECDAD7688A8 /* SEGSegmentIntegration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A8149296D9E3F975F378FD935E16623B /* SEGUserDefaultsStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = 40AED25FA61C6CA66213C38A63EE81DA /* SEGUserDefaultsStorage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A9DA3829FA747E599023EF1394CD2EB5 /* BeVoid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E6BF6114BA20AEC185675B413D59164 /* BeVoid.swift */; }; + AA72CB2151042C907082FD15E2609C35 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = B85D1AE7EB2D2DD01BE900CA7506003D /* Configuration.swift */; }; + AAB0772656464A5B3A9FD4E1A7BFE214 /* NSData+SEGGZIP.h in Headers */ = {isa = PBXBuildFile; fileRef = 330E8AC6AB1AFAC37FE779E4AB8BE22C /* NSData+SEGGZIP.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AD51D65CA87DAE8E1889DC020010E599 /* String+FileName.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDFDFCD4AC5CEA9362CBEF21E5959FBA /* String+FileName.swift */; }; + AF1F46668D4591602887998C6E9C10AD /* EXPMatchers+beCloseTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 786EC02F553DA93CE539E1A4CC684995 /* EXPMatchers+beCloseTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AF261211293DBFA884E8690DE9A29F97 /* SEGPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = A87731649E0C0AAAA19C527546800EDF /* SEGPayload.m */; }; + AFFC8900E52BBEC72059334132F3A8F3 /* ExpectaSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = C4138FD2860CD910001B26A51D74EF07 /* ExpectaSupport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B07178696AEEFC58FFFAD04171F7AB67 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784A37F11752A7F19AE00860C3CED97D /* Filter.swift */; }; + B09B3461D9467BA8A230048F95C26E0F /* NimbleXCTestHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7657027C77FB7303A5DAAE2542E58832 /* NimbleXCTestHandler.swift */; }; + B0BD13A01F667B129F4F5F167088A024 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = B515840467AD3F730B70EC0E1EFFBE73 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B221D82965C805424AF6265CDA734B2B /* UIViewController+SEGScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = C95FC0E1E5C1F4056F6D19ED03108E9F /* UIViewController+SEGScreen.m */; }; + B257922BBDD8D28858679B51120F7E72 /* SPTCompiledExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 77F403646BD7BDF6C41F4AF3F9EAD7C7 /* SPTCompiledExample.m */; }; + B2C7BAB65FBB9443F4020111459B534B /* SEGHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 39A8D07DDC4089D441DA2C31A063D0FD /* SEGHTTPClient.m */; }; + B2FCB65574A9C12D8A8F0BC234F683F5 /* SPTCallSite.h in Headers */ = {isa = PBXBuildFile; fileRef = D8F53ED18C86031D791E7F5800323117 /* SPTCallSite.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B30D380B5EFCD54FEE04D3C4F1988262 /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = B2EC2AF041868B0F9F3068AB8BCB7C92 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B47F2B1F7F5FEC4CE62F09832392E842 /* Nimble-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 908985A408C0B8823BE41281B2E2FEA1 /* Nimble-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B64FAA3D5441304EB98DD624C59C9101 /* SEGLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 62DA7AAD66B59A8EE9FAEB0FE9B6598D /* SEGLocation.m */; }; + B7185ADC751C1C1B68DCE07933CF0CB5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */; }; + B78A3DF47B5FEF7D9BE0B7660500211B /* Equal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921F59A9554D1E890C562C801BC3CAF8 /* Equal.swift */; }; + B7B6C386D18C61D236CE7B92C62DC4F4 /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 86224DF80662542C916F93AEC2C4E76A /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; + B7BAA1610C192270DE28D6F9ACE95542 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = A0AEDCC725E6915A7B388DD06ECE4B9C /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B84431CF8C64F363A334AA7089F6C134 /* NSValue+Expecta.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C79E46F87BE6838689BD037AA65A347 /* NSValue+Expecta.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + BA12B131F10BCE3BE6E9A02FC908FE9D /* EXPMatchers+beCloseTo.m in Sources */ = {isa = PBXBuildFile; fileRef = E0A57FB0F996C324626103007E040046 /* EXPMatchers+beCloseTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + BA7362188C5D17958A5080EE299A90FC /* BeginWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3CBB2CDB547B0B89E5F58E5BD961875 /* BeginWith.swift */; }; + BBF88FA3F28C0906DBB78314A8E50A01 /* AssertionRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 413837BD1047F0AF246F1C78B5B3FEFA /* AssertionRecorder.swift */; }; + BC55C8365AEFF8217F6A567607754854 /* EXPDoubleTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = C8889EE37BFDE2A896CA164C005385E6 /* EXPDoubleTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + BDF1961B40458A617408DC4A35A741BC /* SpectaDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 05973ADB694E08DEE7C0A42F75035015 /* SpectaDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BEA76FA499D5899BD98DBD891FF921D4 /* SatisfyAnyOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91D8F80C0D9017B70F244C31C2647A13 /* SatisfyAnyOf.swift */; }; + BEFFE9FFE52E9A0833A7D2D8FB67EB4D /* EXPMatchers+beSubclassOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 8640569BC2CC92446DEBC9EEFF8EDEFA /* EXPMatchers+beSubclassOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + BF6EF8513ED92D1BA6243258716881CD /* Quick-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 08B502F4DFA0092AA38AE03F6EA2DC30 /* Quick-dummy.m */; }; + BFF579B15294AB67A44A1AD7A1FC6A57 /* SPTCompiledExample.h in Headers */ = {isa = PBXBuildFile; fileRef = E5F8FC64C88115BC612FE863A451DA9D /* SPTCompiledExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C4072D3D4C9B7B1B67C6730D4DE1D119 /* Analytics-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BE093074278010988054D4827E030ABB /* Analytics-dummy.m */; }; + C4F4C8EF4A764C0FDEB5789F9207FFF2 /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E4C5DA9F85C3F6204CE8FA0AAA9CB8 /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + C6B1AECA74F601617F8329EB45FB0265 /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 1914EBF23BE837662EC65745E3E01404 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + C755136BFCDFA000C44C8BBCA065E4BE /* HaveCount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53C3A3CC1FFABBF2E135BE3CF120425D /* HaveCount.swift */; }; + C757885959E0620D2147D47A653269A7 /* World.h in Headers */ = {isa = PBXBuildFile; fileRef = C635C4DAB7AD06ECCF6FDBD394673882 /* World.h */; settings = {ATTRIBUTES = (Project, ); }; }; + C78961DBC73307300AE3764E10FB588B /* QuickTestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 959A5C59D0B8A876506458A7C0EC08FD /* QuickTestSuite.swift */; }; + C79A1CD129A1579A7749F570CB4D3962 /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = 456CFCAD57CAFBEA6FED191C9CC64A97 /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + C81BEDE79545C013BEBBA0363480FD47 /* DSL+Wait.swift in Sources */ = {isa = PBXBuildFile; fileRef = 593640F3441D865BCED45ECDFC321321 /* DSL+Wait.swift */; }; + CA303CF6D30D41F05C81DF35576B6C34 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 02DAF7D6DAFC2A4BAAFAEC495C81AB0B /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CC86E35B9B3AFAB5467071343159C481 /* SpectaTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 9CF520334B37D2D41E6DD642F2925492 /* SpectaTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CDC157D615A54F3B70D3AC2CD0D03440 /* SEGTrackPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = A093D5E5002BBA2354397BD1F6AC1FF1 /* SEGTrackPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CE3F4ECBB0BC095577D66AE50C8E604C /* EXPFloatTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = DF53A7E0022B55D72AB503093C9EAD8B /* EXPFloatTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + CF2F766CAF4FB1ABDDC81A4AA3782B5E /* ExampleHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = A32ACBF70C09FBE658828370D4A6D5CB /* ExampleHooks.swift */; }; + D12BE9D7A08F0084E744635F703654B8 /* ExampleMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B96FC2F7B0D319D8BCD3EB7BC572920 /* ExampleMetadata.swift */; }; + D2B3B8A5532F9F084D2855970798CB82 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 8AED1CA68B2E081202EFCCA90601A67F /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + D34DC675E0E0E4B7A9E935F9CBD48C00 /* SEGFileStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FEE332359D52339B0C29B2B7BA6DE1D /* SEGFileStorage.m */; }; + D45096E61E72E772AF46C3BECA03583B /* BeLogical.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D227FC1D579FBE62B0783F2C00E2DC8 /* BeLogical.swift */; }; + D4728557E77D960CBA943631C1F39536 /* SEGPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = ACE4DF5603AEB4DA6E297DBF0AD1A00A /* SEGPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D4E2C5E311068E1AA79643974090A086 /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = DF611270F378AB60213E0F7A16E99ECE /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + D52CEA1D9DA6AA51F41783D60B54440A /* QuickConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 5E5EFF6502C1C4F6EA0C3F7B98583D37 /* QuickConfiguration.m */; }; + D83677C54D2226C67886A525B0B46FBE /* EXPMatchers+beLessThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = B32CF9062D7050124FAD3BC06ECD3EA9 /* EXPMatchers+beLessThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + D89A3918634DBBD74E3642EDEFF76A71 /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 18F4DD017BE60AEA4ADEDA5C20872D6F /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + D8E0C72DDE130D4471BB48D2081FD235 /* Nimble-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C982C8FC57AF08FD049620E8470A7A0 /* Nimble-dummy.m */; }; + DB30F82FB1BE083D9471B965FB500CA2 /* EXPMatchers+conformTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A13F4C351888334A4ED8F373DEA27DF /* EXPMatchers+conformTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + DB5E7396AB1F4CA51F6B02A52E3BCA8A /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 12C7B44B64CC7B062161996EA05198E5 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + DB6D2821AB7CBFD6172F5B056B433817 /* SEGAnalytics.h in Headers */ = {isa = PBXBuildFile; fileRef = C1CFD4C1C9D4C8311143A54967F15312 /* SEGAnalytics.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DC40BCE4D9B144A9AC7E5CCEF251FF37 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B07616B05D0BDD100676E13B77C6C7B7 /* Security.framework */; }; + DDA4DCAE58682D1F923541927EDD2275 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 20FFB9F5D45A236DB71B31A9C9CBCB7E /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + DE5F3C28CC8C40B8031C784835B3577D /* MatcherProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3471BC85ED4EC70F44F108F2EFF64000 /* MatcherProtocols.swift */; }; + DE94765732B7FBCD78E56173F4A782ED /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A8A31E21F1BFD40A5748CB28CAFC5AC /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; DFAD8A72F42832092FEA3A299C8F2E17 /* Pods-Analytics_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 37125462CC547C0938F0719539C56D75 /* Pods-Analytics_Example-dummy.m */; }; - E07A45CD453CFC98DE69AA370E5780F9 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = EEF47FCE12FE6BAF3EC7CB54E86434D7 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E0A077DFB064B79685B810CCEFB2F1EF /* EXPMatchers+respondTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A15CD157816286E186F1211BE7202F /* EXPMatchers+respondTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - E0AAF49134A0505DF00E20E7B62087E1 /* EXPMatchers+beIdenticalTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 65032861CC8655A9899472EF027123E7 /* EXPMatchers+beIdenticalTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E1EC4532663CA75DE5BD00CB0A56814D /* Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D31811A6DA375FFEB0CC414383588EA /* Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E25C82C797039CE89D6F6EF2BBDA1DB1 /* Analytics-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F8115C1476FCC21E22C39FDAC8BB6EB8 /* Analytics-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E5D5F03212E13D03A9A1016C7BC3A541 /* SEGStoreKitTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = CBC1276AA42415EC62FFD14F92757C24 /* SEGStoreKitTracker.m */; }; - E735386085CE344F6A01178CF4763852 /* EXPMatchers+beNil.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FC38653C71A4252F1FD159BB4D1EE4F /* EXPMatchers+beNil.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EF6497EE123F6BC0C1B09717437C5908 /* EXPUnsupportedObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 00407E6E2F0E736DD106AAD3EDD009C6 /* EXPUnsupportedObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - F0DDF02A078B917997FF025BB33BB842 /* EXPMatchers+conformTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D1397952079E341B332801205983771 /* EXPMatchers+conformTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F12D57414A73406831CC032A7170DBFF /* EXPMatchers+beginWith.m in Sources */ = {isa = PBXBuildFile; fileRef = E5FFF41A9A24C033FCC946202869A5C9 /* EXPMatchers+beginWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - F1B92A4CC0ACE18D6B0B0A2153C13D08 /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F6BBFF3ED908BBB61D8B043C744FDF2 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - F3B1762AAD01333FFBF43A716D325A59 /* SPTCallSite.h in Headers */ = {isa = PBXBuildFile; fileRef = 7ABB6B532CF369102165144C3A21CF99 /* SPTCallSite.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3BB4311FA83CDDD5031A97F03A9E68A /* SPTCallSite.m in Sources */ = {isa = PBXBuildFile; fileRef = ADAD3ED20015D5D2190C898DE5046699 /* SPTCallSite.m */; }; - F4043CFB6D8E069D3879DA09F202715F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */; }; - F41209A94070904A00BDF24ACB6336B6 /* EXPMatchers+beFalsy.h in Headers */ = {isa = PBXBuildFile; fileRef = 6CA63BF80025A3D25CD928A36136F551 /* EXPMatchers+beFalsy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F75CB2A727F678C9A848A3A11EA7979B /* EXPMatchers+haveCountOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 00F102F1E58C3474E3A809EE1E5B5655 /* EXPMatchers+haveCountOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FB525B6CE7C6C882C43F0071B6C4BBD4 /* SEGAliasPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C21E4C22CC02DA20E2540F7FACAA4E1 /* SEGAliasPayload.m */; }; - FC20596ABFE14A61F171A29FD03275E7 /* EXPMatchers+contain.m in Sources */ = {isa = PBXBuildFile; fileRef = 426DA9ED9B302E36BAC4BC16F6366C22 /* EXPMatchers+contain.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - FC45858927D3B6A0F922C4B697B04A38 /* EXPMatchers+match.m in Sources */ = {isa = PBXBuildFile; fileRef = F8843B0B76B48BC52F8BE7AD151C48C7 /* EXPMatchers+match.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - FCB4158D0A7BB2032A5D13F0D3758642 /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8DB76D2A3AF8110BA31D031027E4D5 /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - FCFC2208684969E5BDF9F439AEE58162 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FE58475FA0CB0C2C3DDBABEA84C6676 /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FD2D4497BC41412128C2D87C1BDE7398 /* EXPMatchers+beginWith.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DC968F5E8CEE0A8BDD77E1EB542F982 /* EXPMatchers+beginWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FE8E34356D24F6759A8B010ED2F5707B /* EXPMatchers+raiseWithReason.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C4F938E8FE97C252FA207D0DD372B65 /* EXPMatchers+raiseWithReason.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - FFF7266E53DC64053C3B19DAF238353F /* SEGBluetooth.h in Headers */ = {isa = PBXBuildFile; fileRef = CD2F04EA168926D3C54640D6D9BCADBD /* SEGBluetooth.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DFAF4C4959A7468FDA1C37DEB2453340 /* SuiteHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 538ED85A09BC4A5A9744FABFC1955BED /* SuiteHooks.swift */; }; + DFE33FCF9FCD097DB56DD8B5BDC0615B /* SPTExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C9E548B32DFDB7FE7559381B4EC7E34 /* SPTExample.m */; }; + E008736F5514F44C0E07DD052A7B6D67 /* AdapterProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20942C1BD46FC7518B4D34A73D2F14A3 /* AdapterProtocols.swift */; }; + E07A45CD453CFC98DE69AA370E5780F9 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 625F163C7CDF82D20B08B95FCF5B8117 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E0A077DFB064B79685B810CCEFB2F1EF /* EXPMatchers+respondTo.m in Sources */ = {isa = PBXBuildFile; fileRef = BFFA6EE9461519B18212DB0B82EA6120 /* EXPMatchers+respondTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + E0AAF49134A0505DF00E20E7B62087E1 /* EXPMatchers+beIdenticalTo.h in Headers */ = {isa = PBXBuildFile; fileRef = ED8DF174F9517DEB12A6005A5358E592 /* EXPMatchers+beIdenticalTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E1EC4532663CA75DE5BD00CB0A56814D /* Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = 81B2E47569D86AF55AF90C52CF6E74B1 /* Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E2E27F96ABF882E7AF7E4D163F08F484 /* World.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5366A1687B8D5D7DCEEE7D00979FBB47 /* World.swift */; }; + E42A9529A3E6A7D082F9149A86501FB2 /* SEGIntegrationFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 9E981F48942A82CFE125FEF11E67DF8F /* SEGIntegrationFactory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E48EED6F9167198A72A5542DB6BF790B /* QuickSelectedTestSuiteBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 610398E398706C3A86F14D095798E56C /* QuickSelectedTestSuiteBuilder.swift */; }; + E735386085CE344F6A01178CF4763852 /* EXPMatchers+beNil.h in Headers */ = {isa = PBXBuildFile; fileRef = 12ADAA0214D445182BD97423CD43CE00 /* EXPMatchers+beNil.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E8A3C3D3854F1DFF45FBD4E2456EE8ED /* SPTSharedExampleGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 010CB07CB3DB1043E34E33FA821675C0 /* SPTSharedExampleGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E8DE03684C234604E472C27ECD8F6B70 /* BeAnInstanceOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3BEA76238B8BC25E96707AE8598D3D0 /* BeAnInstanceOf.swift */; }; + E92063822C519B6098DBE0B559604961 /* Specta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C1CADF965D244489B845A33B958394C /* Specta-dummy.m */; }; + EB9C4D2E388805F9157AA356D4A857D5 /* DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 4531AEE249A738B0FC017C462E265764 /* DSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED32420E8A40658E330B415FAF5D8C00 /* ErrorUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20F5BC2A52C42B38E5B13504E4077351 /* ErrorUtility.swift */; }; + ED3CFA31315EC7117270A30484D3C4B6 /* XCTestCase+Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = 8C50EA6109741256D5963679653C1B0F /* XCTestCase+Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EDB58B25143813E758202F21A88DDC6F /* SEGScreenPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = E6014948A26F66395CE4EF10F629335B /* SEGScreenPayload.m */; }; + EF6497EE123F6BC0C1B09717437C5908 /* EXPUnsupportedObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 62302E213EF24A64B1F160C5FA6CE7CE /* EXPUnsupportedObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + EFE20ADE81CBE47F13D76267285C4A35 /* FailureMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADFF7B2F29272E7AB685B38FB0788096 /* FailureMessage.swift */; }; + F0DDF02A078B917997FF025BB33BB842 /* EXPMatchers+conformTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 71E4AA1772C1D062BCA666464878622B /* EXPMatchers+conformTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F12D57414A73406831CC032A7170DBFF /* EXPMatchers+beginWith.m in Sources */ = {isa = PBXBuildFile; fileRef = 33DD99B2F35EFEECD4BD70FACD2E2471 /* EXPMatchers+beginWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + F1B92A4CC0ACE18D6B0B0A2153C13D08 /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = AC89639F5C231815C50C761CF45400F6 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + F226D300B485DAE234C175CF81225488 /* SEGSegmentIntegration.m in Sources */ = {isa = PBXBuildFile; fileRef = F252F26C177736032901AC4EC589EA2E /* SEGSegmentIntegration.m */; }; + F235E6557A1DD637E02F56710D84E903 /* SPTTestSuite.h in Headers */ = {isa = PBXBuildFile; fileRef = 45C35A3A2FF212B5F15908FBD90B9413 /* SPTTestSuite.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F41209A94070904A00BDF24ACB6336B6 /* EXPMatchers+beFalsy.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D1010BC188C8BB72E2A8FB532956F34 /* EXPMatchers+beFalsy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F75CB2A727F678C9A848A3A11EA7979B /* EXPMatchers+haveCountOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 87B61B952ACFFF4F0E5DE217D8C382C0 /* EXPMatchers+haveCountOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F959A6CF53615062E807298586D58C7E /* SEGGroupPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = 8342AAA8E455E45852BE14B0915B189B /* SEGGroupPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F999210356B9A16D84AEB43DB9DD2028 /* SEGAnalytics.m in Sources */ = {isa = PBXBuildFile; fileRef = C8A0D75C33BE150DA62CD8DB1B2E4941 /* SEGAnalytics.m */; }; + FA145DCE313D583C0431D178FB32C96F /* BeEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EFB2305E3684B008842305BFF997FAF /* BeEmpty.swift */; }; + FC20596ABFE14A61F171A29FD03275E7 /* EXPMatchers+contain.m in Sources */ = {isa = PBXBuildFile; fileRef = 12C05807200675800631D001D6DA9A1D /* EXPMatchers+contain.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + FC45858927D3B6A0F922C4B697B04A38 /* EXPMatchers+match.m in Sources */ = {isa = PBXBuildFile; fileRef = F1D9A7D1B1B9B490E729C0135D9A659A /* EXPMatchers+match.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + FCB4158D0A7BB2032A5D13F0D3758642 /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = E88F1D514692710FC537D04F180EF219 /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + FCE402CEF7D082F75FAFBD3722E1E719 /* Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = 8ED2F9425A7CF1A3411740ADF7C8C161 /* Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FCFC2208684969E5BDF9F439AEE58162 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D0A3048C22A1D2947DC6DB2594F895E /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FD2D4497BC41412128C2D87C1BDE7398 /* EXPMatchers+beginWith.h in Headers */ = {isa = PBXBuildFile; fileRef = 053393948F3161A51B8A6378D073114B /* EXPMatchers+beginWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FE8E34356D24F6759A8B010ED2F5707B /* EXPMatchers+raiseWithReason.m in Sources */ = {isa = PBXBuildFile; fileRef = 93B82198EDE1CF667457807112592E22 /* EXPMatchers+raiseWithReason.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + FF0366DFC597745127A6D92AB83F0D60 /* BeIdenticalTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92F002E417B53C1BA0E8EF0ED35CCD2D /* BeIdenticalTo.swift */; }; + FFE7215A5741457A29C202637D96182E /* SEGBluetooth.h in Headers */ = {isa = PBXBuildFile; fileRef = C91FB89B7A8EC27E012D80F6791CD14E /* SEGBluetooth.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 1BB30AB7E00A4E29A1A57BB824C19B5D /* PBXContainerItemProxy */ = { + 073AFFB3DE8040FD8DA6AE91B6742C78 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 393E0E1A41299C44C63DBB766A243010; - remoteInfo = Nocilla; + remoteGlobalIDString = 55831572B86CFCB0AD3AEC393B4368A4; + remoteInfo = Specta; }; - 4AD3159493E139AFFA995C125A1880D9 /* PBXContainerItemProxy */ = { + 1B6BABBDE69FC86F62427E1688866031 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 0D888F29E05E498D0CD91A51D28599A5; - remoteInfo = Expecta; + remoteGlobalIDString = 0BA32BABA32E07359B1C454B39189090; + remoteInfo = Quick; }; 5B0BB086024D62CF5629FE2FAFA19576 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 481403DCFE420996D2A734931FA92D7F; + remoteGlobalIDString = 8FFD3B7BE7C033686575C3BB53822FF0; remoteInfo = Analytics; }; - E0F3DF15C53DA09D53FBAFBAF65C493E /* PBXContainerItemProxy */ = { + 842288B3E73FFECFC0202204DA3A7ACF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 9D2DFA866E52BD6EF797813C646A8B61; - remoteInfo = Specta; + remoteGlobalIDString = 40FF1C77152F384080A1A02E90A36DA9; + remoteInfo = Nimble; + }; + BE548FD5B1A1E957681F4FA76779B665 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0D888F29E05E498D0CD91A51D28599A5; + remoteInfo = Expecta; + }; + D99BBF72465241DF775288E9085125AB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 393E0E1A41299C44C63DBB766A243010; + remoteInfo = Nocilla; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 00407E6E2F0E736DD106AAD3EDD009C6 /* EXPUnsupportedObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPUnsupportedObject.m; path = Expecta/EXPUnsupportedObject.m; sourceTree = ""; }; - 00F102F1E58C3474E3A809EE1E5B5655 /* EXPMatchers+haveCountOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+haveCountOf.h"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.h"; sourceTree = ""; }; - 023328B94DE65BA07618E7046973F47E /* SEGSegmentIntegration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGSegmentIntegration.m; sourceTree = ""; }; - 035E9D6E0275BCAFD58AF47623DB22DF /* EXPMatchers+beTruthy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beTruthy.m"; path = "Expecta/Matchers/EXPMatchers+beTruthy.m"; sourceTree = ""; }; - 0381D6093D21AFDDE30CFE22F3BB680D /* LSMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcher.h; path = Nocilla/Matchers/LSMatcher.h; sourceTree = ""; }; - 04102C8A636C2565CCD3FBB08DA3B957 /* NSData+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Nocilla.m"; path = "Nocilla/Categories/NSData+Nocilla.m"; sourceTree = ""; }; - 048D94BE82C84555D409A93BF039EEE5 /* LSDataMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSDataMatcher.h; path = Nocilla/Matchers/LSDataMatcher.h; sourceTree = ""; }; - 04CC74C4C61327B9C4DF18957B7812E3 /* LSHTTPClientHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPClientHook.h; path = Nocilla/Hooks/LSHTTPClientHook.h; sourceTree = ""; }; - 07A9FBDBCA6592F4689ED88CC150A26F /* SPTExcludeGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExcludeGlobalBeforeAfterEach.h; path = Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h; sourceTree = ""; }; - 07F6FEB6A8B5B3C02B1F7AC0B1416F42 /* EXPBlockDefinedMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPBlockDefinedMatcher.h; path = Expecta/EXPBlockDefinedMatcher.h; sourceTree = ""; }; - 0A10D5AEA0D81AFFED07D5B506817936 /* Specta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Specta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 0B69B1E64147D5B5D22E6B8CAF1955AA /* XCTestCase+Specta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestCase+Specta.m"; path = "Specta/Specta/XCTestCase+Specta.m"; sourceTree = ""; }; - 0D7B595DA38C7DFC60F78642C2073770 /* SEGGroupPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGGroupPayload.m; sourceTree = ""; }; - 0E0684A9A2D760E042578EB213B228AB /* EXPMatchers+raise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raise.m"; path = "Expecta/Matchers/EXPMatchers+raise.m"; sourceTree = ""; }; - 10FB2870274E6A883E945515401DCA07 /* EXPMatchers+beCloseTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beCloseTo.m"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.m"; sourceTree = ""; }; - 119280D2BDDC2135EAF4BB7B955E8FAB /* EXPMatchers+beLessThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h"; sourceTree = ""; }; - 129E0D30DA701F5E349DEA97F20661CA /* EXPMatchers+raise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raise.h"; path = "Expecta/Matchers/EXPMatchers+raise.h"; sourceTree = ""; }; + 010CB07CB3DB1043E34E33FA821675C0 /* SPTSharedExampleGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSharedExampleGroups.h; path = Specta/Specta/SPTSharedExampleGroups.h; sourceTree = ""; }; + 027A1D8E0CD2741744D6DAA7C0A313E0 /* EXPMatchers+respondTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+respondTo.h"; path = "Expecta/Matchers/EXPMatchers+respondTo.h"; sourceTree = ""; }; + 02C9DE12D796C1DB8391378F59275FB0 /* World+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "World+DSL.h"; path = "Sources/Quick/DSL/World+DSL.h"; sourceTree = ""; }; + 02DAF7D6DAFC2A4BAAFAEC495C81AB0B /* LSMatcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcheable.h; path = Nocilla/Matchers/LSMatcheable.h; sourceTree = ""; }; + 03ADC218D66C726B20FDCECDAD7688A8 /* SEGSegmentIntegration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGSegmentIntegration.h; sourceTree = ""; }; + 053393948F3161A51B8A6378D073114B /* EXPMatchers+beginWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beginWith.h"; path = "Expecta/Matchers/EXPMatchers+beginWith.h"; sourceTree = ""; }; + 05973ADB694E08DEE7C0A42F75035015 /* SpectaDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaDSL.h; path = Specta/Specta/SpectaDSL.h; sourceTree = ""; }; + 05FAE8DFC495749B9E4803F6419828A4 /* EXPMatchers+raise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raise.m"; path = "Expecta/Matchers/EXPMatchers+raise.m"; sourceTree = ""; }; + 060FB8DF34406D58D805B11FC5268002 /* Quick-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-umbrella.h"; sourceTree = ""; }; + 06254A24CBBD6A27778A4ADD0FED8E14 /* EXPMatchers+beLessThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThan.h"; path = "Expecta/Matchers/EXPMatchers+beLessThan.h"; sourceTree = ""; }; + 08B502F4DFA0092AA38AE03F6EA2DC30 /* Quick-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Quick-dummy.m"; sourceTree = ""; }; + 0AD7AF2B20205CD25259A755AF015691 /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = Sources/Nimble/Utils/Errors.swift; sourceTree = ""; }; + 0CBE12016C633361B5566EB434D961DD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 0D1010BC188C8BB72E2A8FB532956F34 /* EXPMatchers+beFalsy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beFalsy.h"; path = "Expecta/Matchers/EXPMatchers+beFalsy.h"; sourceTree = ""; }; + 0DE604BA5578B3C008F23F53AC9D8822 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 0E12F1523B62FCC278AAD0154D201716 /* Pods_Analytics_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Analytics_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 0E57D77035E4D55B115281114088CAAE /* ExpectaSupport.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaSupport.m; path = Expecta/ExpectaSupport.m; sourceTree = ""; }; + 105F968604AEEA80E8A8CA387FB7AE7B /* LSStubRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequest.m; path = Nocilla/Stubs/LSStubRequest.m; sourceTree = ""; }; + 114CF0E3D2F6B9F63D0D69A29C2151A9 /* LSHTTPStubURLProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPStubURLProtocol.h; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h; sourceTree = ""; }; + 1245CECC763F528DF5BF4783D1AAF077 /* Expecta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-prefix.pch"; sourceTree = ""; }; + 12ADAA0214D445182BD97423CD43CE00 /* EXPMatchers+beNil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beNil.h"; path = "Expecta/Matchers/EXPMatchers+beNil.h"; sourceTree = ""; }; + 12C05807200675800631D001D6DA9A1D /* EXPMatchers+contain.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+contain.m"; path = "Expecta/Matchers/EXPMatchers+contain.m"; sourceTree = ""; }; + 12C7B44B64CC7B062161996EA05198E5 /* LSMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSMatcher.m; path = Nocilla/Matchers/LSMatcher.m; sourceTree = ""; }; + 1303087C0050B11453EBF3241F2A9564 /* EXPMatchers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatchers.h; path = Expecta/Matchers/EXPMatchers.h; sourceTree = ""; }; 146F19B2C2324623B392F801D1711A1B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 15457E7901D93551F110977610781944 /* LSHTTPRequestDSLRepresentation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDSLRepresentation.h; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.h; sourceTree = ""; }; - 15C91B211733F2117793BF2F2343BB56 /* Nocilla.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Nocilla.modulemap; sourceTree = ""; }; - 166736907F1E5180FC092545C416D144 /* LSHTTPBody.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPBody.h; path = Nocilla/Model/LSHTTPBody.h; sourceTree = ""; }; - 1690FDF5CCEF0ABAADCD8708780782D0 /* SEGBluetooth.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGBluetooth.m; sourceTree = ""; }; - 180E448B9AF17FE7D45A0668988629FB /* EXPDoubleTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPDoubleTuple.m; path = Expecta/EXPDoubleTuple.m; sourceTree = ""; }; - 19326B1AD9863BA4843E7602B723451C /* EXPMatchers+beCloseTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beCloseTo.h"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.h"; sourceTree = ""; }; - 1B1D2940D8C1436462D7D6D8912D3797 /* EXPMatchers+haveCountOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+haveCountOf.m"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.m"; sourceTree = ""; }; - 1D7E90431DC0B8E1E7403353232CC41A /* Expecta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Expecta-dummy.m"; sourceTree = ""; }; - 1DB4CCAC4A118DC45CB2F562BDE1E5AC /* EXPFloatTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPFloatTuple.m; path = Expecta/EXPFloatTuple.m; sourceTree = ""; }; - 1E09F4CDEE2C1AF48406C4B1D274F21A /* EXPDefines.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDefines.h; path = Expecta/EXPDefines.h; sourceTree = ""; }; - 1E64EA832A59F14879437B3965DD8C35 /* SEGIdentifyPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGIdentifyPayload.m; sourceTree = ""; }; - 1F6BBFF3ED908BBB61D8B043C744FDF2 /* ASIHTTPRequestStub.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ASIHTTPRequestStub.m; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m; sourceTree = ""; }; - 2076CC034F6103DCF45A469B1E548E27 /* Nocilla-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-prefix.pch"; sourceTree = ""; }; - 215FA13C8BB3701687A65C35407C888C /* Expecta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-prefix.pch"; sourceTree = ""; }; + 14D5B16BC31CA6B154C114225552FE49 /* NSURLRequest+LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+LSHTTPRequest.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h"; sourceTree = ""; }; + 18B74443611FA38FDF357B94FE71B117 /* SEGHTTPClient.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGHTTPClient.h; sourceTree = ""; }; + 18F4DD017BE60AEA4ADEDA5C20872D6F /* LSStringMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStringMatcher.m; path = Nocilla/Matchers/LSStringMatcher.m; sourceTree = ""; }; + 1914EBF23BE837662EC65745E3E01404 /* NSString+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Matcheable.m"; path = "Nocilla/Matchers/NSString+Matcheable.m"; sourceTree = ""; }; + 1A13F4C351888334A4ED8F373DEA27DF /* EXPMatchers+conformTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+conformTo.m"; path = "Expecta/Matchers/EXPMatchers+conformTo.m"; sourceTree = ""; }; + 1A334F350CD0D8E9262F53198D883F9C /* QCKDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QCKDSL.h; path = Sources/Quick/DSL/QCKDSL.h; sourceTree = ""; }; + 1A5600B0D5A86273EFABCA2ABF1E721F /* Example.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Example.swift; path = Sources/Quick/Example.swift; sourceTree = ""; }; + 1CFA5106912A3ADB3671ABEF1917A176 /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1D2DC0FC95BD8824C9C3ED27B4FD9BA1 /* LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequest.h; path = Nocilla/Model/LSHTTPRequest.h; sourceTree = ""; }; + 1DE87E24041B17983B7D6F3922FDD108 /* EXPMatchers+beNil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beNil.m"; path = "Expecta/Matchers/EXPMatchers+beNil.m"; sourceTree = ""; }; + 1F7390733F60C085AB4E2E9D94C1AF2D /* Specta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-prefix.pch"; sourceTree = ""; }; + 1FBC3F8FD605847E5DE569FE9BC32EB8 /* EXPBlockDefinedMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPBlockDefinedMatcher.h; path = Expecta/EXPBlockDefinedMatcher.h; sourceTree = ""; }; + 1FEA059184FF5F57F3C8B3064801A6CF /* XCTestCase+Specta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestCase+Specta.m"; path = "Specta/Specta/XCTestCase+Specta.m"; sourceTree = ""; }; + 20942C1BD46FC7518B4D34A73D2F14A3 /* AdapterProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AdapterProtocols.swift; path = Sources/Nimble/Adapters/AdapterProtocols.swift; sourceTree = ""; }; + 20F5BC2A52C42B38E5B13504E4077351 /* ErrorUtility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ErrorUtility.swift; path = Sources/Quick/ErrorUtility.swift; sourceTree = ""; }; + 20FFB9F5D45A236DB71B31A9C9CBCB7E /* LSStubResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponse.m; path = Nocilla/Stubs/LSStubResponse.m; sourceTree = ""; }; + 21E033AB515924F3BBAFE459BFD1E336 /* ExpectaObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaObject.m; path = Expecta/ExpectaObject.m; sourceTree = ""; }; + 234D5EFF2D014DF32B9693677A3273A4 /* EXPMatchers+beTruthy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beTruthy.h"; path = "Expecta/Matchers/EXPMatchers+beTruthy.h"; sourceTree = ""; }; 238B44026340671D3B7B175CDAA8D5A7 /* Pods-Analytics_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Analytics_Tests-resources.sh"; sourceTree = ""; }; - 24565F37B7304C172A8154C3A695BDCB /* SPTSharedExampleGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSharedExampleGroups.m; path = Specta/Specta/SPTSharedExampleGroups.m; sourceTree = ""; }; - 25F5A3115A623DA04AA16CFEC74F2EF9 /* LSNSURLSessionHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLSessionHook.h; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h; sourceTree = ""; }; - 268853C2956555636C6BD6081F8AAE6D /* SEGLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGLocation.m; sourceTree = ""; }; - 271512C3D7207E4C56D018B95B7531C0 /* SpectaTypes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaTypes.h; path = Specta/Specta/SpectaTypes.h; sourceTree = ""; }; - 287BFBC3E9767165D9BCD7FD0BAD33D1 /* Nocilla-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nocilla-dummy.m"; sourceTree = ""; }; + 23DB2D8DC767EEBA4B19148357514725 /* NSData+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Nocilla.m"; path = "Nocilla/Categories/NSData+Nocilla.m"; sourceTree = ""; }; + 24890E9DEED954F6D3458EE5C8D57125 /* NSURLRequest+DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+DSL.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m"; sourceTree = ""; }; + 2640EF03B36668A99F66B46A7BD20A4D /* SpectaUtility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaUtility.h; path = Specta/Specta/SpectaUtility.h; sourceTree = ""; }; + 265ECB34427120EB28EBD0A248DBA5FE /* LSNSURLHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLHook.m; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.m; sourceTree = ""; }; + 267EAEE3511F1CC3796747F0AE3702E0 /* ASIHTTPRequestStub.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ASIHTTPRequestStub.h; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h; sourceTree = ""; }; + 281AC41638F0C5CA205AE8924CCC3252 /* EXPMatchers+beSubclassOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSubclassOf.h"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.h"; sourceTree = ""; }; + 283250691EF876BA7E0C1237449C5053 /* SPTExcludeGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExcludeGlobalBeforeAfterEach.h; path = Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h; sourceTree = ""; }; + 2877CEC45417EE0FA8C0860CDB81E406 /* SEGAnalyticsUtils.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAnalyticsUtils.h; sourceTree = ""; }; + 2918397DC23F0537CCB042A9F208F955 /* BeAKindOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAKindOf.swift; path = Sources/Nimble/Matchers/BeAKindOf.swift; sourceTree = ""; }; + 2923866FCC86B3EA3F8FB42B258B1BD4 /* EXPMatchers+beKindOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beKindOf.h"; path = "Expecta/Matchers/EXPMatchers+beKindOf.h"; sourceTree = ""; }; 298FC6C7A98AAB540EB7F2EB51B6780B /* Pods-Analytics_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-Analytics_Example.modulemap"; sourceTree = ""; }; - 2BE70A0BE6E3AC40EF4AAC64151CCCDC /* NSData+SEGGZIP.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NSData+SEGGZIP.m"; sourceTree = ""; }; - 2C8DB76D2A3AF8110BA31D031027E4D5 /* LSHTTPClientHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPClientHook.m; path = Nocilla/Hooks/LSHTTPClientHook.m; sourceTree = ""; }; - 2D88FCD425720D9CDAA8CF432423A50E /* LSNocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNocilla.m; path = Nocilla/LSNocilla.m; sourceTree = ""; }; + 2B59E1DEE82270C48619A219A4DA2B1A /* SEGIdentifyPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGIdentifyPayload.m; sourceTree = ""; }; + 2BC898930DFA79B76FC22CD36B7925A5 /* QuickConfiguration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickConfiguration.h; path = Sources/Quick/Configuration/QuickConfiguration.h; sourceTree = ""; }; + 2D1A52E921492466F3503650F581CA10 /* SEGAES256Crypto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAES256Crypto.m; sourceTree = ""; }; 2D9258631DD61DF84F3898A4A287FDBE /* Pods-Analytics_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Analytics_Tests-acknowledgements.markdown"; sourceTree = ""; }; - 2F5B032D6C28D7D23779332687354C86 /* SEGIntegration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIntegration.h; sourceTree = ""; }; - 302868B704DAA2DFE9B11259778B473E /* SEGScreenPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGScreenPayload.h; sourceTree = ""; }; - 323E13462D209A8AC526A27D9D767E45 /* EXPMatchers+beInstanceOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInstanceOf.h"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.h"; sourceTree = ""; }; - 3291A964D3603A2B35E61C43E1D54DA2 /* Pods_Analytics_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Analytics_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 32EC638BEB57AED9169DE0100EF22F2D /* EXPMatchers+beTruthy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beTruthy.h"; path = "Expecta/Matchers/EXPMatchers+beTruthy.h"; sourceTree = ""; }; - 348E28395AC3E9B59263F66C9B316799 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 354E53CA2386704D8DB4A48EF2CF11E5 /* SEGScreenPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGScreenPayload.m; sourceTree = ""; }; - 35910C380D55DE8C13B47AB42B48125D /* SpectaUtility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaUtility.h; path = Specta/Specta/SpectaUtility.h; sourceTree = ""; }; - 35D5D72603A85EDED9BC68C849A71677 /* EXPMatchers+beSupersetOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSupersetOf.m"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.m"; sourceTree = ""; }; - 367CD2B562A7D4E32D8B08A63DA602ED /* EXPMatchers+equal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+equal.h"; path = "Expecta/Matchers/EXPMatchers+equal.h"; sourceTree = ""; }; - 36CEB42FC801D6DD1C0C86F8D5A6B031 /* Expecta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-umbrella.h"; sourceTree = ""; }; + 2E82E06036771A97E6FCA3D47E48BAEB /* LSMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcher.h; path = Nocilla/Matchers/LSMatcher.h; sourceTree = ""; }; + 2EE702C0A3EC7501E42538205C12F160 /* EXPMatchers+equal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+equal.h"; path = "Expecta/Matchers/EXPMatchers+equal.h"; sourceTree = ""; }; + 2F8BF9DE3097C37C78968316CE45F70D /* SEGUtils.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGUtils.h; sourceTree = ""; }; + 30B91B1D82D6ECD67C89D0F8EC0626A9 /* LSRegexMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSRegexMatcher.h; path = Nocilla/Matchers/LSRegexMatcher.h; sourceTree = ""; }; + 32159F0B2293399896F70ED6E3E8538F /* SEGTrackPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGTrackPayload.m; sourceTree = ""; }; + 3243D3750DD1EA74F7E6094EB5DF1336 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 32AF86905BE2C3357D54CCDB8F857E6F /* LSNocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNocilla.h; path = Nocilla/LSNocilla.h; sourceTree = ""; }; + 330E8AC6AB1AFAC37FE779E4AB8BE22C /* NSData+SEGGZIP.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NSData+SEGGZIP.h"; sourceTree = ""; }; + 33DD99B2F35EFEECD4BD70FACD2E2471 /* EXPMatchers+beginWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beginWith.m"; path = "Expecta/Matchers/EXPMatchers+beginWith.m"; sourceTree = ""; }; + 3471BC85ED4EC70F44F108F2EFF64000 /* MatcherProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherProtocols.swift; path = Sources/Nimble/Matchers/MatcherProtocols.swift; sourceTree = ""; }; + 356833FAFF65A3D10D663502D8C0CF43 /* Closures.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Closures.swift; path = Sources/Quick/Hooks/Closures.swift; sourceTree = ""; }; + 365F8A5F1631E08DACECED0B041CF52B /* SEGStorage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGStorage.h; sourceTree = ""; }; + 36A54822C5B118156134C4E324DEF678 /* EXPMatchers+beSupersetOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSupersetOf.m"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.m"; sourceTree = ""; }; 37125462CC547C0938F0719539C56D75 /* Pods-Analytics_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Analytics_Example-dummy.m"; sourceTree = ""; }; - 372CBB8F4D124EFE07566B3EFBA4352E /* LSStubResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponse.m; path = Nocilla/Stubs/LSStubResponse.m; sourceTree = ""; }; + 38C164CA3099AC1E19C8C01ADB001347 /* NSString+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Nocilla.m"; path = "Nocilla/Categories/NSString+Nocilla.m"; sourceTree = ""; }; 3937A2307ECFEFDF18B81943CB85FE11 /* Pods-Analytics_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Analytics_Tests-umbrella.h"; sourceTree = ""; }; - 3BCC19A1ADDDD255485E6F7519161F9B /* NSString+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Nocilla.m"; path = "Nocilla/Categories/NSString+Nocilla.m"; sourceTree = ""; }; - 3C21E4C22CC02DA20E2540F7FACAA4E1 /* SEGAliasPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAliasPayload.m; sourceTree = ""; }; + 39934EC1080C7C1F1688D15B7F3DD0BD /* SPTSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSpec.h; path = Specta/Specta/SPTSpec.h; sourceTree = ""; }; + 39A8D07DDC4089D441DA2C31A063D0FD /* SEGHTTPClient.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGHTTPClient.m; sourceTree = ""; }; + 3A5766F435B3533DEE7DCD0EFF545D17 /* QuickSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickSpec.h; path = Sources/Quick/QuickSpec.h; sourceTree = ""; }; + 3B5ECEE8F4FB020B7FA66EA9F69D4A64 /* LSNSURLSessionHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLSessionHook.m; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m; sourceTree = ""; }; + 3B6264801DD08FC419E8D775753B6FEA /* EXPMatchers+beInstanceOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInstanceOf.h"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.h"; sourceTree = ""; }; 3D93A3D2A2BE16A492FFCC33EA9B0495 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 400AC27B28C940AD4C7FED5171E00B73 /* Specta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-umbrella.h"; sourceTree = ""; }; - 41657CB8575AD4F6ED3C41808EFBAAFF /* Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Specta.h; path = Specta/Specta/Specta.h; sourceTree = ""; }; - 420D34612C84353D8EE232B5BE7A6593 /* SPTExampleGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExampleGroup.m; path = Specta/Specta/SPTExampleGroup.m; sourceTree = ""; }; - 426DA9ED9B302E36BAC4BC16F6366C22 /* EXPMatchers+contain.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+contain.m"; path = "Expecta/Matchers/EXPMatchers+contain.m"; sourceTree = ""; }; - 43A15CD157816286E186F1211BE7202F /* EXPMatchers+respondTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+respondTo.m"; path = "Expecta/Matchers/EXPMatchers+respondTo.m"; sourceTree = ""; }; - 43B0911FDD9E7D706E882B01CBE753A2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 43D97130E4590D9EBE6FDAE4AFCA402B /* EXPMatchers+raiseWithReason.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raiseWithReason.h"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.h"; sourceTree = ""; }; - 44FB4DDE2873BC99C9529F866BA25D18 /* SPTTestSuite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTTestSuite.m; path = Specta/Specta/SPTTestSuite.m; sourceTree = ""; }; + 3E212A4A0ACAC90DA6A55722A5E9275D /* BeLessThanOrEqual.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThanOrEqual.swift; path = Sources/Nimble/Matchers/BeLessThanOrEqual.swift; sourceTree = ""; }; + 3E7B7375637D9BD65374A013F571EAED /* Nocilla-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nocilla-dummy.m"; sourceTree = ""; }; + 40AED25FA61C6CA66213C38A63EE81DA /* SEGUserDefaultsStorage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGUserDefaultsStorage.h; sourceTree = ""; }; + 413837BD1047F0AF246F1C78B5B3FEFA /* AssertionRecorder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionRecorder.swift; path = Sources/Nimble/Adapters/AssertionRecorder.swift; sourceTree = ""; }; + 423373EB119D1453E5DF217A09282844 /* Stringers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stringers.swift; path = Sources/Nimble/Utils/Stringers.swift; sourceTree = ""; }; + 435516180AB54D4DD39F1C23DCE071AA /* NMBExceptionCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBExceptionCapture.h; path = Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.h; sourceTree = ""; }; + 43FC32F64D4E0954552FA3B0B7265816 /* EXPExpect.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPExpect.h; path = Expecta/EXPExpect.h; sourceTree = ""; }; + 443104AA7437A799504CC2D9029BFF19 /* EXPMatchers+endWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+endWith.m"; path = "Expecta/Matchers/EXPMatchers+endWith.m"; sourceTree = ""; }; + 4531AEE249A738B0FC017C462E265764 /* DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DSL.h; path = Sources/Nimble/Adapters/ObjectiveC/DSL.h; sourceTree = ""; }; + 456CFCAD57CAFBEA6FED191C9CC64A97 /* LSHTTPRequestDSLRepresentation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDSLRepresentation.m; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.m; sourceTree = ""; }; 458215A616486E2F717253D32605600B /* Pods-Analytics_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Analytics_Tests-frameworks.sh"; sourceTree = ""; }; - 47FF6EF9E62A9175DF61CE4FC4F0CBCF /* LSDataMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSDataMatcher.m; path = Nocilla/Matchers/LSDataMatcher.m; sourceTree = ""; }; - 48E6F388DB4C94996CFDB96CF560CBF8 /* EXPMatchers+respondTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+respondTo.h"; path = "Expecta/Matchers/EXPMatchers+respondTo.h"; sourceTree = ""; }; - 4A77024A1E8F3C2079DEEB9C333F7C62 /* EXPFloatTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPFloatTuple.h; path = Expecta/EXPFloatTuple.h; sourceTree = ""; }; - 4B18B8410C6425F24B866CBDB74CABBF /* SEGAnalytics.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAnalytics.h; sourceTree = ""; }; - 4B8950BFD3FA25B2C9EB3A08FF93CE3E /* Pods_Analytics_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Analytics_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4CC2B2F237911FB7A48EA0A688CE9DFD /* EXPExpect.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPExpect.h; path = Expecta/EXPExpect.h; sourceTree = ""; }; + 45C35A3A2FF212B5F15908FBD90B9413 /* SPTTestSuite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTTestSuite.h; path = Specta/Specta/SPTTestSuite.h; sourceTree = ""; }; + 461F7D6D654A4B5F9FF8B83B7A191551 /* Expectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expectation.swift; path = Sources/Nimble/Expectation.swift; sourceTree = ""; }; + 468D07940103A15A377E706D948E09D0 /* SEGStoreKitTracker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGStoreKitTracker.h; sourceTree = ""; }; + 47334D45ED966F74171E4053E73BAFF6 /* CurrentTestCaseTracker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CurrentTestCaseTracker.h; path = Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h; sourceTree = ""; }; + 49D3D5F2FF69C3CED5780DF88DC3E174 /* Expecta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Expecta.xcconfig; sourceTree = ""; }; + 49D7AF4025B23008723A8AF9AAA83CB5 /* SEGUtils.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGUtils.m; sourceTree = ""; }; + 4AE5253250E6F02E9BD69B1886F87F24 /* SEGSegmentIntegrationFactory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGSegmentIntegrationFactory.h; sourceTree = ""; }; + 4B5870261F3EFB7DF62A31B2CF2A907F /* EXPMatchers+endWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+endWith.h"; path = "Expecta/Matchers/EXPMatchers+endWith.h"; sourceTree = ""; }; + 4C817B2B8D627E656A899391AB91411E /* EndWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EndWith.swift; path = Sources/Nimble/Matchers/EndWith.swift; sourceTree = ""; }; + 4C982C8FC57AF08FD049620E8470A7A0 /* Nimble-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nimble-dummy.m"; sourceTree = ""; }; 4CFDE47A271C4D8EB4957B57FD71DD6E /* Pods-Analytics_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Analytics_Tests-dummy.m"; sourceTree = ""; }; - 4DC44F50C0C0B23F18EEA2E4452A285E /* LSNSURLSessionHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLSessionHook.m; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m; sourceTree = ""; }; - 4F6572099C332D69E0D8AEF41D4F9F83 /* LSASIHTTPRequestHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestHook.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h; sourceTree = ""; }; - 52269A5CEFF209E97F66A41DB2300E1C /* EXPMatchers+beGreaterThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThan.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.h"; sourceTree = ""; }; - 52DDA6BC21D08377214BCAF012289DF5 /* EXPMatchers+beGreaterThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.m"; sourceTree = ""; }; - 54956A0063A54B236DD3CB15A478F607 /* EXPMatchers+beIdenticalTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beIdenticalTo.m"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.m"; sourceTree = ""; }; - 5526DDE7CBC2FA01EE8D2FDDCB4D8815 /* LSMatcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcheable.h; path = Nocilla/Matchers/LSMatcheable.h; sourceTree = ""; }; - 56F3BF36F4B28877AED0C75CDB6C2CF9 /* NSURLRequest+DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+DSL.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m"; sourceTree = ""; }; - 56F8D051211772210563049DD3A251E8 /* EXPMatchers+match.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+match.h"; path = "Expecta/Matchers/EXPMatchers+match.h"; sourceTree = ""; }; - 5750F85C4001818E251789B8C0029267 /* LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequest.h; path = Nocilla/Model/LSHTTPRequest.h; sourceTree = ""; }; - 57F611336E125F4ECBD6F0DF8F8CB0C5 /* NSURLRequest+LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+LSHTTPRequest.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h"; sourceTree = ""; }; - 58EF9D321A4473CCBF2CF307F3A716A1 /* NSData+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Nocilla.h"; path = "Nocilla/Categories/NSData+Nocilla.h"; sourceTree = ""; }; + 4E1B7811D386F4987E678AF4A96D0CF4 /* EXPMatchers+postNotification.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+postNotification.m"; path = "Expecta/Matchers/EXPMatchers+postNotification.m"; sourceTree = ""; }; + 4EF6708C54DFC249D5216B275BAB0315 /* EXPMatcherHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPMatcherHelpers.m; path = Expecta/Matchers/EXPMatcherHelpers.m; sourceTree = ""; }; + 4F0971AB7B5486DDA15DCAB2853D8C4D /* Analytics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Analytics.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 507DEE90699728E98355DF6492990DE1 /* Specta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Specta.modulemap; sourceTree = ""; }; + 50C0185407A6C7BE5A5A071C3F34902C /* SPTExampleGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExampleGroup.h; path = Specta/Specta/SPTExampleGroup.h; sourceTree = ""; }; + 515684BDFC82FFD9BB4AD1855459D1BB /* SPTExampleGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExampleGroup.m; path = Specta/Specta/SPTExampleGroup.m; sourceTree = ""; }; + 5202B4A132E06E5CDF2014C8A353A027 /* NSString+QCKSelectorName.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+QCKSelectorName.m"; path = "Sources/Quick/NSString+QCKSelectorName.m"; sourceTree = ""; }; + 5366A1687B8D5D7DCEEE7D00979FBB47 /* World.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = World.swift; path = Sources/Quick/World.swift; sourceTree = ""; }; + 538ED85A09BC4A5A9744FABFC1955BED /* SuiteHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SuiteHooks.swift; path = Sources/Quick/Hooks/SuiteHooks.swift; sourceTree = ""; }; + 53C3A3CC1FFABBF2E135BE3CF120425D /* HaveCount.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HaveCount.swift; path = Sources/Nimble/Matchers/HaveCount.swift; sourceTree = ""; }; + 57601F005BE7FA3198F9FF971BC39E2E /* AllPass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AllPass.swift; path = Sources/Nimble/Matchers/AllPass.swift; sourceTree = ""; }; + 590BFB9972466595D61AF35634165BBC /* Nimble.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Nimble.modulemap; sourceTree = ""; }; + 59243AC7F66C66FDAFD71CFCE3B62D1F /* SEGIntegration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIntegration.h; sourceTree = ""; }; + 593640F3441D865BCED45ECDFC321321 /* DSL+Wait.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DSL+Wait.swift"; path = "Sources/Nimble/DSL+Wait.swift"; sourceTree = ""; }; 5B12869C98411D50EACF87FAC7CCADD0 /* Pods-Analytics_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Analytics_Example-umbrella.h"; sourceTree = ""; }; - 5B75167FE543EDAB22C03FFA2C43EB27 /* EXPMatchers+contain.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+contain.h"; path = "Expecta/Matchers/EXPMatchers+contain.h"; sourceTree = ""; }; - 5D1397952079E341B332801205983771 /* EXPMatchers+conformTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+conformTo.h"; path = "Expecta/Matchers/EXPMatchers+conformTo.h"; sourceTree = ""; }; - 5E186BE69F61E7EDBE62801AE998DC95 /* SEGHTTPClient.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGHTTPClient.h; sourceTree = ""; }; - 5EA21B0A0686B2730612CAA48E246F7C /* LSStringMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStringMatcher.h; path = Nocilla/Matchers/LSStringMatcher.h; sourceTree = ""; }; - 5FE58475FA0CB0C2C3DDBABEA84C6676 /* NSString+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Matcheable.h"; path = "Nocilla/Matchers/NSString+Matcheable.h"; sourceTree = ""; }; - 621F843A137B3E3899CF96CF46CF5A5A /* EXPMatchers+beKindOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beKindOf.m"; path = "Expecta/Matchers/EXPMatchers+beKindOf.m"; sourceTree = ""; }; - 63AB1B8A34F9D4B45393CE44CE285382 /* EXPMatchers+beLessThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.m"; sourceTree = ""; }; - 65032861CC8655A9899472EF027123E7 /* EXPMatchers+beIdenticalTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beIdenticalTo.h"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.h"; sourceTree = ""; }; - 68EA8E41E380502BF92641F1CCBA68CA /* LSStringMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStringMatcher.m; path = Nocilla/Matchers/LSStringMatcher.m; sourceTree = ""; }; + 5BF28D5333A9D335FE78E661D72AD2E9 /* Nocilla-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-prefix.pch"; sourceTree = ""; }; + 5C2D2D45D1006FCB28974207D0789233 /* Nocilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nocilla.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5C3532B231976303887EEA00A826629B /* World+DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "World+DSL.swift"; path = "Sources/Quick/DSL/World+DSL.swift"; sourceTree = ""; }; + 5DACEF77AD35D583799F167215568F86 /* EXPMatchers+contain.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+contain.h"; path = "Expecta/Matchers/EXPMatchers+contain.h"; sourceTree = ""; }; + 5E5EFF6502C1C4F6EA0C3F7B98583D37 /* QuickConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickConfiguration.m; path = Sources/Quick/Configuration/QuickConfiguration.m; sourceTree = ""; }; + 5E7FC9CD32188BAED7796EA8AB83FF22 /* AssertionDispatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionDispatcher.swift; path = Sources/Nimble/Adapters/AssertionDispatcher.swift; sourceTree = ""; }; + 610398E398706C3A86F14D095798E56C /* QuickSelectedTestSuiteBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickSelectedTestSuiteBuilder.swift; path = Sources/Quick/QuickSelectedTestSuiteBuilder.swift; sourceTree = ""; }; + 61DA9C35CCC5DAF7296DE86A00B197D4 /* EXPMatchers+beKindOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beKindOf.m"; path = "Expecta/Matchers/EXPMatchers+beKindOf.m"; sourceTree = ""; }; + 62302E213EF24A64B1F160C5FA6CE7CE /* EXPUnsupportedObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPUnsupportedObject.m; path = Expecta/EXPUnsupportedObject.m; sourceTree = ""; }; + 625F163C7CDF82D20B08B95FCF5B8117 /* NSRegularExpression+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSRegularExpression+Matcheable.h"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.h"; sourceTree = ""; }; + 62DA7AAD66B59A8EE9FAEB0FE9B6598D /* SEGLocation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGLocation.m; sourceTree = ""; }; + 645EA5733D74BB5E63F2E1F212C6CAAE /* EXPMatchers+beInTheRangeOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInTheRangeOf.m"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.m"; sourceTree = ""; }; + 653676CFF689B20E529DCB0A9CBE17D8 /* BeLessThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThan.swift; path = Sources/Nimble/Matchers/BeLessThan.swift; sourceTree = ""; }; + 659841D06F271E1B3AEC0180392484C0 /* SpectaUtility.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaUtility.m; path = Specta/Specta/SpectaUtility.m; sourceTree = ""; }; + 66B1726CFE32ED255630510B30A8262F /* SPTExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExample.h; path = Specta/Specta/SPTExample.h; sourceTree = ""; }; + 6925BDFD6663163DFB3781270C163F44 /* NSObject+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSObject+Expecta.h"; path = "Expecta/NSObject+Expecta.h"; sourceTree = ""; }; + 69C76B134D84D164718177EB0DAB73C4 /* SEGAES256Crypto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAES256Crypto.h; sourceTree = ""; }; 6A5952869E40BF6D9CCDFAA59BB837CD /* Pods-Analytics_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Analytics_Tests.release.xcconfig"; sourceTree = ""; }; - 6AB3944B9D9D2C15A730CE655C94C4F1 /* SPTGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTGlobalBeforeAfterEach.h; path = Specta/Specta/SPTGlobalBeforeAfterEach.h; sourceTree = ""; }; + 6B0382CEE8C33D5132C9CD5B925453B8 /* SEGStoreKitTracker.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGStoreKitTracker.m; sourceTree = ""; }; 6B586C9631D8EC14A5F7D93D77325428 /* Pods-Analytics_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Analytics_Example-acknowledgements.markdown"; sourceTree = ""; }; - 6C9F28DF4E74B9F2B225436D9EA58C2E /* NSData+SEGGZIP.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NSData+SEGGZIP.h"; sourceTree = ""; }; - 6CA63BF80025A3D25CD928A36136F551 /* EXPMatchers+beFalsy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beFalsy.h"; path = "Expecta/Matchers/EXPMatchers+beFalsy.h"; sourceTree = ""; }; + 6BB12F0725419F0E72830E3E30F1DCBE /* Nimble.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nimble.xcconfig; sourceTree = ""; }; + 6CABC82843926E7FD4E81B8226B58E4D /* SEGReachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGReachability.m; sourceTree = ""; }; 6D2BE9DB06FECF3E305E95DB3D41624C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 6F987F4D76DF1691DEDEEE8FE2A4F406 /* SEGSegmentIntegrationFactory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGSegmentIntegrationFactory.h; sourceTree = ""; }; - 7245ADF080442E19CC8B85AD6F96A6B6 /* LSASIHTTPRequestHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestHook.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m; sourceTree = ""; }; + 6F5B5E8DF688DFA4F8FB19477C61D886 /* LSASIHTTPRequestHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestHook.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m; sourceTree = ""; }; + 6FEE332359D52339B0C29B2B7BA6DE1D /* SEGFileStorage.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGFileStorage.m; sourceTree = ""; }; + 701AA68E557838D583C4E733706F3202 /* Contain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Contain.swift; path = Sources/Nimble/Matchers/Contain.swift; sourceTree = ""; }; + 712D1E9265DC4A36A91A3307F6846F90 /* Specta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Specta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 71CC18610454E6238F99133F7583A10C /* BeCloseTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeCloseTo.swift; path = Sources/Nimble/Matchers/BeCloseTo.swift; sourceTree = ""; }; + 71E4AA1772C1D062BCA666464878622B /* EXPMatchers+conformTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+conformTo.h"; path = "Expecta/Matchers/EXPMatchers+conformTo.h"; sourceTree = ""; }; 725FD454003799E3C5F6FE998212E0D5 /* Pods-Analytics_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Analytics_Tests.debug.xcconfig"; sourceTree = ""; }; - 72ADC84696EDBD1596C7756BC3CAAB31 /* SPTCompiledExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCompiledExample.m; path = Specta/Specta/SPTCompiledExample.m; sourceTree = ""; }; - 75341CC2685C2C9FAF02EFAA538C591A /* SEGReachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGReachability.h; sourceTree = ""; }; - 756CD0982961FCE099DA103BA646FD59 /* EXPUnsupportedObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPUnsupportedObject.h; path = Expecta/EXPUnsupportedObject.h; sourceTree = ""; }; - 76010B681AA03D877FD5A52AF8E82C9D /* Nocilla-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-umbrella.h"; sourceTree = ""; }; - 7ABB6B532CF369102165144C3A21CF99 /* SPTCallSite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCallSite.h; path = Specta/Specta/SPTCallSite.h; sourceTree = ""; }; - 7B15D02A719ABC18B697A175F171D199 /* EXPMatchers+beFalsy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beFalsy.m"; path = "Expecta/Matchers/EXPMatchers+beFalsy.m"; sourceTree = ""; }; - 7B481CF924CBF04F74CC619361CEF2CB /* Expecta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Expecta.modulemap; sourceTree = ""; }; - 7D31811A6DA375FFEB0CC414383588EA /* Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Expecta.h; path = Expecta/Expecta.h; sourceTree = ""; }; - 7D998F787BB3D83CE6B21CA86B405B46 /* SPTTestSuite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTTestSuite.h; path = Specta/Specta/SPTTestSuite.h; sourceTree = ""; }; - 7E4C7BB766C918FEA55596360DD0B3BB /* EXPDoubleTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDoubleTuple.h; path = Expecta/EXPDoubleTuple.h; sourceTree = ""; }; - 7EA5EAF696160B8FCE4415DCB87AC746 /* SEGPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGPayload.h; sourceTree = ""; }; - 7FC38653C71A4252F1FD159BB4D1EE4F /* EXPMatchers+beNil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beNil.h"; path = "Expecta/Matchers/EXPMatchers+beNil.h"; sourceTree = ""; }; - 81BC3CC72028638F87B514D1A7853EEB /* EXPMatcherHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcherHelpers.h; path = Expecta/Matchers/EXPMatcherHelpers.h; sourceTree = ""; }; - 81D50D817643B34BE0A6793B8A38C131 /* EXPMatchers+endWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+endWith.m"; path = "Expecta/Matchers/EXPMatchers+endWith.m"; sourceTree = ""; }; + 729DD38A9798E954AD5C3FED60E771B3 /* SEGIdentifyPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIdentifyPayload.h; sourceTree = ""; }; + 731892004CA0979CA5676903F46510FB /* EXPMatchers+equal.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+equal.m"; path = "Expecta/Matchers/EXPMatchers+equal.m"; sourceTree = ""; }; + 737333433A96822B337A3269CBC5C747 /* EXPMatchers+beFalsy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beFalsy.m"; path = "Expecta/Matchers/EXPMatchers+beFalsy.m"; sourceTree = ""; }; + 74A6812D2BE3D5D55A44D1CF462C70A6 /* BeGreaterThanOrEqualTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThanOrEqualTo.swift; path = Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift; sourceTree = ""; }; + 75906B0363E848ACBAF7C5F354E7EB7B /* BeNil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeNil.swift; path = Sources/Nimble/Matchers/BeNil.swift; sourceTree = ""; }; + 7606DC02DADE239D0987C82628955F63 /* NSString+QCKSelectorName.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+QCKSelectorName.h"; path = "Sources/Quick/NSString+QCKSelectorName.h"; sourceTree = ""; }; + 7624D14605AD8F3F06A1743BD2AA2600 /* UIViewController+SEGScreen.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIViewController+SEGScreen.h"; sourceTree = ""; }; + 7657027C77FB7303A5DAAE2542E58832 /* NimbleXCTestHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleXCTestHandler.swift; path = Sources/Nimble/Adapters/NimbleXCTestHandler.swift; sourceTree = ""; }; + 76EB4CD09AE6155F0067DA38D97869E3 /* ExampleGroup.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleGroup.swift; path = Sources/Quick/ExampleGroup.swift; sourceTree = ""; }; + 7790D3209889075FAB822EF713A9DEF6 /* Async.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Async.swift; path = Sources/Nimble/Utils/Async.swift; sourceTree = ""; }; + 77F403646BD7BDF6C41F4AF3F9EAD7C7 /* SPTCompiledExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCompiledExample.m; path = Specta/Specta/SPTCompiledExample.m; sourceTree = ""; }; + 784A37F11752A7F19AE00860C3CED97D /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = Sources/Quick/Filter.swift; sourceTree = ""; }; + 786EC02F553DA93CE539E1A4CC684995 /* EXPMatchers+beCloseTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beCloseTo.h"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.h"; sourceTree = ""; }; + 78DDF1C22026CF8BE6BE2976FEC051CA /* EXPFloatTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPFloatTuple.h; path = Expecta/EXPFloatTuple.h; sourceTree = ""; }; + 7914AAB0864F0D49EA3BBAC1F57C3E58 /* NSBundle+CurrentTestBundle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSBundle+CurrentTestBundle.swift"; path = "Sources/Quick/NSBundle+CurrentTestBundle.swift"; sourceTree = ""; }; + 7C1CADF965D244489B845A33B958394C /* Specta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Specta-dummy.m"; sourceTree = ""; }; + 7C79E46F87BE6838689BD037AA65A347 /* NSValue+Expecta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSValue+Expecta.m"; path = "Expecta/NSValue+Expecta.m"; sourceTree = ""; }; + 7D0A3048C22A1D2947DC6DB2594F895E /* NSString+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Matcheable.h"; path = "Nocilla/Matchers/NSString+Matcheable.h"; sourceTree = ""; }; + 7D6A5C841E4BED8A50A2D11A0F9BDB91 /* LSHTTPBody.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPBody.h; path = Nocilla/Model/LSHTTPBody.h; sourceTree = ""; }; + 7D8588FC7F9643DC9B416ED9D5F1FBC1 /* SEGCrypto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGCrypto.h; sourceTree = ""; }; + 7DCA87DEBA44143F649AF1DCA8EBBDD0 /* NSData+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Matcheable.h"; path = "Nocilla/Matchers/NSData+Matcheable.h"; sourceTree = ""; }; + 7E2E178AE7A3CC5791C67C78C3C27ABC /* EXPDoubleTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDoubleTuple.h; path = Expecta/EXPDoubleTuple.h; sourceTree = ""; }; + 7F2372139AA9840378F82BAB97153027 /* NSURLRequest+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+DSL.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h"; sourceTree = ""; }; + 7FDD92626E53F880CDD4BABB4F985215 /* NMBStringify.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBStringify.h; path = Sources/Nimble/Adapters/ObjectiveC/NMBStringify.h; sourceTree = ""; }; + 80D3943FC745B6CF09FCD7DAA4157E18 /* EXPMatchers+raise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raise.h"; path = "Expecta/Matchers/EXPMatchers+raise.h"; sourceTree = ""; }; + 81B2E47569D86AF55AF90C52CF6E74B1 /* Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Expecta.h; path = Expecta/Expecta.h; sourceTree = ""; }; + 81C93A09BA373B40B0D75BCA7DA741A1 /* Callsite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Callsite.swift; path = Sources/Quick/Callsite.swift; sourceTree = ""; }; 82AD8F63C26D2CE260CA18BE7EA484D3 /* Pods-Analytics_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Analytics_Tests-acknowledgements.plist"; sourceTree = ""; }; - 83A007F3F3B0E1BA3EA6F01CF4311AA2 /* EXPMatchers+equal.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+equal.m"; path = "Expecta/Matchers/EXPMatchers+equal.m"; sourceTree = ""; }; - 8476918918FBB6405D369344E4D62A04 /* SEGLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGLocation.h; sourceTree = ""; }; - 849F819B79FB3963BEA06E1DA0311A0E /* Nocilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nocilla.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8342AAA8E455E45852BE14B0915B189B /* SEGGroupPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGGroupPayload.h; sourceTree = ""; }; + 8503B68B46C2B4188C3CFBF40D520534 /* EXPUnsupportedObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPUnsupportedObject.h; path = Expecta/EXPUnsupportedObject.h; sourceTree = ""; }; 85200ECAD4EA459EB0598420E91F81BE /* Analytics.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Analytics.xcconfig; sourceTree = ""; }; + 86224DF80662542C916F93AEC2C4E76A /* LSHTTPResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPResponse.h; path = Nocilla/Model/LSHTTPResponse.h; sourceTree = ""; }; + 8640569BC2CC92446DEBC9EEFF8EDEFA /* EXPMatchers+beSubclassOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSubclassOf.m"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.m"; sourceTree = ""; }; + 870BDD9736254DB2E76EF981570129AA /* EXPMatchers+beTruthy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beTruthy.m"; path = "Expecta/Matchers/EXPMatchers+beTruthy.m"; sourceTree = ""; }; + 87B61B952ACFFF4F0E5DE217D8C382C0 /* EXPMatchers+haveCountOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+haveCountOf.h"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.h"; sourceTree = ""; }; + 881125C2AF1B4C5A0B9D9D76F8CE1631 /* Nocilla.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Nocilla.modulemap; sourceTree = ""; }; + 88B2A0272346C7561E7938649B11275E /* QuickSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickSpec.m; path = Sources/Quick/QuickSpec.m; sourceTree = ""; }; + 88D92256B2CA39B811A34D1BBBEF61F5 /* XCTestSuite+QuickTestSuiteBuilder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestSuite+QuickTestSuiteBuilder.m"; path = "Sources/Quick/XCTestSuite+QuickTestSuiteBuilder.m"; sourceTree = ""; }; 89837BDFCC0B7CF62D0A7488C7BBFC59 /* Analytics.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Analytics.modulemap; sourceTree = ""; }; + 899067C1EE0C572BF5EF24F18E0D0F23 /* EXPMatchers+beIdenticalTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beIdenticalTo.m"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.m"; sourceTree = ""; }; + 89BC0D03394C492D6CD3E67181542EE7 /* LSStubRequestDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequestDSL.h; path = Nocilla/DSL/LSStubRequestDSL.h; sourceTree = ""; }; 89C5D8A8204224B87E1F6A95FDB8E531 /* Pods-Analytics_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Analytics_Example-frameworks.sh"; sourceTree = ""; }; - 8B1738538FDE483D368712F0D608FC3D /* Nocilla.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nocilla.xcconfig; sourceTree = ""; }; - 8BA4D4B8C6E5AF50AB609E295A01DAE5 /* EXPMatchers+beSupersetOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSupersetOf.h"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.h"; sourceTree = ""; }; - 8C45254A956BCDEE1A509CC47D9AE828 /* LSHTTPRequestDiff.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDiff.m; path = Nocilla/Diff/LSHTTPRequestDiff.m; sourceTree = ""; }; - 8C4F938E8FE97C252FA207D0DD372B65 /* EXPMatchers+raiseWithReason.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raiseWithReason.m"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.m"; sourceTree = ""; }; - 8E69917134319E650F4C9F5269A7FDDA /* XCTest+Private.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTest+Private.h"; path = "Specta/Specta/XCTest+Private.h"; sourceTree = ""; }; - 8E8EFD397EC324185FA95501C7A096F7 /* EXPMatchers+postNotification.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+postNotification.h"; path = "Expecta/Matchers/EXPMatchers+postNotification.h"; sourceTree = ""; }; - 8E9DB94FDFB0EDD4A7B005776522AD8F /* EXPExpect.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPExpect.m; path = Expecta/EXPExpect.m; sourceTree = ""; }; - 8F06AC9B7CA83F3048A7254B9068F9C8 /* SEGAnalyticsUtils.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAnalyticsUtils.m; sourceTree = ""; }; + 8A58AE6AC251C123A93C2B327D9291CA /* ThrowError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThrowError.swift; path = Sources/Nimble/Matchers/ThrowError.swift; sourceTree = ""; }; + 8AED1CA68B2E081202EFCCA90601A67F /* LSHTTPClientHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPClientHook.h; path = Nocilla/Hooks/LSHTTPClientHook.h; sourceTree = ""; }; + 8C50EA6109741256D5963679653C1B0F /* XCTestCase+Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTestCase+Specta.h"; path = "Specta/Specta/XCTestCase+Specta.h"; sourceTree = ""; }; + 8D0B5EDDC5CB70D3A5339424C9F3E743 /* MatchError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatchError.swift; path = Sources/Nimble/Matchers/MatchError.swift; sourceTree = ""; }; + 8D83C4F68BD3F49E1BDCFE576644AD67 /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8ED2F9425A7CF1A3411740ADF7C8C161 /* Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Specta.h; path = Specta/Specta/Specta.h; sourceTree = ""; }; + 8FF5C2CBB340757AC8F1F3F84E459910 /* EXPMatchers+raiseWithReason.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raiseWithReason.h"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.h"; sourceTree = ""; }; + 8FFC5C14D178B406CDCC5ABB96288DFE /* Quick.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Quick.xcconfig; sourceTree = ""; }; + 9071949B875725BA59482FED488AEA07 /* NMBStringify.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBStringify.m; path = Sources/Nimble/Adapters/ObjectiveC/NMBStringify.m; sourceTree = ""; }; 907F073F48A74CC1B58FDD4FB141F1A1 /* Pods-Analytics_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Analytics_Example-resources.sh"; sourceTree = ""; }; - 90FBD137D0DEDCABC737FF2FDFBEFCBA /* EXPMatchers+beLessThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThan.m"; path = "Expecta/Matchers/EXPMatchers+beLessThan.m"; sourceTree = ""; }; - 9161DD85D2FEE10004CF637D901D9070 /* SEGHTTPClient.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGHTTPClient.m; sourceTree = ""; }; + 908985A408C0B8823BE41281B2E2FEA1 /* Nimble-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-umbrella.h"; sourceTree = ""; }; + 91574761547ACDE0BCA580911F626498 /* Pods_Analytics_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Analytics_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 91D8F80C0D9017B70F244C31C2647A13 /* SatisfyAnyOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SatisfyAnyOf.swift; path = Sources/Nimble/Matchers/SatisfyAnyOf.swift; sourceTree = ""; }; + 921F59A9554D1E890C562C801BC3CAF8 /* Equal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Equal.swift; path = Sources/Nimble/Matchers/Equal.swift; sourceTree = ""; }; + 92F002E417B53C1BA0E8EF0ED35CCD2D /* BeIdenticalTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeIdenticalTo.swift; path = Sources/Nimble/Matchers/BeIdenticalTo.swift; sourceTree = ""; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 94DBD92946E86E0425D0A419D59595F6 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - 952C900BA9FB23A1C1FB1A1ABFFA27EF /* SpectaDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaDSL.h; path = Specta/Specta/SpectaDSL.h; sourceTree = ""; }; - 9A2B067495F18D88E6AAE62ED9A3A952 /* Specta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Specta-dummy.m"; sourceTree = ""; }; - 9B83420442E5AFA48C73D177548DC6AA /* SPTExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExample.m; path = Specta/Specta/SPTExample.m; sourceTree = ""; }; - 9C86E1F5E7B8BE2BA68A3B6416E532D1 /* EXPMatchers+conformTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+conformTo.m"; path = "Expecta/Matchers/EXPMatchers+conformTo.m"; sourceTree = ""; }; - 9DC968F5E8CEE0A8BDD77E1EB542F982 /* EXPMatchers+beginWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beginWith.h"; path = "Expecta/Matchers/EXPMatchers+beginWith.h"; sourceTree = ""; }; - 9EE6D868687E658E956E0558A26DCF81 /* LSStubRequestDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequestDSL.m; path = Nocilla/DSL/LSStubRequestDSL.m; sourceTree = ""; }; - A13FC9A2076E24814E723DDDDA085E98 /* Expecta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Expecta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A21DCEA714702B96A8020B32249F7F05 /* SEGGroupPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGGroupPayload.h; sourceTree = ""; }; - A32C700EBED12A89A370905134C69E44 /* EXPMatchers+beGreaterThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h"; sourceTree = ""; }; - A4480B33930A9075D36FFA16677F5113 /* ExpectaObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaObject.m; path = Expecta/ExpectaObject.m; sourceTree = ""; }; - A4DE49C43591ED9234166839F5158A27 /* NSObject+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSObject+Expecta.h"; path = "Expecta/NSObject+Expecta.h"; sourceTree = ""; }; - A5BA035D6043B4036AA1DDF515E27387 /* SEGPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGPayload.m; sourceTree = ""; }; - A68EE479CD32D935ECB7001FAF476988 /* ASIHTTPRequestStub.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ASIHTTPRequestStub.h; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h; sourceTree = ""; }; - A751917E35042705FAA69CC21DBF68E9 /* NSURLRequest+LSHTTPRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+LSHTTPRequest.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m"; sourceTree = ""; }; - A92A84FCFC4ABCF6BE29001116807297 /* EXPMatchers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatchers.h; path = Expecta/Matchers/EXPMatchers.h; sourceTree = ""; }; - ACA9E38A9ABB8CFEF3056F4E22836A79 /* SPTSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSpec.m; path = Specta/Specta/SPTSpec.m; sourceTree = ""; }; - ADAD3ED20015D5D2190C898DE5046699 /* SPTCallSite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCallSite.m; path = Specta/Specta/SPTCallSite.m; sourceTree = ""; }; - ADD0C2A882D7119AB07E313F15E6308B /* EXPMatchers+beInTheRangeOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInTheRangeOf.m"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.m"; sourceTree = ""; }; - ADF0FC53693A9842E3FB69D92934BA59 /* SEGReachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGReachability.m; sourceTree = ""; }; - AE5E4907A3648032A5E52DCB25AF70A2 /* EXPMatchers+postNotification.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+postNotification.m"; path = "Expecta/Matchers/EXPMatchers+postNotification.m"; sourceTree = ""; }; - B0D090B0373B3F51B59F99A087DD9876 /* SEGAnalytics.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAnalytics.m; sourceTree = ""; }; - B3A6B6A256E104C90FB0BA3C77916DAF /* Specta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Specta.xcconfig; sourceTree = ""; }; - B588367A6A267BEB469E601813B6475F /* SEGAliasPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAliasPayload.h; sourceTree = ""; }; - B640F7EF833538A7567F2876134FEC3C /* ExpectaSupport.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaSupport.m; path = Expecta/ExpectaSupport.m; sourceTree = ""; }; - B69A66C3DB5045ACF35AE9E9F44D01B6 /* NSURLRequest+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+DSL.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h"; sourceTree = ""; }; - B6E1163F011E3D444A62D529DD550108 /* EXPMatchers+beSubclassOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSubclassOf.m"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.m"; sourceTree = ""; }; - B7F90B078EAD016D3617F5FA13AD0878 /* LSHTTPStubURLProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPStubURLProtocol.h; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h; sourceTree = ""; }; - BA4F20DC01C560722BCBB19127C7A148 /* NSData+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Matcheable.m"; path = "Nocilla/Matchers/NSData+Matcheable.m"; sourceTree = ""; }; - BC0D48E47A1AC08B1418D2C75C730E90 /* SEGAnalyticsUtils.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAnalyticsUtils.h; sourceTree = ""; }; - BCC2B009D60DA44006AF374F9AA779D5 /* EXPMatchers+beKindOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beKindOf.h"; path = "Expecta/Matchers/EXPMatchers+beKindOf.h"; sourceTree = ""; }; - BD444BE7AACE3345E729ED0A7EE2E468 /* EXPMatchers+beGreaterThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThan.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.m"; sourceTree = ""; }; - BD66B7A4E6D29687CDA5EDA6122D4FBC /* LSStubRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequest.h; path = Nocilla/Stubs/LSStubRequest.h; sourceTree = ""; }; + 93B82198EDE1CF667457807112592E22 /* EXPMatchers+raiseWithReason.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raiseWithReason.m"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.m"; sourceTree = ""; }; + 95827EF3ED51DD556F92DB3E9C7D7C4D /* LSHTTPRequestDSLRepresentation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDSLRepresentation.h; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.h; sourceTree = ""; }; + 959A5C59D0B8A876506458A7C0EC08FD /* QuickTestSuite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickTestSuite.swift; path = Sources/Quick/QuickTestSuite.swift; sourceTree = ""; }; + 966A8F978D1433E55409A816DC8D85A1 /* HooksPhase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HooksPhase.swift; path = Sources/Quick/Hooks/HooksPhase.swift; sourceTree = ""; }; + 96C6A928A55F4F5B1BEA891C2978785A /* NSData+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Matcheable.m"; path = "Nocilla/Matchers/NSData+Matcheable.m"; sourceTree = ""; }; + 96F0B729EA46F41106481339E7C239F4 /* RaisesException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RaisesException.swift; path = Sources/Nimble/Matchers/RaisesException.swift; sourceTree = ""; }; + 98F3ABC87F48FE925DFD0E6629964642 /* SEGAliasPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAliasPayload.h; sourceTree = ""; }; + 991ABB1D6ABE916A1231AD8E5717A16C /* SEGScreenPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGScreenPayload.h; sourceTree = ""; }; + 9970595F594B72C310568ECE249519D0 /* XCTest+Private.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTest+Private.h"; path = "Specta/Specta/XCTest+Private.h"; sourceTree = ""; }; + 9A1A89216F583ED6B0260EDB32829229 /* EXPBlockDefinedMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPBlockDefinedMatcher.m; path = Expecta/EXPBlockDefinedMatcher.m; sourceTree = ""; }; + 9A8A31E21F1BFD40A5748CB28CAFC5AC /* LSStubRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequest.h; path = Nocilla/Stubs/LSStubRequest.h; sourceTree = ""; }; + 9B96FC2F7B0D319D8BCD3EB7BC572920 /* ExampleMetadata.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleMetadata.swift; path = Sources/Quick/ExampleMetadata.swift; sourceTree = ""; }; + 9BCCD26FC76A1CD48A0151148EF5D595 /* SEGReachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGReachability.h; sourceTree = ""; }; + 9C8E4E803F16018B29F801CC13764163 /* LSHTTPStubURLProtocol.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPStubURLProtocol.m; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m; sourceTree = ""; }; + 9C9E548B32DFDB7FE7559381B4EC7E34 /* SPTExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExample.m; path = Specta/Specta/SPTExample.m; sourceTree = ""; }; + 9CF520334B37D2D41E6DD642F2925492 /* SpectaTypes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaTypes.h; path = Specta/Specta/SpectaTypes.h; sourceTree = ""; }; + 9D227FC1D579FBE62B0783F2C00E2DC8 /* BeLogical.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLogical.swift; path = Sources/Nimble/Matchers/BeLogical.swift; sourceTree = ""; }; + 9E6BF6114BA20AEC185675B413D59164 /* BeVoid.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeVoid.swift; path = Sources/Nimble/Matchers/BeVoid.swift; sourceTree = ""; }; + 9E981F48942A82CFE125FEF11E67DF8F /* SEGIntegrationFactory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIntegrationFactory.h; sourceTree = ""; }; + 9EFB2305E3684B008842305BFF997FAF /* BeEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeEmpty.swift; path = Sources/Nimble/Matchers/BeEmpty.swift; sourceTree = ""; }; + A0217325565ACE0C80BC154A6D3B50FF /* NSValue+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSValue+Expecta.h"; path = "Expecta/NSValue+Expecta.h"; sourceTree = ""; }; + A093D5E5002BBA2354397BD1F6AC1FF1 /* SEGTrackPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGTrackPayload.h; sourceTree = ""; }; + A0AEDCC725E6915A7B388DD06ECE4B9C /* LSStubResponseDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponseDSL.h; path = Nocilla/DSL/LSStubResponseDSL.h; sourceTree = ""; }; + A1182CFE1BC95CFA9686C4DD152AB31B /* Nimble-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-prefix.pch"; sourceTree = ""; }; + A1ECF26918D12E29D335F556A65EB68E /* SPTCallSite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCallSite.m; path = Specta/Specta/SPTCallSite.m; sourceTree = ""; }; + A32ACBF70C09FBE658828370D4A6D5CB /* ExampleHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleHooks.swift; path = Sources/Quick/Hooks/ExampleHooks.swift; sourceTree = ""; }; + A87731649E0C0AAAA19C527546800EDF /* SEGPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGPayload.m; sourceTree = ""; }; + AB3B4EB73496C96E31FD98083E8A433C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + ABBD28AFD0E2CE4496A9692E2F0708EA /* Match.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Match.swift; path = Sources/Nimble/Matchers/Match.swift; sourceTree = ""; }; + ABD550DA4DAEDD7E15A0A75604431CA6 /* EXPMatchers+beLessThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h"; sourceTree = ""; }; + AC89639F5C231815C50C761CF45400F6 /* ASIHTTPRequestStub.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ASIHTTPRequestStub.m; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m; sourceTree = ""; }; + ACE4DF5603AEB4DA6E297DBF0AD1A00A /* SEGPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGPayload.h; sourceTree = ""; }; + AD25ED4C8100AF4528E47E46E3CA363A /* LSASIHTTPRequestAdapter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestAdapter.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m; sourceTree = ""; }; + ADBC388B201BD2D4C5BAB4BD8BD8102F /* SPTSharedExampleGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSharedExampleGroups.m; path = Specta/Specta/SPTSharedExampleGroups.m; sourceTree = ""; }; + ADFF7B2F29272E7AB685B38FB0788096 /* FailureMessage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FailureMessage.swift; path = Sources/Nimble/FailureMessage.swift; sourceTree = ""; }; + AE8614B75799CCD0EDDD6498D6535E9D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AF46D4592ECF79E89F0E0140F3465C82 /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Nimble/DSL.swift; sourceTree = ""; }; + B06DEA8ACE152C866264DF4374FB8C2A /* LSNocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNocilla.m; path = Nocilla/LSNocilla.m; sourceTree = ""; }; + B07616B05D0BDD100676E13B77C6C7B7 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; }; + B082312CD9ACED5871DD3C874EA85D94 /* LSDataMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSDataMatcher.h; path = Nocilla/Matchers/LSDataMatcher.h; sourceTree = ""; }; + B16937B8762009D6195A83A815079ABF /* SEGLocation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGLocation.h; sourceTree = ""; }; + B2EC2AF041868B0F9F3068AB8BCB7C92 /* NSString+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Nocilla.h"; path = "Nocilla/Categories/NSString+Nocilla.h"; sourceTree = ""; }; + B32CF9062D7050124FAD3BC06ECD3EA9 /* EXPMatchers+beLessThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.m"; sourceTree = ""; }; + B3AAE7410FABF2409B8FD5704469BEDF /* Functional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Functional.swift; path = Sources/Nimble/Utils/Functional.swift; sourceTree = ""; }; + B4104713F1F4776A7F96D91B5E9D0B39 /* Expression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expression.swift; path = Sources/Nimble/Expression.swift; sourceTree = ""; }; + B443C871FB477787321EE5397C92D10D /* LSStringMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStringMatcher.h; path = Nocilla/Matchers/LSStringMatcher.h; sourceTree = ""; }; + B4C38673C1033E0723F2F8E6B3E587BB /* SEGUserDefaultsStorage.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGUserDefaultsStorage.m; sourceTree = ""; }; + B515840467AD3F730B70EC0E1EFFBE73 /* Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nocilla.h; path = Nocilla/Nocilla.h; sourceTree = ""; }; + B69080495737AE3BEFEE7B773E4AFB2E /* Expecta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-umbrella.h"; sourceTree = ""; }; + B7E4C5DA9F85C3F6204CE8FA0AAA9CB8 /* LSNSURLHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLHook.h; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.h; sourceTree = ""; }; + B85D1AE7EB2D2DD01BE900CA7506003D /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = Sources/Quick/Configuration/Configuration.swift; sourceTree = ""; }; + BA7215B60955144537FC85156769B891 /* NMBExpectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBExpectation.swift; path = Sources/Nimble/Adapters/ObjectiveC/NMBExpectation.swift; sourceTree = ""; }; + BA797F7F2A626447FA8481C7E819E7C0 /* EXPMatchers+beSupersetOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSupersetOf.h"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.h"; sourceTree = ""; }; + BB5086D2C6E5CB0F4DEFEE01D97FC460 /* NSData+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Nocilla.h"; path = "Nocilla/Categories/NSData+Nocilla.h"; sourceTree = ""; }; + BBDD84072ABBD34E782658F5946531FF /* XCTestObservationCenter+Register.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestObservationCenter+Register.m"; path = "Sources/Nimble/Adapters/ObjectiveC/XCTestObservationCenter+Register.m"; sourceTree = ""; }; + BD293E989D6883C8BA62D938C8BBF5D1 /* EXPMatchers+beInstanceOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInstanceOf.m"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.m"; sourceTree = ""; }; + BDB659D5DF2B3407626F170297D4D1D3 /* Quick.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Quick.h; path = Sources/Quick/Quick.h; sourceTree = ""; }; + BDFB77866E7123B5B6E14F8A4AF11E3B /* Specta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Specta.xcconfig; sourceTree = ""; }; + BDFDFCD4AC5CEA9362CBEF21E5959FBA /* String+FileName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+FileName.swift"; path = "Sources/Quick/String+FileName.swift"; sourceTree = ""; }; BE093074278010988054D4827E030ABB /* Analytics-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Analytics-dummy.m"; sourceTree = ""; }; - BE47DB6B3284121632123362631DE174 /* NSRegularExpression+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSRegularExpression+Matcheable.m"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.m"; sourceTree = ""; }; - BEF8786C83B5717F9219906718C628A9 /* LSStubRequestDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequestDSL.h; path = Nocilla/DSL/LSStubRequestDSL.h; sourceTree = ""; }; - BFA2BD58C9EFC80EA6F447245DDE8374 /* LSNSURLHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLHook.h; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.h; sourceTree = ""; }; - C22F0A3F7D136F37CBC921C82913151E /* EXPMatchers+beInstanceOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInstanceOf.m"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.m"; sourceTree = ""; }; - C2DEF35243EE7B74E0BADE527AC8E6B0 /* EXPMatchers+beNil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beNil.m"; path = "Expecta/Matchers/EXPMatchers+beNil.m"; sourceTree = ""; }; + BE25A04DCB6AD77EFA459409CADDC6D2 /* EXPMatchers+beLessThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThan.m"; path = "Expecta/Matchers/EXPMatchers+beLessThan.m"; sourceTree = ""; }; + BF806E5B77D298840759CEABDE875452 /* QCKDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QCKDSL.m; path = Sources/Quick/DSL/QCKDSL.m; sourceTree = ""; }; + BFFA6EE9461519B18212DB0B82EA6120 /* EXPMatchers+respondTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+respondTo.m"; path = "Expecta/Matchers/EXPMatchers+respondTo.m"; sourceTree = ""; }; + C010BB4CCE1884DE4CDA7BFC394EF719 /* LSStubRequestDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequestDSL.m; path = Nocilla/DSL/LSStubRequestDSL.m; sourceTree = ""; }; + C015E4874F28B7BE21C787ADCDD3EA16 /* NMBObjCMatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBObjCMatcher.swift; path = Sources/Nimble/Adapters/ObjectiveC/NMBObjCMatcher.swift; sourceTree = ""; }; + C0BAD64A9E23C39831371DE16A5BD25A /* LSStubResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponse.h; path = Nocilla/Stubs/LSStubResponse.h; sourceTree = ""; }; + C0DA1D35129D9CB19816D163F4BD4260 /* BeGreaterThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThan.swift; path = Sources/Nimble/Matchers/BeGreaterThan.swift; sourceTree = ""; }; + C1CFD4C1C9D4C8311143A54967F15312 /* SEGAnalytics.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGAnalytics.h; sourceTree = ""; }; + C2F1F4A3850DE69BC154AC15438441E1 /* LSDataMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSDataMatcher.m; path = Nocilla/Matchers/LSDataMatcher.m; sourceTree = ""; }; + C3408ADA738C2B43339EFE489A643E9D /* EXPExpect.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPExpect.m; path = Expecta/EXPExpect.m; sourceTree = ""; }; + C353D0BB9278082FC3B8767401C4576D /* AsyncMatcherWrapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncMatcherWrapper.swift; path = Sources/Nimble/Matchers/AsyncMatcherWrapper.swift; sourceTree = ""; }; C39084590F65EF07CEB50F71324CE1B8 /* Analytics-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Analytics-prefix.pch"; sourceTree = ""; }; - C65D93644F144030CDCAB432512075EB /* EXPMatchers+beInTheRangeOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInTheRangeOf.h"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.h"; sourceTree = ""; }; - C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - C94F72101EEBF1EDE5E101FC2E6AA35B /* SEGTrackPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGTrackPayload.h; sourceTree = ""; }; - CB93789D9F5E4D02164A25D17E4624CB /* SPTCompiledExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCompiledExample.h; path = Specta/Specta/SPTCompiledExample.h; sourceTree = ""; }; - CBC1276AA42415EC62FFD14F92757C24 /* SEGStoreKitTracker.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGStoreKitTracker.m; sourceTree = ""; }; - CBE6515D380AD0A5F2B850991320F479 /* LSNocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNocilla.h; path = Nocilla/LSNocilla.h; sourceTree = ""; }; - CCE7C8867802A1DE14149AD62F3983F9 /* LSRegexMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSRegexMatcher.h; path = Nocilla/Matchers/LSRegexMatcher.h; sourceTree = ""; }; - CD2F04EA168926D3C54640D6D9BCADBD /* SEGBluetooth.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGBluetooth.h; sourceTree = ""; }; - CDE10F02F8C6D0A45FF51B31983F2168 /* LSStubRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequest.m; path = Nocilla/Stubs/LSStubRequest.m; sourceTree = ""; }; - D170E667AE51D1E486429CF9EB14F8E2 /* EXPBlockDefinedMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPBlockDefinedMatcher.m; path = Expecta/EXPBlockDefinedMatcher.m; sourceTree = ""; }; - D2CFFA1D7BA56478F70ED09046A27493 /* LSMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSMatcher.m; path = Nocilla/Matchers/LSMatcher.m; sourceTree = ""; }; - D41DBD56C412C840D2090A4BF5CC6023 /* SEGIdentifyPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIdentifyPayload.h; sourceTree = ""; }; - D4AAAFD96AA7809B77E24852A143E81B /* XCTestCase+Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTestCase+Specta.h"; path = "Specta/Specta/XCTestCase+Specta.h"; sourceTree = ""; }; - D735F936248170D1FDFD5E59888BA634 /* LSNSURLHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLHook.m; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.m; sourceTree = ""; }; - D91118622DEF2A715C0CD5CBA450F494 /* SpectaUtility.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaUtility.m; path = Specta/Specta/SpectaUtility.m; sourceTree = ""; }; + C39EDD2CD1E05944FB926C0D54C63215 /* PostNotification.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PostNotification.swift; path = Sources/Nimble/Matchers/PostNotification.swift; sourceTree = ""; }; + C4138FD2860CD910001B26A51D74EF07 /* ExpectaSupport.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaSupport.h; path = Expecta/ExpectaSupport.h; sourceTree = ""; }; + C45CA8C3B1F21260FB9C43B3C22D2170 /* Nimble.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nimble.h; path = Sources/Nimble/Nimble.h; sourceTree = ""; }; + C4B70A1EA3CE0F856CC311640B92F1FE /* EXPMatchers+beGreaterThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h"; sourceTree = ""; }; + C5FC3B4BF50F8428584749A2C0CB5BEA /* Quick.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Quick.modulemap; sourceTree = ""; }; + C635C4DAB7AD06ECCF6FDBD394673882 /* World.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = World.h; path = Sources/Quick/World.h; sourceTree = ""; }; + C78659B0ECF32C462248FD1DE7760688 /* NSRegularExpression+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSRegularExpression+Matcheable.m"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.m"; sourceTree = ""; }; + C8889EE37BFDE2A896CA164C005385E6 /* EXPDoubleTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPDoubleTuple.m; path = Expecta/EXPDoubleTuple.m; sourceTree = ""; }; + C8A0D75C33BE150DA62CD8DB1B2E4941 /* SEGAnalytics.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAnalytics.m; sourceTree = ""; }; + C8C4618A13416C3249A9E1991FE5F5B8 /* Specta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-umbrella.h"; sourceTree = ""; }; + C8D4FAFBB2941D65FFD1D889DC556C12 /* NimbleEnvironment.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleEnvironment.swift; path = Sources/Nimble/Adapters/NimbleEnvironment.swift; sourceTree = ""; }; + C91FB89B7A8EC27E012D80F6791CD14E /* SEGBluetooth.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGBluetooth.h; sourceTree = ""; }; + C95FC0E1E5C1F4056F6D19ED03108E9F /* UIViewController+SEGScreen.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+SEGScreen.m"; sourceTree = ""; }; + CAC3C34C25AFBD15E66DAAD6AAC10332 /* SEGSegmentIntegrationFactory.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGSegmentIntegrationFactory.m; sourceTree = ""; }; + D411383BA4C19E8F7F0A6DD1DD96070A /* EXPMatchers+beGreaterThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.m"; sourceTree = ""; }; + D567475377AEB18BA2C066BC79A3B8CA /* SPTGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTGlobalBeforeAfterEach.h; path = Specta/Specta/SPTGlobalBeforeAfterEach.h; sourceTree = ""; }; + D58CFF72C9AC39E1705408655E912787 /* ExpectaObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaObject.h; path = Expecta/ExpectaObject.h; sourceTree = ""; }; + D829E368118B61FFA584C01DF74C0B67 /* SEGBluetooth.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGBluetooth.m; sourceTree = ""; }; + D8F53ED18C86031D791E7F5800323117 /* SPTCallSite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCallSite.h; path = Specta/Specta/SPTCallSite.h; sourceTree = ""; }; D9B88F78DCC30320B400A7DD656E337E /* Pods-Analytics_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Analytics_Example.release.xcconfig"; sourceTree = ""; }; D9C3F42CF3A06C1E082C7CCC116DE867 /* Pods-Analytics_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Analytics_Example.debug.xcconfig"; sourceTree = ""; }; - DA87C31144BB044ECD47FB6C44ACB2CC /* EXPMatchers+endWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+endWith.h"; path = "Expecta/Matchers/EXPMatchers+endWith.h"; sourceTree = ""; }; - DADA5DCACFCC26BAF81CBA77D5DAA680 /* LSHTTPResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPResponse.h; path = Nocilla/Model/LSHTTPResponse.h; sourceTree = ""; }; - DC8C0425C03478A644814F28209B4B59 /* NSValue+Expecta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSValue+Expecta.m"; path = "Expecta/NSValue+Expecta.m"; sourceTree = ""; }; - DCF1F5F3DBA0F14ACBD55191FE7C28E6 /* ExpectaObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaObject.h; path = Expecta/ExpectaObject.h; sourceTree = ""; }; - DE36CBC163E9F3578D7D2552F1BF89DD /* SEGIntegrationFactory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGIntegrationFactory.h; sourceTree = ""; }; - DE5E8458E16DE72BEC69B0D4B01C6153 /* Analytics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Analytics.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - DECB1E291A2275FD038BDF383541831A /* EXPMatcherHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPMatcherHelpers.m; path = Expecta/Matchers/EXPMatcherHelpers.m; sourceTree = ""; }; - DF9CDAC774AF1EC88F9AC25D9F7E84AD /* NSData+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Matcheable.h"; path = "Nocilla/Matchers/NSData+Matcheable.h"; sourceTree = ""; }; - DFA130006D64C9119222D3CC6DEEB97F /* LSStubResponseDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponseDSL.m; path = Nocilla/DSL/LSStubResponseDSL.m; sourceTree = ""; }; - E0923798C6DA8B5F02D377F72EBE9220 /* Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nocilla.h; path = Nocilla/Nocilla.h; sourceTree = ""; }; - E0DAE6457BDB82C50109C4667531F696 /* EXPMatchers+beSubclassOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSubclassOf.h"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.h"; sourceTree = ""; }; - E207EDD9318353F4CA3E68BBD2CBFD1B /* SEGTrackPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGTrackPayload.m; sourceTree = ""; }; - E36B02538433DEEBA0722170A625F321 /* NSString+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Matcheable.m"; path = "Nocilla/Matchers/NSString+Matcheable.m"; sourceTree = ""; }; - E4A58CAACBA17AEF72394FEA6AA92DE2 /* LSRegexMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSRegexMatcher.m; path = Nocilla/Matchers/LSRegexMatcher.m; sourceTree = ""; }; - E5B49F3A2C3775B24797B39C5EDB1D12 /* Specta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Specta.modulemap; sourceTree = ""; }; - E5FFF41A9A24C033FCC946202869A5C9 /* EXPMatchers+beginWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beginWith.m"; path = "Expecta/Matchers/EXPMatchers+beginWith.m"; sourceTree = ""; }; + DB03D3928B76FAB7BF7F289A4D3842FD /* LSASIHTTPRequestAdapter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestAdapter.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h; sourceTree = ""; }; + DBA28D49B2537AF7560C79D9D0624783 /* EXPMatchers+match.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+match.h"; path = "Expecta/Matchers/EXPMatchers+match.h"; sourceTree = ""; }; + DC3730436AC4ABC10EF92B5B7C812A29 /* EXPMatchers+beGreaterThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThan.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.m"; sourceTree = ""; }; + DCA8F2E371DCB98ABA68B3A7517DA160 /* Nocilla.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nocilla.xcconfig; sourceTree = ""; }; + DCDA1760D82F802FDE736960E0D07906 /* EXPMatchers+postNotification.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+postNotification.h"; path = "Expecta/Matchers/EXPMatchers+postNotification.h"; sourceTree = ""; }; + DE49FD4AABD4A107019B3F4EA5B63705 /* Expecta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Expecta.modulemap; sourceTree = ""; }; + DF53A7E0022B55D72AB503093C9EAD8B /* EXPFloatTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPFloatTuple.m; path = Expecta/EXPFloatTuple.m; sourceTree = ""; }; + DF611270F378AB60213E0F7A16E99ECE /* LSStubResponseDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponseDSL.m; path = Nocilla/DSL/LSStubResponseDSL.m; sourceTree = ""; }; + E0A57FB0F996C324626103007E040046 /* EXPMatchers+beCloseTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beCloseTo.m"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.m"; sourceTree = ""; }; + E16C306E8F1B806231A6724A1243C4D3 /* EXPMatchers+beGreaterThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThan.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.h"; sourceTree = ""; }; + E1FFB2553B1635BF0923307D5FF83B35 /* LSRegexMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSRegexMatcher.m; path = Nocilla/Matchers/LSRegexMatcher.m; sourceTree = ""; }; + E31D163A5F98AF3D113C22235559E939 /* EXPMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcher.h; path = Expecta/EXPMatcher.h; sourceTree = ""; }; + E340FC32941E3AC60ABF6844A6D893C1 /* Quick-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-prefix.pch"; sourceTree = ""; }; + E3BEA76238B8BC25E96707AE8598D3D0 /* BeAnInstanceOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAnInstanceOf.swift; path = Sources/Nimble/Matchers/BeAnInstanceOf.swift; sourceTree = ""; }; + E3CBB2CDB547B0B89E5F58E5BD961875 /* BeginWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeginWith.swift; path = Sources/Nimble/Matchers/BeginWith.swift; sourceTree = ""; }; + E3FEC101C287C9FF2F6A85EA5E5FE737 /* SEGFileStorage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGFileStorage.h; sourceTree = ""; }; + E53862F3FA8B329202410BD6F74CC7C5 /* LSHTTPRequestDiff.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDiff.m; path = Nocilla/Diff/LSHTTPRequestDiff.m; sourceTree = ""; }; + E5F8FC64C88115BC612FE863A451DA9D /* SPTCompiledExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCompiledExample.h; path = Specta/Specta/SPTCompiledExample.h; sourceTree = ""; }; + E6014948A26F66395CE4EF10F629335B /* SEGScreenPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGScreenPayload.m; sourceTree = ""; }; E62394DDB3AB915FBBD83243A8B71230 /* Pods-Analytics_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-Analytics_Tests.modulemap"; sourceTree = ""; }; - E9FBDE3A5453A6D3F1AC72AAF9DEFF36 /* Specta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-prefix.pch"; sourceTree = ""; }; + E753EF09A2CC87267CE0182BE37A0C07 /* LSASIHTTPRequestHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestHook.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h; sourceTree = ""; }; + E88F1D514692710FC537D04F180EF219 /* LSHTTPClientHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPClientHook.m; path = Nocilla/Hooks/LSHTTPClientHook.m; sourceTree = ""; }; + E8ABC4A52C6821662DE9DDD4757CF387 /* SpectaDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaDSL.m; path = Specta/Specta/SpectaDSL.m; sourceTree = ""; }; + E8EBD1723424303DC15EE306EDD59D8B /* Expecta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Expecta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E9685D775719CFF07A71008E3254E248 /* SEGAnalyticsUtils.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAnalyticsUtils.m; sourceTree = ""; }; EA0B4D0A1C53C864E5FBB5AD62ACFBA5 /* Pods-Analytics_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Analytics_Example-acknowledgements.plist"; sourceTree = ""; }; - EA4C6FC11C1430748A8424DE661C017A /* LSHTTPRequestDSLRepresentation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDSLRepresentation.m; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.m; sourceTree = ""; }; - EAA0B0D8410A748100182967B6BD8E5D /* ExpectaSupport.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaSupport.h; path = Expecta/ExpectaSupport.h; sourceTree = ""; }; - EAEEC0CE4F05D24E0928BD1776E06892 /* NSString+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Nocilla.h"; path = "Nocilla/Categories/NSString+Nocilla.h"; sourceTree = ""; }; - EB6E879A49A59A04DF43FA52A7B9ABC5 /* SPTSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSpec.h; path = Specta/Specta/SPTSpec.h; sourceTree = ""; }; - EC37B44F5A4A8FE55A6BC47A2FEB8375 /* SEGStoreKitTracker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGStoreKitTracker.h; sourceTree = ""; }; - ECF26B74CC2081100643793D5A3CB1CF /* LSHTTPStubURLProtocol.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPStubURLProtocol.m; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m; sourceTree = ""; }; - ED69209F90F0AE41E738AC5C92A87F30 /* SEGSegmentIntegration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SEGSegmentIntegration.h; sourceTree = ""; }; - ED7B697D020FD4EE3EBBE0801C80017A /* SPTExampleGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExampleGroup.h; path = Specta/Specta/SPTExampleGroup.h; sourceTree = ""; }; - EECB3EED6027FDABD7D3EAF6A92E046F /* SpectaDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaDSL.m; path = Specta/Specta/SpectaDSL.m; sourceTree = ""; }; - EEF47FCE12FE6BAF3EC7CB54E86434D7 /* NSRegularExpression+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSRegularExpression+Matcheable.h"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.h"; sourceTree = ""; }; - F0C23C26D420E80AD34DF7B0996B25E8 /* NSValue+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSValue+Expecta.h"; path = "Expecta/NSValue+Expecta.h"; sourceTree = ""; }; - F13E1AE89B0F592308CBD954E0C4FA45 /* LSASIHTTPRequestAdapter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestAdapter.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m; sourceTree = ""; }; - F30FA578EAD204F81712C3A4EC7B1B1E /* SEGSegmentIntegrationFactory.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGSegmentIntegrationFactory.m; sourceTree = ""; }; - F48391C7669C37154448ED565B6D9233 /* UIViewController+SEGScreen.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+SEGScreen.m"; sourceTree = ""; }; - F4E609243D8AB1B2E70A8F2C5E9F7186 /* EXPMatchers+beLessThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThan.h"; path = "Expecta/Matchers/EXPMatchers+beLessThan.h"; sourceTree = ""; }; - F5268D4F677423311AF279E51E02717D /* SPTSharedExampleGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSharedExampleGroups.h; path = Specta/Specta/SPTSharedExampleGroups.h; sourceTree = ""; }; - F6FCFB90F9A4F2EC5FC71A3E0A0D4D48 /* LSHTTPRequestDiff.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDiff.h; path = Nocilla/Diff/LSHTTPRequestDiff.h; sourceTree = ""; }; - F7BCD1C92A55911C16FB9E6D60078BDE /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EB7CC9A8980AB39D509B7A494AF46C9E /* LSHTTPRequestDiff.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDiff.h; path = Nocilla/Diff/LSHTTPRequestDiff.h; sourceTree = ""; }; + EC46A6B83C5D3CD824625FA0A23433C5 /* Nocilla-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-umbrella.h"; sourceTree = ""; }; + ECE9D6C866F93783D6564557734FF000 /* SPTTestSuite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTTestSuite.m; path = Specta/Specta/SPTTestSuite.m; sourceTree = ""; }; + ED8DF174F9517DEB12A6005A5358E592 /* EXPMatchers+beIdenticalTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beIdenticalTo.h"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.h"; sourceTree = ""; }; + EE172AD3636D0181E12412D59C994847 /* SPTSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSpec.m; path = Specta/Specta/SPTSpec.m; sourceTree = ""; }; + EE46B4B32B30C2D62DFEBD82667833F4 /* EXPDefines.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDefines.h; path = Expecta/EXPDefines.h; sourceTree = ""; }; + EF32B53E0F8F4D700E01464220F57CE9 /* DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DSL.m; path = Sources/Nimble/Adapters/ObjectiveC/DSL.m; sourceTree = ""; }; + F069D8DB4989FA02ADA57AF29059BEB0 /* EXPMatchers+haveCountOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+haveCountOf.m"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.m"; sourceTree = ""; }; + F076C079C811F5BE87E4397A5292C9D2 /* NMBExceptionCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBExceptionCapture.m; path = Sources/Nimble/Adapters/ObjectiveC/NMBExceptionCapture.m; sourceTree = ""; }; + F0A6E7712EE7079CCB700403D0302CED /* EXPMatchers+beInTheRangeOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInTheRangeOf.h"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.h"; sourceTree = ""; }; + F0C24C274A463B8C6EF4BD9077486734 /* LSNSURLSessionHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLSessionHook.h; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h; sourceTree = ""; }; + F15617FB2EA6B0D3E6AA7F1CBE688294 /* SEGAliasPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGAliasPayload.m; sourceTree = ""; }; + F1D9A7D1B1B9B490E729C0135D9A659A /* EXPMatchers+match.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+match.m"; path = "Expecta/Matchers/EXPMatchers+match.m"; sourceTree = ""; }; + F252F26C177736032901AC4EC589EA2E /* SEGSegmentIntegration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGSegmentIntegration.m; sourceTree = ""; }; + F43A8EFA672CB05EC9111931AA53430A /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; + F5728155B0477E51E763695B211A515D /* EXPMatcherHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcherHelpers.h; path = Expecta/Matchers/EXPMatcherHelpers.h; sourceTree = ""; }; + F6483E5A4C32F0B2EF01B13781DDF053 /* NSData+SEGGZIP.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NSData+SEGGZIP.m"; sourceTree = ""; }; + F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + F79A1F4B86843BE05E9553280C0D0908 /* SEGGroupPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SEGGroupPayload.m; sourceTree = ""; }; F8115C1476FCC21E22C39FDAC8BB6EB8 /* Analytics-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Analytics-umbrella.h"; sourceTree = ""; }; - F8843B0B76B48BC52F8BE7AD151C48C7 /* EXPMatchers+match.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+match.m"; path = "Expecta/Matchers/EXPMatchers+match.m"; sourceTree = ""; }; - F99FFAD3309B4F39F8BE9FF058F500C0 /* LSASIHTTPRequestAdapter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestAdapter.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h; sourceTree = ""; }; - FA0033E115AA6BF02ED6E80505926A94 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - FA89F1F324EFFE5F63AF2C9D97775F3F /* UIViewController+SEGScreen.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIViewController+SEGScreen.h"; sourceTree = ""; }; - FB8EAF8AD870197091A669E2F17D31C7 /* LSStubResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponse.h; path = Nocilla/Stubs/LSStubResponse.h; sourceTree = ""; }; - FCB28A78CDBB39AB53186AED8F73F51A /* SPTExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExample.h; path = Specta/Specta/SPTExample.h; sourceTree = ""; }; - FE0F7A461D70E6027BC573A58C77C205 /* LSStubResponseDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponseDSL.h; path = Nocilla/DSL/LSStubResponseDSL.h; sourceTree = ""; }; - FEEF1CCD4245A7A1DD5741CB920D2D0D /* EXPMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcher.h; path = Expecta/EXPMatcher.h; sourceTree = ""; }; - FF07B106FDF73E8D4F03156F20D105A1 /* Expecta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Expecta.xcconfig; sourceTree = ""; }; + F99E42684D0F906E1B0766893512CCCF /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Quick/DSL/DSL.swift; sourceTree = ""; }; + FB9ADC2B3942452EF39A11CF4436496A /* NSURLRequest+LSHTTPRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+LSHTTPRequest.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m"; sourceTree = ""; }; + FB9BF1EED912B40674B801A2CC3165AC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FBC01180D5F2225E5FB7C46CE5CB7662 /* SourceLocation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SourceLocation.swift; path = Sources/Nimble/Utils/SourceLocation.swift; sourceTree = ""; }; + FBC378557D24589C0F07C634FE2E2295 /* MatcherFunc.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherFunc.swift; path = Sources/Nimble/Matchers/MatcherFunc.swift; sourceTree = ""; }; + FF148C8FA20933843473FDF04069412F /* Expecta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Expecta-dummy.m"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 295390A1C2CFD9AC4C9337AB4E32FD5A /* Frameworks */ = { + 050B68EC615B591FDA5D0B855E697228 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - F4043CFB6D8E069D3879DA09F202715F /* Foundation.framework in Frameworks */, + 7070E1BDFFD9D6D40C6ED465BD5C58CB /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5411DB9B18977D922142BB1F6696F0FF /* Frameworks */ = { + 5F40817F9BD61376555E224A54C77911 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 036DC31354B4DFA82ABC0D96D68D1DF6 /* Foundation.framework in Frameworks */, - 02F6B0D7B86AB56F90307DB23E661896 /* XCTest.framework in Frameworks */, + 21B9BDF15D08F33883999509AC98847C /* CFNetwork.framework in Frameworks */, + 80C451D6026B1C2BF6EF917B4F5BF98B /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5F40817F9BD61376555E224A54C77911 /* Frameworks */ = { + 692ACE21B0168D45118F776DA7F23CED /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 21B9BDF15D08F33883999509AC98847C /* CFNetwork.framework in Frameworks */, - 80C451D6026B1C2BF6EF917B4F5BF98B /* Foundation.framework in Frameworks */, + 36CD90DEFBD0688187272857090A14D1 /* Foundation.framework in Frameworks */, + 2F79B1E74C92968DC78536D0432F415A /* XCTest.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - B6094D4FDD15EED485201D6DE465AFF5 /* Frameworks */ = { + 9FA6302C023A077AB73781EAFCE7E60C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 183609639E124198767341441931D06D /* Foundation.framework in Frameworks */, + 0E26DA8D70586475CB5EC2B40B0CA686 /* Foundation.framework in Frameworks */, + 8185E5F348853C03984DA2C132DDDD1B /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BF79934718E630DF9D48B1166066F524 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 9808DEC2607B0EC2D7028FAA1868A14B /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D2CFA990CB91A856AE467D0FD8EFB508 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1605F8488EA2281B38AAFED554B9DD9C /* Foundation.framework in Frameworks */, + DC40BCE4D9B144A9AC7E5CCEF251FF37 /* Security.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -551,45 +792,57 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 0DEF4498594535AD5FA00D8449F00753 /* Integrations */ = { + 027DCB48289D3F0C29689BACA1CFE011 /* Pods */ = { isa = PBXGroup; children = ( - B588367A6A267BEB469E601813B6475F /* SEGAliasPayload.h */, - 3C21E4C22CC02DA20E2540F7FACAA4E1 /* SEGAliasPayload.m */, - A21DCEA714702B96A8020B32249F7F05 /* SEGGroupPayload.h */, - 0D7B595DA38C7DFC60F78642C2073770 /* SEGGroupPayload.m */, - D41DBD56C412C840D2090A4BF5CC6023 /* SEGIdentifyPayload.h */, - 1E64EA832A59F14879437B3965DD8C35 /* SEGIdentifyPayload.m */, - 2F5B032D6C28D7D23779332687354C86 /* SEGIntegration.h */, - DE36CBC163E9F3578D7D2552F1BF89DD /* SEGIntegrationFactory.h */, - 7EA5EAF696160B8FCE4415DCB87AC746 /* SEGPayload.h */, - A5BA035D6043B4036AA1DDF515E27387 /* SEGPayload.m */, - 302868B704DAA2DFE9B11259778B473E /* SEGScreenPayload.h */, - 354E53CA2386704D8DB4A48EF2CF11E5 /* SEGScreenPayload.m */, - C94F72101EEBF1EDE5E101FC2E6AA35B /* SEGTrackPayload.h */, - E207EDD9318353F4CA3E68BBD2CBFD1B /* SEGTrackPayload.m */, + 6859651CD87084BBA648585DECFFD85C /* Expecta */, + AECC39DE071E8C7EB2E5D8C929B72B4B /* Nimble */, + 996D2F85F253372DDE4A828FDACB1D75 /* Nocilla */, + 783ED7710E1F7B5E217F5B56096E5F55 /* Quick */, + 4CD811A7E4F7E2204224E0B80D06B945 /* Specta */, ); - path = Integrations; + name = Pods; + sourceTree = ""; + }; + 0FF21E51777160437E985B9FA11A6BCE /* iOS */ = { + isa = PBXGroup; + children = ( + F43A8EFA672CB05EC9111931AA53430A /* CFNetwork.framework */, + F68984A71C488CFBF3D3D9AF14B9722A /* Foundation.framework */, + B07616B05D0BDD100676E13B77C6C7B7 /* Security.framework */, + 0DE604BA5578B3C008F23F53AC9D8822 /* XCTest.framework */, + ); + name = iOS; sourceTree = ""; }; 1003277141BFE57E39A585439DF96EEF /* Analytics */ = { isa = PBXGroup; children = ( - A3FE460D1DFDECE6F9DF7A9D70A295D7 /* Analytics */, + 8B394017FD6F6B400C4494C7FE4F671C /* Analytics */, 4E338C8CF4A9B4870206743856F8776B /* Support Files */, ); name = Analytics; path = ../..; sourceTree = ""; }; - 122DA2E5084A4393C29BE363C764795C /* Frameworks */ = { + 14B8B9B15ECBE87983FF987239AB2D7B /* Frameworks */ = { isa = PBXGroup; children = ( - 79A548EA8CA197E1E2EE397EB587F597 /* iOS */, + 0FF21E51777160437E985B9FA11A6BCE /* iOS */, ); name = Frameworks; sourceTree = ""; }; + 1F8181E9EE28A897D27AD82D2C781788 /* Crypto */ = { + isa = PBXGroup; + children = ( + 69C76B134D84D164718177EB0DAB73C4 /* SEGAES256Crypto.h */, + 2D1A52E921492466F3503650F581CA10 /* SEGAES256Crypto.m */, + 7D8588FC7F9643DC9B416ED9D5F1FBC1 /* SEGCrypto.h */, + ); + path = Crypto; + sourceTree = ""; + }; 22E858A8EDF9F45357D9A2FA9C9BB6AC /* Targets Support Files */ = { isa = PBXGroup; children = ( @@ -599,18 +852,85 @@ name = "Targets Support Files"; sourceTree = ""; }; - 38FA5E5388C2478DF05AE925F651E6C2 /* Support Files */ = { + 31C4D43C6F8F42CE17461161A86E96C0 /* Support Files */ = { isa = PBXGroup; children = ( - 7B481CF924CBF04F74CC619361CEF2CB /* Expecta.modulemap */, - FF07B106FDF73E8D4F03156F20D105A1 /* Expecta.xcconfig */, - 1D7E90431DC0B8E1E7403353232CC41A /* Expecta-dummy.m */, - 215FA13C8BB3701687A65C35407C888C /* Expecta-prefix.pch */, - 36CEB42FC801D6DD1C0C86F8D5A6B031 /* Expecta-umbrella.h */, - FA0033E115AA6BF02ED6E80505926A94 /* Info.plist */, + AB3B4EB73496C96E31FD98083E8A433C /* Info.plist */, + 507DEE90699728E98355DF6492990DE1 /* Specta.modulemap */, + BDFB77866E7123B5B6E14F8A4AF11E3B /* Specta.xcconfig */, + 7C1CADF965D244489B845A33B958394C /* Specta-dummy.m */, + 1F7390733F60C085AB4E2E9D94C1AF2D /* Specta-prefix.pch */, + C8C4618A13416C3249A9E1991FE5F5B8 /* Specta-umbrella.h */, ); name = "Support Files"; - path = "../Target Support Files/Expecta"; + path = "../Target Support Files/Specta"; + sourceTree = ""; + }; + 3C8BD3BF9C1CDDFC10B436983B46D861 /* Internal */ = { + isa = PBXGroup; + children = ( + 330E8AC6AB1AFAC37FE779E4AB8BE22C /* NSData+SEGGZIP.h */, + F6483E5A4C32F0B2EF01B13781DDF053 /* NSData+SEGGZIP.m */, + 2877CEC45417EE0FA8C0860CDB81E406 /* SEGAnalyticsUtils.h */, + E9685D775719CFF07A71008E3254E248 /* SEGAnalyticsUtils.m */, + C91FB89B7A8EC27E012D80F6791CD14E /* SEGBluetooth.h */, + D829E368118B61FFA584C01DF74C0B67 /* SEGBluetooth.m */, + E3FEC101C287C9FF2F6A85EA5E5FE737 /* SEGFileStorage.h */, + 6FEE332359D52339B0C29B2B7BA6DE1D /* SEGFileStorage.m */, + 18B74443611FA38FDF357B94FE71B117 /* SEGHTTPClient.h */, + 39A8D07DDC4089D441DA2C31A063D0FD /* SEGHTTPClient.m */, + B16937B8762009D6195A83A815079ABF /* SEGLocation.h */, + 62DA7AAD66B59A8EE9FAEB0FE9B6598D /* SEGLocation.m */, + 9BCCD26FC76A1CD48A0151148EF5D595 /* SEGReachability.h */, + 6CABC82843926E7FD4E81B8226B58E4D /* SEGReachability.m */, + 03ADC218D66C726B20FDCECDAD7688A8 /* SEGSegmentIntegration.h */, + F252F26C177736032901AC4EC589EA2E /* SEGSegmentIntegration.m */, + 4AE5253250E6F02E9BD69B1886F87F24 /* SEGSegmentIntegrationFactory.h */, + CAC3C34C25AFBD15E66DAAD6AAC10332 /* SEGSegmentIntegrationFactory.m */, + 365F8A5F1631E08DACECED0B041CF52B /* SEGStorage.h */, + 468D07940103A15A377E706D948E09D0 /* SEGStoreKitTracker.h */, + 6B0382CEE8C33D5132C9CD5B925453B8 /* SEGStoreKitTracker.m */, + 40AED25FA61C6CA66213C38A63EE81DA /* SEGUserDefaultsStorage.h */, + B4C38673C1033E0723F2F8E6B3E587BB /* SEGUserDefaultsStorage.m */, + 2F8BF9DE3097C37C78968316CE45F70D /* SEGUtils.h */, + 49D7AF4025B23008723A8AF9AAA83CB5 /* SEGUtils.m */, + 7624D14605AD8F3F06A1743BD2AA2600 /* UIViewController+SEGScreen.h */, + C95FC0E1E5C1F4056F6D19ED03108E9F /* UIViewController+SEGScreen.m */, + ); + path = Internal; + sourceTree = ""; + }; + 4CD811A7E4F7E2204224E0B80D06B945 /* Specta */ = { + isa = PBXGroup; + children = ( + 8ED2F9425A7CF1A3411740ADF7C8C161 /* Specta.h */, + 05973ADB694E08DEE7C0A42F75035015 /* SpectaDSL.h */, + E8ABC4A52C6821662DE9DDD4757CF387 /* SpectaDSL.m */, + 9CF520334B37D2D41E6DD642F2925492 /* SpectaTypes.h */, + 2640EF03B36668A99F66B46A7BD20A4D /* SpectaUtility.h */, + 659841D06F271E1B3AEC0180392484C0 /* SpectaUtility.m */, + D8F53ED18C86031D791E7F5800323117 /* SPTCallSite.h */, + A1ECF26918D12E29D335F556A65EB68E /* SPTCallSite.m */, + E5F8FC64C88115BC612FE863A451DA9D /* SPTCompiledExample.h */, + 77F403646BD7BDF6C41F4AF3F9EAD7C7 /* SPTCompiledExample.m */, + 66B1726CFE32ED255630510B30A8262F /* SPTExample.h */, + 9C9E548B32DFDB7FE7559381B4EC7E34 /* SPTExample.m */, + 50C0185407A6C7BE5A5A071C3F34902C /* SPTExampleGroup.h */, + 515684BDFC82FFD9BB4AD1855459D1BB /* SPTExampleGroup.m */, + 283250691EF876BA7E0C1237449C5053 /* SPTExcludeGlobalBeforeAfterEach.h */, + D567475377AEB18BA2C066BC79A3B8CA /* SPTGlobalBeforeAfterEach.h */, + 010CB07CB3DB1043E34E33FA821675C0 /* SPTSharedExampleGroups.h */, + ADBC388B201BD2D4C5BAB4BD8BD8102F /* SPTSharedExampleGroups.m */, + 39934EC1080C7C1F1688D15B7F3DD0BD /* SPTSpec.h */, + EE172AD3636D0181E12412D59C994847 /* SPTSpec.m */, + 45C35A3A2FF212B5F15908FBD90B9413 /* SPTTestSuite.h */, + ECE9D6C866F93783D6564557734FF000 /* SPTTestSuite.m */, + 9970595F594B72C310568ECE249519D0 /* XCTest+Private.h */, + 8C50EA6109741256D5963679653C1B0F /* XCTestCase+Specta.h */, + 1FEA059184FF5F57F3C8B3064801A6CF /* XCTestCase+Specta.m */, + 31C4D43C6F8F42CE17461161A86E96C0 /* Support Files */, + ); + path = Specta; sourceTree = ""; }; 4E338C8CF4A9B4870206743856F8776B /* Support Files */ = { @@ -627,6 +947,20 @@ path = "Example/Pods/Target Support Files/Analytics"; sourceTree = ""; }; + 5286B1E9BA39E95848B1837B671E71F2 /* Support Files */ = { + isa = PBXGroup; + children = ( + 0CBE12016C633361B5566EB434D961DD /* Info.plist */, + 881125C2AF1B4C5A0B9D9D76F8CE1631 /* Nocilla.modulemap */, + DCA8F2E371DCB98ABA68B3A7517DA160 /* Nocilla.xcconfig */, + 3E7B7375637D9BD65374A013F571EAED /* Nocilla-dummy.m */, + 5BF28D5333A9D335FE78E661D72AD2E9 /* Nocilla-prefix.pch */, + EC46A6B83C5D3CD824625FA0A23433C5 /* Nocilla-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/Nocilla"; + sourceTree = ""; + }; 57D6717C390BF483789FC8580F914321 /* Development Pods */ = { isa = PBXGroup; children = ( @@ -653,286 +987,345 @@ path = "Target Support Files/Pods-Analytics_Tests"; sourceTree = ""; }; - 71ED81143BA7E918AC081A81B3307DAE /* Nocilla */ = { + 6859651CD87084BBA648585DECFFD85C /* Expecta */ = { isa = PBXGroup; children = ( - A68EE479CD32D935ECB7001FAF476988 /* ASIHTTPRequestStub.h */, - 1F6BBFF3ED908BBB61D8B043C744FDF2 /* ASIHTTPRequestStub.m */, - F99FFAD3309B4F39F8BE9FF058F500C0 /* LSASIHTTPRequestAdapter.h */, - F13E1AE89B0F592308CBD954E0C4FA45 /* LSASIHTTPRequestAdapter.m */, - 4F6572099C332D69E0D8AEF41D4F9F83 /* LSASIHTTPRequestHook.h */, - 7245ADF080442E19CC8B85AD6F96A6B6 /* LSASIHTTPRequestHook.m */, - 048D94BE82C84555D409A93BF039EEE5 /* LSDataMatcher.h */, - 47FF6EF9E62A9175DF61CE4FC4F0CBCF /* LSDataMatcher.m */, - 166736907F1E5180FC092545C416D144 /* LSHTTPBody.h */, - 04CC74C4C61327B9C4DF18957B7812E3 /* LSHTTPClientHook.h */, - 2C8DB76D2A3AF8110BA31D031027E4D5 /* LSHTTPClientHook.m */, - 5750F85C4001818E251789B8C0029267 /* LSHTTPRequest.h */, - F6FCFB90F9A4F2EC5FC71A3E0A0D4D48 /* LSHTTPRequestDiff.h */, - 8C45254A956BCDEE1A509CC47D9AE828 /* LSHTTPRequestDiff.m */, - 15457E7901D93551F110977610781944 /* LSHTTPRequestDSLRepresentation.h */, - EA4C6FC11C1430748A8424DE661C017A /* LSHTTPRequestDSLRepresentation.m */, - DADA5DCACFCC26BAF81CBA77D5DAA680 /* LSHTTPResponse.h */, - B7F90B078EAD016D3617F5FA13AD0878 /* LSHTTPStubURLProtocol.h */, - ECF26B74CC2081100643793D5A3CB1CF /* LSHTTPStubURLProtocol.m */, - 5526DDE7CBC2FA01EE8D2FDDCB4D8815 /* LSMatcheable.h */, - 0381D6093D21AFDDE30CFE22F3BB680D /* LSMatcher.h */, - D2CFFA1D7BA56478F70ED09046A27493 /* LSMatcher.m */, - CBE6515D380AD0A5F2B850991320F479 /* LSNocilla.h */, - 2D88FCD425720D9CDAA8CF432423A50E /* LSNocilla.m */, - BFA2BD58C9EFC80EA6F447245DDE8374 /* LSNSURLHook.h */, - D735F936248170D1FDFD5E59888BA634 /* LSNSURLHook.m */, - 25F5A3115A623DA04AA16CFEC74F2EF9 /* LSNSURLSessionHook.h */, - 4DC44F50C0C0B23F18EEA2E4452A285E /* LSNSURLSessionHook.m */, - CCE7C8867802A1DE14149AD62F3983F9 /* LSRegexMatcher.h */, - E4A58CAACBA17AEF72394FEA6AA92DE2 /* LSRegexMatcher.m */, - 5EA21B0A0686B2730612CAA48E246F7C /* LSStringMatcher.h */, - 68EA8E41E380502BF92641F1CCBA68CA /* LSStringMatcher.m */, - BD66B7A4E6D29687CDA5EDA6122D4FBC /* LSStubRequest.h */, - CDE10F02F8C6D0A45FF51B31983F2168 /* LSStubRequest.m */, - BEF8786C83B5717F9219906718C628A9 /* LSStubRequestDSL.h */, - 9EE6D868687E658E956E0558A26DCF81 /* LSStubRequestDSL.m */, - FB8EAF8AD870197091A669E2F17D31C7 /* LSStubResponse.h */, - 372CBB8F4D124EFE07566B3EFBA4352E /* LSStubResponse.m */, - FE0F7A461D70E6027BC573A58C77C205 /* LSStubResponseDSL.h */, - DFA130006D64C9119222D3CC6DEEB97F /* LSStubResponseDSL.m */, - E0923798C6DA8B5F02D377F72EBE9220 /* Nocilla.h */, - DF9CDAC774AF1EC88F9AC25D9F7E84AD /* NSData+Matcheable.h */, - BA4F20DC01C560722BCBB19127C7A148 /* NSData+Matcheable.m */, - 58EF9D321A4473CCBF2CF307F3A716A1 /* NSData+Nocilla.h */, - 04102C8A636C2565CCD3FBB08DA3B957 /* NSData+Nocilla.m */, - EEF47FCE12FE6BAF3EC7CB54E86434D7 /* NSRegularExpression+Matcheable.h */, - BE47DB6B3284121632123362631DE174 /* NSRegularExpression+Matcheable.m */, - 5FE58475FA0CB0C2C3DDBABEA84C6676 /* NSString+Matcheable.h */, - E36B02538433DEEBA0722170A625F321 /* NSString+Matcheable.m */, - EAEEC0CE4F05D24E0928BD1776E06892 /* NSString+Nocilla.h */, - 3BCC19A1ADDDD255485E6F7519161F9B /* NSString+Nocilla.m */, - B69A66C3DB5045ACF35AE9E9F44D01B6 /* NSURLRequest+DSL.h */, - 56F3BF36F4B28877AED0C75CDB6C2CF9 /* NSURLRequest+DSL.m */, - 57F611336E125F4ECBD6F0DF8F8CB0C5 /* NSURLRequest+LSHTTPRequest.h */, - A751917E35042705FAA69CC21DBF68E9 /* NSURLRequest+LSHTTPRequest.m */, - F9E04FF06D5A3859C051A05DAACB955D /* Support Files */, + 1FBC3F8FD605847E5DE569FE9BC32EB8 /* EXPBlockDefinedMatcher.h */, + 9A1A89216F583ED6B0260EDB32829229 /* EXPBlockDefinedMatcher.m */, + EE46B4B32B30C2D62DFEBD82667833F4 /* EXPDefines.h */, + 7E2E178AE7A3CC5791C67C78C3C27ABC /* EXPDoubleTuple.h */, + C8889EE37BFDE2A896CA164C005385E6 /* EXPDoubleTuple.m */, + 81B2E47569D86AF55AF90C52CF6E74B1 /* Expecta.h */, + D58CFF72C9AC39E1705408655E912787 /* ExpectaObject.h */, + 21E033AB515924F3BBAFE459BFD1E336 /* ExpectaObject.m */, + C4138FD2860CD910001B26A51D74EF07 /* ExpectaSupport.h */, + 0E57D77035E4D55B115281114088CAAE /* ExpectaSupport.m */, + 43FC32F64D4E0954552FA3B0B7265816 /* EXPExpect.h */, + C3408ADA738C2B43339EFE489A643E9D /* EXPExpect.m */, + 78DDF1C22026CF8BE6BE2976FEC051CA /* EXPFloatTuple.h */, + DF53A7E0022B55D72AB503093C9EAD8B /* EXPFloatTuple.m */, + E31D163A5F98AF3D113C22235559E939 /* EXPMatcher.h */, + F5728155B0477E51E763695B211A515D /* EXPMatcherHelpers.h */, + 4EF6708C54DFC249D5216B275BAB0315 /* EXPMatcherHelpers.m */, + 1303087C0050B11453EBF3241F2A9564 /* EXPMatchers.h */, + 786EC02F553DA93CE539E1A4CC684995 /* EXPMatchers+beCloseTo.h */, + E0A57FB0F996C324626103007E040046 /* EXPMatchers+beCloseTo.m */, + 0D1010BC188C8BB72E2A8FB532956F34 /* EXPMatchers+beFalsy.h */, + 737333433A96822B337A3269CBC5C747 /* EXPMatchers+beFalsy.m */, + 053393948F3161A51B8A6378D073114B /* EXPMatchers+beginWith.h */, + 33DD99B2F35EFEECD4BD70FACD2E2471 /* EXPMatchers+beginWith.m */, + E16C306E8F1B806231A6724A1243C4D3 /* EXPMatchers+beGreaterThan.h */, + DC3730436AC4ABC10EF92B5B7C812A29 /* EXPMatchers+beGreaterThan.m */, + C4B70A1EA3CE0F856CC311640B92F1FE /* EXPMatchers+beGreaterThanOrEqualTo.h */, + D411383BA4C19E8F7F0A6DD1DD96070A /* EXPMatchers+beGreaterThanOrEqualTo.m */, + ED8DF174F9517DEB12A6005A5358E592 /* EXPMatchers+beIdenticalTo.h */, + 899067C1EE0C572BF5EF24F18E0D0F23 /* EXPMatchers+beIdenticalTo.m */, + 3B6264801DD08FC419E8D775753B6FEA /* EXPMatchers+beInstanceOf.h */, + BD293E989D6883C8BA62D938C8BBF5D1 /* EXPMatchers+beInstanceOf.m */, + F0A6E7712EE7079CCB700403D0302CED /* EXPMatchers+beInTheRangeOf.h */, + 645EA5733D74BB5E63F2E1F212C6CAAE /* EXPMatchers+beInTheRangeOf.m */, + 2923866FCC86B3EA3F8FB42B258B1BD4 /* EXPMatchers+beKindOf.h */, + 61DA9C35CCC5DAF7296DE86A00B197D4 /* EXPMatchers+beKindOf.m */, + 06254A24CBBD6A27778A4ADD0FED8E14 /* EXPMatchers+beLessThan.h */, + BE25A04DCB6AD77EFA459409CADDC6D2 /* EXPMatchers+beLessThan.m */, + ABD550DA4DAEDD7E15A0A75604431CA6 /* EXPMatchers+beLessThanOrEqualTo.h */, + B32CF9062D7050124FAD3BC06ECD3EA9 /* EXPMatchers+beLessThanOrEqualTo.m */, + 12ADAA0214D445182BD97423CD43CE00 /* EXPMatchers+beNil.h */, + 1DE87E24041B17983B7D6F3922FDD108 /* EXPMatchers+beNil.m */, + 281AC41638F0C5CA205AE8924CCC3252 /* EXPMatchers+beSubclassOf.h */, + 8640569BC2CC92446DEBC9EEFF8EDEFA /* EXPMatchers+beSubclassOf.m */, + BA797F7F2A626447FA8481C7E819E7C0 /* EXPMatchers+beSupersetOf.h */, + 36A54822C5B118156134C4E324DEF678 /* EXPMatchers+beSupersetOf.m */, + 234D5EFF2D014DF32B9693677A3273A4 /* EXPMatchers+beTruthy.h */, + 870BDD9736254DB2E76EF981570129AA /* EXPMatchers+beTruthy.m */, + 71E4AA1772C1D062BCA666464878622B /* EXPMatchers+conformTo.h */, + 1A13F4C351888334A4ED8F373DEA27DF /* EXPMatchers+conformTo.m */, + 5DACEF77AD35D583799F167215568F86 /* EXPMatchers+contain.h */, + 12C05807200675800631D001D6DA9A1D /* EXPMatchers+contain.m */, + 4B5870261F3EFB7DF62A31B2CF2A907F /* EXPMatchers+endWith.h */, + 443104AA7437A799504CC2D9029BFF19 /* EXPMatchers+endWith.m */, + 2EE702C0A3EC7501E42538205C12F160 /* EXPMatchers+equal.h */, + 731892004CA0979CA5676903F46510FB /* EXPMatchers+equal.m */, + 87B61B952ACFFF4F0E5DE217D8C382C0 /* EXPMatchers+haveCountOf.h */, + F069D8DB4989FA02ADA57AF29059BEB0 /* EXPMatchers+haveCountOf.m */, + DBA28D49B2537AF7560C79D9D0624783 /* EXPMatchers+match.h */, + F1D9A7D1B1B9B490E729C0135D9A659A /* EXPMatchers+match.m */, + DCDA1760D82F802FDE736960E0D07906 /* EXPMatchers+postNotification.h */, + 4E1B7811D386F4987E678AF4A96D0CF4 /* EXPMatchers+postNotification.m */, + 80D3943FC745B6CF09FCD7DAA4157E18 /* EXPMatchers+raise.h */, + 05FAE8DFC495749B9E4803F6419828A4 /* EXPMatchers+raise.m */, + 8FF5C2CBB340757AC8F1F3F84E459910 /* EXPMatchers+raiseWithReason.h */, + 93B82198EDE1CF667457807112592E22 /* EXPMatchers+raiseWithReason.m */, + 027A1D8E0CD2741744D6DAA7C0A313E0 /* EXPMatchers+respondTo.h */, + BFFA6EE9461519B18212DB0B82EA6120 /* EXPMatchers+respondTo.m */, + 8503B68B46C2B4188C3CFBF40D520534 /* EXPUnsupportedObject.h */, + 62302E213EF24A64B1F160C5FA6CE7CE /* EXPUnsupportedObject.m */, + 6925BDFD6663163DFB3781270C163F44 /* NSObject+Expecta.h */, + A0217325565ACE0C80BC154A6D3B50FF /* NSValue+Expecta.h */, + 7C79E46F87BE6838689BD037AA65A347 /* NSValue+Expecta.m */, + 8C77F18AE1A6714DA3BBF0A4D19B1488 /* Support Files */, ); - path = Nocilla; + path = Expecta; sourceTree = ""; }; - 73B4D7F433FF7CDE64ADEDD8F067FAAA /* Classes */ = { + 6B0958CF535CC9A097D83A4F9C2547BD /* Support Files */ = { isa = PBXGroup; children = ( - 4B18B8410C6425F24B866CBDB74CABBF /* SEGAnalytics.h */, - B0D090B0373B3F51B59F99A087DD9876 /* SEGAnalytics.m */, - 0DEF4498594535AD5FA00D8449F00753 /* Integrations */, - A4BAA28124E4EFA8FA82161D8FE5EF80 /* Internal */, + 3243D3750DD1EA74F7E6094EB5DF1336 /* Info.plist */, + 590BFB9972466595D61AF35634165BBC /* Nimble.modulemap */, + 6BB12F0725419F0E72830E3E30F1DCBE /* Nimble.xcconfig */, + 4C982C8FC57AF08FD049620E8470A7A0 /* Nimble-dummy.m */, + A1182CFE1BC95CFA9686C4DD152AB31B /* Nimble-prefix.pch */, + 908985A408C0B8823BE41281B2E2FEA1 /* Nimble-umbrella.h */, ); - path = Classes; + name = "Support Files"; + path = "../Target Support Files/Nimble"; sourceTree = ""; }; - 748E7CDBA176523AE9C02F0D1EE0702E /* Products */ = { + 783ED7710E1F7B5E217F5B56096E5F55 /* Quick */ = { isa = PBXGroup; children = ( - DE5E8458E16DE72BEC69B0D4B01C6153 /* Analytics.framework */, - A13FC9A2076E24814E723DDDDA085E98 /* Expecta.framework */, - 849F819B79FB3963BEA06E1DA0311A0E /* Nocilla.framework */, - 4B8950BFD3FA25B2C9EB3A08FF93CE3E /* Pods_Analytics_Example.framework */, - 3291A964D3603A2B35E61C43E1D54DA2 /* Pods_Analytics_Tests.framework */, - 0A10D5AEA0D81AFFED07D5B506817936 /* Specta.framework */, - ); - name = Products; + 81C93A09BA373B40B0D75BCA7DA741A1 /* Callsite.swift */, + 356833FAFF65A3D10D663502D8C0CF43 /* Closures.swift */, + B85D1AE7EB2D2DD01BE900CA7506003D /* Configuration.swift */, + F99E42684D0F906E1B0766893512CCCF /* DSL.swift */, + 20F5BC2A52C42B38E5B13504E4077351 /* ErrorUtility.swift */, + 1A5600B0D5A86273EFABCA2ABF1E721F /* Example.swift */, + 76EB4CD09AE6155F0067DA38D97869E3 /* ExampleGroup.swift */, + A32ACBF70C09FBE658828370D4A6D5CB /* ExampleHooks.swift */, + 9B96FC2F7B0D319D8BCD3EB7BC572920 /* ExampleMetadata.swift */, + 784A37F11752A7F19AE00860C3CED97D /* Filter.swift */, + 966A8F978D1433E55409A816DC8D85A1 /* HooksPhase.swift */, + 7914AAB0864F0D49EA3BBAC1F57C3E58 /* NSBundle+CurrentTestBundle.swift */, + 7606DC02DADE239D0987C82628955F63 /* NSString+QCKSelectorName.h */, + 5202B4A132E06E5CDF2014C8A353A027 /* NSString+QCKSelectorName.m */, + 1A334F350CD0D8E9262F53198D883F9C /* QCKDSL.h */, + BF806E5B77D298840759CEABDE875452 /* QCKDSL.m */, + BDB659D5DF2B3407626F170297D4D1D3 /* Quick.h */, + 2BC898930DFA79B76FC22CD36B7925A5 /* QuickConfiguration.h */, + 5E5EFF6502C1C4F6EA0C3F7B98583D37 /* QuickConfiguration.m */, + 610398E398706C3A86F14D095798E56C /* QuickSelectedTestSuiteBuilder.swift */, + 3A5766F435B3533DEE7DCD0EFF545D17 /* QuickSpec.h */, + 88B2A0272346C7561E7938649B11275E /* QuickSpec.m */, + 959A5C59D0B8A876506458A7C0EC08FD /* QuickTestSuite.swift */, + BDFDFCD4AC5CEA9362CBEF21E5959FBA /* String+FileName.swift */, + 538ED85A09BC4A5A9744FABFC1955BED /* SuiteHooks.swift */, + C635C4DAB7AD06ECCF6FDBD394673882 /* World.h */, + 5366A1687B8D5D7DCEEE7D00979FBB47 /* World.swift */, + 02C9DE12D796C1DB8391378F59275FB0 /* World+DSL.h */, + 5C3532B231976303887EEA00A826629B /* World+DSL.swift */, + 88D92256B2CA39B811A34D1BBBEF61F5 /* XCTestSuite+QuickTestSuiteBuilder.m */, + 9708B55F0A9AD32D7AD1F5CE28F0B25C /* Support Files */, + ); + path = Quick; sourceTree = ""; }; - 7945FFFFC4122DCC65EFCAA12AC60F1A /* Specta */ = { + 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( - 41657CB8575AD4F6ED3C41808EFBAAFF /* Specta.h */, - 952C900BA9FB23A1C1FB1A1ABFFA27EF /* SpectaDSL.h */, - EECB3EED6027FDABD7D3EAF6A92E046F /* SpectaDSL.m */, - 271512C3D7207E4C56D018B95B7531C0 /* SpectaTypes.h */, - 35910C380D55DE8C13B47AB42B48125D /* SpectaUtility.h */, - D91118622DEF2A715C0CD5CBA450F494 /* SpectaUtility.m */, - 7ABB6B532CF369102165144C3A21CF99 /* SPTCallSite.h */, - ADAD3ED20015D5D2190C898DE5046699 /* SPTCallSite.m */, - CB93789D9F5E4D02164A25D17E4624CB /* SPTCompiledExample.h */, - 72ADC84696EDBD1596C7756BC3CAAB31 /* SPTCompiledExample.m */, - FCB28A78CDBB39AB53186AED8F73F51A /* SPTExample.h */, - 9B83420442E5AFA48C73D177548DC6AA /* SPTExample.m */, - ED7B697D020FD4EE3EBBE0801C80017A /* SPTExampleGroup.h */, - 420D34612C84353D8EE232B5BE7A6593 /* SPTExampleGroup.m */, - 07A9FBDBCA6592F4689ED88CC150A26F /* SPTExcludeGlobalBeforeAfterEach.h */, - 6AB3944B9D9D2C15A730CE655C94C4F1 /* SPTGlobalBeforeAfterEach.h */, - F5268D4F677423311AF279E51E02717D /* SPTSharedExampleGroups.h */, - 24565F37B7304C172A8154C3A695BDCB /* SPTSharedExampleGroups.m */, - EB6E879A49A59A04DF43FA52A7B9ABC5 /* SPTSpec.h */, - ACA9E38A9ABB8CFEF3056F4E22836A79 /* SPTSpec.m */, - 7D998F787BB3D83CE6B21CA86B405B46 /* SPTTestSuite.h */, - 44FB4DDE2873BC99C9529F866BA25D18 /* SPTTestSuite.m */, - 8E69917134319E650F4C9F5269A7FDDA /* XCTest+Private.h */, - D4AAAFD96AA7809B77E24852A143E81B /* XCTestCase+Specta.h */, - 0B69B1E64147D5B5D22E6B8CAF1955AA /* XCTestCase+Specta.m */, - B3200B86C84628196CBF2170E3DFB4FF /* Support Files */, + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 57D6717C390BF483789FC8580F914321 /* Development Pods */, + 14B8B9B15ECBE87983FF987239AB2D7B /* Frameworks */, + 027DCB48289D3F0C29689BACA1CFE011 /* Pods */, + 973217C34209DC2E9E0A8E589B64F22F /* Products */, + 22E858A8EDF9F45357D9A2FA9C9BB6AC /* Targets Support Files */, ); - path = Specta; sourceTree = ""; }; - 79A548EA8CA197E1E2EE397EB587F597 /* iOS */ = { + 8B394017FD6F6B400C4494C7FE4F671C /* Analytics */ = { isa = PBXGroup; children = ( - 94DBD92946E86E0425D0A419D59595F6 /* CFNetwork.framework */, - C7D5818B281F0F5733D4BD6F5EBC605F /* Foundation.framework */, - 348E28395AC3E9B59263F66C9B316799 /* XCTest.framework */, + FB8C5DEDACBD1E194F06018B0B304B66 /* Classes */, ); - name = iOS; + path = Analytics; sourceTree = ""; }; - 7DB346D0F39D3F0E887471402A8071AB = { + 8C77F18AE1A6714DA3BBF0A4D19B1488 /* Support Files */ = { isa = PBXGroup; children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 57D6717C390BF483789FC8580F914321 /* Development Pods */, - 122DA2E5084A4393C29BE363C764795C /* Frameworks */, - 9439D2F0B30AF4FE53082605AEF81C2F /* Pods */, - 748E7CDBA176523AE9C02F0D1EE0702E /* Products */, - 22E858A8EDF9F45357D9A2FA9C9BB6AC /* Targets Support Files */, + DE49FD4AABD4A107019B3F4EA5B63705 /* Expecta.modulemap */, + 49D3D5F2FF69C3CED5780DF88DC3E174 /* Expecta.xcconfig */, + FF148C8FA20933843473FDF04069412F /* Expecta-dummy.m */, + 1245CECC763F528DF5BF4783D1AAF077 /* Expecta-prefix.pch */, + B69080495737AE3BEFEE7B773E4AFB2E /* Expecta-umbrella.h */, + AE8614B75799CCD0EDDD6498D6535E9D /* Info.plist */, ); + name = "Support Files"; + path = "../Target Support Files/Expecta"; sourceTree = ""; }; - 9439D2F0B30AF4FE53082605AEF81C2F /* Pods */ = { + 9708B55F0A9AD32D7AD1F5CE28F0B25C /* Support Files */ = { isa = PBXGroup; children = ( - EA37F5AFBB0F6348CDA957571E5C153C /* Expecta */, - 71ED81143BA7E918AC081A81B3307DAE /* Nocilla */, - 7945FFFFC4122DCC65EFCAA12AC60F1A /* Specta */, + FB9BF1EED912B40674B801A2CC3165AC /* Info.plist */, + C5FC3B4BF50F8428584749A2C0CB5BEA /* Quick.modulemap */, + 8FFC5C14D178B406CDCC5ABB96288DFE /* Quick.xcconfig */, + 08B502F4DFA0092AA38AE03F6EA2DC30 /* Quick-dummy.m */, + E340FC32941E3AC60ABF6844A6D893C1 /* Quick-prefix.pch */, + 060FB8DF34406D58D805B11FC5268002 /* Quick-umbrella.h */, ); - name = Pods; + name = "Support Files"; + path = "../Target Support Files/Quick"; sourceTree = ""; }; - A3FE460D1DFDECE6F9DF7A9D70A295D7 /* Analytics */ = { + 973217C34209DC2E9E0A8E589B64F22F /* Products */ = { isa = PBXGroup; children = ( - 73B4D7F433FF7CDE64ADEDD8F067FAAA /* Classes */, + 4F0971AB7B5486DDA15DCAB2853D8C4D /* Analytics.framework */, + E8EBD1723424303DC15EE306EDD59D8B /* Expecta.framework */, + 8D83C4F68BD3F49E1BDCFE576644AD67 /* Nimble.framework */, + 5C2D2D45D1006FCB28974207D0789233 /* Nocilla.framework */, + 0E12F1523B62FCC278AAD0154D201716 /* Pods_Analytics_Example.framework */, + 91574761547ACDE0BCA580911F626498 /* Pods_Analytics_Tests.framework */, + 1CFA5106912A3ADB3671ABEF1917A176 /* Quick.framework */, + 712D1E9265DC4A36A91A3307F6846F90 /* Specta.framework */, ); - path = Analytics; + name = Products; sourceTree = ""; }; - A4BAA28124E4EFA8FA82161D8FE5EF80 /* Internal */ = { + 996D2F85F253372DDE4A828FDACB1D75 /* Nocilla */ = { isa = PBXGroup; children = ( - 6C9F28DF4E74B9F2B225436D9EA58C2E /* NSData+SEGGZIP.h */, - 2BE70A0BE6E3AC40EF4AAC64151CCCDC /* NSData+SEGGZIP.m */, - BC0D48E47A1AC08B1418D2C75C730E90 /* SEGAnalyticsUtils.h */, - 8F06AC9B7CA83F3048A7254B9068F9C8 /* SEGAnalyticsUtils.m */, - CD2F04EA168926D3C54640D6D9BCADBD /* SEGBluetooth.h */, - 1690FDF5CCEF0ABAADCD8708780782D0 /* SEGBluetooth.m */, - 5E186BE69F61E7EDBE62801AE998DC95 /* SEGHTTPClient.h */, - 9161DD85D2FEE10004CF637D901D9070 /* SEGHTTPClient.m */, - 8476918918FBB6405D369344E4D62A04 /* SEGLocation.h */, - 268853C2956555636C6BD6081F8AAE6D /* SEGLocation.m */, - 75341CC2685C2C9FAF02EFAA538C591A /* SEGReachability.h */, - ADF0FC53693A9842E3FB69D92934BA59 /* SEGReachability.m */, - ED69209F90F0AE41E738AC5C92A87F30 /* SEGSegmentIntegration.h */, - 023328B94DE65BA07618E7046973F47E /* SEGSegmentIntegration.m */, - 6F987F4D76DF1691DEDEEE8FE2A4F406 /* SEGSegmentIntegrationFactory.h */, - F30FA578EAD204F81712C3A4EC7B1B1E /* SEGSegmentIntegrationFactory.m */, - EC37B44F5A4A8FE55A6BC47A2FEB8375 /* SEGStoreKitTracker.h */, - CBC1276AA42415EC62FFD14F92757C24 /* SEGStoreKitTracker.m */, - FA89F1F324EFFE5F63AF2C9D97775F3F /* UIViewController+SEGScreen.h */, - F48391C7669C37154448ED565B6D9233 /* UIViewController+SEGScreen.m */, + 267EAEE3511F1CC3796747F0AE3702E0 /* ASIHTTPRequestStub.h */, + AC89639F5C231815C50C761CF45400F6 /* ASIHTTPRequestStub.m */, + DB03D3928B76FAB7BF7F289A4D3842FD /* LSASIHTTPRequestAdapter.h */, + AD25ED4C8100AF4528E47E46E3CA363A /* LSASIHTTPRequestAdapter.m */, + E753EF09A2CC87267CE0182BE37A0C07 /* LSASIHTTPRequestHook.h */, + 6F5B5E8DF688DFA4F8FB19477C61D886 /* LSASIHTTPRequestHook.m */, + B082312CD9ACED5871DD3C874EA85D94 /* LSDataMatcher.h */, + C2F1F4A3850DE69BC154AC15438441E1 /* LSDataMatcher.m */, + 7D6A5C841E4BED8A50A2D11A0F9BDB91 /* LSHTTPBody.h */, + 8AED1CA68B2E081202EFCCA90601A67F /* LSHTTPClientHook.h */, + E88F1D514692710FC537D04F180EF219 /* LSHTTPClientHook.m */, + 1D2DC0FC95BD8824C9C3ED27B4FD9BA1 /* LSHTTPRequest.h */, + EB7CC9A8980AB39D509B7A494AF46C9E /* LSHTTPRequestDiff.h */, + E53862F3FA8B329202410BD6F74CC7C5 /* LSHTTPRequestDiff.m */, + 95827EF3ED51DD556F92DB3E9C7D7C4D /* LSHTTPRequestDSLRepresentation.h */, + 456CFCAD57CAFBEA6FED191C9CC64A97 /* LSHTTPRequestDSLRepresentation.m */, + 86224DF80662542C916F93AEC2C4E76A /* LSHTTPResponse.h */, + 114CF0E3D2F6B9F63D0D69A29C2151A9 /* LSHTTPStubURLProtocol.h */, + 9C8E4E803F16018B29F801CC13764163 /* LSHTTPStubURLProtocol.m */, + 02DAF7D6DAFC2A4BAAFAEC495C81AB0B /* LSMatcheable.h */, + 2E82E06036771A97E6FCA3D47E48BAEB /* LSMatcher.h */, + 12C7B44B64CC7B062161996EA05198E5 /* LSMatcher.m */, + 32AF86905BE2C3357D54CCDB8F857E6F /* LSNocilla.h */, + B06DEA8ACE152C866264DF4374FB8C2A /* LSNocilla.m */, + B7E4C5DA9F85C3F6204CE8FA0AAA9CB8 /* LSNSURLHook.h */, + 265ECB34427120EB28EBD0A248DBA5FE /* LSNSURLHook.m */, + F0C24C274A463B8C6EF4BD9077486734 /* LSNSURLSessionHook.h */, + 3B5ECEE8F4FB020B7FA66EA9F69D4A64 /* LSNSURLSessionHook.m */, + 30B91B1D82D6ECD67C89D0F8EC0626A9 /* LSRegexMatcher.h */, + E1FFB2553B1635BF0923307D5FF83B35 /* LSRegexMatcher.m */, + B443C871FB477787321EE5397C92D10D /* LSStringMatcher.h */, + 18F4DD017BE60AEA4ADEDA5C20872D6F /* LSStringMatcher.m */, + 9A8A31E21F1BFD40A5748CB28CAFC5AC /* LSStubRequest.h */, + 105F968604AEEA80E8A8CA387FB7AE7B /* LSStubRequest.m */, + 89BC0D03394C492D6CD3E67181542EE7 /* LSStubRequestDSL.h */, + C010BB4CCE1884DE4CDA7BFC394EF719 /* LSStubRequestDSL.m */, + C0BAD64A9E23C39831371DE16A5BD25A /* LSStubResponse.h */, + 20FFB9F5D45A236DB71B31A9C9CBCB7E /* LSStubResponse.m */, + A0AEDCC725E6915A7B388DD06ECE4B9C /* LSStubResponseDSL.h */, + DF611270F378AB60213E0F7A16E99ECE /* LSStubResponseDSL.m */, + B515840467AD3F730B70EC0E1EFFBE73 /* Nocilla.h */, + 7DCA87DEBA44143F649AF1DCA8EBBDD0 /* NSData+Matcheable.h */, + 96C6A928A55F4F5B1BEA891C2978785A /* NSData+Matcheable.m */, + BB5086D2C6E5CB0F4DEFEE01D97FC460 /* NSData+Nocilla.h */, + 23DB2D8DC767EEBA4B19148357514725 /* NSData+Nocilla.m */, + 625F163C7CDF82D20B08B95FCF5B8117 /* NSRegularExpression+Matcheable.h */, + C78659B0ECF32C462248FD1DE7760688 /* NSRegularExpression+Matcheable.m */, + 7D0A3048C22A1D2947DC6DB2594F895E /* NSString+Matcheable.h */, + 1914EBF23BE837662EC65745E3E01404 /* NSString+Matcheable.m */, + B2EC2AF041868B0F9F3068AB8BCB7C92 /* NSString+Nocilla.h */, + 38C164CA3099AC1E19C8C01ADB001347 /* NSString+Nocilla.m */, + 7F2372139AA9840378F82BAB97153027 /* NSURLRequest+DSL.h */, + 24890E9DEED954F6D3458EE5C8D57125 /* NSURLRequest+DSL.m */, + 14D5B16BC31CA6B154C114225552FE49 /* NSURLRequest+LSHTTPRequest.h */, + FB9ADC2B3942452EF39A11CF4436496A /* NSURLRequest+LSHTTPRequest.m */, + 5286B1E9BA39E95848B1837B671E71F2 /* Support Files */, ); - path = Internal; + path = Nocilla; sourceTree = ""; }; - B3200B86C84628196CBF2170E3DFB4FF /* Support Files */ = { + AECC39DE071E8C7EB2E5D8C929B72B4B /* Nimble */ = { isa = PBXGroup; children = ( - 43B0911FDD9E7D706E882B01CBE753A2 /* Info.plist */, - E5B49F3A2C3775B24797B39C5EDB1D12 /* Specta.modulemap */, - B3A6B6A256E104C90FB0BA3C77916DAF /* Specta.xcconfig */, - 9A2B067495F18D88E6AAE62ED9A3A952 /* Specta-dummy.m */, - E9FBDE3A5453A6D3F1AC72AAF9DEFF36 /* Specta-prefix.pch */, - 400AC27B28C940AD4C7FED5171E00B73 /* Specta-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Specta"; + 20942C1BD46FC7518B4D34A73D2F14A3 /* AdapterProtocols.swift */, + 57601F005BE7FA3198F9FF971BC39E2E /* AllPass.swift */, + 5E7FC9CD32188BAED7796EA8AB83FF22 /* AssertionDispatcher.swift */, + 413837BD1047F0AF246F1C78B5B3FEFA /* AssertionRecorder.swift */, + 7790D3209889075FAB822EF713A9DEF6 /* Async.swift */, + C353D0BB9278082FC3B8767401C4576D /* AsyncMatcherWrapper.swift */, + 2918397DC23F0537CCB042A9F208F955 /* BeAKindOf.swift */, + E3BEA76238B8BC25E96707AE8598D3D0 /* BeAnInstanceOf.swift */, + 71CC18610454E6238F99133F7583A10C /* BeCloseTo.swift */, + 9EFB2305E3684B008842305BFF997FAF /* BeEmpty.swift */, + E3CBB2CDB547B0B89E5F58E5BD961875 /* BeginWith.swift */, + C0DA1D35129D9CB19816D163F4BD4260 /* BeGreaterThan.swift */, + 74A6812D2BE3D5D55A44D1CF462C70A6 /* BeGreaterThanOrEqualTo.swift */, + 92F002E417B53C1BA0E8EF0ED35CCD2D /* BeIdenticalTo.swift */, + 653676CFF689B20E529DCB0A9CBE17D8 /* BeLessThan.swift */, + 3E212A4A0ACAC90DA6A55722A5E9275D /* BeLessThanOrEqual.swift */, + 9D227FC1D579FBE62B0783F2C00E2DC8 /* BeLogical.swift */, + 75906B0363E848ACBAF7C5F354E7EB7B /* BeNil.swift */, + 9E6BF6114BA20AEC185675B413D59164 /* BeVoid.swift */, + 701AA68E557838D583C4E733706F3202 /* Contain.swift */, + 47334D45ED966F74171E4053E73BAFF6 /* CurrentTestCaseTracker.h */, + 4531AEE249A738B0FC017C462E265764 /* DSL.h */, + EF32B53E0F8F4D700E01464220F57CE9 /* DSL.m */, + AF46D4592ECF79E89F0E0140F3465C82 /* DSL.swift */, + 593640F3441D865BCED45ECDFC321321 /* DSL+Wait.swift */, + 4C817B2B8D627E656A899391AB91411E /* EndWith.swift */, + 921F59A9554D1E890C562C801BC3CAF8 /* Equal.swift */, + 0AD7AF2B20205CD25259A755AF015691 /* Errors.swift */, + 461F7D6D654A4B5F9FF8B83B7A191551 /* Expectation.swift */, + B4104713F1F4776A7F96D91B5E9D0B39 /* Expression.swift */, + ADFF7B2F29272E7AB685B38FB0788096 /* FailureMessage.swift */, + B3AAE7410FABF2409B8FD5704469BEDF /* Functional.swift */, + 53C3A3CC1FFABBF2E135BE3CF120425D /* HaveCount.swift */, + ABBD28AFD0E2CE4496A9692E2F0708EA /* Match.swift */, + FBC378557D24589C0F07C634FE2E2295 /* MatcherFunc.swift */, + 3471BC85ED4EC70F44F108F2EFF64000 /* MatcherProtocols.swift */, + 8D0B5EDDC5CB70D3A5339424C9F3E743 /* MatchError.swift */, + C45CA8C3B1F21260FB9C43B3C22D2170 /* Nimble.h */, + C8D4FAFBB2941D65FFD1D889DC556C12 /* NimbleEnvironment.swift */, + 7657027C77FB7303A5DAAE2542E58832 /* NimbleXCTestHandler.swift */, + 435516180AB54D4DD39F1C23DCE071AA /* NMBExceptionCapture.h */, + F076C079C811F5BE87E4397A5292C9D2 /* NMBExceptionCapture.m */, + BA7215B60955144537FC85156769B891 /* NMBExpectation.swift */, + C015E4874F28B7BE21C787ADCDD3EA16 /* NMBObjCMatcher.swift */, + 7FDD92626E53F880CDD4BABB4F985215 /* NMBStringify.h */, + 9071949B875725BA59482FED488AEA07 /* NMBStringify.m */, + C39EDD2CD1E05944FB926C0D54C63215 /* PostNotification.swift */, + 96F0B729EA46F41106481339E7C239F4 /* RaisesException.swift */, + 91D8F80C0D9017B70F244C31C2647A13 /* SatisfyAnyOf.swift */, + FBC01180D5F2225E5FB7C46CE5CB7662 /* SourceLocation.swift */, + 423373EB119D1453E5DF217A09282844 /* Stringers.swift */, + 8A58AE6AC251C123A93C2B327D9291CA /* ThrowError.swift */, + BBDD84072ABBD34E782658F5946531FF /* XCTestObservationCenter+Register.m */, + 6B0958CF535CC9A097D83A4F9C2547BD /* Support Files */, + ); + path = Nimble; sourceTree = ""; }; - EA37F5AFBB0F6348CDA957571E5C153C /* Expecta */ = { + CE3B93283CCF7029FCA3399BA1BA2A2D /* Integrations */ = { isa = PBXGroup; children = ( - 07F6FEB6A8B5B3C02B1F7AC0B1416F42 /* EXPBlockDefinedMatcher.h */, - D170E667AE51D1E486429CF9EB14F8E2 /* EXPBlockDefinedMatcher.m */, - 1E09F4CDEE2C1AF48406C4B1D274F21A /* EXPDefines.h */, - 7E4C7BB766C918FEA55596360DD0B3BB /* EXPDoubleTuple.h */, - 180E448B9AF17FE7D45A0668988629FB /* EXPDoubleTuple.m */, - 7D31811A6DA375FFEB0CC414383588EA /* Expecta.h */, - DCF1F5F3DBA0F14ACBD55191FE7C28E6 /* ExpectaObject.h */, - A4480B33930A9075D36FFA16677F5113 /* ExpectaObject.m */, - EAA0B0D8410A748100182967B6BD8E5D /* ExpectaSupport.h */, - B640F7EF833538A7567F2876134FEC3C /* ExpectaSupport.m */, - 4CC2B2F237911FB7A48EA0A688CE9DFD /* EXPExpect.h */, - 8E9DB94FDFB0EDD4A7B005776522AD8F /* EXPExpect.m */, - 4A77024A1E8F3C2079DEEB9C333F7C62 /* EXPFloatTuple.h */, - 1DB4CCAC4A118DC45CB2F562BDE1E5AC /* EXPFloatTuple.m */, - FEEF1CCD4245A7A1DD5741CB920D2D0D /* EXPMatcher.h */, - 81BC3CC72028638F87B514D1A7853EEB /* EXPMatcherHelpers.h */, - DECB1E291A2275FD038BDF383541831A /* EXPMatcherHelpers.m */, - A92A84FCFC4ABCF6BE29001116807297 /* EXPMatchers.h */, - 19326B1AD9863BA4843E7602B723451C /* EXPMatchers+beCloseTo.h */, - 10FB2870274E6A883E945515401DCA07 /* EXPMatchers+beCloseTo.m */, - 6CA63BF80025A3D25CD928A36136F551 /* EXPMatchers+beFalsy.h */, - 7B15D02A719ABC18B697A175F171D199 /* EXPMatchers+beFalsy.m */, - 9DC968F5E8CEE0A8BDD77E1EB542F982 /* EXPMatchers+beginWith.h */, - E5FFF41A9A24C033FCC946202869A5C9 /* EXPMatchers+beginWith.m */, - 52269A5CEFF209E97F66A41DB2300E1C /* EXPMatchers+beGreaterThan.h */, - BD444BE7AACE3345E729ED0A7EE2E468 /* EXPMatchers+beGreaterThan.m */, - A32C700EBED12A89A370905134C69E44 /* EXPMatchers+beGreaterThanOrEqualTo.h */, - 52DDA6BC21D08377214BCAF012289DF5 /* EXPMatchers+beGreaterThanOrEqualTo.m */, - 65032861CC8655A9899472EF027123E7 /* EXPMatchers+beIdenticalTo.h */, - 54956A0063A54B236DD3CB15A478F607 /* EXPMatchers+beIdenticalTo.m */, - 323E13462D209A8AC526A27D9D767E45 /* EXPMatchers+beInstanceOf.h */, - C22F0A3F7D136F37CBC921C82913151E /* EXPMatchers+beInstanceOf.m */, - C65D93644F144030CDCAB432512075EB /* EXPMatchers+beInTheRangeOf.h */, - ADD0C2A882D7119AB07E313F15E6308B /* EXPMatchers+beInTheRangeOf.m */, - BCC2B009D60DA44006AF374F9AA779D5 /* EXPMatchers+beKindOf.h */, - 621F843A137B3E3899CF96CF46CF5A5A /* EXPMatchers+beKindOf.m */, - F4E609243D8AB1B2E70A8F2C5E9F7186 /* EXPMatchers+beLessThan.h */, - 90FBD137D0DEDCABC737FF2FDFBEFCBA /* EXPMatchers+beLessThan.m */, - 119280D2BDDC2135EAF4BB7B955E8FAB /* EXPMatchers+beLessThanOrEqualTo.h */, - 63AB1B8A34F9D4B45393CE44CE285382 /* EXPMatchers+beLessThanOrEqualTo.m */, - 7FC38653C71A4252F1FD159BB4D1EE4F /* EXPMatchers+beNil.h */, - C2DEF35243EE7B74E0BADE527AC8E6B0 /* EXPMatchers+beNil.m */, - E0DAE6457BDB82C50109C4667531F696 /* EXPMatchers+beSubclassOf.h */, - B6E1163F011E3D444A62D529DD550108 /* EXPMatchers+beSubclassOf.m */, - 8BA4D4B8C6E5AF50AB609E295A01DAE5 /* EXPMatchers+beSupersetOf.h */, - 35D5D72603A85EDED9BC68C849A71677 /* EXPMatchers+beSupersetOf.m */, - 32EC638BEB57AED9169DE0100EF22F2D /* EXPMatchers+beTruthy.h */, - 035E9D6E0275BCAFD58AF47623DB22DF /* EXPMatchers+beTruthy.m */, - 5D1397952079E341B332801205983771 /* EXPMatchers+conformTo.h */, - 9C86E1F5E7B8BE2BA68A3B6416E532D1 /* EXPMatchers+conformTo.m */, - 5B75167FE543EDAB22C03FFA2C43EB27 /* EXPMatchers+contain.h */, - 426DA9ED9B302E36BAC4BC16F6366C22 /* EXPMatchers+contain.m */, - DA87C31144BB044ECD47FB6C44ACB2CC /* EXPMatchers+endWith.h */, - 81D50D817643B34BE0A6793B8A38C131 /* EXPMatchers+endWith.m */, - 367CD2B562A7D4E32D8B08A63DA602ED /* EXPMatchers+equal.h */, - 83A007F3F3B0E1BA3EA6F01CF4311AA2 /* EXPMatchers+equal.m */, - 00F102F1E58C3474E3A809EE1E5B5655 /* EXPMatchers+haveCountOf.h */, - 1B1D2940D8C1436462D7D6D8912D3797 /* EXPMatchers+haveCountOf.m */, - 56F8D051211772210563049DD3A251E8 /* EXPMatchers+match.h */, - F8843B0B76B48BC52F8BE7AD151C48C7 /* EXPMatchers+match.m */, - 8E8EFD397EC324185FA95501C7A096F7 /* EXPMatchers+postNotification.h */, - AE5E4907A3648032A5E52DCB25AF70A2 /* EXPMatchers+postNotification.m */, - 129E0D30DA701F5E349DEA97F20661CA /* EXPMatchers+raise.h */, - 0E0684A9A2D760E042578EB213B228AB /* EXPMatchers+raise.m */, - 43D97130E4590D9EBE6FDAE4AFCA402B /* EXPMatchers+raiseWithReason.h */, - 8C4F938E8FE97C252FA207D0DD372B65 /* EXPMatchers+raiseWithReason.m */, - 48E6F388DB4C94996CFDB96CF560CBF8 /* EXPMatchers+respondTo.h */, - 43A15CD157816286E186F1211BE7202F /* EXPMatchers+respondTo.m */, - 756CD0982961FCE099DA103BA646FD59 /* EXPUnsupportedObject.h */, - 00407E6E2F0E736DD106AAD3EDD009C6 /* EXPUnsupportedObject.m */, - A4DE49C43591ED9234166839F5158A27 /* NSObject+Expecta.h */, - F0C23C26D420E80AD34DF7B0996B25E8 /* NSValue+Expecta.h */, - DC8C0425C03478A644814F28209B4B59 /* NSValue+Expecta.m */, - 38FA5E5388C2478DF05AE925F651E6C2 /* Support Files */, + 98F3ABC87F48FE925DFD0E6629964642 /* SEGAliasPayload.h */, + F15617FB2EA6B0D3E6AA7F1CBE688294 /* SEGAliasPayload.m */, + 8342AAA8E455E45852BE14B0915B189B /* SEGGroupPayload.h */, + F79A1F4B86843BE05E9553280C0D0908 /* SEGGroupPayload.m */, + 729DD38A9798E954AD5C3FED60E771B3 /* SEGIdentifyPayload.h */, + 2B59E1DEE82270C48619A219A4DA2B1A /* SEGIdentifyPayload.m */, + 59243AC7F66C66FDAFD71CFCE3B62D1F /* SEGIntegration.h */, + 9E981F48942A82CFE125FEF11E67DF8F /* SEGIntegrationFactory.h */, + ACE4DF5603AEB4DA6E297DBF0AD1A00A /* SEGPayload.h */, + A87731649E0C0AAAA19C527546800EDF /* SEGPayload.m */, + 991ABB1D6ABE916A1231AD8E5717A16C /* SEGScreenPayload.h */, + E6014948A26F66395CE4EF10F629335B /* SEGScreenPayload.m */, + A093D5E5002BBA2354397BD1F6AC1FF1 /* SEGTrackPayload.h */, + 32159F0B2293399896F70ED6E3E8538F /* SEGTrackPayload.m */, ); - path = Expecta; + path = Integrations; sourceTree = ""; }; F15F4075F5E3AC70518F88DEF974D7EE /* Pods-Analytics_Example */ = { @@ -953,23 +1346,77 @@ path = "Target Support Files/Pods-Analytics_Example"; sourceTree = ""; }; - F9E04FF06D5A3859C051A05DAACB955D /* Support Files */ = { + FB8C5DEDACBD1E194F06018B0B304B66 /* Classes */ = { isa = PBXGroup; children = ( - F7BCD1C92A55911C16FB9E6D60078BDE /* Info.plist */, - 15C91B211733F2117793BF2F2343BB56 /* Nocilla.modulemap */, - 8B1738538FDE483D368712F0D608FC3D /* Nocilla.xcconfig */, - 287BFBC3E9767165D9BCD7FD0BAD33D1 /* Nocilla-dummy.m */, - 2076CC034F6103DCF45A469B1E548E27 /* Nocilla-prefix.pch */, - 76010B681AA03D877FD5A52AF8E82C9D /* Nocilla-umbrella.h */, + C1CFD4C1C9D4C8311143A54967F15312 /* SEGAnalytics.h */, + C8A0D75C33BE150DA62CD8DB1B2E4941 /* SEGAnalytics.m */, + 1F8181E9EE28A897D27AD82D2C781788 /* Crypto */, + CE3B93283CCF7029FCA3399BA1BA2A2D /* Integrations */, + 3C8BD3BF9C1CDDFC10B436983B46D861 /* Internal */, ); - name = "Support Files"; - path = "../Target Support Files/Nocilla"; + path = Classes; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 065618DD241AFD3C489E2924123E73B5 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 18E82D977DACD4DEF29F1426EE561B52 /* Specta-umbrella.h in Headers */, + FCE402CEF7D082F75FAFBD3722E1E719 /* Specta.h in Headers */, + BDF1961B40458A617408DC4A35A741BC /* SpectaDSL.h in Headers */, + CC86E35B9B3AFAB5467071343159C481 /* SpectaTypes.h in Headers */, + 921F295475B64DFBC83B3A6423550C68 /* SpectaUtility.h in Headers */, + B2FCB65574A9C12D8A8F0BC234F683F5 /* SPTCallSite.h in Headers */, + BFF579B15294AB67A44A1AD7A1FC6A57 /* SPTCompiledExample.h in Headers */, + 32C61C48E80612D02D082422DDB5EA24 /* SPTExample.h in Headers */, + 4ED290051222328B4E32D7C2C876D946 /* SPTExampleGroup.h in Headers */, + 9712EBC74FB89B90F019FF96D310D900 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */, + 71910E2FE30222826C7001F2496AC3F0 /* SPTGlobalBeforeAfterEach.h in Headers */, + E8A3C3D3854F1DFF45FBD4E2456EE8ED /* SPTSharedExampleGroups.h in Headers */, + 4BBCA9F2EE21158ABB4CD25E2A0CF76D /* SPTSpec.h in Headers */, + F235E6557A1DD637E02F56710D84E903 /* SPTTestSuite.h in Headers */, + 006508633C125AD3FD0F3C001BA2682F /* XCTest+Private.h in Headers */, + ED3CFA31315EC7117270A30484D3C4B6 /* XCTestCase+Specta.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 135C7A53CD705F384192F168271E6B92 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 38CDBEB259165D0AA8D3F1F5E0B53EB4 /* Analytics-umbrella.h in Headers */, + AAB0772656464A5B3A9FD4E1A7BFE214 /* NSData+SEGGZIP.h in Headers */, + 7AF4971E520C7EB71AE5D99ACB88E47A /* SEGAES256Crypto.h in Headers */, + 122C9B689949F35D5A262CC83DB61B74 /* SEGAliasPayload.h in Headers */, + DB6D2821AB7CBFD6172F5B056B433817 /* SEGAnalytics.h in Headers */, + 2474E0A98C87052E42D94530502284FC /* SEGAnalyticsUtils.h in Headers */, + FFE7215A5741457A29C202637D96182E /* SEGBluetooth.h in Headers */, + 2CF2E077B4AF5A7FAB68FC48CEBB67B3 /* SEGCrypto.h in Headers */, + 809B6E1B7AE17AA0960F34C7E7B6FA7F /* SEGFileStorage.h in Headers */, + F959A6CF53615062E807298586D58C7E /* SEGGroupPayload.h in Headers */, + 8E791C68E33E99B1FA91193235900342 /* SEGHTTPClient.h in Headers */, + 5E5D4CD1C177D1FFCE5B269A7F9A716B /* SEGIdentifyPayload.h in Headers */, + A59C249CFA9EECF11074C606BF9FFA4F /* SEGIntegration.h in Headers */, + E42A9529A3E6A7D082F9149A86501FB2 /* SEGIntegrationFactory.h in Headers */, + 8DE9336C9EF7F96A60A2A024B5A9B361 /* SEGLocation.h in Headers */, + D4728557E77D960CBA943631C1F39536 /* SEGPayload.h in Headers */, + 09A544025DBC53E36DB6C6520AF15C27 /* SEGReachability.h in Headers */, + 96D47B4C32B8255C4A03DA84E0D112A2 /* SEGScreenPayload.h in Headers */, + A7F5843694383F554EFE98D6F6E3BACA /* SEGSegmentIntegration.h in Headers */, + 8B7B17CE41673C814845B679DC0A418E /* SEGSegmentIntegrationFactory.h in Headers */, + 17ABB0C0726665DE8BE996ABCB9B391D /* SEGStorage.h in Headers */, + 0EFC427122BCD44D2DE6F6335B607270 /* SEGStoreKitTracker.h in Headers */, + CDC157D615A54F3B70D3AC2CD0D03440 /* SEGTrackPayload.h in Headers */, + A8149296D9E3F975F378FD935E16623B /* SEGUserDefaultsStorage.h in Headers */, + 5216D66808E07F68DE2BC8AB534DB6EC /* SEGUtils.h in Headers */, + 032FD07D6D72F84DC79815ADE7D5F607 /* UIViewController+SEGScreen.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 2892402090ED2D6AF2641AD4B3C96F65 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -1016,14 +1463,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 49D6AD27A271D836CD29B7C2023D8E11 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 2D650B8931887E7AEAF614ED80FC8DE0 /* Pods-Analytics_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 966427BD32145AD621F074D1691342B8 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -1071,59 +1510,62 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - A869C0311BAD1A4771CBB4C4109DB47F /* Headers */ = { + B4F57F74FF1879A16A62F5DEA61C99A0 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 18719A1DBF05C5C86552143BA48D9D8C /* Pods-Analytics_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C9CAD1C0891D5863FF8627A68CC68ECA /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - B479AE437D9B71C51CB95895BCCA7373 /* Specta-umbrella.h in Headers */, - 01304C20BC2C7E959D452DF9D0FAD0B6 /* Specta.h in Headers */, - 4C33130DFD75412F3E280502FBAA0945 /* SpectaDSL.h in Headers */, - BC5155194259A004C9DD605674B023A9 /* SpectaTypes.h in Headers */, - AFFF59A6580376AFB69A1B0877FEAE98 /* SpectaUtility.h in Headers */, - F3B1762AAD01333FFBF43A716D325A59 /* SPTCallSite.h in Headers */, - 94EB8FF688C1E8F952B8C167F3F2B0B4 /* SPTCompiledExample.h in Headers */, - 72D1D73620A94FA53E1B32472F3E00C2 /* SPTExample.h in Headers */, - A10DD31CE801172ADE6CADAFC3BEF9CE /* SPTExampleGroup.h in Headers */, - 5879A13A87CC9D9BEDE5351704BDA541 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */, - D8D1615374BCBF30AC4B2572E4EA0DE0 /* SPTGlobalBeforeAfterEach.h in Headers */, - 63402D899FE759DBD6505CFF19BFD7E3 /* SPTSharedExampleGroups.h in Headers */, - 68648F40FB98A5F4EF4AD187473D1F3D /* SPTSpec.h in Headers */, - 3A82F4E68E8D3FF7D414E6073346C049 /* SPTTestSuite.h in Headers */, - 1D70460708A86CB706BFAD0E12C41EE2 /* XCTest+Private.h in Headers */, - 386B6C6533361BFE379152A810606851 /* XCTestCase+Specta.h in Headers */, + 866830C585216CA87A15D078A28C410A /* CurrentTestCaseTracker.h in Headers */, + EB9C4D2E388805F9157AA356D4A857D5 /* DSL.h in Headers */, + B47F2B1F7F5FEC4CE62F09832392E842 /* Nimble-umbrella.h in Headers */, + A1F69DD3961B60955EFD28E2BDF446E8 /* Nimble.h in Headers */, + 192C4EF47D90895E51E5597323364A3C /* NMBExceptionCapture.h in Headers */, + 0A9A1B8CB1963791ADDF67361E687CAA /* NMBStringify.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - E78E4951543980DDFB68720B1DBE6B67 /* Headers */ = { + DEA2C90C81BC0BFE9A24B4192CA6EBB2 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - E25C82C797039CE89D6F6EF2BBDA1DB1 /* Analytics-umbrella.h in Headers */, - 2DA2EC9D7F9B3A8BC5271F9C9F161AF4 /* NSData+SEGGZIP.h in Headers */, - C1774B2978C825F944AB75401E099018 /* SEGAliasPayload.h in Headers */, - 45E572D31967530C97D396B86E4A8749 /* SEGAnalytics.h in Headers */, - 1CDB65207041EBE85AC82F1C097F88E9 /* SEGAnalyticsUtils.h in Headers */, - FFF7266E53DC64053C3B19DAF238353F /* SEGBluetooth.h in Headers */, - 0AD434F1EE4803CB93B7298DF5704EA8 /* SEGGroupPayload.h in Headers */, - 5B4AC8A357D5257AC7361DFCD16EFC20 /* SEGHTTPClient.h in Headers */, - 63A37D6623A54DB47C2B12D08E02264B /* SEGIdentifyPayload.h in Headers */, - 2A1140DE1AF9BC590ABEC7D33C4AF8D0 /* SEGIntegration.h in Headers */, - 5EE7C2DDFD91350494A3B17E9C8CCAFC /* SEGIntegrationFactory.h in Headers */, - D85A177AB6B05E3FA5D83B4EB90805EE /* SEGLocation.h in Headers */, - 19F252BCEC49E582AC0E1D9D533E47E2 /* SEGPayload.h in Headers */, - 0CEC9AE7F285514B6F72CB302B63DD4F /* SEGReachability.h in Headers */, - 72E2C941E1D6B2686F50ED36658F1BA3 /* SEGScreenPayload.h in Headers */, - 913A727BA58EBFEBCA86115EF0123003 /* SEGSegmentIntegration.h in Headers */, - 2D9B75878287C3650BDDB3C06661E7C8 /* SEGSegmentIntegrationFactory.h in Headers */, - 8897AD5D3DBA96C3D02EC51FC6C4F71F /* SEGStoreKitTracker.h in Headers */, - D0C4EA5695549C1A7A0C509AADDC530E /* SEGTrackPayload.h in Headers */, - 7DE4B7B1DA9C7FF9D2B1B4615A8EB759 /* UIViewController+SEGScreen.h in Headers */, + 343DCD2CC3A44B2203D0B5674A405325 /* NSString+QCKSelectorName.h in Headers */, + 9D69D997DE4521270C2BDA269C24FEC1 /* QCKDSL.h in Headers */, + 45E2862FC41D4A08D1C6CEE754FF6C46 /* Quick-umbrella.h in Headers */, + 640E4342A413F80BA8632C35ABB9F7D9 /* Quick.h in Headers */, + 4D5CE76C290C8E662653C693952B6CCF /* QuickConfiguration.h in Headers */, + 32E7D82A0FFDB8738F1FCB56195A00C4 /* QuickSpec.h in Headers */, + 06B645C9138F6C65427EB68102A8DF09 /* World+DSL.h in Headers */, + C757885959E0620D2147D47A653269A7 /* World.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 0BA32BABA32E07359B1C454B39189090 /* Quick */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3E7391308AC186CBD42904FE82CDFDDD /* Build configuration list for PBXNativeTarget "Quick" */; + buildPhases = ( + 7A199F557DB58A0FBF7715A52C398D35 /* Sources */, + 9FA6302C023A077AB73781EAFCE7E60C /* Frameworks */, + DEA2C90C81BC0BFE9A24B4192CA6EBB2 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Quick; + productName = Quick; + productReference = 1CFA5106912A3ADB3671ABEF1917A176 /* Quick.framework */; + productType = "com.apple.product-type.framework"; + }; 0D888F29E05E498D0CD91A51D28599A5 /* Expecta */ = { isa = PBXNativeTarget; buildConfigurationList = DC61702A42844E4ED762A73E8893436B /* Build configuration list for PBXNativeTarget "Expecta" */; @@ -1138,7 +1580,7 @@ ); name = Expecta; productName = Expecta; - productReference = A13FC9A2076E24814E723DDDDA085E98 /* Expecta.framework */; + productReference = E8EBD1723424303DC15EE306EDD59D8B /* Expecta.framework */; productType = "com.apple.product-type.framework"; }; 13823FF75E73B2DC15B00D58684E9EA8 /* Pods-Analytics_Example */ = { @@ -1156,7 +1598,7 @@ ); name = "Pods-Analytics_Example"; productName = "Pods-Analytics_Example"; - productReference = 4B8950BFD3FA25B2C9EB3A08FF93CE3E /* Pods_Analytics_Example.framework */; + productReference = 0E12F1523B62FCC278AAD0154D201716 /* Pods_Analytics_Example.framework */; productType = "com.apple.product-type.framework"; }; 393E0E1A41299C44C63DBB766A243010 /* Nocilla */ = { @@ -1173,33 +1615,33 @@ ); name = Nocilla; productName = Nocilla; - productReference = 849F819B79FB3963BEA06E1DA0311A0E /* Nocilla.framework */; + productReference = 5C2D2D45D1006FCB28974207D0789233 /* Nocilla.framework */; productType = "com.apple.product-type.framework"; }; - 481403DCFE420996D2A734931FA92D7F /* Analytics */ = { + 40FF1C77152F384080A1A02E90A36DA9 /* Nimble */ = { isa = PBXNativeTarget; - buildConfigurationList = 831D24DD24BCA8DDFDF1F7716DFC19EA /* Build configuration list for PBXNativeTarget "Analytics" */; + buildConfigurationList = A4964CB88DC1058EA701972205BBB4A0 /* Build configuration list for PBXNativeTarget "Nimble" */; buildPhases = ( - 64398E3BA262592C10F21DD0046C305C /* Sources */, - B6094D4FDD15EED485201D6DE465AFF5 /* Frameworks */, - E78E4951543980DDFB68720B1DBE6B67 /* Headers */, + 48AE5F6A6BC1CC0328D35EC2621B440C /* Sources */, + 050B68EC615B591FDA5D0B855E697228 /* Frameworks */, + C9CAD1C0891D5863FF8627A68CC68ECA /* Headers */, ); buildRules = ( ); dependencies = ( ); - name = Analytics; - productName = Analytics; - productReference = DE5E8458E16DE72BEC69B0D4B01C6153 /* Analytics.framework */; + name = Nimble; + productName = Nimble; + productReference = 8D83C4F68BD3F49E1BDCFE576644AD67 /* Nimble.framework */; productType = "com.apple.product-type.framework"; }; - 9D2DFA866E52BD6EF797813C646A8B61 /* Specta */ = { + 55831572B86CFCB0AD3AEC393B4368A4 /* Specta */ = { isa = PBXNativeTarget; - buildConfigurationList = FCC0E86E1005B36DF47BE75188CE88E2 /* Build configuration list for PBXNativeTarget "Specta" */; + buildConfigurationList = 2BB6A8198CD73E23F9A13D4D0AA88952 /* Build configuration list for PBXNativeTarget "Specta" */; buildPhases = ( - 011544CB4288ADBECAD8C31597B0EDF3 /* Sources */, - 5411DB9B18977D922142BB1F6696F0FF /* Frameworks */, - A869C0311BAD1A4771CBB4C4109DB47F /* Headers */, + 0060EC6D26560FB65917ADFA85EED426 /* Sources */, + 692ACE21B0168D45118F776DA7F23CED /* Frameworks */, + 065618DD241AFD3C489E2924123E73B5 /* Headers */, ); buildRules = ( ); @@ -1207,27 +1649,46 @@ ); name = Specta; productName = Specta; - productReference = 0A10D5AEA0D81AFFED07D5B506817936 /* Specta.framework */; + productReference = 712D1E9265DC4A36A91A3307F6846F90 /* Specta.framework */; productType = "com.apple.product-type.framework"; }; - A3CE01F8D28CC8D9466EFB33EA2B5A7C /* Pods-Analytics_Tests */ = { + 895208DAB4F61395FEBC8F81BD05D220 /* Pods-Analytics_Tests */ = { isa = PBXNativeTarget; - buildConfigurationList = A574B874F8D65DB91F6033CCFA5D3C6C /* Build configuration list for PBXNativeTarget "Pods-Analytics_Tests" */; + buildConfigurationList = 9CE96535EA651BD66A57AE49EEE9C35D /* Build configuration list for PBXNativeTarget "Pods-Analytics_Tests" */; buildPhases = ( - 223BC6C4CCDB4AC9B73811B63839593D /* Sources */, - 295390A1C2CFD9AC4C9337AB4E32FD5A /* Frameworks */, - 49D6AD27A271D836CD29B7C2023D8E11 /* Headers */, + 7F7CC3DF85B156FB102D434B4BB1E999 /* Sources */, + BF79934718E630DF9D48B1166066F524 /* Frameworks */, + B4F57F74FF1879A16A62F5DEA61C99A0 /* Headers */, ); buildRules = ( ); dependencies = ( - 81E0BDD9C9AC4C6BAB42C9BF6A762A94 /* PBXTargetDependency */, - 952E0011FA05DC4984128DAABDCD00F7 /* PBXTargetDependency */, - D4D73CB32779359270A419C1D08A7066 /* PBXTargetDependency */, + 1422E1E0F11AE7F038CFAB3F22D3B838 /* PBXTargetDependency */, + 54D47D6F353C0DBBE0F445940D71883B /* PBXTargetDependency */, + 2A0C47994E4287FF88EF40B656F5B34B /* PBXTargetDependency */, + 567D10B830E2CFA12F9BC6561D75F330 /* PBXTargetDependency */, + 407820ADC3170295BED9224F19DE8112 /* PBXTargetDependency */, ); name = "Pods-Analytics_Tests"; productName = "Pods-Analytics_Tests"; - productReference = 3291A964D3603A2B35E61C43E1D54DA2 /* Pods_Analytics_Tests.framework */; + productReference = 91574761547ACDE0BCA580911F626498 /* Pods_Analytics_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + 8FFD3B7BE7C033686575C3BB53822FF0 /* Analytics */ = { + isa = PBXNativeTarget; + buildConfigurationList = 60C2057A59E81A7596AE36B0B15E33C8 /* Build configuration list for PBXNativeTarget "Analytics" */; + buildPhases = ( + FEA54C01B34B75BC06559B7EB97671E0 /* Sources */, + D2CFA990CB91A856AE467D0FD8EFB508 /* Frameworks */, + 135C7A53CD705F384192F168271E6B92 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Analytics; + productName = Analytics; + productReference = 4F0971AB7B5486DDA15DCAB2853D8C4D /* Analytics.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -1247,36 +1708,38 @@ en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 748E7CDBA176523AE9C02F0D1EE0702E /* Products */; + productRefGroup = 973217C34209DC2E9E0A8E589B64F22F /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 481403DCFE420996D2A734931FA92D7F /* Analytics */, + 8FFD3B7BE7C033686575C3BB53822FF0 /* Analytics */, 0D888F29E05E498D0CD91A51D28599A5 /* Expecta */, + 40FF1C77152F384080A1A02E90A36DA9 /* Nimble */, 393E0E1A41299C44C63DBB766A243010 /* Nocilla */, 13823FF75E73B2DC15B00D58684E9EA8 /* Pods-Analytics_Example */, - A3CE01F8D28CC8D9466EFB33EA2B5A7C /* Pods-Analytics_Tests */, - 9D2DFA866E52BD6EF797813C646A8B61 /* Specta */, + 895208DAB4F61395FEBC8F81BD05D220 /* Pods-Analytics_Tests */, + 0BA32BABA32E07359B1C454B39189090 /* Quick */, + 55831572B86CFCB0AD3AEC393B4368A4 /* Specta */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ - 011544CB4288ADBECAD8C31597B0EDF3 /* Sources */ = { + 0060EC6D26560FB65917ADFA85EED426 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 8F8D4BABD6C928CFEE32CDA5CC97188A /* Specta-dummy.m in Sources */, - BDE2564FBEF154A959111B0B91A34ED4 /* SpectaDSL.m in Sources */, - 95F0E3816CCB73CCF8BFAC82C1EDE91B /* SpectaUtility.m in Sources */, - F3BB4311FA83CDDD5031A97F03A9E68A /* SPTCallSite.m in Sources */, - A968114B5888EE6CF93F30331B51FF89 /* SPTCompiledExample.m in Sources */, - 41953DAA65006204A4869C536A6B0F2A /* SPTExample.m in Sources */, - 05FC69F940FABFD8407DB2C7C300EEE4 /* SPTExampleGroup.m in Sources */, - 7AFCEE99C2A708CAA64C621B4E280087 /* SPTSharedExampleGroups.m in Sources */, - A7321D75FDD5D9685F18845E84A206F4 /* SPTSpec.m in Sources */, - 52E493AC179B1F738F42276D7B57E16B /* SPTTestSuite.m in Sources */, - 27FEF9B885DDC6AF516D3816141BF58B /* XCTestCase+Specta.m in Sources */, + E92063822C519B6098DBE0B559604961 /* Specta-dummy.m in Sources */, + 618E805C3DA8865A82C6BAFFFF6B1668 /* SpectaDSL.m in Sources */, + 90EBEA480B7F7E51B540006A8D06D0D1 /* SpectaUtility.m in Sources */, + 07511C83FBD8486E341EA953D511B5F1 /* SPTCallSite.m in Sources */, + B257922BBDD8D28858679B51120F7E72 /* SPTCompiledExample.m in Sources */, + DFE33FCF9FCD097DB56DD8B5BDC0615B /* SPTExample.m in Sources */, + 6D529590AF7F946D703BBD8DAB2BB712 /* SPTExampleGroup.m in Sources */, + 23609D781FEA74F78234E5B31AE644CA /* SPTSharedExampleGroups.m in Sources */, + 7D2820C605EF1AB6E7A7AFE9332F467A /* SPTSpec.m in Sources */, + 01751FAAFA5A389E33627F976BBCCE93 /* SPTTestSuite.m in Sources */, + 2A35910DF89CBA928F404970143F8E7A /* XCTestCase+Specta.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1288,11 +1751,59 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 223BC6C4CCDB4AC9B73811B63839593D /* Sources */ = { + 48AE5F6A6BC1CC0328D35EC2621B440C /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - BF3CB6A6F9B86A8723208C7A2418BB10 /* Pods-Analytics_Tests-dummy.m in Sources */, + E008736F5514F44C0E07DD052A7B6D67 /* AdapterProtocols.swift in Sources */, + 5A4AC5619A05687E5EB0A4BBDC8AF154 /* AllPass.swift in Sources */, + 35E0EBA7AA92E190AB5B4ACFCF0F61C4 /* AssertionDispatcher.swift in Sources */, + BBF88FA3F28C0906DBB78314A8E50A01 /* AssertionRecorder.swift in Sources */, + 92BC58B0158D9DFE7D59C341A85D4359 /* Async.swift in Sources */, + 24AE47A6560D6EBB0AFF78BAAAB15E0F /* AsyncMatcherWrapper.swift in Sources */, + 7F8AC53F92F56C3319DD733CAFB9DD58 /* BeAKindOf.swift in Sources */, + E8DE03684C234604E472C27ECD8F6B70 /* BeAnInstanceOf.swift in Sources */, + 602B5CEB21CA60AFA67B508D13282E94 /* BeCloseTo.swift in Sources */, + FA145DCE313D583C0431D178FB32C96F /* BeEmpty.swift in Sources */, + BA7362188C5D17958A5080EE299A90FC /* BeginWith.swift in Sources */, + 3D7AF86E9032C99357D2ED046461874F /* BeGreaterThan.swift in Sources */, + 3C918E40C04067FAF57B447C0BC52B04 /* BeGreaterThanOrEqualTo.swift in Sources */, + FF0366DFC597745127A6D92AB83F0D60 /* BeIdenticalTo.swift in Sources */, + 59A4C06B57864AA9BBFAE0B762DAE871 /* BeLessThan.swift in Sources */, + 39007AD3711A35BCFA1D853E7AB79510 /* BeLessThanOrEqual.swift in Sources */, + D45096E61E72E772AF46C3BECA03583B /* BeLogical.swift in Sources */, + 21FCC4B725EAF5F42EDFDA386FF3EC4C /* BeNil.swift in Sources */, + A9DA3829FA747E599023EF1394CD2EB5 /* BeVoid.swift in Sources */, + 6445B28465C1A7900E895709BC333C23 /* Contain.swift in Sources */, + C81BEDE79545C013BEBBA0363480FD47 /* DSL+Wait.swift in Sources */, + 236E397C0E190BC2D409BBEF93A09302 /* DSL.m in Sources */, + 3B78C4F35C369FBABE62D4622A67E7DF /* DSL.swift in Sources */, + 9EFD3EE819EB1FAA5EDE26E8DAA483CD /* EndWith.swift in Sources */, + B78A3DF47B5FEF7D9BE0B7660500211B /* Equal.swift in Sources */, + 59AFC17D744CDEED360B4DF8876295BF /* Errors.swift in Sources */, + 95F54B9537875729AE90B472EA5D39BF /* Expectation.swift in Sources */, + 5B21B2BBADCCEB5AC51E0A0C99BA5B93 /* Expression.swift in Sources */, + EFE20ADE81CBE47F13D76267285C4A35 /* FailureMessage.swift in Sources */, + 684A7E4C24ADAAB1B497B5F658036FC2 /* Functional.swift in Sources */, + C755136BFCDFA000C44C8BBCA065E4BE /* HaveCount.swift in Sources */, + 9296C7ABDE9E5894D47CD74E7F78F968 /* Match.swift in Sources */, + 8DFE23F2C7973BC8A159168AFC2FB8C3 /* MatcherFunc.swift in Sources */, + DE5F3C28CC8C40B8031C784835B3577D /* MatcherProtocols.swift in Sources */, + 56CA153033917F08CCDD22E94806C873 /* MatchError.swift in Sources */, + D8E0C72DDE130D4471BB48D2081FD235 /* Nimble-dummy.m in Sources */, + 263465A57520B440C99D428CE2E51AE9 /* NimbleEnvironment.swift in Sources */, + B09B3461D9467BA8A230048F95C26E0F /* NimbleXCTestHandler.swift in Sources */, + 5289D7499BA4A5ED209DD55FB819254F /* NMBExceptionCapture.m in Sources */, + 0827735D297EEABFD811FE333206FD8D /* NMBExpectation.swift in Sources */, + 01D2DD1C92EB87452CAF30B9367833C8 /* NMBObjCMatcher.swift in Sources */, + 54CE3FBBD31744EFA8B0A8EADB09F50C /* NMBStringify.m in Sources */, + A18E791645056D5563206104A3E3AD87 /* PostNotification.swift in Sources */, + 41EE5E3698CC1A17046AC74B36A279E0 /* RaisesException.swift in Sources */, + BEA76FA499D5899BD98DBD891FF921D4 /* SatisfyAnyOf.swift in Sources */, + 9D904B7EAD0EC56AD12E704757CAA640 /* SourceLocation.swift in Sources */, + 43B99F06587ACD844A4D09A0ED9FB66B /* Stringers.swift in Sources */, + 099C64CF560DC424DB43BBBEC6370D8F /* ThrowError.swift in Sources */, + 812A89BB2E8D5301C5D856181F276779 /* XCTestObservationCenter+Register.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1329,28 +1840,42 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 64398E3BA262592C10F21DD0046C305C /* Sources */ = { + 7A199F557DB58A0FBF7715A52C398D35 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 53E1FC22599DC2467C1CFA87CF82C705 /* Analytics-dummy.m in Sources */, - BC3752AC356067DF109591107D6BBEE8 /* NSData+SEGGZIP.m in Sources */, - FB525B6CE7C6C882C43F0071B6C4BBD4 /* SEGAliasPayload.m in Sources */, - BEA154ECF7C6ED3CF8C6C0DB54AC77B6 /* SEGAnalytics.m in Sources */, - 34E62597F5978F7A993623739F71601D /* SEGAnalyticsUtils.m in Sources */, - 03818163A522CE759866C29D654F469C /* SEGBluetooth.m in Sources */, - CFF7859C74224C77BC66F32FB7703C7E /* SEGGroupPayload.m in Sources */, - 61F8A44E8A863E6BB75069FB1473C8C3 /* SEGHTTPClient.m in Sources */, - AF484B13886751D179A8B3E58663FD33 /* SEGIdentifyPayload.m in Sources */, - 2E4FF0434401AC1DB9F5DBF38D9287D3 /* SEGLocation.m in Sources */, - D84D38929D245CF5F96890CD985D299C /* SEGPayload.m in Sources */, - 5DFEEE705DFD71AECAB14611FD8C9D93 /* SEGReachability.m in Sources */, - 30E860E40F2D456E532481BF7D54C124 /* SEGScreenPayload.m in Sources */, - D03A170B778B2DDBDBF3B98B9A477CF0 /* SEGSegmentIntegration.m in Sources */, - 3BD06A1A9216438AA513BCFF39EE2F30 /* SEGSegmentIntegrationFactory.m in Sources */, - E5D5F03212E13D03A9A1016C7BC3A541 /* SEGStoreKitTracker.m in Sources */, - D7BCFFA5B563E1FD333EC77D14633DC1 /* SEGTrackPayload.m in Sources */, - 6EC0C9FA543DF6EF0AEC1434823658EB /* UIViewController+SEGScreen.m in Sources */, + 9E88BC95EA655C050B14FF365C3CF3DA /* Callsite.swift in Sources */, + 12C7DFDE64E024A42D68810D6B872457 /* Closures.swift in Sources */, + AA72CB2151042C907082FD15E2609C35 /* Configuration.swift in Sources */, + 06F38EEA76AD575F621EBFCDEB67E100 /* DSL.swift in Sources */, + ED32420E8A40658E330B415FAF5D8C00 /* ErrorUtility.swift in Sources */, + 9453EC5D7933570264F7D5F63CBC3177 /* Example.swift in Sources */, + 13D86F035E8027D8C1D6747A90384D90 /* ExampleGroup.swift in Sources */, + CF2F766CAF4FB1ABDDC81A4AA3782B5E /* ExampleHooks.swift in Sources */, + D12BE9D7A08F0084E744635F703654B8 /* ExampleMetadata.swift in Sources */, + B07178696AEEFC58FFFAD04171F7AB67 /* Filter.swift in Sources */, + 969128E5B22399ED100630B7D68A1D07 /* HooksPhase.swift in Sources */, + 1A1592F5F63303C2FC08D58D4AC50C82 /* NSBundle+CurrentTestBundle.swift in Sources */, + 17158E82C5346BB03652053CBC8E904E /* NSString+QCKSelectorName.m in Sources */, + 7541E8D4D7960907F902012C28B90E6F /* QCKDSL.m in Sources */, + BF6EF8513ED92D1BA6243258716881CD /* Quick-dummy.m in Sources */, + D52CEA1D9DA6AA51F41783D60B54440A /* QuickConfiguration.m in Sources */, + E48EED6F9167198A72A5542DB6BF790B /* QuickSelectedTestSuiteBuilder.swift in Sources */, + A74F7A588523133D0A4E1A713CC1DF41 /* QuickSpec.m in Sources */, + C78961DBC73307300AE3764E10FB588B /* QuickTestSuite.swift in Sources */, + AD51D65CA87DAE8E1889DC020010E599 /* String+FileName.swift in Sources */, + DFAF4C4959A7468FDA1C37DEB2453340 /* SuiteHooks.swift in Sources */, + 47CB2F121AF5F7AD87E0983A849631FF /* World+DSL.swift in Sources */, + E2E27F96ABF882E7AF7E4D163F08F484 /* World.swift in Sources */, + 1AA12F9FE5E130BF350F9DA058604613 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7F7CC3DF85B156FB102D434B4BB1E999 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8510C3D907B4A9406DABCCD505E3C680 /* Pods-Analytics_Tests-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1396,32 +1921,73 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FEA54C01B34B75BC06559B7EB97671E0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C4072D3D4C9B7B1B67C6730D4DE1D119 /* Analytics-dummy.m in Sources */, + 6B991EF8D0E6937713D91D9A7BDF4C8D /* NSData+SEGGZIP.m in Sources */, + 80F1EFCF1171E2425214A0BAD47F9A51 /* SEGAES256Crypto.m in Sources */, + 7D6EF993DC800FDF67D48A896A8091A9 /* SEGAliasPayload.m in Sources */, + F999210356B9A16D84AEB43DB9DD2028 /* SEGAnalytics.m in Sources */, + 83CCFCC61E294245A1DA67AA7F7A9B11 /* SEGAnalyticsUtils.m in Sources */, + 1506857073C82B36917FBB4F9CF01068 /* SEGBluetooth.m in Sources */, + D34DC675E0E0E4B7A9E935F9CBD48C00 /* SEGFileStorage.m in Sources */, + A6231D0599B690684E18F181DCC91AC5 /* SEGGroupPayload.m in Sources */, + B2C7BAB65FBB9443F4020111459B534B /* SEGHTTPClient.m in Sources */, + 59726981E63CD066FAB20F5A137A21C2 /* SEGIdentifyPayload.m in Sources */, + B64FAA3D5441304EB98DD624C59C9101 /* SEGLocation.m in Sources */, + AF261211293DBFA884E8690DE9A29F97 /* SEGPayload.m in Sources */, + 73D2E569B1EC0D07050355451FD069AA /* SEGReachability.m in Sources */, + EDB58B25143813E758202F21A88DDC6F /* SEGScreenPayload.m in Sources */, + F226D300B485DAE234C175CF81225488 /* SEGSegmentIntegration.m in Sources */, + A3D9E68FB846D363F028948DB55DB7A7 /* SEGSegmentIntegrationFactory.m in Sources */, + 8E5F8BAF1D27F8F0CF242C8B508A2F84 /* SEGStoreKitTracker.m in Sources */, + 3DF21CC8B1540FC57080402578510573 /* SEGTrackPayload.m in Sources */, + 792CD4D6D276C16BC3579F3E7229001F /* SEGUserDefaultsStorage.m in Sources */, + 51BDEC4C717DC258476A16D6EB764B74 /* SEGUtils.m in Sources */, + B221D82965C805424AF6265CDA734B2B /* UIViewController+SEGScreen.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 6863AA452B9D37159D82D644711452C0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Analytics; - target = 481403DCFE420996D2A734931FA92D7F /* Analytics */; - targetProxy = 5B0BB086024D62CF5629FE2FAFA19576 /* PBXContainerItemProxy */; - }; - 81E0BDD9C9AC4C6BAB42C9BF6A762A94 /* PBXTargetDependency */ = { + 1422E1E0F11AE7F038CFAB3F22D3B838 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = Expecta; target = 0D888F29E05E498D0CD91A51D28599A5 /* Expecta */; - targetProxy = 4AD3159493E139AFFA995C125A1880D9 /* PBXContainerItemProxy */; + targetProxy = BE548FD5B1A1E957681F4FA76779B665 /* PBXContainerItemProxy */; }; - 952E0011FA05DC4984128DAABDCD00F7 /* PBXTargetDependency */ = { + 2A0C47994E4287FF88EF40B656F5B34B /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = Nocilla; target = 393E0E1A41299C44C63DBB766A243010 /* Nocilla */; - targetProxy = 1BB30AB7E00A4E29A1A57BB824C19B5D /* PBXContainerItemProxy */; + targetProxy = D99BBF72465241DF775288E9085125AB /* PBXContainerItemProxy */; }; - D4D73CB32779359270A419C1D08A7066 /* PBXTargetDependency */ = { + 407820ADC3170295BED9224F19DE8112 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = Specta; - target = 9D2DFA866E52BD6EF797813C646A8B61 /* Specta */; - targetProxy = E0F3DF15C53DA09D53FBAFBAF65C493E /* PBXContainerItemProxy */; + target = 55831572B86CFCB0AD3AEC393B4368A4 /* Specta */; + targetProxy = 073AFFB3DE8040FD8DA6AE91B6742C78 /* PBXContainerItemProxy */; + }; + 54D47D6F353C0DBBE0F445940D71883B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Nimble; + target = 40FF1C77152F384080A1A02E90A36DA9 /* Nimble */; + targetProxy = 842288B3E73FFECFC0202204DA3A7ACF /* PBXContainerItemProxy */; + }; + 567D10B830E2CFA12F9BC6561D75F330 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Quick; + target = 0BA32BABA32E07359B1C454B39189090 /* Quick */; + targetProxy = 1B6BABBDE69FC86F62427E1688866031 /* PBXContainerItemProxy */; + }; + 6863AA452B9D37159D82D644711452C0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Analytics; + target = 8FFD3B7BE7C033686575C3BB53822FF0 /* Analytics */; + targetProxy = 5B0BB086024D62CF5629FE2FAFA19576 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -1464,38 +2030,38 @@ }; name = Release; }; - 172B384E80FE3B1EBC3F5DE5188A1838 /* Debug */ = { + 3421E2D44A5C647128681C78EF370C85 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 85200ECAD4EA459EB0598420E91F81BE /* Analytics.xcconfig */; + baseConfigurationReference = 8FFC5C14D178B406CDCC5ABB96288DFE /* Quick.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/Analytics/Analytics-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Analytics/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/Quick/Quick-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Quick/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Analytics/Analytics.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = Analytics; + MODULEMAP_FILE = "Target Support Files/Quick/Quick.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = Quick; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 3D33A2637D68077BFD48953B71CD11DF /* Release */ = { + 483AE4906DA1AD1B04D9BFA5D3D59C5B /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 85200ECAD4EA459EB0598420E91F81BE /* Analytics.xcconfig */; + baseConfigurationReference = 6BB12F0725419F0E72830E3E30F1DCBE /* Nimble.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1506,14 +2072,14 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/Analytics/Analytics-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Analytics/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/Nimble/Nimble-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Nimble/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Analytics/Analytics.modulemap"; + MODULEMAP_FILE = "Target Support Files/Nimble/Nimble.modulemap"; MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = Analytics; + PRODUCT_NAME = Nimble; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1522,9 +2088,9 @@ }; name = Release; }; - 46492DBC1FF4FD2A326D70ADAECEF604 /* Debug */ = { + 4EB7F10368FDC919E6752B1E00F08369 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B3A6B6A256E104C90FB0BA3C77916DAF /* Specta.xcconfig */; + baseConfigurationReference = D9C3F42CF3A06C1E082C7CCC116DE867 /* Pods-Analytics_Example.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1535,14 +2101,18 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/Specta/Specta-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Specta/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Analytics_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Specta/Specta.modulemap"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Analytics_Example/Pods-Analytics_Example.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = Specta; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Analytics_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1551,9 +2121,38 @@ }; name = Debug; }; - 4EB7F10368FDC919E6752B1E00F08369 /* Debug */ = { + 541AD1D1209D84F1A309CBD93CDAF38A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D9C3F42CF3A06C1E082C7CCC116DE867 /* Pods-Analytics_Example.debug.xcconfig */; + baseConfigurationReference = 85200ECAD4EA459EB0598420E91F81BE /* Analytics.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/Analytics/Analytics-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Analytics/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Analytics/Analytics.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = Analytics; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 57C4DC57DD97BA869D39FC519BA77708 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 85200ECAD4EA459EB0598420E91F81BE /* Analytics.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1564,18 +2163,14 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-Analytics_Example/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/Analytics/Analytics-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Analytics/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Analytics_Example/Pods-Analytics_Example.modulemap"; + MODULEMAP_FILE = "Target Support Files/Analytics/Analytics.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_Analytics_Example; + PRODUCT_NAME = Analytics; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1617,9 +2212,9 @@ }; name = Release; }; - 7F3F62593F97F90E739AA359B1DF0815 /* Debug */ = { + 7633BC471C0D338B5EC53E660092DAAA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 725FD454003799E3C5F6FE998212E0D5 /* Pods-Analytics_Tests.debug.xcconfig */; + baseConfigurationReference = BDFB77866E7123B5B6E14F8A4AF11E3B /* Specta.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1630,20 +2225,46 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-Analytics_Tests/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/Specta/Specta-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Specta/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.modulemap"; + MODULEMAP_FILE = "Target Support Files/Specta/Specta.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_Analytics_Tests; + PRODUCT_NAME = Specta; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 85D9395EDE282E7C6BAEA33D5666B76A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6BB12F0725419F0E72830E3E30F1DCBE /* Nimble.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/Nimble/Nimble-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Nimble/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Nimble/Nimble.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = Nimble; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -1652,7 +2273,7 @@ }; 86B3AF85DF2958967D7E96849C2BE84C /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FF07B106FDF73E8D4F03156F20D105A1 /* Expecta.xcconfig */; + baseConfigurationReference = 49D3D5F2FF69C3CED5780DF88DC3E174 /* Expecta.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1679,9 +2300,43 @@ }; name = Debug; }; - 971DD04F43B92A1B94DB0EDDDF0163E7 /* Release */ = { + 8B3BA3425A3798CF74B5D878D553CC96 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 725FD454003799E3C5F6FE998212E0D5 /* Pods-Analytics_Tests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Analytics_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Analytics_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 9876874BB03F96E2B5F8BA7C9AC9C9C3 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B3A6B6A256E104C90FB0BA3C77916DAF /* Specta.xcconfig */; + baseConfigurationReference = BDFB77866E7123B5B6E14F8A4AF11E3B /* Specta.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1708,7 +2363,37 @@ }; name = Release; }; - 99017DF5D51E06693E739A41925BC284 /* Release */ = { + 9CEAE553F1F08AC0CD8EC192FD1378C6 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8FFC5C14D178B406CDCC5ABB96288DFE /* Quick.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/Quick/Quick-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Quick/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Quick/Quick.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = Quick; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A2043D8A8550E8DF858B0C381F32C540 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 6A5952869E40BF6D9CCDFAA59BB837CD /* Pods-Analytics_Tests.release.xcconfig */; buildSettings = { @@ -1785,7 +2470,7 @@ }; D7FDD52E5B79A418162D75F787ED258E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8B1738538FDE483D368712F0D608FC3D /* Nocilla.xcconfig */; + baseConfigurationReference = DCA8F2E371DCB98ABA68B3A7517DA160 /* Nocilla.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1814,7 +2499,7 @@ }; E09F9FDADF04D3E7A36776069400600B /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8B1738538FDE483D368712F0D608FC3D /* Nocilla.xcconfig */; + baseConfigurationReference = DCA8F2E371DCB98ABA68B3A7517DA160 /* Nocilla.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1843,7 +2528,7 @@ }; F24F328AA1CFC9A061F629C917D03F44 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FF07B106FDF73E8D4F03156F20D105A1 /* Expecta.xcconfig */; + baseConfigurationReference = 49D3D5F2FF69C3CED5780DF88DC3E174 /* Expecta.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -1873,6 +2558,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2BB6A8198CD73E23F9A13D4D0AA88952 /* Build configuration list for PBXNativeTarget "Specta" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7633BC471C0D338B5EC53E660092DAAA /* Debug */, + 9876874BB03F96E2B5F8BA7C9AC9C9C3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1882,20 +2576,38 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 831D24DD24BCA8DDFDF1F7716DFC19EA /* Build configuration list for PBXNativeTarget "Analytics" */ = { + 3E7391308AC186CBD42904FE82CDFDDD /* Build configuration list for PBXNativeTarget "Quick" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9CEAE553F1F08AC0CD8EC192FD1378C6 /* Debug */, + 3421E2D44A5C647128681C78EF370C85 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 60C2057A59E81A7596AE36B0B15E33C8 /* Build configuration list for PBXNativeTarget "Analytics" */ = { isa = XCConfigurationList; buildConfigurations = ( - 172B384E80FE3B1EBC3F5DE5188A1838 /* Debug */, - 3D33A2637D68077BFD48953B71CD11DF /* Release */, + 57C4DC57DD97BA869D39FC519BA77708 /* Debug */, + 541AD1D1209D84F1A309CBD93CDAF38A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - A574B874F8D65DB91F6033CCFA5D3C6C /* Build configuration list for PBXNativeTarget "Pods-Analytics_Tests" */ = { + 9CE96535EA651BD66A57AE49EEE9C35D /* Build configuration list for PBXNativeTarget "Pods-Analytics_Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 7F3F62593F97F90E739AA359B1DF0815 /* Debug */, - 99017DF5D51E06693E739A41925BC284 /* Release */, + 8B3BA3425A3798CF74B5D878D553CC96 /* Debug */, + A2043D8A8550E8DF858B0C381F32C540 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4964CB88DC1058EA701972205BBB4A0 /* Build configuration list for PBXNativeTarget "Nimble" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 85D9395EDE282E7C6BAEA33D5666B76A /* Debug */, + 483AE4906DA1AD1B04D9BFA5D3D59C5B /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1927,15 +2639,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - FCC0E86E1005B36DF47BE75188CE88E2 /* Build configuration list for PBXNativeTarget "Specta" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 46492DBC1FF4FD2A326D70ADAECEF604 /* Debug */, - 971DD04F43B92A1B94DB0EDDDF0163E7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme index 0c6a2d5a6..de0dd7540 100644 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme @@ -14,7 +14,7 @@ buildForAnalyzing = "YES"> @@ -45,7 +45,7 @@ diff --git a/Example/Pods/Quick/LICENSE b/Example/Pods/Quick/LICENSE new file mode 100644 index 000000000..e90016559 --- /dev/null +++ b/Example/Pods/Quick/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014, Quick Team + + 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. diff --git a/Example/Pods/Quick/README.md b/Example/Pods/Quick/README.md new file mode 100644 index 000000000..bced23c39 --- /dev/null +++ b/Example/Pods/Quick/README.md @@ -0,0 +1,61 @@ +![](http://f.cl.ly/items/0r1E192C1R0b2g2Q3h2w/QuickLogo_Color.png) + +Quick is a behavior-driven development framework for Swift and Objective-C. +Inspired by [RSpec](https://github.com/rspec/rspec), [Specta](https://github.com/specta/specta), and [Ginkgo](https://github.com/onsi/ginkgo). + +![](https://raw.githubusercontent.com/Quick/Assets/master/Screenshots/QuickSpec%20screenshot.png) + +```swift +// Swift + +import Quick +import Nimble + +class TableOfContentsSpec: QuickSpec { + override func spec() { + describe("the 'Documentation' directory") { + it("has everything you need to get started") { + let sections = Directory("Documentation").sections + expect(sections).to(contain("Organized Tests with Quick Examples and Example Groups")) + expect(sections).to(contain("Installing Quick")) + } + + context("if it doesn't have what you're looking for") { + it("needs to be updated") { + let you = You(awesome: true) + expect{you.submittedAnIssue}.toEventually(beTruthy()) + } + } + } + } +} +``` +#### Nimble +Quick comes together with [Nimble](https://github.com/Quick/Nimble) — a matcher framework for your tests. You can learn why `XCTAssert()` statements make your expectations unclear and how to fix that using Nimble assertions [here](./Documentation/en-us/NimbleAssertions.md). + +## Documentation + +All documentation can be found in the [Documentation folder](./Documentation), including [detailed installation instructions](./Documentation/en-us/InstallingQuick.md) for CocoaPods, Carthage, Git submodules, and more. For example, you can install Quick and [Nimble](https://github.com/Quick/Nimble) using CocoaPods by adding the following to your Podfile: + +```rb +# Podfile + +use_frameworks! + +def testing_pods + pod 'Quick' + pod 'Nimble' +end + +target 'MyTests' do + testing_pods +end + +target 'MyUITests' do + testing_pods +end +``` + +## License + +Apache 2.0 license. See the `LICENSE` file for details. diff --git a/Example/Pods/Quick/Sources/Quick/Callsite.swift b/Example/Pods/Quick/Sources/Quick/Callsite.swift new file mode 100644 index 000000000..53496cde0 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Callsite.swift @@ -0,0 +1,30 @@ +import Foundation + +/** + An object encapsulating the file and line number at which + a particular example is defined. +*/ +final public class Callsite: NSObject { + /** + The absolute path of the file in which an example is defined. + */ + public let file: String + + /** + The line number on which an example is defined. + */ + public let line: UInt + + internal init(file: String, line: UInt) { + self.file = file + self.line = line + } +} + +/** + Returns a boolean indicating whether two Callsite objects are equal. + If two callsites are in the same file and on the same line, they must be equal. +*/ +public func ==(lhs: Callsite, rhs: Callsite) -> Bool { + return lhs.file == rhs.file && lhs.line == rhs.line +} diff --git a/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift b/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift new file mode 100644 index 000000000..7b8c2db78 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift @@ -0,0 +1,161 @@ +import Foundation + +/** + A closure that temporarily exposes a Configuration object within + the scope of the closure. +*/ +public typealias QuickConfigurer = (configuration: Configuration) -> () + +/** + A closure that, given metadata about an example, returns a boolean value + indicating whether that example should be run. +*/ +public typealias ExampleFilter = (example: Example) -> Bool + +/** + A configuration encapsulates various options you can use + to configure Quick's behavior. +*/ +final public class Configuration: NSObject { + internal let exampleHooks = ExampleHooks() + internal let suiteHooks = SuiteHooks() + internal var exclusionFilters: [ExampleFilter] = [{ example in + if let pending = example.filterFlags[Filter.pending] { + return pending + } else { + return false + } + }] + internal var inclusionFilters: [ExampleFilter] = [{ example in + if let focused = example.filterFlags[Filter.focused] { + return focused + } else { + return false + } + }] + + /** + Run all examples if none match the configured filters. True by default. + */ + public var runAllWhenEverythingFiltered = true + + /** + Registers an inclusion filter. + + All examples are filtered using all inclusion filters. + The remaining examples are run. If no examples remain, all examples are run. + + - parameter filter: A filter that, given an example, returns a value indicating + whether that example should be included in the examples + that are run. + */ + public func include(filter: ExampleFilter) { + inclusionFilters.append(filter) + } + + /** + Registers an exclusion filter. + + All examples that remain after being filtered by the inclusion filters are + then filtered via all exclusion filters. + + - parameter filter: A filter that, given an example, returns a value indicating + whether that example should be excluded from the examples + that are run. + */ + public func exclude(filter: ExampleFilter) { + exclusionFilters.append(filter) + } + + /** + Identical to Quick.Configuration.beforeEach, except the closure is + provided with metadata on the example that the closure is being run + prior to. + */ +#if _runtime(_ObjC) + @objc(beforeEachWithMetadata:) + public func beforeEach(closure: BeforeExampleWithMetadataClosure) { + exampleHooks.appendBefore(closure) + } +#else + public func beforeEach(closure: BeforeExampleWithMetadataClosure) { + exampleHooks.appendBefore(closure) + } +#endif + + /** + Like Quick.DSL.beforeEach, this configures Quick to execute the + given closure before each example that is run. The closure + passed to this method is executed before each example Quick runs, + globally across the test suite. You may call this method multiple + times across mulitple +[QuickConfigure configure:] methods in order + to define several closures to run before each example. + + Note that, since Quick makes no guarantee as to the order in which + +[QuickConfiguration configure:] methods are evaluated, there is no + guarantee as to the order in which beforeEach closures are evaluated + either. Mulitple beforeEach defined on a single configuration, however, + will be executed in the order they're defined. + + - parameter closure: The closure to be executed before each example + in the test suite. + */ + public func beforeEach(closure: BeforeExampleClosure) { + exampleHooks.appendBefore(closure) + } + + /** + Identical to Quick.Configuration.afterEach, except the closure + is provided with metadata on the example that the closure is being + run after. + */ +#if _runtime(_ObjC) + @objc(afterEachWithMetadata:) + public func afterEach(closure: AfterExampleWithMetadataClosure) { + exampleHooks.appendAfter(closure) + } +#else + public func afterEach(closure: AfterExampleWithMetadataClosure) { + exampleHooks.appendAfter(closure) + } +#endif + + /** + Like Quick.DSL.afterEach, this configures Quick to execute the + given closure after each example that is run. The closure + passed to this method is executed after each example Quick runs, + globally across the test suite. You may call this method multiple + times across mulitple +[QuickConfigure configure:] methods in order + to define several closures to run after each example. + + Note that, since Quick makes no guarantee as to the order in which + +[QuickConfiguration configure:] methods are evaluated, there is no + guarantee as to the order in which afterEach closures are evaluated + either. Mulitple afterEach defined on a single configuration, however, + will be executed in the order they're defined. + + - parameter closure: The closure to be executed before each example + in the test suite. + */ + public func afterEach(closure: AfterExampleClosure) { + exampleHooks.appendAfter(closure) + } + + /** + Like Quick.DSL.beforeSuite, this configures Quick to execute + the given closure prior to any and all examples that are run. + The two methods are functionally equivalent. + */ + public func beforeSuite(closure: BeforeSuiteClosure) { + suiteHooks.appendBefore(closure) + } + + /** + Like Quick.DSL.afterSuite, this configures Quick to execute + the given closure after all examples have been run. + The two methods are functionally equivalent. + */ + public func afterSuite(closure: AfterSuiteClosure) { + suiteHooks.appendAfter(closure) + } +} diff --git a/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.h b/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.h new file mode 100644 index 000000000..56461993f --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.h @@ -0,0 +1,30 @@ +#import + +@class Configuration; + +/** + Subclass QuickConfiguration and override the +[QuickConfiguration configure:] + method in order to configure how Quick behaves when running specs, or to define + shared examples that are used across spec files. + */ +@interface QuickConfiguration : NSObject + +/** + This method is executed on each subclass of this class before Quick runs + any examples. You may override this method on as many subclasses as you like, but + there is no guarantee as to the order in which these methods are executed. + + You can override this method in order to: + + 1. Configure how Quick behaves, by modifying properties on the Configuration object. + Setting the same properties in several methods has undefined behavior. + + 2. Define shared examples using `sharedExamples`. + + @param configuration A mutable object that is used to configure how Quick behaves on + a framework level. For details on all the options, see the + documentation in Configuration.swift. + */ ++ (void)configure:(Configuration *)configuration; + +@end diff --git a/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.m b/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.m new file mode 100644 index 000000000..937b818cf --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.m @@ -0,0 +1,83 @@ +#import "QuickConfiguration.h" +#import "World.h" +#import + +typedef void (^QCKClassEnumerationBlock)(Class klass); + +/** + Finds all direct subclasses of the given class and passes them to the block provided. + The classes are iterated over in the order that objc_getClassList returns them. + + @param klass The base class to find subclasses of. + @param block A block that takes a Class. This block will be executed once for each subclass of klass. + */ +void qck_enumerateSubclasses(Class klass, QCKClassEnumerationBlock block) { + Class *classes = NULL; + int classesCount = objc_getClassList(NULL, 0); + + if (classesCount > 0) { + classes = (Class *)calloc(sizeof(Class), classesCount); + classesCount = objc_getClassList(classes, classesCount); + + Class subclass, superclass; + for(int i = 0; i < classesCount; i++) { + subclass = classes[i]; + superclass = class_getSuperclass(subclass); + if (superclass == klass && block) { + block(subclass); + } + } + + free(classes); + } +} + +@implementation QuickConfiguration + +#pragma mark - Object Lifecycle + +/** + QuickConfiguration is not meant to be instantiated; it merely provides a hook + for users to configure how Quick behaves. Raise an exception if an instance of + QuickConfiguration is created. + */ +- (instancetype)init { + NSString *className = NSStringFromClass([self class]); + NSString *selectorName = NSStringFromSelector(@selector(configure:)); + [NSException raise:NSInternalInconsistencyException + format:@"%@ is not meant to be instantiated; " + @"subclass %@ and override %@ to configure Quick.", + className, className, selectorName]; + return nil; +} + +#pragma mark - NSObject Overrides + +/** + Hook into when QuickConfiguration is initialized in the runtime in order to + call +[QuickConfiguration configure:] on each of its subclasses. + */ ++ (void)initialize { + // Only enumerate over the subclasses of QuickConfiguration, not any of its subclasses. + if ([self class] == [QuickConfiguration class]) { + + // Only enumerate over subclasses once, even if +[QuickConfiguration initialize] + // were to be called several times. This is necessary because +[QuickSpec initialize] + // manually calls +[QuickConfiguration initialize]. + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + qck_enumerateSubclasses([QuickConfiguration class], ^(__unsafe_unretained Class klass) { + [[World sharedWorld] configure:^(Configuration *configuration) { + [klass configure:configuration]; + }]; + }); + [[World sharedWorld] finalizeConfiguration]; + }); + } +} + +#pragma mark - Public Interface + ++ (void)configure:(Configuration *)configuration { } + +@end diff --git a/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift b/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift new file mode 100644 index 000000000..bc0e0b491 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift @@ -0,0 +1,227 @@ +/** + Defines a closure to be run prior to any examples in the test suite. + You may define an unlimited number of these closures, but there is no + guarantee as to the order in which they're run. + + If the test suite crashes before the first example is run, this closure + will not be executed. + + - parameter closure: The closure to be run prior to any examples in the test suite. +*/ +public func beforeSuite(closure: BeforeSuiteClosure) { + World.sharedWorld.beforeSuite(closure) +} + +/** + Defines a closure to be run after all of the examples in the test suite. + You may define an unlimited number of these closures, but there is no + guarantee as to the order in which they're run. + + If the test suite crashes before all examples are run, this closure + will not be executed. + + - parameter closure: The closure to be run after all of the examples in the test suite. +*/ +public func afterSuite(closure: AfterSuiteClosure) { + World.sharedWorld.afterSuite(closure) +} + +/** + Defines a group of shared examples. These examples can be re-used in several locations + by using the `itBehavesLike` function. + + - parameter name: The name of the shared example group. This must be unique across all shared example + groups defined in a test suite. + - parameter closure: A closure containing the examples. This behaves just like an example group defined + using `describe` or `context`--the closure may contain any number of `beforeEach` + and `afterEach` closures, as well as any number of examples (defined using `it`). +*/ +public func sharedExamples(name: String, closure: () -> ()) { + World.sharedWorld.sharedExamples(name, closure: { (NSDictionary) in closure() }) +} + +/** + Defines a group of shared examples. These examples can be re-used in several locations + by using the `itBehavesLike` function. + + - parameter name: The name of the shared example group. This must be unique across all shared example + groups defined in a test suite. + - parameter closure: A closure containing the examples. This behaves just like an example group defined + using `describe` or `context`--the closure may contain any number of `beforeEach` + and `afterEach` closures, as well as any number of examples (defined using `it`). + + The closure takes a SharedExampleContext as an argument. This context is a function + that can be executed to retrieve parameters passed in via an `itBehavesLike` function. +*/ +public func sharedExamples(name: String, closure: SharedExampleClosure) { + World.sharedWorld.sharedExamples(name, closure: closure) +} + +/** + Defines an example group. Example groups are logical groupings of examples. + Example groups can share setup and teardown code. + + - parameter description: An arbitrary string describing the example group. + - parameter closure: A closure that can contain other examples. + - parameter flags: A mapping of string keys to booleans that can be used to filter examples or example groups. +*/ +public func describe(description: String, flags: FilterFlags = [:], closure: () -> ()) { + World.sharedWorld.describe(description, flags: flags, closure: closure) +} + +/** + Defines an example group. Equivalent to `describe`. +*/ +public func context(description: String, flags: FilterFlags = [:], closure: () -> ()) { + World.sharedWorld.context(description, flags: flags, closure: closure) +} + +/** + Defines a closure to be run prior to each example in the current example + group. This closure is not run for pending or otherwise disabled examples. + An example group may contain an unlimited number of beforeEach. They'll be + run in the order they're defined, but you shouldn't rely on that behavior. + + - parameter closure: The closure to be run prior to each example. +*/ +public func beforeEach(closure: BeforeExampleClosure) { + World.sharedWorld.beforeEach(closure) +} + +/** + Identical to Quick.DSL.beforeEach, except the closure is provided with + metadata on the example that the closure is being run prior to. +*/ +public func beforeEach(closure: BeforeExampleWithMetadataClosure) { + World.sharedWorld.beforeEach(closure: closure) +} + +/** + Defines a closure to be run after each example in the current example + group. This closure is not run for pending or otherwise disabled examples. + An example group may contain an unlimited number of afterEach. They'll be + run in the order they're defined, but you shouldn't rely on that behavior. + + - parameter closure: The closure to be run after each example. +*/ +public func afterEach(closure: AfterExampleClosure) { + World.sharedWorld.afterEach(closure) +} + +/** + Identical to Quick.DSL.afterEach, except the closure is provided with + metadata on the example that the closure is being run after. +*/ +public func afterEach(closure: AfterExampleWithMetadataClosure) { + World.sharedWorld.afterEach(closure: closure) +} + +/** + Defines an example. Examples use assertions to demonstrate how code should + behave. These are like "tests" in XCTest. + + - parameter description: An arbitrary string describing what the example is meant to specify. + - parameter closure: A closure that can contain assertions. + - parameter flags: A mapping of string keys to booleans that can be used to filter examples or example groups. + Empty by default. + - parameter file: The absolute path to the file containing the example. A sensible default is provided. + - parameter line: The line containing the example. A sensible default is provided. +*/ +public func it(description: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, closure: () -> ()) { + World.sharedWorld.it(description, flags: flags, file: file, line: line, closure: closure) +} + +/** + Inserts the examples defined using a `sharedExamples` function into the current example group. + The shared examples are executed at this location, as if they were written out manually. + + - parameter name: The name of the shared examples group to be executed. This must be identical to the + name of a shared examples group defined using `sharedExamples`. If there are no shared + examples that match the name given, an exception is thrown and the test suite will crash. + - parameter flags: A mapping of string keys to booleans that can be used to filter examples or example groups. + Empty by default. + - parameter file: The absolute path to the file containing the current example group. A sensible default is provided. + - parameter line: The line containing the current example group. A sensible default is provided. +*/ +public func itBehavesLike(name: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line) { + itBehavesLike(name, flags: flags, file: file, line: line, sharedExampleContext: { return [:] }) +} + +/** + Inserts the examples defined using a `sharedExamples` function into the current example group. + The shared examples are executed at this location, as if they were written out manually. + This function also passes those shared examples a context that can be evaluated to give the shared + examples extra information on the subject of the example. + + - parameter name: The name of the shared examples group to be executed. This must be identical to the + name of a shared examples group defined using `sharedExamples`. If there are no shared + examples that match the name given, an exception is thrown and the test suite will crash. + - parameter sharedExampleContext: A closure that, when evaluated, returns key-value pairs that provide the + shared examples with extra information on the subject of the example. + - parameter flags: A mapping of string keys to booleans that can be used to filter examples or example groups. + Empty by default. + - parameter file: The absolute path to the file containing the current example group. A sensible default is provided. + - parameter line: The line containing the current example group. A sensible default is provided. +*/ +public func itBehavesLike(name: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, sharedExampleContext: SharedExampleContext) { + World.sharedWorld.itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line) +} + +/** + Defines an example or example group that should not be executed. Use `pending` to temporarily disable + examples or groups that should not be run yet. + + - parameter description: An arbitrary string describing the example or example group. + - parameter closure: A closure that will not be evaluated. +*/ +public func pending(description: String, closure: () -> ()) { + World.sharedWorld.pending(description, closure: closure) +} + +/** + Use this to quickly mark a `describe` closure as pending. + This disables all examples within the closure. +*/ +public func xdescribe(description: String, flags: FilterFlags, closure: () -> ()) { + World.sharedWorld.xdescribe(description, flags: flags, closure: closure) +} + +/** + Use this to quickly mark a `context` closure as pending. + This disables all examples within the closure. +*/ +public func xcontext(description: String, flags: FilterFlags, closure: () -> ()) { + xdescribe(description, flags: flags, closure: closure) +} + +/** + Use this to quickly mark an `it` closure as pending. + This disables the example and ensures the code within the closure is never run. +*/ +public func xit(description: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, closure: () -> ()) { + World.sharedWorld.xit(description, flags: flags, file: file, line: line, closure: closure) +} + +/** + Use this to quickly focus a `describe` closure, focusing the examples in the closure. + If any examples in the test suite are focused, only those examples are executed. + This trumps any explicitly focused or unfocused examples within the closure--they are all treated as focused. +*/ +public func fdescribe(description: String, flags: FilterFlags = [:], closure: () -> ()) { + World.sharedWorld.fdescribe(description, flags: flags, closure: closure) +} + +/** + Use this to quickly focus a `context` closure. Equivalent to `fdescribe`. +*/ +public func fcontext(description: String, flags: FilterFlags = [:], closure: () -> ()) { + fdescribe(description, flags: flags, closure: closure) +} + +/** + Use this to quickly focus an `it` closure, focusing the example. + If any examples in the test suite are focused, only those examples are executed. +*/ +public func fit(description: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, closure: () -> ()) { + World.sharedWorld.fit(description, flags: flags, file: file, line: line, closure: closure) +} diff --git a/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.h b/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.h new file mode 100644 index 000000000..c5f3152af --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.h @@ -0,0 +1,234 @@ +#import + +@class ExampleMetadata; + +/** + Provides a hook for Quick to be configured before any examples are run. + Within this scope, override the +[QuickConfiguration configure:] method + to set properties on a configuration object to customize Quick behavior. + For details, see the documentation for Configuraiton.swift. + + @param name The name of the configuration class. Like any Objective-C + class name, this must be unique to the current runtime + environment. + */ +#define QuickConfigurationBegin(name) \ + @interface name : QuickConfiguration; @end \ + @implementation name \ + + +/** + Marks the end of a Quick configuration. + Make sure you put this after `QuickConfigurationBegin`. + */ +#define QuickConfigurationEnd \ + @end \ + + +/** + Defines a new QuickSpec. Define examples and example groups within the space + between this and `QuickSpecEnd`. + + @param name The name of the spec class. Like any Objective-C class name, this + must be unique to the current runtime environment. + */ +#define QuickSpecBegin(name) \ + @interface name : QuickSpec; @end \ + @implementation name \ + - (void)spec { \ + + +/** + Marks the end of a QuickSpec. Make sure you put this after `QuickSpecBegin`. + */ +#define QuickSpecEnd \ + } \ + @end \ + +typedef NSDictionary *(^QCKDSLSharedExampleContext)(void); +typedef void (^QCKDSLSharedExampleBlock)(QCKDSLSharedExampleContext); +typedef void (^QCKDSLEmptyBlock)(void); +typedef void (^QCKDSLExampleMetadataBlock)(ExampleMetadata *exampleMetadata); + +#define QUICK_EXPORT FOUNDATION_EXPORT + +QUICK_EXPORT void qck_beforeSuite(QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_afterSuite(QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure); +QUICK_EXPORT void qck_describe(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_context(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_beforeEach(QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure); +QUICK_EXPORT void qck_afterEach(QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_afterEachWithMetadata(QCKDSLExampleMetadataBlock closure); +QUICK_EXPORT void qck_pending(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure); +QUICK_EXPORT void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure); + +#ifndef QUICK_DISABLE_SHORT_SYNTAX +/** + Defines a closure to be run prior to any examples in the test suite. + You may define an unlimited number of these closures, but there is no + guarantee as to the order in which they're run. + + If the test suite crashes before the first example is run, this closure + will not be executed. + + @param closure The closure to be run prior to any examples in the test suite. + */ +static inline void beforeSuite(QCKDSLEmptyBlock closure) { + qck_beforeSuite(closure); +} + + +/** + Defines a closure to be run after all of the examples in the test suite. + You may define an unlimited number of these closures, but there is no + guarantee as to the order in which they're run. + + If the test suite crashes before all examples are run, this closure + will not be executed. + + @param closure The closure to be run after all of the examples in the test suite. + */ +static inline void afterSuite(QCKDSLEmptyBlock closure) { + qck_afterSuite(closure); +} + +/** + Defines a group of shared examples. These examples can be re-used in several locations + by using the `itBehavesLike` function. + + @param name The name of the shared example group. This must be unique across all shared example + groups defined in a test suite. + @param closure A closure containing the examples. This behaves just like an example group defined + using `describe` or `context`--the closure may contain any number of `beforeEach` + and `afterEach` closures, as well as any number of examples (defined using `it`). + */ +static inline void sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) { + qck_sharedExamples(name, closure); +} + +/** + Defines an example group. Example groups are logical groupings of examples. + Example groups can share setup and teardown code. + + @param description An arbitrary string describing the example group. + @param closure A closure that can contain other examples. + */ +static inline void describe(NSString *description, QCKDSLEmptyBlock closure) { + qck_describe(description, closure); +} + +/** + Defines an example group. Equivalent to `describe`. + */ +static inline void context(NSString *description, QCKDSLEmptyBlock closure) { + qck_context(description, closure); +} + +/** + Defines a closure to be run prior to each example in the current example + group. This closure is not run for pending or otherwise disabled examples. + An example group may contain an unlimited number of beforeEach. They'll be + run in the order they're defined, but you shouldn't rely on that behavior. + + @param closure The closure to be run prior to each example. + */ +static inline void beforeEach(QCKDSLEmptyBlock closure) { + qck_beforeEach(closure); +} + +/** + Identical to QCKDSL.beforeEach, except the closure is provided with + metadata on the example that the closure is being run prior to. + */ +static inline void beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure) { + qck_beforeEachWithMetadata(closure); +} + +/** + Defines a closure to be run after each example in the current example + group. This closure is not run for pending or otherwise disabled examples. + An example group may contain an unlimited number of afterEach. They'll be + run in the order they're defined, but you shouldn't rely on that behavior. + + @param closure The closure to be run after each example. + */ +static inline void afterEach(QCKDSLEmptyBlock closure) { + qck_afterEach(closure); +} + +/** + Identical to QCKDSL.afterEach, except the closure is provided with + metadata on the example that the closure is being run after. + */ +static inline void afterEachWithMetadata(QCKDSLExampleMetadataBlock closure) { + qck_afterEachWithMetadata(closure); +} + +/** + Defines an example or example group that should not be executed. Use `pending` to temporarily disable + examples or groups that should not be run yet. + + @param description An arbitrary string describing the example or example group. + @param closure A closure that will not be evaluated. + */ +static inline void pending(NSString *description, QCKDSLEmptyBlock closure) { + qck_pending(description, closure); +} + +/** + Use this to quickly mark a `describe` block as pending. + This disables all examples within the block. + */ +static inline void xdescribe(NSString *description, QCKDSLEmptyBlock closure) { + qck_xdescribe(description, closure); +} + +/** + Use this to quickly mark a `context` block as pending. + This disables all examples within the block. + */ +static inline void xcontext(NSString *description, QCKDSLEmptyBlock closure) { + qck_xcontext(description, closure); +} + +/** + Use this to quickly focus a `describe` block, focusing the examples in the block. + If any examples in the test suite are focused, only those examples are executed. + This trumps any explicitly focused or unfocused examples within the block--they are all treated as focused. + */ +static inline void fdescribe(NSString *description, QCKDSLEmptyBlock closure) { + qck_fdescribe(description, closure); +} + +/** + Use this to quickly focus a `context` block. Equivalent to `fdescribe`. + */ +static inline void fcontext(NSString *description, QCKDSLEmptyBlock closure) { + qck_fcontext(description, closure); +} + +#define it qck_it +#define xit qck_xit +#define fit qck_fit +#define itBehavesLike qck_itBehavesLike +#define xitBehavesLike qck_xitBehavesLike +#define fitBehavesLike qck_fitBehavesLike +#endif + +#define qck_it qck_it_builder(@{}, @(__FILE__), __LINE__) +#define qck_xit qck_it_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__) +#define qck_fit qck_it_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__) +#define qck_itBehavesLike qck_itBehavesLike_builder(@{}, @(__FILE__), __LINE__) +#define qck_xitBehavesLike qck_itBehavesLike_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__) +#define qck_fitBehavesLike qck_itBehavesLike_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__) + +typedef void (^QCKItBlock)(NSString *description, QCKDSLEmptyBlock closure); +typedef void (^QCKItBehavesLikeBlock)(NSString *description, QCKDSLSharedExampleContext context); + +QUICK_EXPORT QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line); +QUICK_EXPORT QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line); diff --git a/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.m b/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.m new file mode 100644 index 000000000..10e8a3d4b --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/DSL/QCKDSL.m @@ -0,0 +1,79 @@ +#import "QCKDSL.h" +#import "World.h" +#import "World+DSL.h" + +void qck_beforeSuite(QCKDSLEmptyBlock closure) { + [[World sharedWorld] beforeSuite:closure]; +} + +void qck_afterSuite(QCKDSLEmptyBlock closure) { + [[World sharedWorld] afterSuite:closure]; +} + +void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) { + [[World sharedWorld] sharedExamples:name closure:closure]; +} + +void qck_describe(NSString *description, QCKDSLEmptyBlock closure) { + [[World sharedWorld] describe:description flags:@{} closure:closure]; +} + +void qck_context(NSString *description, QCKDSLEmptyBlock closure) { + qck_describe(description, closure); +} + +void qck_beforeEach(QCKDSLEmptyBlock closure) { + [[World sharedWorld] beforeEach:closure]; +} + +void qck_beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure) { + [[World sharedWorld] beforeEachWithMetadata:closure]; +} + +void qck_afterEach(QCKDSLEmptyBlock closure) { + [[World sharedWorld] afterEach:closure]; +} + +void qck_afterEachWithMetadata(QCKDSLExampleMetadataBlock closure) { + [[World sharedWorld] afterEachWithMetadata:closure]; +} + +QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line) { + return ^(NSString *description, QCKDSLEmptyBlock closure) { + [[World sharedWorld] itWithDescription:description + flags:flags + file:file + line:line + closure:closure]; + }; +} + +QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line) { + return ^(NSString *name, QCKDSLSharedExampleContext context) { + [[World sharedWorld] itBehavesLikeSharedExampleNamed:name + sharedExampleContext:context + flags:flags + file:file + line:line]; + }; +} + +void qck_pending(NSString *description, QCKDSLEmptyBlock closure) { + [[World sharedWorld] pending:description closure:closure]; +} + +void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure) { + [[World sharedWorld] xdescribe:description flags:@{} closure:closure]; +} + +void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure) { + qck_xdescribe(description, closure); +} + +void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure) { + [[World sharedWorld] fdescribe:description flags:@{} closure:closure]; +} + +void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure) { + qck_fdescribe(description, closure); +} diff --git a/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.h b/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.h new file mode 100644 index 000000000..a3b852454 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.h @@ -0,0 +1,20 @@ +#import + +@interface World (SWIFT_EXTENSION(Quick)) +- (void)beforeSuite:(void (^ __nonnull)(void))closure; +- (void)afterSuite:(void (^ __nonnull)(void))closure; +- (void)sharedExamples:(NSString * __nonnull)name closure:(void (^ __nonnull)(NSDictionary * __nonnull (^ __nonnull)(void)))closure; +- (void)describe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; +- (void)context:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; +- (void)fdescribe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; +- (void)xdescribe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; +- (void)beforeEach:(void (^ __nonnull)(void))closure; +- (void)beforeEachWithMetadata:(void (^ __nonnull)(ExampleMetadata * __nonnull))closure; +- (void)afterEach:(void (^ __nonnull)(void))closure; +- (void)afterEachWithMetadata:(void (^ __nonnull)(ExampleMetadata * __nonnull))closure; +- (void)itWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; +- (void)fitWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; +- (void)xitWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; +- (void)itBehavesLikeSharedExampleNamed:(NSString * __nonnull)name sharedExampleContext:(NSDictionary * __nonnull (^ __nonnull)(void))sharedExampleContext flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line; +- (void)pending:(NSString * __nonnull)description closure:(void (^ __nonnull)(void))closure; +@end diff --git a/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift b/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift new file mode 100644 index 000000000..3b9a9bed8 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift @@ -0,0 +1,169 @@ +import Foundation + +/** + Adds methods to World to support top-level DSL functions (Swift) and + macros (Objective-C). These functions map directly to the DSL that test + writers use in their specs. +*/ +extension World { + internal func beforeSuite(closure: BeforeSuiteClosure) { + suiteHooks.appendBefore(closure) + } + + internal func afterSuite(closure: AfterSuiteClosure) { + suiteHooks.appendAfter(closure) + } + + internal func sharedExamples(name: String, closure: SharedExampleClosure) { + registerSharedExample(name, closure: closure) + } + + internal func describe(description: String, flags: FilterFlags, closure: () -> ()) { + guard currentExampleMetadata == nil else { + raiseError("'describe' cannot be used inside '\(currentPhase)', 'describe' may only be used inside 'context' or 'describe'. ") + } + guard currentExampleGroup != nil else { + raiseError("Error: example group was not created by its parent QuickSpec spec. Check that describe() or context() was used in QuickSpec.spec() and not a more general context (i.e. an XCTestCase test)") + } + let group = ExampleGroup(description: description, flags: flags) + currentExampleGroup.appendExampleGroup(group) + performWithCurrentExampleGroup(group, closure: closure) + } + + internal func context(description: String, flags: FilterFlags, closure: () -> ()) { + guard currentExampleMetadata == nil else { + raiseError("'context' cannot be used inside '\(currentPhase)', 'context' may only be used inside 'context' or 'describe'. ") + } + self.describe(description, flags: flags, closure: closure) + } + + internal func fdescribe(description: String, flags: FilterFlags, closure: () -> ()) { + var focusedFlags = flags + focusedFlags[Filter.focused] = true + self.describe(description, flags: focusedFlags, closure: closure) + } + + internal func xdescribe(description: String, flags: FilterFlags, closure: () -> ()) { + var pendingFlags = flags + pendingFlags[Filter.pending] = true + self.describe(description, flags: pendingFlags, closure: closure) + } + + internal func beforeEach(closure: BeforeExampleClosure) { + guard currentExampleMetadata == nil else { + raiseError("'beforeEach' cannot be used inside '\(currentPhase)', 'beforeEach' may only be used inside 'context' or 'describe'. ") + } + currentExampleGroup.hooks.appendBefore(closure) + } + +#if _runtime(_ObjC) + @objc(beforeEachWithMetadata:) + internal func beforeEach(closure closure: BeforeExampleWithMetadataClosure) { + currentExampleGroup.hooks.appendBefore(closure) + } +#else + internal func beforeEach(closure closure: BeforeExampleWithMetadataClosure) { + currentExampleGroup.hooks.appendBefore(closure) + } +#endif + + internal func afterEach(closure: AfterExampleClosure) { + guard currentExampleMetadata == nil else { + raiseError("'afterEach' cannot be used inside '\(currentPhase)', 'afterEach' may only be used inside 'context' or 'describe'. ") + } + currentExampleGroup.hooks.appendAfter(closure) + } + +#if _runtime(_ObjC) + @objc(afterEachWithMetadata:) + internal func afterEach(closure closure: AfterExampleWithMetadataClosure) { + currentExampleGroup.hooks.appendAfter(closure) + } +#else + internal func afterEach(closure closure: AfterExampleWithMetadataClosure) { + currentExampleGroup.hooks.appendAfter(closure) + } +#endif + + internal func it(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + if beforesCurrentlyExecuting { + raiseError("'it' cannot be used inside 'beforeEach', 'it' may only be used inside 'context' or 'describe'. ") + } + if aftersCurrentlyExecuting { + raiseError("'it' cannot be used inside 'afterEach', 'it' may only be used inside 'context' or 'describe'. ") + } + guard currentExampleMetadata == nil else { + raiseError("'it' cannot be used inside 'it', 'it' may only be used inside 'context' or 'describe'. ") + } + let callsite = Callsite(file: file, line: line) + let example = Example(description: description, callsite: callsite, flags: flags, closure: closure) + currentExampleGroup.appendExample(example) + } + + internal func fit(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + var focusedFlags = flags + focusedFlags[Filter.focused] = true + self.it(description, flags: focusedFlags, file: file, line: line, closure: closure) + } + + internal func xit(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + var pendingFlags = flags + pendingFlags[Filter.pending] = true + self.it(description, flags: pendingFlags, file: file, line: line, closure: closure) + } + + internal func itBehavesLike(name: String, sharedExampleContext: SharedExampleContext, flags: FilterFlags, file: String, line: UInt) { + guard currentExampleMetadata == nil else { + raiseError("'itBehavesLike' cannot be used inside '\(currentPhase)', 'itBehavesLike' may only be used inside 'context' or 'describe'. ") + } + let callsite = Callsite(file: file, line: line) + let closure = World.sharedWorld.sharedExample(name) + + let group = ExampleGroup(description: name, flags: flags) + currentExampleGroup.appendExampleGroup(group) + performWithCurrentExampleGroup(group) { + closure(sharedExampleContext) + } + + group.walkDownExamples { (example: Example) in + example.isSharedExample = true + example.callsite = callsite + } + } + +#if _runtime(_ObjC) + @objc(itWithDescription:flags:file:line:closure:) + private func objc_it(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + it(description, flags: flags, file: file, line: line, closure: closure) + } + + @objc(fitWithDescription:flags:file:line:closure:) + private func objc_fit(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + fit(description, flags: flags, file: file, line: line, closure: closure) + } + + @objc(xitWithDescription:flags:file:line:closure:) + private func objc_xit(description: String, flags: FilterFlags, file: String, line: UInt, closure: () -> ()) { + xit(description, flags: flags, file: file, line: line, closure: closure) + } + + @objc(itBehavesLikeSharedExampleNamed:sharedExampleContext:flags:file:line:) + private func objc_itBehavesLike(name: String, sharedExampleContext: SharedExampleContext, flags: FilterFlags, file: String, line: UInt) { + itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line) + } +#endif + + internal func pending(description: String, closure: () -> ()) { + print("Pending: \(description)") + } + + private var currentPhase: String { + if beforesCurrentlyExecuting { + return "beforeEach" + } else if aftersCurrentlyExecuting { + return "afterEach" + } + + return "it" + } +} diff --git a/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift b/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift new file mode 100644 index 000000000..3c4035a11 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift @@ -0,0 +1,10 @@ +import Foundation + +@noreturn internal func raiseError(message: String) { +#if _runtime(_ObjC) + NSException(name: NSInternalInconsistencyException, reason: message, userInfo: nil).raise() +#endif + + // This won't be reached when ObjC is available and the exception above is raisd + fatalError(message) +} diff --git a/Example/Pods/Quick/Sources/Quick/Example.swift b/Example/Pods/Quick/Sources/Quick/Example.swift new file mode 100644 index 000000000..892952531 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Example.swift @@ -0,0 +1,113 @@ +import Foundation + +private var numberOfExamplesRun = 0 + +/** + Examples, defined with the `it` function, use assertions to + demonstrate how code should behave. These are like "tests" in XCTest. +*/ +final public class Example: NSObject { + /** + A boolean indicating whether the example is a shared example; + i.e.: whether it is an example defined with `itBehavesLike`. + */ + public var isSharedExample = false + + /** + The site at which the example is defined. + This must be set correctly in order for Xcode to highlight + the correct line in red when reporting a failure. + */ + public var callsite: Callsite + + weak internal var group: ExampleGroup? + + private let internalDescription: String + private let closure: () -> () + private let flags: FilterFlags + + internal init(description: String, callsite: Callsite, flags: FilterFlags, closure: () -> ()) { + self.internalDescription = description + self.closure = closure + self.callsite = callsite + self.flags = flags + } + + public override var description: String { + return internalDescription + } + + /** + The example name. A name is a concatenation of the name of + the example group the example belongs to, followed by the + description of the example itself. + + The example name is used to generate a test method selector + to be displayed in Xcode's test navigator. + */ + public var name: String { + switch group!.name { + case .Some(let groupName): return "\(groupName), \(description)" + case .None: return description + } + } + + /** + Executes the example closure, as well as all before and after + closures defined in the its surrounding example groups. + */ + public func run() { + let world = World.sharedWorld + + if numberOfExamplesRun == 0 { + world.suiteHooks.executeBefores() + } + + let exampleMetadata = ExampleMetadata(example: self, exampleIndex: numberOfExamplesRun) + world.currentExampleMetadata = exampleMetadata + + world.exampleHooks.executeBefores(exampleMetadata) + group!.phase = .BeforesExecuting + for before in group!.befores { + before(exampleMetadata: exampleMetadata) + } + group!.phase = .BeforesFinished + + closure() + + group!.phase = .AftersExecuting + for after in group!.afters { + after(exampleMetadata: exampleMetadata) + } + group!.phase = .AftersFinished + world.exampleHooks.executeAfters(exampleMetadata) + + numberOfExamplesRun += 1 + + if !world.isRunningAdditionalSuites && numberOfExamplesRun >= world.includedExampleCount { + world.suiteHooks.executeAfters() + } + } + + /** + Evaluates the filter flags set on this example and on the example groups + this example belongs to. Flags set on the example are trumped by flags on + the example group it belongs to. Flags on inner example groups are trumped + by flags on outer example groups. + */ + internal var filterFlags: FilterFlags { + var aggregateFlags = flags + for (key, value) in group!.filterFlags { + aggregateFlags[key] = value + } + return aggregateFlags + } +} + +/** + Returns a boolean indicating whether two Example objects are equal. + If two examples are defined at the exact same callsite, they must be equal. +*/ +public func ==(lhs: Example, rhs: Example) -> Bool { + return lhs.callsite == rhs.callsite +} diff --git a/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift b/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift new file mode 100644 index 000000000..cf2b983c0 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift @@ -0,0 +1,105 @@ +import Foundation + +/** + Example groups are logical groupings of examples, defined with + the `describe` and `context` functions. Example groups can share + setup and teardown code. +*/ +final public class ExampleGroup: NSObject { + weak internal var parent: ExampleGroup? + internal let hooks = ExampleHooks() + + internal var phase: HooksPhase = .NothingExecuted + + private let internalDescription: String + private let flags: FilterFlags + private let isInternalRootExampleGroup: Bool + private var childGroups = [ExampleGroup]() + private var childExamples = [Example]() + + internal init(description: String, flags: FilterFlags, isInternalRootExampleGroup: Bool = false) { + self.internalDescription = description + self.flags = flags + self.isInternalRootExampleGroup = isInternalRootExampleGroup + } + + public override var description: String { + return internalDescription + } + + /** + Returns a list of examples that belong to this example group, + or to any of its descendant example groups. + */ + public var examples: [Example] { + var examples = childExamples + for group in childGroups { + examples.appendContentsOf(group.examples) + } + return examples + } + + internal var name: String? { + if let parent = parent { + switch(parent.name) { + case .Some(let name): return "\(name), \(description)" + case .None: return description + } + } else { + return isInternalRootExampleGroup ? nil : description + } + } + + internal var filterFlags: FilterFlags { + var aggregateFlags = flags + walkUp() { (group: ExampleGroup) -> () in + for (key, value) in group.flags { + aggregateFlags[key] = value + } + } + return aggregateFlags + } + + internal var befores: [BeforeExampleWithMetadataClosure] { + var closures = Array(hooks.befores.reverse()) + walkUp() { (group: ExampleGroup) -> () in + closures.appendContentsOf(Array(group.hooks.befores.reverse())) + } + return Array(closures.reverse()) + } + + internal var afters: [AfterExampleWithMetadataClosure] { + var closures = hooks.afters + walkUp() { (group: ExampleGroup) -> () in + closures.appendContentsOf(group.hooks.afters) + } + return closures + } + + internal func walkDownExamples(callback: (example: Example) -> ()) { + for example in childExamples { + callback(example: example) + } + for group in childGroups { + group.walkDownExamples(callback) + } + } + + internal func appendExampleGroup(group: ExampleGroup) { + group.parent = self + childGroups.append(group) + } + + internal func appendExample(example: Example) { + example.group = self + childExamples.append(example) + } + + private func walkUp(callback: (group: ExampleGroup) -> ()) { + var group = self + while let parent = group.parent { + callback(group: parent) + group = parent + } + } +} diff --git a/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift b/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift new file mode 100644 index 000000000..e7510f711 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift @@ -0,0 +1,24 @@ +import Foundation + +/** + A class that encapsulates information about an example, + including the index at which the example was executed, as + well as the example itself. +*/ +final public class ExampleMetadata: NSObject { + /** + The example for which this metadata was collected. + */ + public let example: Example + + /** + The index at which this example was executed in the + test suite. + */ + public let exampleIndex: Int + + internal init(example: Example, exampleIndex: Int) { + self.example = example + self.exampleIndex = exampleIndex + } +} diff --git a/Example/Pods/Quick/Sources/Quick/Filter.swift b/Example/Pods/Quick/Sources/Quick/Filter.swift new file mode 100644 index 000000000..d452efec7 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Filter.swift @@ -0,0 +1,31 @@ +import Foundation + +/** + A mapping of string keys to booleans that can be used to + filter examples or example groups. For example, a "focused" + example would have the flags [Focused: true]. +*/ +public typealias FilterFlags = [String: Bool] + +/** + A namespace for filter flag keys, defined primarily to make the + keys available in Objective-C. +*/ +final public class Filter: NSObject { + /** + Example and example groups with [Focused: true] are included in test runs, + excluding all other examples without this flag. Use this to only run one or + two tests that you're currently focusing on. + */ + public class var focused: String { + return "focused" + } + + /** + Example and example groups with [Pending: true] are excluded from test runs. + Use this to temporarily suspend examples that you know do not pass yet. + */ + public class var pending: String { + return "pending" + } +} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift b/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift new file mode 100644 index 000000000..3252bbf91 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift @@ -0,0 +1,35 @@ +// MARK: Example Hooks + +/** + A closure executed before an example is run. +*/ +public typealias BeforeExampleClosure = () -> () + +/** + A closure executed before an example is run. The closure is given example metadata, + which contains information about the example that is about to be run. +*/ +public typealias BeforeExampleWithMetadataClosure = (exampleMetadata: ExampleMetadata) -> () + +/** + A closure executed after an example is run. +*/ +public typealias AfterExampleClosure = BeforeExampleClosure + +/** + A closure executed after an example is run. The closure is given example metadata, + which contains information about the example that has just finished running. +*/ +public typealias AfterExampleWithMetadataClosure = BeforeExampleWithMetadataClosure + +// MARK: Suite Hooks + +/** + A closure executed before any examples are run. +*/ +public typealias BeforeSuiteClosure = () -> () + +/** + A closure executed after all examples have finished running. +*/ +public typealias AfterSuiteClosure = BeforeSuiteClosure diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift b/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift new file mode 100644 index 000000000..1d5fa9155 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift @@ -0,0 +1,42 @@ +/** + A container for closures to be executed before and after each example. +*/ +final internal class ExampleHooks { + internal var befores: [BeforeExampleWithMetadataClosure] = [] + internal var afters: [AfterExampleWithMetadataClosure] = [] + internal var phase: HooksPhase = .NothingExecuted + + internal func appendBefore(closure: BeforeExampleWithMetadataClosure) { + befores.append(closure) + } + + internal func appendBefore(closure: BeforeExampleClosure) { + befores.append { (exampleMetadata: ExampleMetadata) in closure() } + } + + internal func appendAfter(closure: AfterExampleWithMetadataClosure) { + afters.append(closure) + } + + internal func appendAfter(closure: AfterExampleClosure) { + afters.append { (exampleMetadata: ExampleMetadata) in closure() } + } + + internal func executeBefores(exampleMetadata: ExampleMetadata) { + phase = .BeforesExecuting + for before in befores { + before(exampleMetadata: exampleMetadata) + } + + phase = .BeforesFinished + } + + internal func executeAfters(exampleMetadata: ExampleMetadata) { + phase = .AftersExecuting + for after in afters { + after(exampleMetadata: exampleMetadata) + } + + phase = .AftersFinished + } +} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift b/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift new file mode 100644 index 000000000..8dc3784c8 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift @@ -0,0 +1,11 @@ +/** + A description of the execution cycle of the current example with + respect to the hooks of that example. + */ +internal enum HooksPhase: Int { + case NothingExecuted = 0 + case BeforesExecuting + case BeforesFinished + case AftersExecuting + case AftersFinished +} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift b/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift new file mode 100644 index 000000000..59bdcf278 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift @@ -0,0 +1,32 @@ +/** + A container for closures to be executed before and after all examples. +*/ +final internal class SuiteHooks { + internal var befores: [BeforeSuiteClosure] = [] + internal var afters: [AfterSuiteClosure] = [] + internal var phase: HooksPhase = .NothingExecuted + + internal func appendBefore(closure: BeforeSuiteClosure) { + befores.append(closure) + } + + internal func appendAfter(closure: AfterSuiteClosure) { + afters.append(closure) + } + + internal func executeBefores() { + phase = .BeforesExecuting + for before in befores { + before() + } + phase = .BeforesFinished + } + + internal func executeAfters() { + phase = .AftersExecuting + for after in afters { + after() + } + phase = .AftersFinished + } +} diff --git a/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift b/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift new file mode 100644 index 000000000..e8709e0db --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift @@ -0,0 +1,20 @@ +#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS) + +import Foundation + +extension NSBundle { + + /** + Locates the first bundle with a '.xctest' file extension. + */ + internal static var currentTestBundle: NSBundle? { + return allBundles().lazy + .filter { + $0.bundlePath.hasSuffix(".xctest") + } + .first + } + +} + +#endif diff --git a/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.h b/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.h new file mode 100644 index 000000000..2da524e58 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.h @@ -0,0 +1,17 @@ +#import + +/** + QuickSpec converts example names into test methods. + Those test methods need valid selector names, which means no whitespace, + control characters, etc. This category gives NSString objects an easy way + to replace those illegal characters with underscores. + */ +@interface NSString (QCKSelectorName) + +/** + Returns a string with underscores in place of all characters that cannot + be included in a selector (SEL) name. + */ +@property (nonatomic, readonly) NSString *qck_selectorName; + +@end diff --git a/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.m b/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.m new file mode 100644 index 000000000..d374be66e --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/NSString+QCKSelectorName.m @@ -0,0 +1,37 @@ +#import "NSString+QCKSelectorName.h" + +@implementation NSString (QCKSelectorName) + +- (NSString *)qck_selectorName { + static NSMutableCharacterSet *invalidCharacters = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + invalidCharacters = [NSMutableCharacterSet new]; + + NSCharacterSet *whitespaceCharacterSet = [NSCharacterSet whitespaceCharacterSet]; + NSCharacterSet *newlineCharacterSet = [NSCharacterSet newlineCharacterSet]; + NSCharacterSet *illegalCharacterSet = [NSCharacterSet illegalCharacterSet]; + NSCharacterSet *controlCharacterSet = [NSCharacterSet controlCharacterSet]; + NSCharacterSet *punctuationCharacterSet = [NSCharacterSet punctuationCharacterSet]; + NSCharacterSet *nonBaseCharacterSet = [NSCharacterSet nonBaseCharacterSet]; + NSCharacterSet *symbolCharacterSet = [NSCharacterSet symbolCharacterSet]; + + [invalidCharacters formUnionWithCharacterSet:whitespaceCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:newlineCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:illegalCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:controlCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:punctuationCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:nonBaseCharacterSet]; + [invalidCharacters formUnionWithCharacterSet:symbolCharacterSet]; + }); + + NSArray *validComponents = [self componentsSeparatedByCharactersInSet:invalidCharacters]; + + NSString *result = [validComponents componentsJoinedByString:@"_"]; + + return ([result length] == 0 + ? @"_" + : result); +} + +@end diff --git a/Example/Pods/Quick/Sources/Quick/Quick.h b/Example/Pods/Quick/Sources/Quick/Quick.h new file mode 100644 index 000000000..87dad100a --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/Quick.h @@ -0,0 +1,11 @@ +#import + +//! Project version number for Quick. +FOUNDATION_EXPORT double QuickVersionNumber; + +//! Project version string for Quick. +FOUNDATION_EXPORT const unsigned char QuickVersionString[]; + +#import "QuickSpec.h" +#import "QCKDSL.h" +#import "QuickConfiguration.h" diff --git a/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift b/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift new file mode 100644 index 000000000..5163a4e53 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift @@ -0,0 +1,73 @@ +#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS) + +/** + Responsible for building a "Selected tests" suite. This corresponds to a single + spec, and all its examples. + */ +internal class QuickSelectedTestSuiteBuilder: QuickTestSuiteBuilder { + + /** + The test spec class to run. + */ + let testCaseClass: AnyClass! + + /** + For Objective-C classes, returns the class name. For Swift classes without, + an explicit Objective-C name, returns a module-namespaced class name + (e.g., "FooTests.FooSpec"). + */ + var testSuiteClassName: String { + return NSStringFromClass(testCaseClass) + } + + /** + Given a test case name: + + FooSpec/testFoo + + Optionally constructs a test suite builder for the named test case class + in the running test bundle. + + If no test bundle can be found, or the test case class can't be found, + initialization fails and returns `nil`. + */ + init?(forTestCaseWithName name: String) { + guard let testCaseClass = testCaseClassForTestCaseWithName(name) else { + self.testCaseClass = nil + return nil + } + + self.testCaseClass = testCaseClass + } + + /** + Returns a `QuickTestSuite` that runs the associated test case class. + */ + func buildTestSuite() -> QuickTestSuite { + return QuickTestSuite(forTestCaseClass: testCaseClass) + } + +} + +/** + Searches `NSBundle.allBundles()` for an xctest bundle, then looks up the named + test case class in that bundle. + + Returns `nil` if a bundle or test case class cannot be found. + */ +private func testCaseClassForTestCaseWithName(name: String) -> AnyClass? { + func extractClassName(name: String) -> String? { + return name.characters.split("/").first.map(String.init) + } + + guard let className = extractClassName(name) else { return nil } + guard let bundle = NSBundle.currentTestBundle else { return nil } + + if let testCaseClass = bundle.classNamed(className) { return testCaseClass } + + guard let moduleName = bundle.bundlePath.fileName else { return nil } + + return NSClassFromString("\(moduleName).\(className)") +} + +#endif diff --git a/Example/Pods/Quick/Sources/Quick/QuickSpec.h b/Example/Pods/Quick/Sources/Quick/QuickSpec.h new file mode 100644 index 000000000..105a97e2c --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/QuickSpec.h @@ -0,0 +1,50 @@ +#import + +/** + QuickSpec is a base class all specs written in Quick inherit from. + They need to inherit from QuickSpec, a subclass of XCTestCase, in + order to be discovered by the XCTest framework. + + XCTest automatically compiles a list of XCTestCase subclasses included + in the test target. It iterates over each class in that list, and creates + a new instance of that class for each test method. It then creates an + "invocation" to execute that test method. The invocation is an instance of + NSInvocation, which represents a single message send in Objective-C. + The invocation is set on the XCTestCase instance, and the test is run. + + Most of the code in QuickSpec is dedicated to hooking into XCTest events. + First, when the spec is first loaded and before it is sent any messages, + the +[NSObject initialize] method is called. QuickSpec overrides this method + to call +[QuickSpec spec]. This builds the example group stacks and + registers them with Quick.World, a global register of examples. + + Then, XCTest queries QuickSpec for a list of test methods. Normally, XCTest + automatically finds all methods whose selectors begin with the string "test". + However, QuickSpec overrides this default behavior by implementing the + +[XCTestCase testInvocations] method. This method iterates over each example + registered in Quick.World, defines a new method for that example, and + returns an invocation to call that method to XCTest. Those invocations are + the tests that are run by XCTest. Their selector names are displayed in + the Xcode test navigation bar. + */ +@interface QuickSpec : XCTestCase + +/** + Override this method in your spec to define a set of example groups + and examples. + + @code + override func spec() { + describe("winter") { + it("is coming") { + // ... + } + } + } + @endcode + + See DSL.swift for more information on what syntax is available. + */ +- (void)spec; + +@end diff --git a/Example/Pods/Quick/Sources/Quick/QuickSpec.m b/Example/Pods/Quick/Sources/Quick/QuickSpec.m new file mode 100644 index 000000000..ea6493440 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/QuickSpec.m @@ -0,0 +1,170 @@ +#import "QuickSpec.h" +#import "QuickConfiguration.h" +#import "NSString+QCKSelectorName.h" +#import "World.h" +#import + +static QuickSpec *currentSpec = nil; + +const void * const QCKExampleKey = &QCKExampleKey; + +@interface QuickSpec () +@property (nonatomic, strong) Example *example; +@end + +@implementation QuickSpec + +#pragma mark - XCTestCase Overrides + +/** + The runtime sends initialize to each class in a program just before the class, or any class + that inherits from it, is sent its first message from within the program. QuickSpec hooks into + this event to compile the example groups for this spec subclass. + + If an exception occurs when compiling the examples, report it to the user. Chances are they + included an expectation outside of a "it", "describe", or "context" block. + */ ++ (void)initialize { + [QuickConfiguration initialize]; + + World *world = [World sharedWorld]; + [world performWithCurrentExampleGroup:[world rootExampleGroupForSpecClass:self] closure:^{ + QuickSpec *spec = [self new]; + + @try { + [spec spec]; + } + @catch (NSException *exception) { + [NSException raise:NSInternalInconsistencyException + format:@"An exception occurred when building Quick's example groups.\n" + @"Some possible reasons this might happen include:\n\n" + @"- An 'expect(...).to' expectation was evaluated outside of " + @"an 'it', 'context', or 'describe' block\n" + @"- 'sharedExamples' was called twice with the same name\n" + @"- 'itBehavesLike' was called with a name that is not registered as a shared example\n\n" + @"Here's the original exception: '%@', reason: '%@', userInfo: '%@'", + exception.name, exception.reason, exception.userInfo]; + } + [self testInvocations]; + }]; +} + +/** + Invocations for each test method in the test case. QuickSpec overrides this method to define a + new method for each example defined in +[QuickSpec spec]. + + @return An array of invocations that execute the newly defined example methods. + */ ++ (NSArray *)testInvocations { + NSArray *examples = [[World sharedWorld] examplesForSpecClass:[self class]]; + NSMutableArray *invocations = [NSMutableArray arrayWithCapacity:[examples count]]; + + NSMutableSet *selectorNames = [NSMutableSet set]; + + for (Example *example in examples) { + SEL selector = [self addInstanceMethodForExample:example classSelectorNames:selectorNames]; + NSInvocation *invocation = [self invocationForInstanceMethodWithSelector:selector + example:example]; + [invocations addObject:invocation]; + } + + return invocations; +} + +/** + XCTest sets the invocation for the current test case instance using this setter. + QuickSpec hooks into this event to give the test case a reference to the current example. + It will need this reference to correctly report its name to XCTest. + */ +- (void)setInvocation:(NSInvocation *)invocation { + self.example = objc_getAssociatedObject(invocation, QCKExampleKey); + [super setInvocation:invocation]; +} + +#pragma mark - Public Interface + +- (void)spec { } + +#pragma mark - Internal Methods + +/** + QuickSpec uses this method to dynamically define a new instance method for the + given example. The instance method runs the example, catching any exceptions. + The exceptions are then reported as test failures. + + In order to report the correct file and line number, examples must raise exceptions + containing following keys in their userInfo: + + - "SenTestFilenameKey": A String representing the file name + - "SenTestLineNumberKey": An Int representing the line number + + These keys used to be used by SenTestingKit, and are still used by some testing tools + in the wild. See: https://github.com/Quick/Quick/pull/41 + + @return The selector of the newly defined instance method. + */ ++ (SEL)addInstanceMethodForExample:(Example *)example classSelectorNames:(NSMutableSet *)selectorNames { + IMP implementation = imp_implementationWithBlock(^(QuickSpec *self){ + currentSpec = self; + [example run]; + }); + NSCharacterSet *characterSet = [NSCharacterSet alphanumericCharacterSet]; + NSMutableString *sanitizedFileName = [NSMutableString string]; + for (NSUInteger i = 0; i < example.callsite.file.length; i++) { + unichar ch = [example.callsite.file characterAtIndex:i]; + if ([characterSet characterIsMember:ch]) { + [sanitizedFileName appendFormat:@"%c", ch]; + } + } + + const char *types = [[NSString stringWithFormat:@"%s%s%s", @encode(id), @encode(id), @encode(SEL)] UTF8String]; + + NSString *originalName = example.name.qck_selectorName; + NSString *selectorName = originalName; + NSUInteger i = 2; + + while ([selectorNames containsObject:selectorName]) { + selectorName = [NSString stringWithFormat:@"%@_%tu", originalName, i++]; + } + + [selectorNames addObject:selectorName]; + + SEL selector = NSSelectorFromString(selectorName); + class_addMethod(self, selector, implementation, types); + + return selector; +} + ++ (NSInvocation *)invocationForInstanceMethodWithSelector:(SEL)selector + example:(Example *)example { + NSMethodSignature *signature = [self instanceMethodSignatureForSelector:selector]; + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; + invocation.selector = selector; + objc_setAssociatedObject(invocation, + QCKExampleKey, + example, + OBJC_ASSOCIATION_RETAIN_NONATOMIC); + return invocation; +} + +/** + This method is used to record failures, whether they represent example + expectations that were not met, or exceptions raised during test setup + and teardown. By default, the failure will be reported as an + XCTest failure, and the example will be highlighted in Xcode. + */ +- (void)recordFailureWithDescription:(NSString *)description + inFile:(NSString *)filePath + atLine:(NSUInteger)lineNumber + expected:(BOOL)expected { + if (self.example.isSharedExample) { + filePath = self.example.callsite.file; + lineNumber = self.example.callsite.line; + } + [currentSpec.testRun recordFailureWithDescription:description + inFile:filePath + atLine:lineNumber + expected:expected]; +} + +@end diff --git a/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift b/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift new file mode 100644 index 000000000..0cb51879a --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift @@ -0,0 +1,52 @@ +#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS) + +import XCTest + +/** + This protocol defines the role of an object that builds test suites. + */ +internal protocol QuickTestSuiteBuilder { + + /** + Construct a `QuickTestSuite` instance with the appropriate test cases added as tests. + + Subsequent calls to this method should return equivalent test suites. + */ + func buildTestSuite() -> QuickTestSuite + +} + +/** + A base class for a class cluster of Quick test suites, that should correctly + build dynamic test suites for XCTest to execute. + */ +public class QuickTestSuite: XCTestSuite { + + private static var builtTestSuites: Set = Set() + + /** + Construct a test suite for a specific, selected subset of test cases (rather + than the default, which as all test cases). + + If this method is called multiple times for the same test case class, e.g.. + + FooSpec/testFoo + FooSpec/testBar + + It is expected that the first call should return a valid test suite, and + all subsequent calls should return `nil`. + */ + public static func selectedTestSuite(forTestCaseWithName name: String) -> QuickTestSuite? { + guard let builder = QuickSelectedTestSuiteBuilder(forTestCaseWithName: name) else { return nil } + + if builtTestSuites.contains(builder.testSuiteClassName) { + return nil + } else { + builtTestSuites.insert(builder.testSuiteClassName) + return builder.buildTestSuite() + } + } + +} + +#endif diff --git a/Example/Pods/Quick/Sources/Quick/String+FileName.swift b/Example/Pods/Quick/Sources/Quick/String+FileName.swift new file mode 100644 index 000000000..87cea7a35 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/String+FileName.swift @@ -0,0 +1,12 @@ +import Foundation + +extension String { + + /** + If the receiver represents a path, returns its file name with a file extension. + */ + var fileName: String? { + return NSURL(string: self)?.URLByDeletingPathExtension?.lastPathComponent + } + +} diff --git a/Example/Pods/Quick/Sources/Quick/World.h b/Example/Pods/Quick/Sources/Quick/World.h new file mode 100644 index 000000000..e638cf6c6 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/World.h @@ -0,0 +1,18 @@ +#import + +@class ExampleGroup; +@class ExampleMetadata; + +SWIFT_CLASS("_TtC5Quick5World") +@interface World + +@property (nonatomic) ExampleGroup * __nullable currentExampleGroup; +@property (nonatomic) ExampleMetadata * __nullable currentExampleMetadata; +@property (nonatomic) BOOL isRunningAdditionalSuites; ++ (World * __nonnull)sharedWorld; +- (void)configure:(void (^ __nonnull)(Configuration * __nonnull))closure; +- (void)finalizeConfiguration; +- (ExampleGroup * __nonnull)rootExampleGroupForSpecClass:(Class __nonnull)cls; +- (NSArray * __nonnull)examplesForSpecClass:(Class __nonnull)specClass; +- (void)performWithCurrentExampleGroup:(ExampleGroup * __nonnull)group closure:(void (^ __nonnull)(void))closure; +@end diff --git a/Example/Pods/Quick/Sources/Quick/World.swift b/Example/Pods/Quick/Sources/Quick/World.swift new file mode 100644 index 000000000..b2b58c88d --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/World.swift @@ -0,0 +1,230 @@ +import Foundation + +/** + A closure that, when evaluated, returns a dictionary of key-value + pairs that can be accessed from within a group of shared examples. +*/ +public typealias SharedExampleContext = () -> (NSDictionary) + +/** + A closure that is used to define a group of shared examples. This + closure may contain any number of example and example groups. +*/ +public typealias SharedExampleClosure = (SharedExampleContext) -> () + +/** + A collection of state Quick builds up in order to work its magic. + World is primarily responsible for maintaining a mapping of QuickSpec + classes to root example groups for those classes. + + It also maintains a mapping of shared example names to shared + example closures. + + You may configure how Quick behaves by calling the -[World configure:] + method from within an overridden +[QuickConfiguration configure:] method. +*/ +final internal class World: NSObject { + /** + The example group that is currently being run. + The DSL requires that this group is correctly set in order to build a + correct hierarchy of example groups and their examples. + */ + internal var currentExampleGroup: ExampleGroup! + + /** + The example metadata of the test that is currently being run. + This is useful for using the Quick test metadata (like its name) at + runtime. + */ + + internal var currentExampleMetadata: ExampleMetadata? + + /** + A flag that indicates whether additional test suites are being run + within this test suite. This is only true within the context of Quick + functional tests. + */ + internal var isRunningAdditionalSuites = false + + private var specs: Dictionary = [:] + private var sharedExamples: [String: SharedExampleClosure] = [:] + private let configuration = Configuration() + private var isConfigurationFinalized = false + + internal var exampleHooks: ExampleHooks {return configuration.exampleHooks } + internal var suiteHooks: SuiteHooks { return configuration.suiteHooks } + + // MARK: Singleton Constructor + + private override init() {} + static let sharedWorld = World() + + // MARK: Public Interface + + /** + Exposes the World's Configuration object within the scope of the closure + so that it may be configured. This method must not be called outside of + an overridden +[QuickConfiguration configure:] method. + + - parameter closure: A closure that takes a Configuration object that can + be mutated to change Quick's behavior. + */ + internal func configure(closure: QuickConfigurer) { + assert(!isConfigurationFinalized, + "Quick cannot be configured outside of a +[QuickConfiguration configure:] method. You should not call -[World configure:] directly. Instead, subclass QuickConfiguration and override the +[QuickConfiguration configure:] method.") + closure(configuration: configuration) + } + + /** + Finalizes the World's configuration. + Any subsequent calls to World.configure() will raise. + */ + internal func finalizeConfiguration() { + isConfigurationFinalized = true + } + + /** + Returns an internally constructed root example group for the given + QuickSpec class. + + A root example group with the description "root example group" is lazily + initialized for each QuickSpec class. This root example group wraps the + top level of a -[QuickSpec spec] method--it's thanks to this group that + users can define beforeEach and it closures at the top level, like so: + + override func spec() { + // These belong to the root example group + beforeEach {} + it("is at the top level") {} + } + + - parameter cls: The QuickSpec class for which to retrieve the root example group. + - returns: The root example group for the class. + */ + internal func rootExampleGroupForSpecClass(cls: AnyClass) -> ExampleGroup { + #if _runtime(_ObjC) + let name = NSStringFromClass(cls) + #else + let name = String(cls) + #endif + + if let group = specs[name] { + return group + } else { + let group = ExampleGroup( + description: "root example group", + flags: [:], + isInternalRootExampleGroup: true + ) + specs[name] = group + return group + } + } + + /** + Returns all examples that should be run for a given spec class. + There are two filtering passes that occur when determining which examples should be run. + That is, these examples are the ones that are included by inclusion filters, and are + not excluded by exclusion filters. + + - parameter specClass: The QuickSpec subclass for which examples are to be returned. + - returns: A list of examples to be run as test invocations. + */ + internal func examples(specClass: AnyClass) -> [Example] { + // 1. Grab all included examples. + let included = includedExamples + // 2. Grab the intersection of (a) examples for this spec, and (b) included examples. + let spec = rootExampleGroupForSpecClass(specClass).examples.filter { included.contains($0) } + // 3. Remove all excluded examples. + return spec.filter { example in + !self.configuration.exclusionFilters.reduce(false) { $0 || $1(example: example) } + } + } + +#if _runtime(_ObjC) + @objc(examplesForSpecClass:) + private func objc_examples(specClass: AnyClass) -> [Example] { + return examples(specClass) + } +#endif + + // MARK: Internal + + internal func registerSharedExample(name: String, closure: SharedExampleClosure) { + raiseIfSharedExampleAlreadyRegistered(name) + sharedExamples[name] = closure + } + + internal func sharedExample(name: String) -> SharedExampleClosure { + raiseIfSharedExampleNotRegistered(name) + return sharedExamples[name]! + } + + internal var includedExampleCount: Int { + return includedExamples.count + } + + internal var beforesCurrentlyExecuting: Bool { + let suiteBeforesExecuting = suiteHooks.phase == .BeforesExecuting + let exampleBeforesExecuting = exampleHooks.phase == .BeforesExecuting + var groupBeforesExecuting = false + if let runningExampleGroup = currentExampleMetadata?.example.group { + groupBeforesExecuting = runningExampleGroup.phase == .BeforesExecuting + } + + return suiteBeforesExecuting || exampleBeforesExecuting || groupBeforesExecuting + } + + internal var aftersCurrentlyExecuting: Bool { + let suiteAftersExecuting = suiteHooks.phase == .AftersExecuting + let exampleAftersExecuting = exampleHooks.phase == .AftersExecuting + var groupAftersExecuting = false + if let runningExampleGroup = currentExampleMetadata?.example.group { + groupAftersExecuting = runningExampleGroup.phase == .AftersExecuting + } + + return suiteAftersExecuting || exampleAftersExecuting || groupAftersExecuting + } + + internal func performWithCurrentExampleGroup(group: ExampleGroup, closure: () -> Void) { + let previousExampleGroup = currentExampleGroup + currentExampleGroup = group + + closure() + + currentExampleGroup = previousExampleGroup + } + + private var allExamples: [Example] { + var all: [Example] = [] + for (_, group) in specs { + group.walkDownExamples { all.append($0) } + } + return all + } + + private var includedExamples: [Example] { + let all = allExamples + let included = all.filter { example in + return self.configuration.inclusionFilters.reduce(false) { $0 || $1(example: example) } + } + + if included.isEmpty && configuration.runAllWhenEverythingFiltered { + return all + } else { + return included + } + } + + private func raiseIfSharedExampleAlreadyRegistered(name: String) { + if sharedExamples[name] != nil { + raiseError("A shared example named '\(name)' has already been registered.") + } + } + + private func raiseIfSharedExampleNotRegistered(name: String) { + if sharedExamples[name] == nil { + raiseError("No shared example named '\(name)' has been registered. Registered shared examples: '\(Array(sharedExamples.keys))'") + } + } +} diff --git a/Example/Pods/Quick/Sources/Quick/XCTestSuite+QuickTestSuiteBuilder.m b/Example/Pods/Quick/Sources/Quick/XCTestSuite+QuickTestSuiteBuilder.m new file mode 100644 index 000000000..e49939e96 --- /dev/null +++ b/Example/Pods/Quick/Sources/Quick/XCTestSuite+QuickTestSuiteBuilder.m @@ -0,0 +1,40 @@ +#import +#import +#import + +@interface XCTestSuite (QuickTestSuiteBuilder) +@end + +@implementation XCTestSuite (QuickTestSuiteBuilder) + +/** + In order to ensure we can correctly build dynamic test suites, we need to + replace some of the default test suite constructors. + */ ++ (void)load { + Method testCaseWithName = class_getClassMethod(self, @selector(testSuiteForTestCaseWithName:)); + Method hooked_testCaseWithName = class_getClassMethod(self, @selector(qck_hooked_testSuiteForTestCaseWithName:)); + method_exchangeImplementations(testCaseWithName, hooked_testCaseWithName); +} + +/** + The `+testSuiteForTestCaseWithName:` method is called when a specific test case + class is run from the Xcode test navigator. If the built test suite is `nil`, + Xcode will not run any tests for that test case. + + Given if the following test case class is run from the Xcode test navigator: + + FooSpec + testFoo + testBar + + XCTest will invoke this once per test case, with test case names following this format: + + FooSpec/testFoo + FooSpec/testBar + */ ++ (nullable instancetype)qck_hooked_testSuiteForTestCaseWithName:(nonnull NSString *)name { + return [QuickTestSuite selectedTestSuiteForTestCaseWithName:name]; +} + +@end diff --git a/Example/Pods/Target Support Files/Analytics/Analytics-umbrella.h b/Example/Pods/Target Support Files/Analytics/Analytics-umbrella.h index 5aa7e94f2..30114ab22 100644 --- a/Example/Pods/Target Support Files/Analytics/Analytics-umbrella.h +++ b/Example/Pods/Target Support Files/Analytics/Analytics-umbrella.h @@ -1,5 +1,7 @@ #import +#import "SEGAES256Crypto.h" +#import "SEGCrypto.h" #import "SEGAliasPayload.h" #import "SEGGroupPayload.h" #import "SEGIdentifyPayload.h" @@ -11,12 +13,16 @@ #import "NSData+SEGGZIP.h" #import "SEGAnalyticsUtils.h" #import "SEGBluetooth.h" +#import "SEGFileStorage.h" #import "SEGHTTPClient.h" #import "SEGLocation.h" #import "SEGReachability.h" #import "SEGSegmentIntegration.h" #import "SEGSegmentIntegrationFactory.h" +#import "SEGStorage.h" #import "SEGStoreKitTracker.h" +#import "SEGUserDefaultsStorage.h" +#import "SEGUtils.h" #import "UIViewController+SEGScreen.h" #import "SEGAnalytics.h" diff --git a/Example/Pods/Target Support Files/Analytics/Analytics.xcconfig b/Example/Pods/Target Support Files/Analytics/Analytics.xcconfig index 641d61d70..b67e99144 100644 --- a/Example/Pods/Target Support Files/Analytics/Analytics.xcconfig +++ b/Example/Pods/Target Support Files/Analytics/Analytics.xcconfig @@ -1,6 +1,7 @@ CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Analytics GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "Security" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} diff --git a/Example/Pods/Target Support Files/Nimble/Info.plist b/Example/Pods/Target Support Files/Nimble/Info.plist new file mode 100644 index 000000000..c26f36f07 --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 4.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Nimble/Nimble-dummy.m b/Example/Pods/Target Support Files/Nimble/Nimble-dummy.m new file mode 100644 index 000000000..e8177ab4e --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Nimble-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Nimble : NSObject +@end +@implementation PodsDummy_Nimble +@end diff --git a/Example/Pods/Target Support Files/Nimble/Nimble-prefix.pch b/Example/Pods/Target Support Files/Nimble/Nimble-prefix.pch new file mode 100644 index 000000000..aa992a4ad --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Nimble-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Example/Pods/Target Support Files/Nimble/Nimble-umbrella.h b/Example/Pods/Target Support Files/Nimble/Nimble-umbrella.h new file mode 100644 index 000000000..37013129b --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Nimble-umbrella.h @@ -0,0 +1,10 @@ +#import + +#import "DSL.h" +#import "NMBExceptionCapture.h" +#import "NMBStringify.h" +#import "Nimble.h" + +FOUNDATION_EXPORT double NimbleVersionNumber; +FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Nimble/Nimble.modulemap b/Example/Pods/Target Support Files/Nimble/Nimble.modulemap new file mode 100644 index 000000000..6f77009ec --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Nimble.modulemap @@ -0,0 +1,6 @@ +framework module Nimble { + umbrella header "Nimble-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Nimble/Nimble.xcconfig b/Example/Pods/Target Support Files/Nimble/Nimble.xcconfig new file mode 100644 index 000000000..bc9e893be --- /dev/null +++ b/Example/Pods/Target Support Files/Nimble/Nimble.xcconfig @@ -0,0 +1,12 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nimble +ENABLE_BITCODE = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -weak-lswiftXCTest -weak_framework "XCTest" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.markdown index b961c9737..efabfe33c 100644 --- a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.markdown @@ -24,6 +24,211 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +## Nimble + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 Quick Team + + 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. + + ## Nocilla Copyright (c) 2012 Luis Solano Bonet @@ -48,6 +253,211 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +## Quick + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014, Quick Team + + 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. + + ## Specta Copyright (c) 2012-2014 Specta Team. diff --git a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.plist index 25378c9c0..57050acb6 100644 --- a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-acknowledgements.plist @@ -39,6 +39,215 @@ THE SOFTWARE. Type PSGroupSpecifier + + FooterText + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 Quick Team + + 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. + + Title + Nimble + Type + PSGroupSpecifier + FooterText Copyright (c) 2012 Luis Solano Bonet @@ -67,6 +276,215 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Type PSGroupSpecifier + + FooterText + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014, Quick Team + + 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. + + Title + Quick + Type + PSGroupSpecifier + FooterText Copyright (c) 2012-2014 Specta Team. diff --git a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-frameworks.sh index ddb98e3e7..381219c85 100755 --- a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests-frameworks.sh @@ -85,11 +85,15 @@ strip_invalid_archs() { if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "$BUILT_PRODUCTS_DIR/Expecta/Expecta.framework" + install_framework "$BUILT_PRODUCTS_DIR/Nimble/Nimble.framework" install_framework "$BUILT_PRODUCTS_DIR/Nocilla/Nocilla.framework" + install_framework "$BUILT_PRODUCTS_DIR/Quick/Quick.framework" install_framework "$BUILT_PRODUCTS_DIR/Specta/Specta.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then install_framework "$BUILT_PRODUCTS_DIR/Expecta/Expecta.framework" + install_framework "$BUILT_PRODUCTS_DIR/Nimble/Nimble.framework" install_framework "$BUILT_PRODUCTS_DIR/Nocilla/Nocilla.framework" + install_framework "$BUILT_PRODUCTS_DIR/Quick/Quick.framework" install_framework "$BUILT_PRODUCTS_DIR/Specta/Specta.framework" fi diff --git a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.debug.xcconfig index fc6a326e7..d4c2a65f0 100644 --- a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.debug.xcconfig @@ -1,8 +1,10 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla" "$PODS_CONFIGURATION_BUILD_DIR/Specta" "$PODS_CONFIGURATION_BUILD_DIR/Analytics" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Nimble" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla" "$PODS_CONFIGURATION_BUILD_DIR/Quick" "$PODS_CONFIGURATION_BUILD_DIR/Specta" "$PODS_CONFIGURATION_BUILD_DIR/Analytics" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Analytics/Analytics.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Expecta" -framework "Nocilla" -framework "Specta" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Analytics/Analytics.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "Expecta" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "Specta" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.release.xcconfig index fc6a326e7..d4c2a65f0 100644 --- a/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Analytics_Tests/Pods-Analytics_Tests.release.xcconfig @@ -1,8 +1,10 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla" "$PODS_CONFIGURATION_BUILD_DIR/Specta" "$PODS_CONFIGURATION_BUILD_DIR/Analytics" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Nimble" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla" "$PODS_CONFIGURATION_BUILD_DIR/Quick" "$PODS_CONFIGURATION_BUILD_DIR/Specta" "$PODS_CONFIGURATION_BUILD_DIR/Analytics" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Analytics/Analytics.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Expecta" -framework "Nocilla" -framework "Specta" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Analytics/Analytics.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "Expecta" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "Specta" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Quick/Info.plist b/Example/Pods/Target Support Files/Quick/Info.plist new file mode 100644 index 000000000..b8a90bb88 --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.9.3 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Quick/Quick-dummy.m b/Example/Pods/Target Support Files/Quick/Quick-dummy.m new file mode 100644 index 000000000..54d7dc0a6 --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Quick-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Quick : NSObject +@end +@implementation PodsDummy_Quick +@end diff --git a/Example/Pods/Target Support Files/Quick/Quick-prefix.pch b/Example/Pods/Target Support Files/Quick/Quick-prefix.pch new file mode 100644 index 000000000..aa992a4ad --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Quick-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Example/Pods/Target Support Files/Quick/Quick-umbrella.h b/Example/Pods/Target Support Files/Quick/Quick-umbrella.h new file mode 100644 index 000000000..c1aab140d --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Quick-umbrella.h @@ -0,0 +1,10 @@ +#import + +#import "QuickConfiguration.h" +#import "QCKDSL.h" +#import "Quick.h" +#import "QuickSpec.h" + +FOUNDATION_EXPORT double QuickVersionNumber; +FOUNDATION_EXPORT const unsigned char QuickVersionString[]; + diff --git a/Example/Pods/Target Support Files/Quick/Quick.modulemap b/Example/Pods/Target Support Files/Quick/Quick.modulemap new file mode 100644 index 000000000..1d12b2153 --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Quick.modulemap @@ -0,0 +1,6 @@ +framework module Quick { + umbrella header "Quick-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Quick/Quick.xcconfig b/Example/Pods/Target Support Files/Quick/Quick.xcconfig new file mode 100644 index 000000000..f25ce8398 --- /dev/null +++ b/Example/Pods/Target Support Files/Quick/Quick.xcconfig @@ -0,0 +1,12 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Quick +ENABLE_BITCODE = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "XCTest" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Tests/Analytics_Tests-Bridging-Header.h b/Example/Tests/Analytics_Tests-Bridging-Header.h new file mode 100644 index 000000000..90245d2a3 --- /dev/null +++ b/Example/Tests/Analytics_Tests-Bridging-Header.h @@ -0,0 +1,9 @@ +// +// Use this file to import your target's public headers that you would like to expose to Swift. +// + +#import +#import +#import +#import +#import diff --git a/Example/Tests/CryptoTest.swift b/Example/Tests/CryptoTest.swift new file mode 100644 index 000000000..18e7fa89e --- /dev/null +++ b/Example/Tests/CryptoTest.swift @@ -0,0 +1,60 @@ +// +// CryptoTest.swift +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +import Quick +import Nimble +import Analytics + +class CryptoTest : QuickSpec { + override func spec() { + var crypto : SEGAES256Crypto! + beforeEach { + crypto = SEGAES256Crypto(password: "slothysloth") + } + + it("encrypts and decrypts data") { + let strIn = "segment" + let dataIn = strIn.dataUsingEncoding(NSUTF8StringEncoding)! + let encryptedData = crypto.encrypt(dataIn) + expect(encryptedData).toNot(beNil()) + + let dataOut = crypto.decrypt(encryptedData!) + expect(dataOut) == dataIn + + let strOut = String(data: dataOut!, encoding: NSUTF8StringEncoding) + expect(strOut) == "segment" + } + + it("fails for incorrect password") { + let strIn = "segment" + let dataIn = strIn.dataUsingEncoding(NSUTF8StringEncoding)! + let encryptedData = crypto.encrypt(dataIn) + expect(encryptedData).toNot(beNil()) + + let crypto2 = SEGAES256Crypto(password: "wolf", salt: crypto.salt, iv: crypto.iv) + let dataOut = crypto2.decrypt(encryptedData!) + expect(dataOut) != dataIn + + let strOut = String(data: dataOut!, encoding: NSUTF8StringEncoding) + expect(strOut).to(beNil()) + } + + it("fails for incorrect iv and sault") { + let strIn = "segment" + let dataIn = strIn.dataUsingEncoding(NSUTF8StringEncoding)! + let encryptedData = crypto.encrypt(dataIn) + expect(encryptedData).toNot(beNil()) + + let crypto2 = SEGAES256Crypto(password: crypto.password) + let dataOut = crypto2.decrypt(encryptedData!) + expect(dataOut) != dataIn + + let strOut = String(data: dataOut!, encoding: NSUTF8StringEncoding) + expect(strOut).to(beNil()) + } + } +} diff --git a/Example/Tests/FileStorageTest.swift b/Example/Tests/FileStorageTest.swift new file mode 100644 index 000000000..be8c4df50 --- /dev/null +++ b/Example/Tests/FileStorageTest.swift @@ -0,0 +1,123 @@ +// +// FileStorageTest.swift +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +import Quick +import Nimble +import Analytics + +class FileStorageTest : QuickSpec { + override func spec() { + var storage : SEGFileStorage! + beforeEach { + let url = SEGFileStorage.applicationSupportDirectoryURL() + expect(url).toNot(beNil()) + expect(url?.lastPathComponent) == "Application Support" + storage = SEGFileStorage(folder: url!, crypto: nil) + } + + it("creates folder if none exists") { + let tempDir = NSURL(fileURLWithPath: NSTemporaryDirectory()) + let url = tempDir.URLByAppendingPathComponent(NSUUID().UUIDString) + expect(url.checkResourceIsReachableAndReturnError(nil)) == false + _ = SEGFileStorage(folder: url, crypto: nil) + + var isDir: ObjCBool = false + let exists = NSFileManager.defaultManager().fileExistsAtPath(url.path!, isDirectory: &isDir) + + expect(exists) == true + expect(Bool(isDir)) == true + } + + it("persists and loads data") { + let dataIn = "segment".dataUsingEncoding(NSUTF8StringEncoding)! + storage.setData(dataIn, forKey: "mydata") + + let dataOut = storage.dataForKey("mydata") + expect(dataOut) == dataIn + + let strOut = String(data: dataOut!, encoding: NSUTF8StringEncoding) + expect(strOut) == "segment" + } + + it("persists and loads string") { + let str = "san francisco" + storage.setString(str, forKey: "city") + expect(storage.stringForKey("city")) == str + + storage.removeKey("city") + expect(storage.stringForKey("city")).to(beNil()) + } + + it("persists and loads array") { + let array = [ + "san francisco", + "new york", + "tallinn", + ] + storage.setArray(array, forKey: "cities") + expect(storage.arrayForKey("cities") as? Array) == array + + storage.removeKey("cities") + expect(storage.arrayForKey("cities")).to(beNil()) + } + + it("persists and loads dictionary") { + let dict = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + storage.setDictionary(dict, forKey: "cityMap") + expect(storage.dictionaryForKey("cityMap") as? Dictionary) == dict + + storage.removeKey("cityMap") + expect(storage.dictionaryForKey("cityMap")).to(beNil()) + } + + it("saves file to disk and removes from disk") { + let key = "input.txt" + let url = storage.urlForKey(key) + expect(url.checkResourceIsReachableAndReturnError(nil)) == false + storage.setString("sloth", forKey: key) + expect(url.checkResourceIsReachableAndReturnError(nil)) == true + storage.removeKey(key) + expect(url.checkResourceIsReachableAndReturnError(nil)) == false + } + + it("should be binary compatible with old SDKs") { + let key = "traits.plist" + let dictIn = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + (dictIn as NSDictionary).writeToURL(storage.urlForKey(key), atomically: true) + let dictOut = storage.dictionaryForKey(key) + expect(dictOut as? [String: String]) == dictIn + } + + it("should work with crypto") { + let url = SEGFileStorage.applicationSupportDirectoryURL() + let crypto = SEGAES256Crypto(password: "thetrees") + let s = SEGFileStorage(folder: url!, crypto: crypto) + let dict = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + s.setDictionary(dict, forKey: "cityMap") + expect(s.dictionaryForKey("cityMap") as? Dictionary) == dict + + s.removeKey("cityMap") + expect(s.dictionaryForKey("cityMap")).to(beNil()) + } + + afterEach { + storage.resetAll() + } + } +} diff --git a/Example/Tests/UserDefaultsStorageTest.swift b/Example/Tests/UserDefaultsStorageTest.swift new file mode 100644 index 000000000..11fce5cd3 --- /dev/null +++ b/Example/Tests/UserDefaultsStorageTest.swift @@ -0,0 +1,103 @@ +// +// UserDefaultsStorageTest.swift +// Analytics +// +// Copyright © 2016 Segment. All rights reserved. +// + +import Quick +import Nimble +import Analytics + +class UserDefaultsStorageTest : QuickSpec { + override func spec() { + var storage : SEGUserDefaultsStorage! + beforeEach { +// let crypto = SEGAES256Crypto(password: "thetrees") +// storage = SEGUserDefaultsStorage(defaults: NSUserDefaults.standardUserDefaults(), namespacePrefix: "segment", crypto: crypto) +// storage = SEGUserDefaultsStorage(defaults: NSUserDefaults.standardUserDefaults(), namespacePrefix: nil, crypto: crypto) + storage = SEGUserDefaultsStorage(defaults: NSUserDefaults.standardUserDefaults(), namespacePrefix: nil, crypto: nil) + } + + it("persists and loads data") { + let dataIn = "segment".dataUsingEncoding(NSUTF8StringEncoding)! + storage.setData(dataIn, forKey: "mydata") + + let dataOut = storage.dataForKey("mydata") + expect(dataOut) == dataIn + + let strOut = String(data: dataOut!, encoding: NSUTF8StringEncoding) + expect(strOut) == "segment" + } + + it("persists and loads string") { + let str = "san francisco" + storage.setString(str, forKey: "city") + expect(storage.stringForKey("city")) == str + + storage.removeKey("city") + expect(storage.stringForKey("city")).to(beNil()) + } + + it("persists and loads array") { + let array = [ + "san francisco", + "new york", + "tallinn", + ] + storage.setArray(array, forKey: "cities") + expect(storage.arrayForKey("cities") as? Array) == array + + storage.removeKey("cities") + expect(storage.arrayForKey("cities")).to(beNil()) + } + + it("persists and loads dictionary") { + let dict = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + storage.setDictionary(dict, forKey: "cityMap") + expect(storage.dictionaryForKey("cityMap") as? Dictionary) == dict + + storage.removeKey("cityMap") + expect(storage.dictionaryForKey("cityMap")).to(beNil()) + } + + it("should work with crypto") { + let crypto = SEGAES256Crypto(password: "thetrees") + let s = SEGUserDefaultsStorage(defaults: NSUserDefaults.standardUserDefaults(), namespacePrefix: nil, crypto: crypto) + let dict = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + s.setDictionary(dict, forKey: "cityMap") + expect(s.dictionaryForKey("cityMap") as? Dictionary) == dict + + s.removeKey("cityMap") + expect(s.dictionaryForKey("cityMap")).to(beNil()) + } + + + it("should work with namespace") { + let crypto = SEGAES256Crypto(password: "thetrees") + let s = SEGUserDefaultsStorage(defaults: NSUserDefaults.standardUserDefaults(), namespacePrefix: "segment", crypto: crypto) + let dict = [ + "san francisco": "tech", + "new york": "finance", + "paris": "fashion", + ] + s.setDictionary(dict, forKey: "cityMap") + expect(s.dictionaryForKey("cityMap") as? Dictionary) == dict + + s.removeKey("cityMap") + expect(s.dictionaryForKey("cityMap")).to(beNil()) + } + + afterEach { + storage.resetAll() + } + } +}