jsonwang 3 år sedan
förälder
incheckning
2a073b2375
100 ändrade filer med 12732 tillägg och 4 borttagningar
  1. 4 4
      BFFramework.podspec
  2. 10 0
      Example/BFFramework.xcworkspace/contents.xcworkspacedata
  3. 8 0
      Example/BFFramework.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  4. 27 0
      Example/Podfile.lock
  5. 22 0
      Example/Pods/Local Podspecs/BFFramework.podspec.json
  6. 27 0
      Example/Pods/Manifest.lock
  7. 35 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift
  8. 34 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m
  9. 29 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h
  10. 53 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m
  11. 78 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h
  12. 536 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.c
  13. 329 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h
  14. 89 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift
  15. 210 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift
  16. 55 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift
  17. 35 0
      Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h
  18. 201 0
      Example/Pods/Nimble/LICENSE
  19. 1772 0
      Example/Pods/Nimble/README.md
  20. 18 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift
  21. 19 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift
  22. 127 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift
  23. 191 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift
  24. 95 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift
  25. 43 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift
  26. 91 0
      Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift
  27. 122 0
      Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift
  28. 68 0
      Example/Pods/Nimble/Sources/Nimble/DSL.swift
  29. 125 0
      Example/Pods/Nimble/Sources/Nimble/Expectation.swift
  30. 267 0
      Example/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift
  31. 101 0
      Example/Pods/Nimble/Sources/Nimble/Expression.swift
  32. 93 0
      Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift
  33. 122 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift
  34. 181 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/Async.swift
  35. 68 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift
  36. 56 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift
  37. 149 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift
  38. 116 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift
  39. 44 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift
  40. 46 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift
  41. 44 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift
  42. 43 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift
  43. 43 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift
  44. 154 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift
  45. 19 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift
  46. 19 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift
  47. 60 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift
  48. 144 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift
  49. 58 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift
  50. 16 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift
  51. 69 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift
  52. 148 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift
  53. 74 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift
  54. 29 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift
  55. 76 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift
  56. 85 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift
  57. 159 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift
  58. 100 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift
  59. 353 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift
  60. 213 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift
  61. 86 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift
  62. 94 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift
  63. 51 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift
  64. 264 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift
  65. 37 0
      Example/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift
  66. 9 0
      Example/Pods/Nimble/Sources/Nimble/Nimble.h
  67. 379 0
      Example/Pods/Nimble/Sources/Nimble/Utils/Await.swift
  68. 59 0
      Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift
  69. 14 0
      Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift
  70. 31 0
      Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift
  71. 196 0
      Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift
  72. 389 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h
  73. 161 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.m
  74. 11 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h
  75. 35 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m
  76. 18 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h
  77. 11 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.m
  78. 12 0
      Example/Pods/Nimble/Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m
  79. 1530 0
      Example/Pods/Pods.xcodeproj/project.pbxproj
  80. 201 0
      Example/Pods/Quick/LICENSE
  81. 90 0
      Example/Pods/Quick/README.md
  82. 19 0
      Example/Pods/Quick/Sources/Quick/Behavior.swift
  83. 52 0
      Example/Pods/Quick/Sources/Quick/Callsite.swift
  84. 165 0
      Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift
  85. 78 0
      Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.swift
  86. 275 0
      Example/Pods/Quick/Sources/Quick/DSL/DSL.swift
  87. 211 0
      Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift
  88. 10 0
      Example/Pods/Quick/Sources/Quick/ErrorUtility.swift
  89. 123 0
      Example/Pods/Quick/Sources/Quick/Example.swift
  90. 106 0
      Example/Pods/Quick/Sources/Quick/ExampleGroup.swift
  91. 33 0
      Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift
  92. 40 0
      Example/Pods/Quick/Sources/Quick/Filter.swift
  93. 35 0
      Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift
  94. 42 0
      Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift
  95. 11 0
      Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift
  96. 32 0
      Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift
  97. 25 0
      Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift
  98. 74 0
      Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift
  99. 69 0
      Example/Pods/Quick/Sources/Quick/QuickTestObservation.swift
  100. 52 0
      Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift

+ 4 - 4
BFFramework.podspec

@@ -9,8 +9,8 @@
 Pod::Spec.new do |s|
   s.name             = 'BFFramework'
   s.version          = '0.1.0'
-  s.summary          = 'A short description of BFFramework.'
-
+  s.summary          = 'Byte fllow 基础组件库'
+  s.swift_version    = '5.0'
 # This description is used to generate tags and improve search results.
 #   * Think: What does it do? Why did you write it? What is the focus?
 #   * Try to keep it short, snappy and to the point.
@@ -25,13 +25,13 @@ TODO: Add long description of the pod here.
   # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
   s.license          = { :type => 'MIT', :file => 'LICENSE' }
   s.author           = { '287971051@qq.com' => '287971051@qq.com' }
-  s.source           = { :git => 'https://github.com/287971051@qq.com/BFFramework.git', :tag => s.version.to_s }
+  s.source           = { :git => 'https://git.yishihui.comiOS/BFFramework.git', :tag => s.version.to_s }
   # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
 
   s.ios.deployment_target = '9.0'
 
   s.source_files = 'BFFramework/Classes/**/*'
-  
+
   # s.resource_bundles = {
   #   'BFFramework' => ['BFFramework/Assets/*.png']
   # }

+ 10 - 0
Example/BFFramework.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "group:BFFramework.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:Pods/Pods.xcodeproj">
+   </FileRef>
+</Workspace>

+ 8 - 0
Example/BFFramework.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>IDEDidComputeMac32BitWarning</key>
+	<true/>
+</dict>
+</plist>

+ 27 - 0
Example/Podfile.lock

@@ -0,0 +1,27 @@
+PODS:
+  - BFFramework (0.1.0)
+  - Nimble (8.0.9)
+  - Quick (2.2.1)
+
+DEPENDENCIES:
+  - BFFramework (from `../`)
+  - Nimble (~> 8.0.7)
+  - Quick (~> 2.2.0)
+
+SPEC REPOS:
+  trunk:
+    - Nimble
+    - Quick
+
+EXTERNAL SOURCES:
+  BFFramework:
+    :path: "../"
+
+SPEC CHECKSUMS:
+  BFFramework: 08240bdb34be14676bd29d91e82050f4fad7b8f3
+  Nimble: 98b888285a615fd34f20e61753cf58ea1402bde4
+  Quick: f5754d69b7013f5864c29aab9ae6f0c79c5bc200
+
+PODFILE CHECKSUM: fbb4c1ccef26f44908c6add1513fff562052991a
+
+COCOAPODS: 1.10.1

+ 22 - 0
Example/Pods/Local Podspecs/BFFramework.podspec.json

@@ -0,0 +1,22 @@
+{
+  "name": "BFFramework",
+  "version": "0.1.0",
+  "summary": "A short description of BFFramework.",
+  "description": "TODO: Add long description of the pod here.",
+  "homepage": "https://github.com/287971051@qq.com/BFFramework",
+  "license": {
+    "type": "MIT",
+    "file": "LICENSE"
+  },
+  "authors": {
+    "287971051@qq.com": "287971051@qq.com"
+  },
+  "source": {
+    "git": "https://github.com/287971051@qq.com/BFFramework.git",
+    "tag": "0.1.0"
+  },
+  "platforms": {
+    "ios": "9.0"
+  },
+  "source_files": "BFFramework/Classes/**/*"
+}

+ 27 - 0
Example/Pods/Manifest.lock

@@ -0,0 +1,27 @@
+PODS:
+  - BFFramework (0.1.0)
+  - Nimble (8.0.9)
+  - Quick (2.2.1)
+
+DEPENDENCIES:
+  - BFFramework (from `../`)
+  - Nimble (~> 8.0.7)
+  - Quick (~> 2.2.0)
+
+SPEC REPOS:
+  trunk:
+    - Nimble
+    - Quick
+
+EXTERNAL SOURCES:
+  BFFramework:
+    :path: "../"
+
+SPEC CHECKSUMS:
+  BFFramework: 08240bdb34be14676bd29d91e82050f4fad7b8f3
+  Nimble: 98b888285a615fd34f20e61753cf58ea1402bde4
+  Quick: f5754d69b7013f5864c29aab9ae6f0c79c5bc200
+
+PODFILE CHECKSUM: fbb4c1ccef26f44908c6add1513fff562052991a
+
+COCOAPODS: 1.10.1

+ 35 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift

@@ -0,0 +1,35 @@
+//
+//  CwlCatchException.swift
+//  CwlAssertionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+import Foundation
+
+#if canImport(NimbleCwlCatchExceptionSupport)
+import NimbleCwlCatchExceptionSupport
+#endif
+
+private func catchReturnTypeConverter<T: NSException>(_ type: T.Type, block: @escaping () -> Void) -> T? {
+	return catchExceptionOfKind(type, block) as? T
+}
+
+extension NSException {
+	public static func catchException(in block: @escaping () -> Void) -> Self? {
+		return catchReturnTypeConverter(self, block: block)
+	}
+}

+ 34 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m

@@ -0,0 +1,34 @@
+//
+//  CwlCatchException.m
+//  CwlAssertionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#import "CwlCatchException.h"
+
+NSException* __nullable catchExceptionOfKind(Class __nonnull type, void (^ __nonnull inBlock)(void)) {
+	@try {
+		inBlock();
+	} @catch (NSException *exception) {
+		if ([exception isKindOfClass:type]) {
+			return exception;
+		} else {
+			@throw;
+		}
+	}
+	return nil;
+}

+ 29 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h

@@ -0,0 +1,29 @@
+//
+//  CwlCatchException.h
+//  CwlCatchException
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#import <Foundation/Foundation.h>
+
+//! Project version number for CwlCatchException.
+FOUNDATION_EXPORT double CwlCatchExceptionVersionNumber;
+
+//! Project version string for CwlCatchException.
+FOUNDATION_EXPORT const unsigned char CwlCatchExceptionVersionString[];
+
+NSException* __nullable catchExceptionOfKind(Class __nonnull type, void (^ __nonnull inBlock)(void));

+ 53 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m

@@ -0,0 +1,53 @@
+//
+//  CwlMachBadExceptionHandler.m
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#ifdef __APPLE__
+#import "TargetConditionals.h"
+#if TARGET_OS_OSX || TARGET_OS_IOS
+
+#import "mach_excServer.h"
+#import "CwlMachBadInstructionHandler.h"
+
+@protocol BadInstructionReply <NSObject>
++(NSNumber *)receiveReply:(NSValue *)value;
+@end
+
+/// A basic function that receives callbacks from mach_exc_server and relays them to the Swift implemented BadInstructionException.catch_mach_exception_raise_state.
+kern_return_t catch_mach_exception_raise_state(mach_port_t exception_port, exception_type_t exception, const mach_exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, const thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) {
+	bad_instruction_exception_reply_t reply = { exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt };
+	Class badInstructionClass = NSClassFromString(@"BadInstructionException");
+	NSValue *value = [NSValue valueWithBytes: &reply objCType: @encode(bad_instruction_exception_reply_t)];
+	return [[badInstructionClass performSelector: @selector(receiveReply:) withObject: value] intValue];
+}
+
+// The mach port should be configured so that this function is never used.
+kern_return_t catch_mach_exception_raise(mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt) {
+	assert(false);
+	return KERN_FAILURE;
+}
+
+// The mach port should be configured so that this function is never used.
+kern_return_t catch_mach_exception_raise_state_identity(mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, mach_exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) {
+	assert(false);
+	return KERN_FAILURE;
+}
+	
+#endif /* TARGET_OS_OSX || TARGET_OS_IOS */
+#endif /* __APPLE__ */

+ 78 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h

@@ -0,0 +1,78 @@
+//
+//  CwlMachBadInstructionHandler.h
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#import <Foundation/Foundation.h>
+
+#if TARGET_OS_OSX || TARGET_OS_IOS
+
+#import <mach/mach.h>
+
+extern bool _swift_disableExclusivityChecking;
+extern bool _swift_reportFatalErrorsToDebugger;
+
+NS_ASSUME_NONNULL_BEGIN
+
+extern boolean_t mach_exc_server(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+// The request_mach_exception_raise_t struct is passed to mach_msg which assumes its exact layout. To avoid problems with different layouts, we keep the definition in C rather than Swift.
+typedef struct
+{
+	mach_msg_header_t Head;
+	/* start of the kernel processed data */
+	mach_msg_body_t msgh_body;
+	mach_msg_port_descriptor_t thread;
+	mach_msg_port_descriptor_t task;
+	/* end of the kernel processed data */
+	NDR_record_t NDR;
+	exception_type_t exception;
+	mach_msg_type_number_t codeCnt;
+	int64_t code[2];
+	int flavor;
+	mach_msg_type_number_t old_stateCnt;
+	natural_t old_state[224];
+} request_mach_exception_raise_t;
+
+// The reply_mach_exception_raise_state_t struct is passed to mach_msg which assumes its exact layout. To avoid problems with different layouts, we keep the definition in C rather than Swift.
+typedef struct
+{
+	mach_msg_header_t Head;
+	NDR_record_t NDR;
+	kern_return_t RetCode;
+	int flavor;
+	mach_msg_type_number_t new_stateCnt;
+	natural_t new_state[224];
+} reply_mach_exception_raise_state_t;
+
+typedef struct
+{
+	mach_port_t exception_port;
+	exception_type_t exception;
+	mach_exception_data_type_t const * _Nullable code;
+	mach_msg_type_number_t codeCnt;
+	int32_t * _Nullable flavor;
+	natural_t const * _Nullable old_state;
+	mach_msg_type_number_t old_stateCnt;
+	thread_state_t _Nullable new_state;
+	mach_msg_type_number_t * _Nullable new_stateCnt;
+} bad_instruction_exception_reply_t;
+
+NS_ASSUME_NONNULL_END
+
+#endif

+ 536 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.c

@@ -0,0 +1,536 @@
+/*
+ * IDENTIFICATION:
+ * stub generated Sun Jan 29 19:05:29 2017
+ * with a MiG generated by bootstrap_cmds-96.20.2
+ * OPTIONS: 
+ */
+
+/* Module mach_exc */
+
+#define	__MIG_check__Request__mach_exc_subsystem__ 1
+
+#import "mach_excServer.h"
+#if TARGET_OS_OSX || TARGET_OS_IOS
+
+#ifndef	mig_internal
+#define	mig_internal	static __inline__
+#endif	/* mig_internal */
+
+#ifndef	mig_external
+#define mig_external
+#endif	/* mig_external */
+
+#if	!defined(__MigTypeCheck) && defined(TypeCheck)
+#define	__MigTypeCheck		TypeCheck	/* Legacy setting */
+#endif	/* !defined(__MigTypeCheck) */
+
+#if	!defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_)
+#define	__MigKernelSpecificCode	_MIG_KERNEL_SPECIFIC_CODE_	/* Legacy setting */
+#endif	/* !defined(__MigKernelSpecificCode) */
+
+#ifndef	LimitCheck
+#define	LimitCheck 0
+#endif	/* LimitCheck */
+
+#ifndef	min
+#define	min(a,b)  ( ((a) < (b))? (a): (b) )
+#endif	/* min */
+
+#if !defined(_WALIGN_)
+#define _WALIGN_(x) (((x) + 3) & ~3)
+#endif /* !defined(_WALIGN_) */
+
+#if !defined(_WALIGNSZ_)
+#define _WALIGNSZ_(x) _WALIGN_(sizeof(x))
+#endif /* !defined(_WALIGNSZ_) */
+
+#ifndef	UseStaticTemplates
+#define	UseStaticTemplates	0
+#endif	/* UseStaticTemplates */
+
+#ifndef	__DeclareRcvRpc
+#define	__DeclareRcvRpc(_NUM_, _NAME_)
+#endif	/* __DeclareRcvRpc */
+
+#ifndef	__BeforeRcvRpc
+#define	__BeforeRcvRpc(_NUM_, _NAME_)
+#endif	/* __BeforeRcvRpc */
+
+#ifndef	__AfterRcvRpc
+#define	__AfterRcvRpc(_NUM_, _NAME_)
+#endif	/* __AfterRcvRpc */
+
+#ifndef	__DeclareRcvSimple
+#define	__DeclareRcvSimple(_NUM_, _NAME_)
+#endif	/* __DeclareRcvSimple */
+
+#ifndef	__BeforeRcvSimple
+#define	__BeforeRcvSimple(_NUM_, _NAME_)
+#endif	/* __BeforeRcvSimple */
+
+#ifndef	__AfterRcvSimple
+#define	__AfterRcvSimple(_NUM_, _NAME_)
+#endif	/* __AfterRcvSimple */
+
+#define novalue void
+
+#define msgh_request_port	msgh_local_port
+#define MACH_MSGH_BITS_REQUEST(bits)	MACH_MSGH_BITS_LOCAL(bits)
+#define msgh_reply_port		msgh_remote_port
+#define MACH_MSGH_BITS_REPLY(bits)	MACH_MSGH_BITS_REMOTE(bits)
+
+#define MIG_RETURN_ERROR(X, code)	{\
+				((mig_reply_error_t *)X)->RetCode = code;\
+				((mig_reply_error_t *)X)->NDR = NDR_record;\
+				return;\
+				}
+
+/* Forward Declarations */
+
+
+mig_internal novalue _Xmach_exception_raise
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xmach_exception_raise_state
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xmach_exception_raise_state_identity
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+
+#if ( __MigTypeCheck )
+#if __MIG_check__Request__mach_exc_subsystem__
+#if !defined(__MIG_check__Request__mach_exception_raise_t__defined)
+#define __MIG_check__Request__mach_exception_raise_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__mach_exception_raise_t(__attribute__((__unused__)) __Request__mach_exception_raise_t *In0P)
+{
+
+	typedef __Request__mach_exception_raise_t __Request;
+#if	__MigTypeCheck
+	unsigned int msgh_size;
+#endif	/* __MigTypeCheck */
+
+#if	__MigTypeCheck
+	msgh_size = In0P->Head.msgh_size;
+	if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+	    (In0P->msgh_body.msgh_descriptor_count != 2) ||
+	    (msgh_size < (mach_msg_size_t)(sizeof(__Request) - 16)) ||  (msgh_size > (mach_msg_size_t)sizeof(__Request)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+#if	__MigTypeCheck
+	if (In0P->thread.type != MACH_MSG_PORT_DESCRIPTOR ||
+	    In0P->thread.disposition != 17)
+		return MIG_TYPE_ERROR;
+#endif	/* __MigTypeCheck */
+
+#if	__MigTypeCheck
+	if (In0P->task.type != MACH_MSG_PORT_DESCRIPTOR ||
+	    In0P->task.disposition != 17)
+		return MIG_TYPE_ERROR;
+#endif	/* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__mach_exception_raise_t__codeCnt__defined)
+	if (In0P->NDR.int_rep != NDR_record.int_rep)
+		__NDR_convert__int_rep__Request__mach_exception_raise_t__codeCnt(&In0P->codeCnt, In0P->NDR.int_rep);
+#endif	/* __NDR_convert__int_rep__Request__mach_exception_raise_t__codeCnt__defined */
+#if	__MigTypeCheck
+	if ( In0P->codeCnt > 2 )
+		return MIG_BAD_ARGUMENTS;
+	if (((msgh_size - (mach_msg_size_t)(sizeof(__Request) - 16)) / 8 < In0P->codeCnt) ||
+	    (msgh_size != (mach_msg_size_t)(sizeof(__Request) - 16) + (8 * In0P->codeCnt)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+	return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__mach_exception_raise_t__defined) */
+#endif /* __MIG_check__Request__mach_exc_subsystem__ */
+#endif /* ( __MigTypeCheck ) */
+
+
+/* Routine mach_exception_raise */
+mig_internal novalue _Xmach_exception_raise
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		/* start of the kernel processed data */
+		mach_msg_body_t msgh_body;
+		mach_msg_port_descriptor_t thread;
+		mach_msg_port_descriptor_t task;
+		/* end of the kernel processed data */
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+		mach_msg_trailer_t trailer;
+	} Request __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+	typedef __Request__mach_exception_raise_t __Request;
+	typedef __Reply__mach_exception_raise_t Reply __attribute__((unused));
+
+	/*
+	 * typedef struct {
+	 * 	mach_msg_header_t Head;
+	 * 	NDR_record_t NDR;
+	 * 	kern_return_t RetCode;
+	 * } mig_reply_error_t;
+	 */
+
+	Request *In0P = (Request *) InHeadP;
+	Reply *OutP = (Reply *) OutHeadP;
+#ifdef	__MIG_check__Request__mach_exception_raise_t__defined
+	kern_return_t check_result;
+#endif	/* __MIG_check__Request__mach_exception_raise_t__defined */
+
+	__DeclareRcvRpc(2405, "mach_exception_raise")
+	__BeforeRcvRpc(2405, "mach_exception_raise")
+
+#if	defined(__MIG_check__Request__mach_exception_raise_t__defined)
+	check_result = __MIG_check__Request__mach_exception_raise_t((__Request *)In0P);
+	if (check_result != MACH_MSG_SUCCESS)
+		{ MIG_RETURN_ERROR(OutP, check_result); }
+#endif	/* defined(__MIG_check__Request__mach_exception_raise_t__defined) */
+
+	OutP->RetCode = catch_mach_exception_raise(In0P->Head.msgh_request_port, In0P->thread.name, In0P->task.name, In0P->exception, In0P->code, In0P->codeCnt);
+
+	OutP->NDR = NDR_record;
+
+
+	__AfterRcvRpc(2405, "mach_exception_raise")
+}
+
+#if ( __MigTypeCheck )
+#if __MIG_check__Request__mach_exc_subsystem__
+#if !defined(__MIG_check__Request__mach_exception_raise_state_t__defined)
+#define __MIG_check__Request__mach_exception_raise_state_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__mach_exception_raise_state_t(__attribute__((__unused__)) __Request__mach_exception_raise_state_t *In0P, __attribute__((__unused__)) __Request__mach_exception_raise_state_t **In1PP)
+{
+
+	typedef __Request__mach_exception_raise_state_t __Request;
+	__Request *In1P;
+#if	__MigTypeCheck
+	unsigned int msgh_size;
+#endif	/* __MigTypeCheck */
+	unsigned int msgh_size_delta;
+
+#if	__MigTypeCheck
+	msgh_size = In0P->Head.msgh_size;
+	if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+	    (msgh_size < (mach_msg_size_t)(sizeof(__Request) - 912)) ||  (msgh_size > (mach_msg_size_t)sizeof(__Request)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__mach_exception_raise_state_t__codeCnt__defined)
+	if (In0P->NDR.int_rep != NDR_record.int_rep)
+		__NDR_convert__int_rep__Request__mach_exception_raise_state_t__codeCnt(&In0P->codeCnt, In0P->NDR.int_rep);
+#endif	/* __NDR_convert__int_rep__Request__mach_exception_raise_state_t__codeCnt__defined */
+	msgh_size_delta = (8 * In0P->codeCnt);
+#if	__MigTypeCheck
+	if ( In0P->codeCnt > 2 )
+		return MIG_BAD_ARGUMENTS;
+	if (((msgh_size - (mach_msg_size_t)(sizeof(__Request) - 912)) / 8 < In0P->codeCnt) ||
+	    (msgh_size < (mach_msg_size_t)(sizeof(__Request) - 912) + (8 * In0P->codeCnt)))
+		return MIG_BAD_ARGUMENTS;
+	msgh_size -= msgh_size_delta;
+#endif	/* __MigTypeCheck */
+
+	*In1PP = In1P = (__Request *) ((pointer_t) In0P + msgh_size_delta - 16);
+
+#if defined(__NDR_convert__int_rep__Request__mach_exception_raise_state_t__old_stateCnt__defined)
+	if (In0P->NDR.int_rep != NDR_record.int_rep)
+		__NDR_convert__int_rep__Request__mach_exception_raise_state_t__old_stateCnt(&In1P->old_stateCnt, In1P->NDR.int_rep);
+#endif	/* __NDR_convert__int_rep__Request__mach_exception_raise_state_t__old_stateCnt__defined */
+#if	__MigTypeCheck
+	if ( In1P->old_stateCnt > 224 )
+		return MIG_BAD_ARGUMENTS;
+	if (((msgh_size - (mach_msg_size_t)(sizeof(__Request) - 912)) / 4 < In1P->old_stateCnt) ||
+	    (msgh_size != (mach_msg_size_t)(sizeof(__Request) - 912) + (4 * In1P->old_stateCnt)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+	return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__mach_exception_raise_state_t__defined) */
+#endif /* __MIG_check__Request__mach_exc_subsystem__ */
+#endif /* ( __MigTypeCheck ) */
+
+
+/* Routine mach_exception_raise_state */
+mig_internal novalue _Xmach_exception_raise_state
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+		int flavor;
+		mach_msg_type_number_t old_stateCnt;
+		natural_t old_state[224];
+		mach_msg_trailer_t trailer;
+	} Request __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+	typedef __Request__mach_exception_raise_state_t __Request;
+	typedef __Reply__mach_exception_raise_state_t Reply __attribute__((unused));
+
+	/*
+	 * typedef struct {
+	 * 	mach_msg_header_t Head;
+	 * 	NDR_record_t NDR;
+	 * 	kern_return_t RetCode;
+	 * } mig_reply_error_t;
+	 */
+
+	Request *In0P = (Request *) InHeadP;
+	Request *In1P;
+	Reply *OutP = (Reply *) OutHeadP;
+#ifdef	__MIG_check__Request__mach_exception_raise_state_t__defined
+	kern_return_t check_result;
+#endif	/* __MIG_check__Request__mach_exception_raise_state_t__defined */
+
+	__DeclareRcvRpc(2406, "mach_exception_raise_state")
+	__BeforeRcvRpc(2406, "mach_exception_raise_state")
+
+#if	defined(__MIG_check__Request__mach_exception_raise_state_t__defined)
+	check_result = __MIG_check__Request__mach_exception_raise_state_t((__Request *)In0P, (__Request **)&In1P);
+	if (check_result != MACH_MSG_SUCCESS)
+		{ MIG_RETURN_ERROR(OutP, check_result); }
+#endif	/* defined(__MIG_check__Request__mach_exception_raise_state_t__defined) */
+
+	OutP->new_stateCnt = 224;
+
+	OutP->RetCode = catch_mach_exception_raise_state(In0P->Head.msgh_request_port, In0P->exception, In0P->code, In0P->codeCnt, &In1P->flavor, In1P->old_state, In1P->old_stateCnt, OutP->new_state, &OutP->new_stateCnt);
+	if (OutP->RetCode != KERN_SUCCESS) {
+		MIG_RETURN_ERROR(OutP, OutP->RetCode);
+	}
+
+	OutP->NDR = NDR_record;
+
+
+	OutP->flavor = In1P->flavor;
+	OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply) - 896) + (((4 * OutP->new_stateCnt)));
+
+	__AfterRcvRpc(2406, "mach_exception_raise_state")
+}
+
+#if ( __MigTypeCheck )
+#if __MIG_check__Request__mach_exc_subsystem__
+#if !defined(__MIG_check__Request__mach_exception_raise_state_identity_t__defined)
+#define __MIG_check__Request__mach_exception_raise_state_identity_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__mach_exception_raise_state_identity_t(__attribute__((__unused__)) __Request__mach_exception_raise_state_identity_t *In0P, __attribute__((__unused__)) __Request__mach_exception_raise_state_identity_t **In1PP)
+{
+
+	typedef __Request__mach_exception_raise_state_identity_t __Request;
+	__Request *In1P;
+#if	__MigTypeCheck
+	unsigned int msgh_size;
+#endif	/* __MigTypeCheck */
+	unsigned int msgh_size_delta;
+
+#if	__MigTypeCheck
+	msgh_size = In0P->Head.msgh_size;
+	if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+	    (In0P->msgh_body.msgh_descriptor_count != 2) ||
+	    (msgh_size < (mach_msg_size_t)(sizeof(__Request) - 912)) ||  (msgh_size > (mach_msg_size_t)sizeof(__Request)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+#if	__MigTypeCheck
+	if (In0P->thread.type != MACH_MSG_PORT_DESCRIPTOR ||
+	    In0P->thread.disposition != 17)
+		return MIG_TYPE_ERROR;
+#endif	/* __MigTypeCheck */
+
+#if	__MigTypeCheck
+	if (In0P->task.type != MACH_MSG_PORT_DESCRIPTOR ||
+	    In0P->task.disposition != 17)
+		return MIG_TYPE_ERROR;
+#endif	/* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__codeCnt__defined)
+	if (In0P->NDR.int_rep != NDR_record.int_rep)
+		__NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__codeCnt(&In0P->codeCnt, In0P->NDR.int_rep);
+#endif	/* __NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__codeCnt__defined */
+	msgh_size_delta = (8 * In0P->codeCnt);
+#if	__MigTypeCheck
+	if ( In0P->codeCnt > 2 )
+		return MIG_BAD_ARGUMENTS;
+	if (((msgh_size - (mach_msg_size_t)(sizeof(__Request) - 912)) / 8 < In0P->codeCnt) ||
+	    (msgh_size < (mach_msg_size_t)(sizeof(__Request) - 912) + (8 * In0P->codeCnt)))
+		return MIG_BAD_ARGUMENTS;
+	msgh_size -= msgh_size_delta;
+#endif	/* __MigTypeCheck */
+
+	*In1PP = In1P = (__Request *) ((pointer_t) In0P + msgh_size_delta - 16);
+
+#if defined(__NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__old_stateCnt__defined)
+	if (In0P->NDR.int_rep != NDR_record.int_rep)
+		__NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__old_stateCnt(&In1P->old_stateCnt, In1P->NDR.int_rep);
+#endif	/* __NDR_convert__int_rep__Request__mach_exception_raise_state_identity_t__old_stateCnt__defined */
+#if	__MigTypeCheck
+	if ( In1P->old_stateCnt > 224 )
+		return MIG_BAD_ARGUMENTS;
+	if (((msgh_size - (mach_msg_size_t)(sizeof(__Request) - 912)) / 4 < In1P->old_stateCnt) ||
+	    (msgh_size != (mach_msg_size_t)(sizeof(__Request) - 912) + (4 * In1P->old_stateCnt)))
+		return MIG_BAD_ARGUMENTS;
+#endif	/* __MigTypeCheck */
+
+	return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__mach_exception_raise_state_identity_t__defined) */
+#endif /* __MIG_check__Request__mach_exc_subsystem__ */
+#endif /* ( __MigTypeCheck ) */
+
+
+/* Routine mach_exception_raise_state_identity */
+mig_internal novalue _Xmach_exception_raise_state_identity
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		/* start of the kernel processed data */
+		mach_msg_body_t msgh_body;
+		mach_msg_port_descriptor_t thread;
+		mach_msg_port_descriptor_t task;
+		/* end of the kernel processed data */
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+		int flavor;
+		mach_msg_type_number_t old_stateCnt;
+		natural_t old_state[224];
+		mach_msg_trailer_t trailer;
+	} Request __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+	typedef __Request__mach_exception_raise_state_identity_t __Request;
+	typedef __Reply__mach_exception_raise_state_identity_t Reply __attribute__((unused));
+
+	/*
+	 * typedef struct {
+	 * 	mach_msg_header_t Head;
+	 * 	NDR_record_t NDR;
+	 * 	kern_return_t RetCode;
+	 * } mig_reply_error_t;
+	 */
+
+	Request *In0P = (Request *) InHeadP;
+	Request *In1P;
+	Reply *OutP = (Reply *) OutHeadP;
+#ifdef	__MIG_check__Request__mach_exception_raise_state_identity_t__defined
+	kern_return_t check_result;
+#endif	/* __MIG_check__Request__mach_exception_raise_state_identity_t__defined */
+
+	__DeclareRcvRpc(2407, "mach_exception_raise_state_identity")
+	__BeforeRcvRpc(2407, "mach_exception_raise_state_identity")
+
+#if	defined(__MIG_check__Request__mach_exception_raise_state_identity_t__defined)
+	check_result = __MIG_check__Request__mach_exception_raise_state_identity_t((__Request *)In0P, (__Request **)&In1P);
+	if (check_result != MACH_MSG_SUCCESS)
+		{ MIG_RETURN_ERROR(OutP, check_result); }
+#endif	/* defined(__MIG_check__Request__mach_exception_raise_state_identity_t__defined) */
+
+	OutP->new_stateCnt = 224;
+
+	OutP->RetCode = catch_mach_exception_raise_state_identity(In0P->Head.msgh_request_port, In0P->thread.name, In0P->task.name, In0P->exception, In0P->code, In0P->codeCnt, &In1P->flavor, In1P->old_state, In1P->old_stateCnt, OutP->new_state, &OutP->new_stateCnt);
+	if (OutP->RetCode != KERN_SUCCESS) {
+		MIG_RETURN_ERROR(OutP, OutP->RetCode);
+	}
+
+	OutP->NDR = NDR_record;
+
+
+	OutP->flavor = In1P->flavor;
+	OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply) - 896) + (((4 * OutP->new_stateCnt)));
+
+	__AfterRcvRpc(2407, "mach_exception_raise_state_identity")
+}
+
+
+
+/* Description of this subsystem, for use in direct RPC */
+const struct catch_mach_exc_subsystem catch_mach_exc_subsystem = {
+	mach_exc_server_routine,
+	2405,
+	2408,
+	(mach_msg_size_t)sizeof(union __ReplyUnion__catch_mach_exc_subsystem),
+	(vm_address_t)0,
+	{
+          { (mig_impl_routine_t) 0,
+          (mig_stub_routine_t) _Xmach_exception_raise, 6, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__mach_exception_raise_t)},
+          { (mig_impl_routine_t) 0,
+          (mig_stub_routine_t) _Xmach_exception_raise_state, 9, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__mach_exception_raise_state_t)},
+          { (mig_impl_routine_t) 0,
+          (mig_stub_routine_t) _Xmach_exception_raise_state_identity, 11, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__mach_exception_raise_state_identity_t)},
+	}
+};
+
+mig_external boolean_t mach_exc_server
+	(mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+	/*
+	 * typedef struct {
+	 * 	mach_msg_header_t Head;
+	 * 	NDR_record_t NDR;
+	 * 	kern_return_t RetCode;
+	 * } mig_reply_error_t;
+	 */
+
+	register mig_routine_t routine;
+
+	OutHeadP->msgh_bits = MACH_MSGH_BITS(MACH_MSGH_BITS_REPLY(InHeadP->msgh_bits), 0);
+	OutHeadP->msgh_remote_port = InHeadP->msgh_reply_port;
+	/* Minimal size: routine() will update it if different */
+	OutHeadP->msgh_size = (mach_msg_size_t)sizeof(mig_reply_error_t);
+	OutHeadP->msgh_local_port = MACH_PORT_NULL;
+	OutHeadP->msgh_id = InHeadP->msgh_id + 100;
+	OutHeadP->msgh_reserved = 0;
+
+	if ((InHeadP->msgh_id > 2407) || (InHeadP->msgh_id < 2405) ||
+	    ((routine = catch_mach_exc_subsystem.routine[InHeadP->msgh_id - 2405].stub_routine) == 0)) {
+		((mig_reply_error_t *)OutHeadP)->NDR = NDR_record;
+		((mig_reply_error_t *)OutHeadP)->RetCode = MIG_BAD_ID;
+		return FALSE;
+	}
+	(*routine) (InHeadP, OutHeadP);
+	return TRUE;
+}
+
+mig_external mig_routine_t mach_exc_server_routine
+	(mach_msg_header_t *InHeadP)
+{
+	register int msgh_id;
+
+	msgh_id = InHeadP->msgh_id - 2405;
+
+	if ((msgh_id > 2) || (msgh_id < 0))
+		return 0;
+
+	return catch_mach_exc_subsystem.routine[msgh_id].stub_routine;
+}
+
+#endif /* TARGET_OS_OSX || TARGET_OS_IOS */

+ 329 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h

@@ -0,0 +1,329 @@
+#ifdef __APPLE__
+#import "TargetConditionals.h"
+#if TARGET_OS_OSX || TARGET_OS_IOS
+
+#ifndef	_mach_exc_server_
+#define	_mach_exc_server_
+
+/* Module mach_exc */
+
+#include <string.h>
+
+#include <mach/ndr.h>
+#include <mach/boolean.h>
+#include <mach/kern_return.h>
+#include <mach/notify.h>
+#include <mach/mach_types.h>
+#include <mach/message.h>
+#include <mach/mig_errors.h>
+#include <mach/port.h>
+	
+/* BEGIN VOUCHER CODE */
+
+#ifndef KERNEL
+#if defined(__has_include)
+#if __has_include(<mach/mig_voucher_support.h>)
+#ifndef USING_VOUCHERS
+#define USING_VOUCHERS
+#endif
+#ifndef __VOUCHER_FORWARD_TYPE_DECLS__
+#define __VOUCHER_FORWARD_TYPE_DECLS__
+#ifdef __cplusplus
+extern "C" {
+#endif
+	extern boolean_t voucher_mach_msg_set(mach_msg_header_t *msg) __attribute__((weak_import));
+#ifdef __cplusplus
+}
+#endif
+#endif // __VOUCHER_FORWARD_TYPE_DECLS__
+#endif // __has_include(<mach/mach_voucher_types.h>)
+#endif // __has_include
+#endif // !KERNEL
+	
+/* END VOUCHER CODE */
+
+	
+/* BEGIN MIG_STRNCPY_ZEROFILL CODE */
+
+#if defined(__has_include)
+#if __has_include(<mach/mig_strncpy_zerofill_support.h>)
+#ifndef USING_MIG_STRNCPY_ZEROFILL
+#define USING_MIG_STRNCPY_ZEROFILL
+#endif
+#ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
+#define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
+#ifdef __cplusplus
+extern "C" {
+#endif
+	extern int mig_strncpy_zerofill(char *dest, const char *src, int len) __attribute__((weak_import));
+#ifdef __cplusplus
+}
+#endif
+#endif /* __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__ */
+#endif /* __has_include(<mach/mig_strncpy_zerofill_support.h>) */
+#endif /* __has_include */
+	
+/* END MIG_STRNCPY_ZEROFILL CODE */
+
+
+#ifdef AUTOTEST
+#ifndef FUNCTION_PTR_T
+#define FUNCTION_PTR_T
+typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
+typedef struct {
+        char            *name;
+        function_ptr_t  function;
+} function_table_entry;
+typedef function_table_entry   *function_table_t;
+#endif /* FUNCTION_PTR_T */
+#endif /* AUTOTEST */
+
+#ifndef	mach_exc_MSG_COUNT
+#define	mach_exc_MSG_COUNT	3
+#endif	/* mach_exc_MSG_COUNT */
+
+#include <mach/std_types.h>
+#include <mach/mig.h>
+#include <mach/mig.h>
+#include <mach/mach_types.h>
+
+#ifdef __BeforeMigServerHeader
+__BeforeMigServerHeader
+#endif /* __BeforeMigServerHeader */
+
+
+/* Routine mach_exception_raise */
+#ifdef	mig_external
+mig_external
+#else
+extern
+#endif	/* mig_external */
+kern_return_t catch_mach_exception_raise
+(
+	mach_port_t exception_port,
+	mach_port_t thread,
+	mach_port_t task,
+	exception_type_t exception,
+	mach_exception_data_t code,
+	mach_msg_type_number_t codeCnt
+);
+
+/* Routine mach_exception_raise_state */
+#ifdef	mig_external
+mig_external
+#else
+extern
+#endif	/* mig_external */
+kern_return_t catch_mach_exception_raise_state
+(
+	mach_port_t exception_port,
+	exception_type_t exception,
+	const mach_exception_data_t code,
+	mach_msg_type_number_t codeCnt,
+	int *flavor,
+	const thread_state_t old_state,
+	mach_msg_type_number_t old_stateCnt,
+	thread_state_t new_state,
+	mach_msg_type_number_t *new_stateCnt
+);
+
+/* Routine mach_exception_raise_state_identity */
+#ifdef	mig_external
+mig_external
+#else
+extern
+#endif	/* mig_external */
+kern_return_t catch_mach_exception_raise_state_identity
+(
+	mach_port_t exception_port,
+	mach_port_t thread,
+	mach_port_t task,
+	exception_type_t exception,
+	mach_exception_data_t code,
+	mach_msg_type_number_t codeCnt,
+	int *flavor,
+	thread_state_t old_state,
+	mach_msg_type_number_t old_stateCnt,
+	thread_state_t new_state,
+	mach_msg_type_number_t *new_stateCnt
+);
+
+#ifdef	mig_external
+mig_external
+#else
+extern
+#endif	/* mig_external */
+boolean_t mach_exc_server(
+		mach_msg_header_t *InHeadP,
+		mach_msg_header_t *OutHeadP);
+
+#ifdef	mig_external
+mig_external
+#else
+extern
+#endif	/* mig_external */
+mig_routine_t mach_exc_server_routine(
+		mach_msg_header_t *InHeadP);
+
+
+/* Description of this subsystem, for use in direct RPC */
+extern const struct catch_mach_exc_subsystem {
+	mig_server_routine_t	server;	/* Server routine */
+	mach_msg_id_t	start;	/* Min routine number */
+	mach_msg_id_t	end;	/* Max routine number + 1 */
+	unsigned int	maxsize;	/* Max msg size */
+	vm_address_t	reserved;	/* Reserved */
+	struct routine_descriptor	/*Array of routine descriptors */
+		routine[3];
+} catch_mach_exc_subsystem;
+
+/* typedefs for all requests */
+
+#ifndef __Request__mach_exc_subsystem__defined
+#define __Request__mach_exc_subsystem__defined
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		/* start of the kernel processed data */
+		mach_msg_body_t msgh_body;
+		mach_msg_port_descriptor_t thread;
+		mach_msg_port_descriptor_t task;
+		/* end of the kernel processed data */
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+	} __Request__mach_exception_raise_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+		int flavor;
+		mach_msg_type_number_t old_stateCnt;
+		natural_t old_state[224];
+	} __Request__mach_exception_raise_state_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		/* start of the kernel processed data */
+		mach_msg_body_t msgh_body;
+		mach_msg_port_descriptor_t thread;
+		mach_msg_port_descriptor_t task;
+		/* end of the kernel processed data */
+		NDR_record_t NDR;
+		exception_type_t exception;
+		mach_msg_type_number_t codeCnt;
+		int64_t code[2];
+		int flavor;
+		mach_msg_type_number_t old_stateCnt;
+		natural_t old_state[224];
+	} __Request__mach_exception_raise_state_identity_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Request__mach_exc_subsystem__defined */
+
+
+/* union of all requests */
+
+#ifndef __RequestUnion__catch_mach_exc_subsystem__defined
+#define __RequestUnion__catch_mach_exc_subsystem__defined
+union __RequestUnion__catch_mach_exc_subsystem {
+	__Request__mach_exception_raise_t Request_mach_exception_raise;
+	__Request__mach_exception_raise_state_t Request_mach_exception_raise_state;
+	__Request__mach_exception_raise_state_identity_t Request_mach_exception_raise_state_identity;
+};
+#endif /* __RequestUnion__catch_mach_exc_subsystem__defined */
+/* typedefs for all replies */
+
+#ifndef __Reply__mach_exc_subsystem__defined
+#define __Reply__mach_exc_subsystem__defined
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		NDR_record_t NDR;
+		kern_return_t RetCode;
+	} __Reply__mach_exception_raise_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		NDR_record_t NDR;
+		kern_return_t RetCode;
+		int flavor;
+		mach_msg_type_number_t new_stateCnt;
+		natural_t new_state[224];
+	} __Reply__mach_exception_raise_state_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef  __MigPackStructs
+#pragma pack(4)
+#endif
+	typedef struct {
+		mach_msg_header_t Head;
+		NDR_record_t NDR;
+		kern_return_t RetCode;
+		int flavor;
+		mach_msg_type_number_t new_stateCnt;
+		natural_t new_state[224];
+	} __Reply__mach_exception_raise_state_identity_t __attribute__((unused));
+#ifdef  __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Reply__mach_exc_subsystem__defined */
+
+
+/* union of all replies */
+
+#ifndef __ReplyUnion__catch_mach_exc_subsystem__defined
+#define __ReplyUnion__catch_mach_exc_subsystem__defined
+union __ReplyUnion__catch_mach_exc_subsystem {
+	__Reply__mach_exception_raise_t Reply_mach_exception_raise;
+	__Reply__mach_exception_raise_state_t Reply_mach_exception_raise_state;
+	__Reply__mach_exception_raise_state_identity_t Reply_mach_exception_raise_state_identity;
+};
+#endif /* __RequestUnion__catch_mach_exc_subsystem__defined */
+
+#ifndef subsystem_to_name_map_mach_exc
+#define subsystem_to_name_map_mach_exc \
+    { "mach_exception_raise", 2405 },\
+    { "mach_exception_raise_state", 2406 },\
+    { "mach_exception_raise_state_identity", 2407 }
+#endif
+
+#ifdef __AfterMigServerHeader
+__AfterMigServerHeader
+#endif /* __AfterMigServerHeader */
+
+#endif	 /* _mach_exc_server_ */
+
+#endif /* TARGET_OS_OSX || TARGET_OS_IOS */
+#endif /* __APPLE__ */

+ 89 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift

@@ -0,0 +1,89 @@
+//
+//  CwlBadInstructionException.swift
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#if (os(macOS) || os(iOS)) && arch(x86_64)
+
+import Foundation
+
+#if canImport(NimbleCwlMachBadInstructionHandler)
+import NimbleCwlMachBadInstructionHandler
+#endif
+
+private func raiseBadInstructionException() {
+	BadInstructionException().raise()
+}
+
+/// A simple NSException subclass. It's not required to subclass NSException (since the exception type is represented in the name) but this helps for identifying the exception through runtime type.
+@objc(BadInstructionException)
+public class BadInstructionException: NSException {
+	static var name: String = "com.cocoawithlove.BadInstruction"
+	
+	init() {
+		super.init(name: NSExceptionName(rawValue: BadInstructionException.name), reason: nil, userInfo: nil)
+	}
+	
+	required public init?(coder aDecoder: NSCoder) {
+		super.init(coder: aDecoder)
+	}
+	
+	/// An Objective-C callable function, invoked from the `mach_exc_server` callback function `catch_mach_exception_raise_state` to push the `raiseBadInstructionException` function onto the stack.
+	@objc(receiveReply:)
+	public class func receiveReply(_ value: NSValue) -> NSNumber {
+		var reply = bad_instruction_exception_reply_t(exception_port: 0, exception: 0, code: nil, codeCnt: 0, flavor: nil, old_state: nil, old_stateCnt: 0, new_state: nil, new_stateCnt: nil)
+		withUnsafeMutablePointer(to: &reply) { value.getValue(UnsafeMutableRawPointer($0)) }
+		
+		let old_state: UnsafePointer<natural_t> = reply.old_state!
+		let old_stateCnt: mach_msg_type_number_t = reply.old_stateCnt
+		let new_state: thread_state_t = reply.new_state!
+		let new_stateCnt: UnsafeMutablePointer<mach_msg_type_number_t> = reply.new_stateCnt!
+		
+		// Make sure we've been given enough memory
+		if old_stateCnt != x86_THREAD_STATE64_COUNT || new_stateCnt.pointee < x86_THREAD_STATE64_COUNT {
+			return NSNumber(value: KERN_INVALID_ARGUMENT)
+		}
+		
+		// Read the old thread state
+		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
+		
+		// 1. Decrement the stack pointer
+		state.__rsp -= __uint64_t(MemoryLayout<Int>.size)
+		
+		// 2. Save the old Instruction Pointer to the stack.
+		if let pointer = UnsafeMutablePointer<__uint64_t>(bitPattern: UInt(state.__rsp)) {
+			pointer.pointee = state.__rip
+		} else {
+			return NSNumber(value: KERN_INVALID_ARGUMENT)
+		}
+		
+		// 3. Set the Instruction Pointer to the new function's address
+		var f: @convention(c) () -> Void = raiseBadInstructionException
+		withUnsafePointer(to: &f) {
+			state.__rip = $0.withMemoryRebound(to: __uint64_t.self, capacity: 1) { return $0.pointee }
+		}
+		
+		// Write the new thread state
+		new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
+		new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
+		
+		return NSNumber(value: KERN_SUCCESS)
+	}
+}
+
+#endif

+ 210 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift

@@ -0,0 +1,210 @@
+//
+//  CwlCatchBadInstruction.swift
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#if (os(macOS) || os(iOS)) && arch(x86_64)
+
+import Foundation
+import Swift
+
+#if canImport(NimbleCwlCatchException) && canImport(NimbleCwlMachBadInstructionHandler)
+import NimbleCwlCatchException
+import NimbleCwlMachBadInstructionHandler
+#endif
+
+private enum PthreadError: Error { case code(Int32) }
+private enum MachExcServer: Error { case code(kern_return_t) }
+
+/// A quick function for converting Mach error results into Swift errors
+private func kernCheck(_ f: () -> Int32) throws {
+	let r = f()
+	guard r == KERN_SUCCESS else {
+		throw NSError(domain: NSMachErrorDomain, code: Int(r), userInfo: nil)
+	}
+}
+
+extension request_mach_exception_raise_t {
+	mutating func withMsgHeaderPointer<R>(in block: (UnsafeMutablePointer<mach_msg_header_t>) -> R) -> R {
+		return withUnsafeMutablePointer(to: &self) { p -> R in
+			return p.withMemoryRebound(to: mach_msg_header_t.self, capacity: 1) { ptr -> R in
+				return block(ptr)
+			}
+		}
+	}
+}
+
+extension reply_mach_exception_raise_state_t {
+	mutating func withMsgHeaderPointer<R>(in block: (UnsafeMutablePointer<mach_msg_header_t>) -> R) -> R {
+		return withUnsafeMutablePointer(to: &self) { p -> R in
+			return p.withMemoryRebound(to: mach_msg_header_t.self, capacity: 1) { ptr -> R in
+				return block(ptr)
+			}
+		}
+	}
+}
+
+/// A structure used to store context associated with the Mach message port
+private struct MachContext {
+	var masks = execTypesCountTuple<exception_mask_t>()
+	var count: mach_msg_type_number_t = 0
+	var ports = execTypesCountTuple<mach_port_t>()
+	var behaviors = execTypesCountTuple<exception_behavior_t>()
+	var flavors = execTypesCountTuple<thread_state_flavor_t>()
+	var currentExceptionPort: mach_port_t = 0
+	var handlerThread: pthread_t? = nil
+	
+	static func internalMutablePointers<R>(_ m: UnsafeMutablePointer<execTypesCountTuple<exception_mask_t>>, _ c: UnsafeMutablePointer<mach_msg_type_number_t>, _ p: UnsafeMutablePointer<execTypesCountTuple<mach_port_t>>, _ b: UnsafeMutablePointer<execTypesCountTuple<exception_behavior_t>>, _ f: UnsafeMutablePointer<execTypesCountTuple<thread_state_flavor_t>>, _ block: (UnsafeMutablePointer<exception_mask_t>, UnsafeMutablePointer<mach_msg_type_number_t>,  UnsafeMutablePointer<mach_port_t>, UnsafeMutablePointer<exception_behavior_t>, UnsafeMutablePointer<thread_state_flavor_t>) -> R) -> R {
+		return m.withMemoryRebound(to: exception_mask_t.self, capacity: 1) { masksPtr in
+			return c.withMemoryRebound(to: mach_msg_type_number_t.self, capacity: 1) { countPtr in
+				return p.withMemoryRebound(to: mach_port_t.self, capacity: 1) { portsPtr in
+					return b.withMemoryRebound(to: exception_behavior_t.self, capacity: 1) { behaviorsPtr in
+						return f.withMemoryRebound(to: thread_state_flavor_t.self, capacity: 1) { flavorsPtr in
+							return block(masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
+						}
+					}
+				}
+			}
+		}
+	}
+	
+	mutating func withUnsafeMutablePointers<R>(in block: @escaping (UnsafeMutablePointer<exception_mask_t>, UnsafeMutablePointer<mach_msg_type_number_t>, UnsafeMutablePointer<mach_port_t>, UnsafeMutablePointer<exception_behavior_t>, UnsafeMutablePointer<thread_state_flavor_t>) -> R) -> R {
+		return MachContext.internalMutablePointers(&masks, &count, &ports, &behaviors, &flavors, block)
+	}
+}
+
+/// A function for receiving mach messages and parsing the first with mach_exc_server (and if any others are received, throwing them away).
+private func machMessageHandler(_ arg: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer? {
+	let context = arg.assumingMemoryBound(to: MachContext.self).pointee
+	var request = request_mach_exception_raise_t()
+	var reply = reply_mach_exception_raise_state_t()
+	
+	var handledfirstException = false
+	repeat { do {
+		// Request the next mach message from the port
+		request.Head.msgh_local_port = context.currentExceptionPort
+		request.Head.msgh_size = UInt32(MemoryLayout<request_mach_exception_raise_t>.size)
+		let requestSize = request.Head.msgh_size
+		try kernCheck { request.withMsgHeaderPointer { requestPtr in
+			mach_msg(requestPtr, MACH_RCV_MSG | MACH_RCV_INTERRUPT, 0, requestSize, context.currentExceptionPort, 0, UInt32(MACH_PORT_NULL))
+		} }
+		
+		// Prepare the reply structure
+		reply.Head.msgh_bits = MACH_MSGH_BITS(MACH_MSGH_BITS_REMOTE(request.Head.msgh_bits), 0)
+		reply.Head.msgh_local_port = UInt32(MACH_PORT_NULL)
+		reply.Head.msgh_remote_port = request.Head.msgh_remote_port
+		reply.Head.msgh_size = UInt32(MemoryLayout<reply_mach_exception_raise_state_t>.size)
+		reply.NDR = NDR_record
+		
+		if !handledfirstException {
+			// Use the MiG generated server to invoke our handler for the request and fill in the rest of the reply structure
+			guard request.withMsgHeaderPointer(in: { requestPtr in reply.withMsgHeaderPointer { replyPtr in
+				mach_exc_server(requestPtr, replyPtr)
+			} }) != 0 else { throw MachExcServer.code(reply.RetCode) }
+			
+			handledfirstException = true
+		} else {
+			// If multiple fatal errors occur, don't handle subsquent errors (let the program crash)
+			reply.RetCode = KERN_FAILURE
+		}
+		
+		// Send the reply
+		let replySize = reply.Head.msgh_size
+		try kernCheck { reply.withMsgHeaderPointer { replyPtr in
+			mach_msg(replyPtr, MACH_SEND_MSG, replySize, 0, UInt32(MACH_PORT_NULL), 0, UInt32(MACH_PORT_NULL))
+		} }
+	} catch let error as NSError where (error.domain == NSMachErrorDomain && (error.code == Int(MACH_RCV_PORT_CHANGED) || error.code == Int(MACH_RCV_INVALID_NAME))) {
+		// Port was already closed before we started or closed while we were listening.
+		// This means the controlling thread shut down.
+		return nil
+	} catch {
+		// Should never be reached but this is testing code, don't try to recover, just abort
+		fatalError("Mach message error: \(error)")
+	} } while true
+}
+
+/// Run the provided block. If a mach "BAD_INSTRUCTION" exception is raised, catch it and return a BadInstructionException (which captures stack information about the throw site, if desired). Otherwise return nil.
+/// NOTE: This function is only intended for use in test harnesses – use in a distributed build is almost certainly a bad choice. If a "BAD_INSTRUCTION" exception is raised, the block will be exited before completion via Objective-C exception. The risks associated with an Objective-C exception apply here: most Swift/Objective-C functions are *not* exception-safe. Memory may be leaked and the program will not necessarily be left in a safe state.
+/// - parameter block: a function without parameters that will be run
+/// - returns: if an EXC_BAD_INSTRUCTION is raised during the execution of `block` then a BadInstructionException will be returned, otherwise `nil`.
+public func catchBadInstruction(in block: @escaping () -> Void) -> BadInstructionException? {
+	// Suppress Swift runtime's direct triggering of the debugger and exclusivity checking which crashes when we throw past it
+	let previousExclusivity = _swift_disableExclusivityChecking
+	let previousReporting = _swift_reportFatalErrorsToDebugger
+	_swift_disableExclusivityChecking = true
+	_swift_reportFatalErrorsToDebugger = false
+	defer {
+		_swift_reportFatalErrorsToDebugger = previousReporting
+		_swift_disableExclusivityChecking = previousExclusivity
+	}
+	
+	var context = MachContext()
+	var result: BadInstructionException? = nil
+	do {
+		var handlerThread: pthread_t? = nil
+		defer {
+			// 8. Wait for the thread to terminate *if* we actually made it to the creation point
+			// The mach port should be destroyed *before* calling pthread_join to avoid a deadlock.
+			if handlerThread != nil {
+				pthread_join(handlerThread!, nil)
+			}
+		}
+		
+		try kernCheck {
+			// 1. Create the mach port
+			mach_port_allocate(mach_task_self_, MACH_PORT_RIGHT_RECEIVE, &context.currentExceptionPort)
+		}
+		defer {
+			// 7. Cleanup the mach port
+			mach_port_destroy(mach_task_self_, context.currentExceptionPort)
+		}
+		
+		try kernCheck {
+			// 2. Configure the mach port
+			mach_port_insert_right(mach_task_self_, context.currentExceptionPort, context.currentExceptionPort, MACH_MSG_TYPE_MAKE_SEND)
+		}
+		
+		let currentExceptionPtr = context.currentExceptionPort
+		try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
+			// 3. Apply the mach port as the handler for this thread
+			thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
+		} }
+		
+		defer { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
+			// 6. Unapply the mach port
+			_ = thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, 0, EXCEPTION_DEFAULT, THREAD_STATE_NONE, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
+		} }
+		
+		try withUnsafeMutablePointer(to: &context) { c throws in
+			// 4. Create the thread
+			let e = pthread_create(&handlerThread, nil, machMessageHandler, c)
+			guard e == 0 else { throw PthreadError.code(e) }
+			
+			// 5. Run the block
+			result = BadInstructionException.catchException(in: block)
+		}
+	} catch {
+		// Should never be reached but this is testing code, don't try to recover, just abort
+		fatalError("Mach port error: \(error)")
+	}
+
+	return result
+}
+	
+#endif
+

+ 55 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift

@@ -0,0 +1,55 @@
+//
+//  CwlDarwinDefinitions.swift
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#if (os(macOS) || os(iOS)) && arch(x86_64)
+
+import Darwin
+
+// From /usr/include/mach/message.h
+// #define MACH_MSG_TYPE_MAKE_SEND		20	/* Must hold receive right */
+// #define	MACH_MSGH_BITS_REMOTE(bits)				\
+// 		((bits) & MACH_MSGH_BITS_REMOTE_MASK)
+// #define MACH_MSGH_BITS(remote, local)  /* legacy */		\
+// 		((remote) | ((local) << 8))
+public let MACH_MSG_TYPE_MAKE_SEND: UInt32 = 20
+public func MACH_MSGH_BITS_REMOTE(_ bits: UInt32) -> UInt32 { return bits & UInt32(MACH_MSGH_BITS_REMOTE_MASK) }
+public func MACH_MSGH_BITS(_ remote: UInt32, _ local: UInt32) -> UInt32 { return ((remote) | ((local) << 8)) }
+
+// From /usr/include/mach/exception_types.h
+// #define EXC_BAD_INSTRUCTION	2	/* Instruction failed */
+// #define EXC_MASK_BAD_INSTRUCTION	(1 << EXC_BAD_INSTRUCTION)
+public let EXC_BAD_INSTRUCTION: UInt32 = 2
+public let EXC_MASK_BAD_INSTRUCTION: UInt32 = 1 << EXC_BAD_INSTRUCTION
+
+// From /usr/include/mach/i386/thread_status.h
+// #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
+//		( sizeof (x86_thread_state64_t) / sizeof (int) ))
+public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
+
+public let EXC_TYPES_COUNT = 14
+public struct execTypesCountTuple<T: ExpressibleByIntegerLiteral> {
+	// From /usr/include/mach/i386/exception.h
+	// #define EXC_TYPES_COUNT 14 /* incl. illegal exception 0 */
+	public var value: (T, T, T, T, T, T, T, T, T, T, T, T, T, T) = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
+	public init() {
+	}
+}
+	
+#endif

+ 35 - 0
Example/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h

@@ -0,0 +1,35 @@
+//
+//  CwlPreconditionTesting.h
+//  CwlPreconditionTesting
+//
+//  Created by Matt Gallagher on 2016/01/10.
+//  Copyright © 2016 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved.
+//
+//  Permission to use, copy, modify, and/or distribute this software for any
+//  purpose with or without fee is hereby granted, provided that the above
+//  copyright notice and this permission notice appear in all copies.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+//  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+//  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+//  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+//  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+//  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+//  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#import <Foundation/Foundation.h>
+
+//! Project version number for CwlUtils.
+FOUNDATION_EXPORT double CwlPreconditionTestingVersionNumber;
+
+//! Project version string for CwlUtils.
+FOUNDATION_EXPORT const unsigned char CwlAssertingTestingVersionString[];
+
+#import "CwlMachBadInstructionHandler.h"
+
+#if TARGET_OS_OSX || TARGET_OS_IOS
+	#import "CwlCatchException.h"
+#elif !TARGET_OS_TV
+	#error Unsupported platform.
+#endif

+ 201 - 0
Example/Pods/Nimble/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 2016 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.

+ 1772 - 0
Example/Pods/Nimble/README.md

@@ -0,0 +1,1772 @@
+# Nimble
+
+[![Build Status](https://travis-ci.org/Quick/Nimble.svg?branch=master)](https://travis-ci.org/Quick/Nimble)
+[![CocoaPods](https://img.shields.io/cocoapods/v/Nimble.svg)](https://cocoapods.org/pods/Nimble)
+[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
+[![Accio supported](https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat)](https://github.com/JamitLabs/Accio)
+[![Platforms](https://img.shields.io/cocoapods/p/Nimble.svg)](https://cocoapods.org/pods/Nimble)
+[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
+
+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
+
+<!-- START doctoc generated TOC please keep comment here to allow auto update -->
+<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
+**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 Safety](#type-safety)
+  - [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)
+  - [Type Checking](#type-checking)
+  - [Equivalence](#equivalence)
+  - [Identity](#identity)
+  - [Comparisons](#comparisons)
+  - [Types/Classes](#typesclasses)
+  - [Truthiness](#truthiness)
+  - [Swift Assertions](#swift-assertions)
+  - [Swift Error Handling](#swift-error-handling)
+  - [Exceptions](#exceptions)
+  - [Collection Membership](#collection-membership)
+  - [Strings](#strings)
+  - [Collection Elements](#collection-elements)
+  - [Collection Count](#collection-count)
+  - [Notifications](#notifications)
+  - [Matching a value to any of a group of matchers](#matching-a-value-to-any-of-a-group-of-matchers)
+  - [Custom Validation](#custom-validation)
+- [Writing Your Own Matchers](#writing-your-own-matchers)
+  - [PredicateResult](#predicateresult)
+  - [Lazy Evaluation](#lazy-evaluation)
+  - [Type Checking via Swift Generics](#type-checking-via-swift-generics)
+  - [Customizing Failure Messages](#customizing-failure-messages)
+    - [Basic Customization](#basic-customization)
+    - [Full Customization](#full-customization)
+  - [Supporting Objective-C](#supporting-objective-c)
+    - [Properly Handling `nil` in Objective-C Matchers](#properly-handling-nil-in-objective-c-matchers)
+  - [Migrating from the Old Matcher API](#migrating-from-the-old-matcher-api)
+    - [Minimal Step - Use `.predicate`](#minimal-step---use-predicate)
+    - [Convert to use `Predicate` Type with Old Matcher Constructor](#convert-to-use-predicate-type-with-old-matcher-constructor)
+    - [Convert to `Predicate` Type with Preferred Constructor](#convert-to-predicate-type-with-preferred-constructor)
+    - [Deprecation Roadmap](#deprecation-roadmap)
+- [Installing Nimble](#installing-nimble)
+  - [Installing Nimble as a Submodule](#installing-nimble-as-a-submodule)
+  - [Installing Nimble via CocoaPods](#installing-nimble-via-cocoapods)
+  - [Installing Nimble via Accio](#installing-nimble-via-accio)
+  - [Using Nimble without XCTest](#using-nimble-without-xctest)
+
+<!-- END doctoc generated TOC please keep comment here to allow auto update -->
+
+# 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 Safety
+
+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
+DispatchQueue.main.async {
+    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)
+
+// Evaluate someValue every 0.2 seconds repeatedly until it equals 100, or fails if it timeouts after 5.5 seconds.
+expect(someValue).toEventually(equal(100), timeout: 5.5, pollInterval: 0.2)
+```
+
+```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
+    ocean.goFish { success in
+        expect(success).to(beTrue())
+        done()
+    }
+}
+```
+
+```objc
+// Objective-C
+
+waitUntil(^(void (^done)(void)){
+    [ocean goFishWithHandler:^(BOOL success){
+        expect(success).to(beTrue());
+        done();
+    }];
+});
+```
+
+`waitUntil` also optionally takes a timeout parameter:
+
+```swift
+// Swift
+
+waitUntil(timeout: 10) { done in
+    ocean.goFish { success in
+        expect(success).to(beTrue())
+        done()
+    }
+}
+```
+
+```objc
+// Objective-C
+
+waitUntilTimeout(10, ^(void (^done)(void)){
+    [ocean goFishWithHandler:^(BOOL success){
+        expect(success).to(beTrue());
+        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 or can be converted into
+   an `NSObject` equivalent:
+
+   ```objc
+   // Objective-C
+
+   @import Nimble;
+
+   expect(@(1 + 1)).to(equal(@2));
+   expect(@"Hello world").to(contain(@"world"));
+
+   // Boxed as NSNumber *
+   expect(2).to(equal(2));
+   expect(1.2).to(beLessThan(2.0));
+   expect(true).to(beTruthy());
+
+   // Boxed as NSString *
+   expect("Hello world").to(equal("Hello world"));
+
+   // Boxed as NSRange
+   expect(NSMakeRange(1, 10)).to(equal(NSMakeRange(1, 10)));
+   ```
+
+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());
+   ```
+
+The following types are currently converted to an `NSObject` type:
+
+ - **C Numeric types** are converted to `NSNumber *`
+ - `NSRange` is converted to `NSValue *`
+ - `char *` is converted to `NSString *`
+
+For the following matchers:
+
+- `equal`
+- `beGreaterThan`
+- `beGreaterThanOrEqual`
+- `beLessThan`
+- `beLessThanOrEqual`
+- `beCloseTo`
+- `beTrue`
+- `beFalse`
+- `beTruthy`
+- `beFalsy`
+- `haveCount`
+
+If you would like to see more, [file an issue](https://github.com/Quick/Nimble/issues).
+
+## 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.
+
+## Type Checking
+
+Nimble supports checking the type membership of any kind of object, whether
+Objective-C conformant or not:
+
+```swift
+// Swift
+
+protocol SomeProtocol{}
+class SomeClassConformingToProtocol: SomeProtocol{}
+struct SomeStructConformingToProtocol: SomeProtocol{}
+
+// The following tests pass
+expect(1).to(beAKindOf(Int.self))
+expect("turtle").to(beAKindOf(String.self))
+
+let classObject = SomeClassConformingToProtocol()
+expect(classObject).to(beAKindOf(SomeProtocol.self))
+expect(classObject).to(beAKindOf(SomeClassConformingToProtocol.self))
+expect(classObject).toNot(beAKindOf(SomeStructConformingToProtocol.self))
+
+let structObject = SomeStructConformingToProtocol()
+expect(structObject).to(beAKindOf(SomeProtocol.self))
+expect(structObject).to(beAKindOf(SomeStructConformingToProtocol.self))
+expect(structObject).toNot(beAKindOf(SomeClassConformingToProtocol.self))
+```
+
+```objc
+// Objective-C
+
+// The following tests pass
+NSMutableArray *array = [NSMutableArray array];
+expect(array).to(beAKindOf([NSArray class]));
+expect(@1).toNot(beAKindOf([NSNull class]));
+```
+
+Objects can be tested for their exact types using the `beAnInstanceOf` matcher:
+
+```swift
+// Swift
+
+protocol SomeProtocol{}
+class SomeClassConformingToProtocol: SomeProtocol{}
+struct SomeStructConformingToProtocol: SomeProtocol{}
+
+// Unlike the 'beKindOf' matcher, the 'beAnInstanceOf' matcher only
+// passes if the object is the EXACT type requested. The following
+// tests pass -- note its behavior when working in an inheritance hierarchy.
+expect(1).to(beAnInstanceOf(Int.self))
+expect("turtle").to(beAnInstanceOf(String.self))
+
+let classObject = SomeClassConformingToProtocol()
+expect(classObject).toNot(beAnInstanceOf(SomeProtocol.self))
+expect(classObject).to(beAnInstanceOf(SomeClassConformingToProtocol.self))
+expect(classObject).toNot(beAnInstanceOf(SomeStructConformingToProtocol.self))
+
+let structObject = SomeStructConformingToProtocol()
+expect(structObject).toNot(beAnInstanceOf(SomeProtocol.self))
+expect(structObject).to(beAnInstanceOf(SomeStructConformingToProtocol.self))
+expect(structObject).toNot(beAnInstanceOf(SomeClassConformingToProtocol.self))
+```
+
+## 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
+```
+
+It is important to remember that `beIdenticalTo` only makes sense when comparing
+types with reference semantics, which have a notion of identity. In Swift, 
+that means types that are defined as a `class`. 
+
+This matcher will not work when comparing types with value semantics such as
+those defined as a `struct` or `enum`. If you need to compare two value types,
+consider what it means for instances of your type to be identical. This may mean
+comparing individual properties or, if it makes sense to do so, conforming your type 
+to `Equatable` and using 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 <kbd>option</kbd>+<kbd>x</kbd> 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 <kbd>option</kbd>+<kbd>shift</kbd>+<kbd>=</kbd> 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 Boolean 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 Boolean 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 Boolean 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 Boolean false):
+expect(actual).to(beFalse());
+
+// Passes if 'actual' is nil:
+expect(actual).to(beNil());
+```
+
+## Swift Assertions
+
+If you're using Swift, you can use the `throwAssertion` matcher to check if an assertion is thrown (e.g. `fatalError()`). This is made possible by [@mattgallagher](https://github.com/mattgallagher)'s [CwlPreconditionTesting](https://github.com/mattgallagher/CwlPreconditionTesting) library.
+
+```swift
+// Swift
+
+// Passes if 'somethingThatThrows()' throws an assertion, 
+// such as by calling 'fatalError()' or if a precondition fails:
+expect { try somethingThatThrows() }.to(throwAssertion())
+expect { () -> Void in fatalError() }.to(throwAssertion())
+expect { precondition(false) }.to(throwAssertion())
+
+// Passes if throwing an NSError is not equal to throwing an assertion:
+expect { throw NSError(domain: "test", code: 0, userInfo: nil) }.toNot(throwAssertion())
+
+// Passes if the code after the precondition check is not run:
+var reachedPoint1 = false
+var reachedPoint2 = false
+expect {
+    reachedPoint1 = true
+    precondition(false, "condition message")
+    reachedPoint2 = true
+}.to(throwAssertion())
+
+expect(reachedPoint1) == true
+expect(reachedPoint2) == false
+```
+
+Notes:
+
+* This feature is only available in Swift.
+* It is only supported for `x86_64` binaries, meaning _you cannot run this matcher on iOS devices, only simulators_.
+* The tvOS simulator is supported, but using a different mechanism, requiring you to turn off the `Debug executable` scheme setting for your tvOS scheme's Test configuration.
+
+## Swift Error Handling
+
+You can use the `throwError` matcher to check if an error is thrown.
+
+```swift
+// Swift
+
+// Passes if 'somethingThatThrows()' throws an 'Error':
+expect { try somethingThatThrows() }.to(throwError())
+
+// Passes if 'somethingThatThrows()' throws an error within a particular domain:
+expect { try somethingThatThrows() }.to(throwError { (error: Error) in
+    expect(error._domain).to(equal(NSCocoaErrorDomain))
+})
+
+// Passes if 'somethingThatThrows()' throws a particular error enum case:
+expect { try somethingThatThrows() }.to(throwError(NSCocoaError.PropertyListReadCorruptError))
+
+// Passes if 'somethingThatThrows()' throws an error of a particular type:
+expect { try somethingThatThrows() }.to(throwError(errorType: NimbleError.self))
+```
+
+When working directly with `Error` values, using the `matchError` matcher
+allows you to perform certain checks on the error itself without having to
+explicitly cast the error.
+
+The `matchError` matcher allows you to check whether or not the error:
+
+- is the same _type_ of error you are expecting.
+- represents a particular error value that you are expecting.
+
+This can be useful when using `Result` or `Promise` types, for example.
+
+```swift
+// Swift
+
+let actual: Error = ...
+
+// Passes if 'actual' represents any error value from the NimbleErrorEnum type:
+expect(actual).to(matchError(NimbleErrorEnum.self))
+
+// Passes if 'actual' represents the case 'timeout' from the NimbleErrorEnum type:
+expect(actual).to(matchError(NimbleErrorEnum.timeout))
+
+// Passes if 'actual' contains an NSError equal to the one provided:
+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 which passes expectations defined in the given closure:
+// (in this case, if the exception's 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 defined in the given 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 empty (i.e. 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 empty (i.e. 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).
+
+For code that returns collections of complex objects without a strict
+ordering, there is the `containElementSatisfying` matcher:
+
+```swift
+// Swift
+
+struct Turtle {
+    let color: String
+}
+
+let turtles: [Turtle] = functionThatReturnsSomeTurtlesInAnyOrder()
+
+// This set of matchers passes regardless of whether the array is 
+// [{color: "blue"}, {color: "green"}] or [{color: "green"}, {color: "blue"}]:
+
+expect(turtles).to(containElementSatisfying({ turtle in
+    return turtle.color == "green"
+}))
+expect(turtles).to(containElementSatisfying({ turtle in
+    return turtle.color == "blue"
+}, "that is a turtle with color 'blue'"))
+
+// The second matcher will incorporate the provided string in the error message
+// should it fail
+```
+
+```objc
+// Objective-C
+
+@interface Turtle : NSObject
+@property (nonatomic, readonly, nonnull) NSString *color;
+@end
+
+@implementation Turtle 
+@end
+
+NSArray<Turtle *> * __nonnull turtles = functionThatReturnsSomeTurtlesInAnyOrder();
+
+// This set of matchers passes regardless of whether the array is 
+// [{color: "blue"}, {color: "green"}] or [{color: "green"}, {color: "blue"}]:
+
+expect(turtles).to(containElementSatisfying(^BOOL(id __nonnull object) {
+    return [[turtle color] isEqualToString:@"green"];
+}));
+expect(turtles).to(containElementSatisfying(^BOOL(id __nonnull object) {
+    return [[turtle color] isEqualToString:@"blue"];
+}));
+```
+
+## Strings
+
+```swift
+// Swift
+
+// Passes if 'actual' contains 'substring':
+expect(actual).to(contain(substring))
+
+// Passes if 'actual' begins with 'prefix':
+expect(actual).to(beginWith(prefix))
+
+// Passes if 'actual' ends with 'suffix':
+expect(actual).to(endWith(suffix))
+
+// Passes if 'actual' represents the 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':
+expect(actual).to(contain(expected));
+
+// Passes if 'actual' begins with 'prefix':
+expect(actual).to(beginWith(prefix));
+
+// Passes if 'actual' ends with 'suffix':
+expect(actual).to(endWith(suffix));
+
+// Passes if 'actual' represents the empty string, "":
+expect(actual).to(beEmpty());
+
+// Passes if 'actual' matches the regular expression defined in 'expected':
+expect(actual).to(match(expected))
+```
+
+## Collection Elements
+
+Nimble provides a means to check that all elements of a collection pass a given expectation.
+
+### Swift
+
+In Swift, the collection must be an instance of a type conforming to
+`Sequence`.
+
+```swift
+// Swift
+
+// Providing a custom function:
+expect([1, 2, 3, 4]).to(allPass { $0! < 5 })
+
+// Composing the expectation with another matcher:
+expect([1, 2, 3, 4]).to(allPass(beLessThan(5)))
+```
+
+### Objective-C
+
+In Objective-C, the collection must be an instance of a type which implements
+the `NSFastEnumeration` protocol, and whose elements are instances of a type
+which subclasses `NSObject`.
+
+Additionally, unlike in Swift, there is no override to specify a custom
+matcher function.
+
+```objc
+// Objective-C
+
+expect(@[@1, @2, @3, @4]).to(allPass(beLessThan(@5)));
+```
+
+## Collection Count
+
+```swift
+// Swift
+
+// Passes if 'actual' contains the 'expected' number of elements:
+expect(actual).to(haveCount(expected))
+
+// Passes if 'actual' does _not_ contain the 'expected' number of elements:
+expect(actual).notTo(haveCount(expected))
+```
+
+```objc
+// Objective-C
+
+// Passes if 'actual' contains the 'expected' number of elements:
+expect(actual).to(haveCount(expected))
+
+// Passes if 'actual' does _not_ contain the 'expected' number of elements:
+expect(actual).notTo(haveCount(expected))
+```
+
+For Swift, the actual value must be an instance of a type conforming to `Collection`.
+For example, instances of `Array`, `Dictionary`, or `Set`.
+
+For Objective-C, the actual value must be one of the following classes, or their subclasses:
+
+ - `NSArray`,
+ - `NSDictionary`,
+ - `NSSet`, or
+ - `NSHashTable`.
+
+## Notifications
+
+```swift
+// Swift
+let testNotification = Notification(name: "Foo", object: nil)
+
+// passes if the closure in expect { ... } posts a notification to the default
+// notification center.
+expect {
+    NotificationCenter.default.postNotification(testNotification)
+}.to(postNotifications(equal([testNotification]))
+
+// passes if the closure in expect { ... } posts a notification to a given
+// notification center
+let notificationCenter = NotificationCenter()
+expect {
+    notificationCenter.postNotification(testNotification)
+}.to(postNotifications(equal([testNotification]), fromNotificationCenter: notificationCenter))
+```
+
+> This matcher is only available in Swift.
+
+## Matching a value to any of a group of matchers
+
+```swift
+// 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
+// Objective-C
+
+// 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.
+
+## Custom Validation
+
+```swift
+// Swift
+
+// passes if .succeeded is returned from the closure
+expect({
+    guard case .enumCaseWithAssociatedValueThatIDontCareAbout = actual else {
+        return .failed(reason: "wrong enum case")
+    }
+
+    return .succeeded
+}).to(succeed())
+
+// passes if .failed is returned from the closure
+expect({
+    guard case .enumCaseWithAssociatedValueThatIDontCareAbout = actual else {
+        return .failed(reason: "wrong enum case")
+    }
+
+    return .succeeded
+}).notTo(succeed())
+```
+
+The `String` provided with `.failed()` is shown when the test fails.
+
+When using `toEventually()` be careful not to make state changes or run process intensive code since this closure will be ran many times.
+
+# Writing Your Own Matchers
+
+In Nimble, matchers are Swift functions that take an expected
+value and return a `Predicate` closure. Take `equal`, for example:
+
+```swift
+// Swift
+
+public func equal<T: Equatable>(expectedValue: T?) -> Predicate<T> {
+    // Can be shortened to:
+    //   Predicate { actual in  ... }
+    //
+    // But shown with types here for clarity.
+    return Predicate { (actualExpression: Expression<T>) throws -> PredicateResult in
+        let msg = ExpectationMessage.expectedActualValueTo("equal <\(expectedValue)>")
+        if let actualValue = try actualExpression.evaluate() {
+            return PredicateResult(
+                bool: actualValue == expectedValue!,
+                message: msg
+            )
+        } else {
+            return PredicateResult(
+                status: .fail,
+                message: msg.appendedBeNilHint()
+            )
+        }
+    }
+}
+```
+
+The return value of a `Predicate` closure is a `PredicateResult` that indicates
+whether the actual value matches the expectation and what error message to
+display on failure.
+
+> The actual `equal` matcher function does not match when
+  `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.
+
+## PredicateResult
+
+`PredicateResult` is the return struct that `Predicate` return to indicate
+success and failure. A `PredicateResult` is made up of two values:
+`PredicateStatus` and `ExpectationMessage`.
+
+Instead of a boolean, `PredicateStatus` captures a trinary set of values:
+
+```swift
+// Swift
+
+public enum PredicateStatus {
+// The predicate "passes" with the given expression
+// eg - expect(1).to(equal(1))
+case matches
+
+// The predicate "fails" with the given expression
+// eg - expect(1).toNot(equal(1))
+case doesNotMatch
+
+// The predicate never "passes" with the given expression, even if negated
+// eg - expect(nil as Int?).toNot(equal(1))
+case fail
+
+// ...
+}
+```
+
+Meanwhile, `ExpectationMessage` provides messaging semantics for error reporting.
+
+```swift
+// Swift
+
+public indirect enum ExpectationMessage {
+// Emits standard error message:
+// eg - "expected to <string>, got <actual>"
+case expectedActualValueTo(/* message: */ String)
+
+// Allows any free-form message
+// eg - "<string>"
+case fail(/* message: */ String)
+
+// ...
+}
+```
+
+Predicates should usually depend on either `.expectedActualValueTo(..)` or
+`.fail(..)` when reporting errors. Special cases can be used for the other enum
+cases.
+
+Finally, if your Predicate utilizes other Predicates, you can utilize
+`.appended(details:)` and `.appended(message:)` methods to annotate an existing
+error with more details.
+
+A common message to append is failing on nils. For that, `.appendedBeNilHint()`
+can be used.
+
+## 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<T>() -> Predicate<T> {
+    // Predicate.simpleNilable(..) automatically generates ExpectationMessage for
+    // us based on the string we provide to it. Also, the 'Nilable' postfix indicates
+    // that this Predicate supports matching against nil actualExpressions, instead of
+    // always resulting in a PredicateStatus.fail result -- which is true for
+    // Predicate.simple(..)
+    return Predicate.simpleNilable("be nil") { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        return PredicateStatus(bool: actualValue == 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.
+
+## 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) -> Predicate<Printable?> {
+    return Predicate.simple("have description") { actual in
+        return PredicateStatus(bool: actual.evaluate().description == description)
+    }
+}
+```
+
+## Customizing Failure Messages
+
+When using `Predicate.simple(..)` or `Predicate.simpleNilable(..)`, Nimble
+outputs the following failure message when an expectation fails:
+
+```swift
+// where `message` is the first string argument and
+// `actual` is the actual value received in `expect(..)`
+"expected to \(message), got <\(actual)>"
+```
+
+You can customize this message by modifying the way you create a `Predicate`.
+
+### Basic Customization
+
+For slightly more complex error messaging, receive the created failure message
+with `Predicate.define(..)`:
+
+```swift
+// Swift
+
+public func equal<T: Equatable>(_ expectedValue: T?) -> Predicate<T> {
+    return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in
+        let actualValue = try actualExpression.evaluate()
+        let matches = actualValue == expectedValue && expectedValue != nil
+        if expectedValue == nil || actualValue == nil {
+            if expectedValue == nil && actualValue != nil {
+                return PredicateResult(
+                    status: .fail,
+                    message: msg.appendedBeNilHint()
+                )
+            }
+            return PredicateResult(status: .fail, message: msg)
+        }
+        return PredicateResult(bool: matches, message: msg)
+    }
+}
+```
+
+In the example above, `msg` is defined based on the string given to
+`Predicate.define`. The code looks akin to:
+
+```swift
+// Swift
+
+let msg = ExpectationMessage.expectedActualValueTo("equal <\(stringify(expectedValue))>")
+```
+
+### Full Customization
+
+To fully customize the behavior of the Predicate, use the overload that expects
+a `PredicateResult` to be returned.
+
+Along with `PredicateResult`, there are other `ExpectationMessage` enum values you can use:
+
+```swift
+public indirect enum ExpectationMessage {
+// Emits standard error message:
+// eg - "expected to <message>, got <actual>"
+case expectedActualValueTo(/* message: */ String)
+
+// Allows any free-form message
+// eg - "<message>"
+case fail(/* message: */ String)
+
+// Emits standard error message with a custom actual value instead of the default.
+// eg - "expected to <message>, got <actual>"
+case expectedCustomValueTo(/* message: */ String, /* actual: */ String)
+
+// Emits standard error message without mentioning the actual value
+// eg - "expected to <message>"
+case expectedTo(/* message: */ String)
+
+// ...
+}
+```
+
+For matchers that compose other matchers, there are a handful of helper
+functions to annotate messages.
+
+`appended(message: String)` is used to append to the original failure message:
+
+```swift
+// produces "expected to be true, got <actual> (use beFalse() for inverse)"
+// appended message do show up inline in Xcode.
+.expectedActualValueTo("be true").appended(message: " (use beFalse() for inverse)")
+```
+
+For a more comprehensive message that spans multiple lines, use
+`appended(details: String)` instead:
+
+```swift
+// produces "expected to be true, got <actual>\n\nuse beFalse() for inverse\nor use beNil()"
+// details do not show inline in Xcode, but do show up in test logs.
+.expectedActualValueTo("be true").appended(details: "use beFalse() for inverse\nor use beNil()")
+```
+
+## 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<NMBMatcher> 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<S: Sequence, T: Equatable where S.Iterator.Element == T>(startingElement: T) -> NonNilMatcherFunc<S> {
+    return NonNilMatcherFunc { actualExpression, failureMessage in
+        failureMessage.postfixMessage = "begin with <\(startingElement)>"
+        if let actualValue = actualExpression.evaluate() {
+            var actualGenerator = actualValue.makeIterator()
+            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)
+        }
+    }
+}
+```
+
+## Migrating from the Old Matcher API
+
+Previously (`<7.0.0`), Nimble supported matchers via the following types:
+
+- `Matcher`
+- `NonNilMatcherFunc`
+- `MatcherFunc`
+
+All of those types have been replaced by `Predicate`. While migrating can be a
+lot of work, Nimble currently provides several steps to aid migration of your
+custom matchers:
+
+### Minimal Step - Use `.predicate`
+
+Nimble provides an extension to the old types that automatically naively
+converts those types to the newer `Predicate`.
+
+```swift
+// Swift
+public func beginWith<S: Sequence, T: Equatable where S.Iterator.Element == T>(startingElement: T) -> Predicate<S> {
+    return NonNilMatcherFunc { actualExpression, failureMessage in
+        failureMessage.postfixMessage = "begin with <\(startingElement)>"
+        if let actualValue = actualExpression.evaluate() {
+            var actualGenerator = actualValue.makeIterator()
+            return actualGenerator.next() == startingElement
+        }
+        return false
+    }.predicate
+}
+```
+
+This is the simpliest way to externally support `Predicate` which allows easier
+composition than the old Nimble matcher interface, with minimal effort to change.
+
+### Convert to use `Predicate` Type with Old Matcher Constructor
+
+The second most convenient step is to utilize special constructors that
+`Predicate` supports that closely align to the constructors of the old Nimble
+matcher types.
+
+```swift
+// Swift
+public func beginWith<S: Sequence, T: Equatable where S.Iterator.Element == T>(startingElement: T) -> Predicate<S> {
+    return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in
+        failureMessage.postfixMessage = "begin with <\(startingElement)>"
+        if let actualValue = actualExpression.evaluate() {
+            var actualGenerator = actualValue.makeIterator()
+            return actualGenerator.next() == startingElement
+        }
+        return false
+    }
+}
+```
+
+This allows you to completely drop the old types from your code, although the
+intended behavior may alter slightly to what is desired.
+
+### Convert to `Predicate` Type with Preferred Constructor
+
+Finally, you can convert to the native `Predicate` format using one of the
+constructors not used to assist in the migration.
+
+### Deprecation Roadmap
+
+Nimble 7 introduces `Predicate` but will support the old types with warning
+deprecations. A couple major releases of Nimble will remain backwards
+compatible with the old matcher api, although new features may not be
+backported.
+
+The deprecating plan is a 3 major versions removal. Which is as follows:
+
+ 1. Introduce new `Predicate` API, deprecation warning for old matcher APIs.
+    (Nimble `v7.x.x` and `v8.x.x`)
+ 2. Introduce warnings on migration-path features (`.predicate`,
+    `Predicate`-constructors with similar arguments to old API). (Nimble
+    `v9.x.x`)
+ 3. Remove old API. (Nimble `v10.x.x`)
+
+
+# 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
+  Documentation](https://github.com/Quick/Quick/blob/master/Documentation/en-us/InstallingQuick.md).
+
+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 macOS, iOS or tvOS 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 macOS, iOS or tvOS 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', '~> 6.0.0'
+end
+```
+
+Finally run `pod install`.
+
+## Installing Nimble via Accio
+
+Add the following to your Package.swift:
+
+```swift
+.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "8.0.1")),
+```
+
+Next, add `Nimble` to your App targets dependencies like so:
+
+```swift
+.testTarget(
+    name: "AppTests",
+    dependencies: [
+        "Nimble",
+    ]
+),
+```
+
+Then run `accio update`.
+
+## 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.

+ 18 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift

@@ -0,0 +1,18 @@
+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
+    // swiftlint:disable:previous identifier_name
+    return isXCTestAvailable() ? NimbleXCTestHandler() : NimbleXCTestUnavailableHandler()
+}()

+ 19 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift

@@ -0,0 +1,19 @@
+/// 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)
+        }
+    }
+}

+ 127 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift

@@ -0,0 +1,127 @@
+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))
+    }
+}
+
+extension NMBExceptionCapture {
+    internal func tryBlockThrows(_ unsafeBlock: () throws -> Void) throws {
+        var catchedError: Error?
+        tryBlock {
+            do {
+                try unsafeBlock()
+            } catch {
+                catchedError = error
+            }
+        }
+        if let error = catchedError {
+            throw error
+        }
+    }
+}
+
+/// 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,
+                                 file: FileString = #file,
+                                 line: UInt = #line,
+                                 closure: () throws -> Void) {
+    let environment = NimbleEnvironment.activeInstance
+    let oldRecorder = environment.assertionHandler
+    let capturer = NMBExceptionCapture(handler: nil, finally: ({
+        environment.assertionHandler = oldRecorder
+    }))
+    environment.assertionHandler = tempAssertionHandler
+
+    do {
+        try capturer.tryBlockThrows {
+            try closure()
+        }
+    } catch {
+        let failureMessage = FailureMessage()
+        failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+        let location = SourceLocation(file: file, line: line)
+        tempAssertionHandler.assert(false, message: failureMessage, location: location)
+    }
+}
+
+/// 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: 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: Bool = false, closure: () -> Void) -> [AssertionRecord] {
+    let assertions = gatherExpectations(silently: silently, closure: closure)
+    return assertions.filter { assertion in
+        !assertion.success
+    }
+}

+ 191 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift

@@ -0,0 +1,191 @@
+import Foundation
+
+#if canImport(Darwin) && !SWIFT_PACKAGE
+
+private func from(objcPredicate: NMBPredicate) -> Predicate<NSObject> {
+    return Predicate { actualExpression in
+        let result = objcPredicate.satisfies(({ try actualExpression.evaluate() }),
+                                             location: actualExpression.location)
+        return result.toSwift()
+    }
+}
+
+internal struct ObjCMatcherWrapper: Matcher {
+    let matcher: NMBMatcher
+
+    func matches(_ actualExpression: Expression<NSObject>, failureMessage: FailureMessage) -> Bool {
+        return matcher.matches(
+            // swiftlint:disable:next force_try
+            ({ try! actualExpression.evaluate() }),
+            failureMessage: failureMessage,
+            location: actualExpression.location)
+    }
+
+    func doesNotMatch(_ actualExpression: Expression<NSObject>, failureMessage: FailureMessage) -> Bool {
+        return matcher.doesNotMatch(
+            // swiftlint:disable:next force_try
+            ({ try! actualExpression.evaluate() }),
+            failureMessage: failureMessage,
+            location: actualExpression.location)
+    }
+}
+
+// Equivalent to Expectation, but for Nimble's Objective-C interface
+public class NMBExpectation: NSObject {
+    // swiftlint:disable identifier_name
+    internal let _actualBlock: () -> NSObject?
+    internal var _negative: Bool
+    internal let _file: FileString
+    internal let _line: UInt
+    internal var _timeout: TimeInterval = 1.0
+    // swiftlint:enable identifier_name
+
+    @objc public init(actualBlock: @escaping () -> NSObject?, negative: Bool, file: FileString, line: UInt) {
+        self._actualBlock = actualBlock
+        self._negative = negative
+        self._file = file
+        self._line = line
+    }
+
+    private var expectValue: Expectation<NSObject> {
+        return expect(_file, line: _line) {
+            self._actualBlock() as NSObject?
+        }
+    }
+
+    @objc public var withTimeout: (TimeInterval) -> NMBExpectation {
+        return { timeout in self._timeout = timeout
+            return self
+        }
+    }
+
+    @objc public var to: (NMBMatcher) -> Void {
+        return { matcher in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.to(from(objcPredicate: pred))
+            } else {
+                self.expectValue.to(ObjCMatcherWrapper(matcher: matcher))
+            }
+        }
+    }
+
+    @objc public var toWithDescription: (NMBMatcher, String) -> Void {
+        return { matcher, description in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.to(from(objcPredicate: pred), description: description)
+            } else {
+                self.expectValue.to(ObjCMatcherWrapper(matcher: matcher), description: description)
+            }
+        }
+    }
+
+    @objc public var toNot: (NMBMatcher) -> Void {
+        return { matcher in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toNot(from(objcPredicate: pred))
+            } else {
+                self.expectValue.toNot(ObjCMatcherWrapper(matcher: matcher))
+            }
+        }
+    }
+
+    @objc public var toNotWithDescription: (NMBMatcher, String) -> Void {
+        return { matcher, description in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toNot(from(objcPredicate: pred), description: description)
+            } else {
+                self.expectValue.toNot(ObjCMatcherWrapper(matcher: matcher), description: description)
+            }
+        }
+    }
+
+    @objc public var notTo: (NMBMatcher) -> Void { return toNot }
+
+    @objc public var notToWithDescription: (NMBMatcher, String) -> Void { return toNotWithDescription }
+
+    @objc public var toEventually: (NMBMatcher) -> Void {
+        return { matcher in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toEventually(
+                    from(objcPredicate: pred),
+                    timeout: self._timeout,
+                    description: nil
+                )
+            } else {
+                self.expectValue.toEventually(
+                    ObjCMatcherWrapper(matcher: matcher),
+                    timeout: self._timeout,
+                    description: nil
+                )
+            }
+        }
+    }
+
+    @objc public var toEventuallyWithDescription: (NMBMatcher, String) -> Void {
+        return { matcher, description in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toEventually(
+                    from(objcPredicate: pred),
+                    timeout: self._timeout,
+                    description: description
+                )
+            } else {
+                self.expectValue.toEventually(
+                    ObjCMatcherWrapper(matcher: matcher),
+                    timeout: self._timeout,
+                    description: description
+                )
+            }
+        }
+    }
+
+    @objc public var toEventuallyNot: (NMBMatcher) -> Void {
+        return { matcher in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toEventuallyNot(
+                    from(objcPredicate: pred),
+                    timeout: self._timeout,
+                    description: nil
+                )
+            } else {
+                self.expectValue.toEventuallyNot(
+                    ObjCMatcherWrapper(matcher: matcher),
+                    timeout: self._timeout,
+                    description: nil
+                )
+            }
+        }
+    }
+
+    @objc public var toEventuallyNotWithDescription: (NMBMatcher, String) -> Void {
+        return { matcher, description in
+            if let pred = matcher as? NMBPredicate {
+                self.expectValue.toEventuallyNot(
+                    from(objcPredicate: pred),
+                    timeout: self._timeout,
+                    description: description
+                )
+            } else {
+                self.expectValue.toEventuallyNot(
+                    ObjCMatcherWrapper(matcher: matcher),
+                    timeout: self._timeout,
+                    description: description
+                )
+            }
+        }
+    }
+
+    @objc public var toNotEventually: (NMBMatcher) -> Void {
+        return toEventuallyNot
+    }
+
+    @objc public var toNotEventuallyWithDescription: (NMBMatcher, String) -> Void {
+        return toEventuallyNotWithDescription
+    }
+
+    @objc public class func failWithMessage(_ message: String, file: FileString, line: UInt) {
+        fail(message, location: SourceLocation(file: file, line: line))
+    }
+}
+
+#endif

+ 95 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift

@@ -0,0 +1,95 @@
+import Foundation
+
+#if canImport(Darwin)
+
+// swiftlint:disable line_length
+public typealias MatcherBlock = (_ actualExpression: Expression<NSObject>, _ failureMessage: FailureMessage) throws -> Bool
+public typealias FullMatcherBlock = (_ actualExpression: Expression<NSObject>, _ failureMessage: FailureMessage, _ shouldNotMatch: Bool) throws -> Bool
+// swiftlint:enable line_length
+
+public class NMBObjCMatcher: NSObject, NMBMatcher {
+    // swiftlint:disable identifier_name
+    let _match: MatcherBlock
+    let _doesNotMatch: MatcherBlock
+    // swiftlint:enable identifier_name
+    let canMatchNil: Bool
+
+    public init(canMatchNil: Bool, matcher: @escaping MatcherBlock, notMatcher: @escaping MatcherBlock) {
+        self.canMatchNil = canMatchNil
+        self._match = matcher
+        self._doesNotMatch = notMatcher
+    }
+
+    public convenience init(matcher: @escaping MatcherBlock) {
+        self.init(canMatchNil: true, matcher: matcher)
+    }
+
+    public convenience init(canMatchNil: Bool, matcher: @escaping MatcherBlock) {
+        self.init(canMatchNil: canMatchNil, matcher: matcher, notMatcher: ({ actualExpression, failureMessage in
+            return try !matcher(actualExpression, failureMessage)
+        }))
+    }
+
+    public convenience init(matcher: @escaping FullMatcherBlock) {
+        self.init(canMatchNil: true, matcher: matcher)
+    }
+
+    public convenience init(canMatchNil: Bool, matcher: @escaping FullMatcherBlock) {
+        self.init(canMatchNil: canMatchNil, matcher: ({ actualExpression, failureMessage in
+            return try matcher(actualExpression, failureMessage, false)
+        }), notMatcher: ({ actualExpression, failureMessage in
+            return try matcher(actualExpression, failureMessage, true)
+        }))
+    }
+
+    private func canMatch(_ actualExpression: Expression<NSObject>, 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: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let expr = Expression(expression: actualBlock, location: location)
+        let result: Bool
+        do {
+            result = try _match(expr, failureMessage)
+        } catch let error {
+            failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+            return false
+        }
+
+        if self.canMatch(Expression(expression: actualBlock, location: location), failureMessage: failureMessage) {
+            return result
+        } else {
+            return false
+        }
+    }
+
+    public func doesNotMatch(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let expr = Expression(expression: actualBlock, location: location)
+        let result: Bool
+        do {
+            result = try _doesNotMatch(expr, failureMessage)
+        } catch let error {
+            failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+            return false
+        }
+
+        if self.canMatch(Expression(expression: actualBlock, location: location), failureMessage: failureMessage) {
+            return result
+        } else {
+            return false
+        }
+    }
+}
+
+#endif

+ 43 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift

@@ -0,0 +1,43 @@
+import Dispatch
+import Foundation
+
+/// "Global" state of Nimble is stored here. Only DSL functions should access / be aware of this
+/// class' existence
+internal class NimbleEnvironment: NSObject {
+    static var activeInstance: NimbleEnvironment {
+        get {
+            let env = Thread.current.threadDictionary["NimbleEnvironment"]
+            if let env = env as? NimbleEnvironment {
+                return env
+            } else {
+                let newEnv = NimbleEnvironment()
+                self.activeInstance = newEnv
+                return newEnv
+            }
+        }
+        set {
+            Thread.current.threadDictionary["NimbleEnvironment"] = newValue
+        }
+    }
+
+    // swiftlint:disable:next todo
+    // TODO: eventually migrate the global to this environment value
+    var assertionHandler: AssertionHandler {
+        get { return NimbleAssertionHandler }
+        set { NimbleAssertionHandler = newValue }
+    }
+
+    var suppressTVOSAssertionWarning: Bool = false
+    var awaiter: Awaiter
+
+    override init() {
+        let timeoutQueue = DispatchQueue.global(qos: .userInitiated)
+        awaiter = Awaiter(
+            waitLock: AssertionWaitLock(),
+            asyncQueue: .main,
+            timeoutQueue: timeoutQueue
+        )
+
+        super.init()
+    }
+}

+ 91 - 0
Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift

@@ -0,0 +1,91 @@
+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 !SWIFT_PACKAGE
+/// 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?
+
+    private var stashed_swift_reportFatalErrorsToDebugger: Bool = false
+
+    @objc func testCaseWillStart(_ testCase: XCTestCase) {
+        #if swift(>=3.2) && !os(tvOS)
+        stashed_swift_reportFatalErrorsToDebugger = _swift_reportFatalErrorsToDebugger
+        _swift_reportFatalErrorsToDebugger = false
+        #endif
+
+        currentTestCase = testCase
+    }
+
+    @objc func testCaseDidFinish(_ testCase: XCTestCase) {
+        currentTestCase = nil
+
+        #if swift(>=3.2) && !os(tvOS)
+        _swift_reportFatalErrorsToDebugger = stashed_swift_reportFatalErrorsToDebugger
+        #endif
+    }
+}
+#endif
+
+func isXCTestAvailable() -> Bool {
+#if canImport(Darwin)
+    // XCTest is weakly linked and so may not be present
+    return NSClassFromString("XCTestCase") != nil
+#else
+    return true
+#endif
+}
+
+public func recordFailure(_ message: String, location: SourceLocation) {
+#if SWIFT_PACKAGE
+    XCTFail("\(message)", file: location.file, line: location.line)
+#else
+    if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase {
+        let line = Int(location.line)
+        testCase.recordFailure(withDescription: message, inFile: location.file, atLine: line, expected: true)
+    } else {
+        let msg = """
+            Attempted to report a test failure to XCTest while no test case was running. The failure was:
+            \"\(message)\"
+            It occurred at: \(location.file):\(location.line)
+            """
+        NSException(name: .internalInconsistencyException, reason: msg, userInfo: nil).raise()
+    }
+#endif
+}

+ 122 - 0
Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift

@@ -0,0 +1,122 @@
+import Dispatch
+import Foundation
+
+private enum ErrorResult {
+    case exception(NSException)
+    case error(Error)
+    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 {
+// About these kind of lines, `@objc` attributes are only required for Objective-C
+// support, so that should be conditional on Darwin platforms and normal Xcode builds
+// (non-SwiftPM builds).
+#if canImport(Darwin) && !SWIFT_PACKAGE
+    @objc
+    internal class func until(
+        timeout: TimeInterval,
+        file: FileString = #file,
+        line: UInt = #line,
+        action: @escaping (@escaping () -> Void) -> Void) {
+            return throwableUntil(timeout: timeout, file: file, line: line) { done in
+                action(done)
+            }
+    }
+#else
+    internal class func until(
+        timeout: TimeInterval,
+        file: FileString = #file,
+        line: UInt = #line,
+        action: @escaping (@escaping () -> Void) -> Void) {
+            return throwableUntil(timeout: timeout, file: file, line: line) { done in
+                action(done)
+            }
+    }
+#endif
+
+    // Using a throwable closure makes this method not objc compatible.
+    internal class func throwableUntil(
+        timeout: TimeInterval,
+        file: FileString = #file,
+        line: UInt = #line,
+        action: @escaping (@escaping () -> Void) throws -> Void) {
+            let awaiter = NimbleEnvironment.activeInstance.awaiter
+            let leeway = timeout / 2.0
+            // swiftlint:disable:next line_length
+            let result = awaiter.performBlock(file: file, line: line) { (done: @escaping (ErrorResult) -> Void) throws -> Void in
+                DispatchQueue.main.async {
+                    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
+            }
+    }
+
+#if canImport(Darwin) && !SWIFT_PACKAGE
+    @objc(untilFile:line:action:)
+    internal class func until(
+        _ file: FileString = #file,
+        line: UInt = #line,
+        action: @escaping (@escaping () -> Void) -> Void) {
+        until(timeout: 1, file: file, line: line, action: action)
+    }
+#else
+    internal class func until(
+        _ file: FileString = #file,
+        line: UInt = #line,
+        action: @escaping (@escaping () -> Void) -> Void) {
+        until(timeout: 1, file: file, line: line, action: action)
+    }
+#endif
+}
+
+internal func blockedRunLoopErrorMessageFor(_ fnName: String, leeway: TimeInterval) -> String {
+    // swiftlint:disable:next line_length
+    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: TimeInterval = AsyncDefaults.Timeout, file: FileString = #file, line: UInt = #line, action: @escaping (@escaping () -> Void) -> Void) {
+    NMBWait.until(timeout: timeout, file: file, line: line, action: action)
+}

+ 68 - 0
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.
+public func expect<T>(_ expression: @autoclosure @escaping () throws -> T?, file: FileString = #file, line: UInt = #line) -> Expectation<T> {
+    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.
+public func expect<T>(_ file: FileString = #file, line: UInt = #line, expression: @escaping () throws -> T?) -> Expectation<T> {
+    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(
+    _ expr: @autoclosure() -> Bool,
+    _ name: @autoclosure() -> String,
+    _ message: @autoclosure() -> String,
+    file: StaticString = #file,
+    line: UInt = #line) {
+        let result = expr()
+        if !result {
+#if canImport(Darwin)
+            let exception = NSException(
+                name: NSExceptionName(name()),
+                reason: message(),
+                userInfo: nil
+            )
+            exception.raise()
+#else
+            preconditionFailure("\(name()) - \(message())", file: file, line: line)
+#endif
+        }
+}
+
+internal func internalError(_ msg: String, file: FileString = #file, line: UInt = #line) -> Never {
+    // swiftlint:disable line_length
+    fatalError(
+        """
+        Nimble Bug Found: \(msg) at \(file):\(line).
+        Please file a bug to Nimble: https://github.com/Quick/Nimble/issues with the code snippet that caused this error.
+        """
+    )
+    // swiftlint:enable line_length
+}

+ 125 - 0
Example/Pods/Nimble/Sources/Nimble/Expectation.swift

@@ -0,0 +1,125 @@
+import Foundation
+
+// Deprecated
+internal func expressionDoesNotMatch<T, U>(_ expression: Expression<T>, matcher: U, toNot: String, description: String?) -> (Bool, FailureMessage)
+    where U: Matcher, U.ValueType == T {
+    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.stringValue = "unexpected error thrown: <\(error)>"
+        return (false, msg)
+    }
+}
+
+internal func execute<T>(_ expression: Expression<T>, _ style: ExpectationStyle, _ predicate: Predicate<T>, to: String, description: String?, captureExceptions: Bool = true) -> (Bool, FailureMessage) {
+    func run() -> (Bool, FailureMessage) {
+        let msg = FailureMessage()
+        msg.userDescription = description
+        msg.to = to
+        do {
+            let result = try predicate.satisfies(expression)
+            result.message.update(failureMessage: msg)
+            if msg.actualValue == "" {
+                msg.actualValue = "<\(stringify(try expression.evaluate()))>"
+            }
+            return (result.toBoolean(expectation: style), msg)
+        } catch let error {
+            msg.stringValue = "unexpected error thrown: <\(error)>"
+            return (false, msg)
+        }
+    }
+
+    var result: (Bool, FailureMessage) = (false, FailureMessage())
+    if captureExceptions {
+        let capture = NMBExceptionCapture(handler: ({ exception -> Void in
+            let msg = FailureMessage()
+            msg.stringValue = "unexpected exception raised: \(exception)"
+            result = (false, msg)
+        }), finally: nil)
+        capture.tryBlock {
+            result = run()
+        }
+    } else {
+        result = run()
+    }
+
+    return result
+}
+
+public struct Expectation<T> {
+
+    public let expression: Expression<T>
+
+    public init(expression: Expression<T>) {
+        self.expression = expression
+    }
+
+    public func verify(_ pass: Bool, _ message: FailureMessage) {
+        let handler = NimbleEnvironment.activeInstance.assertionHandler
+        handler.assert(pass, message: message, location: expression.location)
+    }
+
+    ////////////////// OLD API /////////////////////
+
+    /// DEPRECATED: Tests the actual value using a matcher to match.
+    public func to<U>(_ matcher: U, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+            let (pass, msg) = execute(
+                expression,
+                .toMatch,
+                matcher.predicate,
+                to: "to",
+                description: description,
+                captureExceptions: false
+            )
+            verify(pass, msg)
+    }
+
+    /// DEPRECATED: Tests the actual value using a matcher to not match.
+    public func toNot<U>(_ matcher: U, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+        // swiftlint:disable:next line_length
+        let (pass, msg) = expressionDoesNotMatch(expression, matcher: matcher, toNot: "to not", description: description)
+        verify(pass, msg)
+    }
+
+    /// DEPRECATED: Tests the actual value using a matcher to not match.
+    ///
+    /// Alias to toNot().
+    public func notTo<U>(_ matcher: U, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+        toNot(matcher, description: description)
+    }
+
+    ////////////////// NEW API /////////////////////
+
+    /// Tests the actual value using a matcher to match.
+    public func to(_ predicate: Predicate<T>, description: String? = nil) {
+        let (pass, msg) = execute(expression, .toMatch, predicate, to: "to", description: description)
+        verify(pass, msg)
+    }
+
+    /// Tests the actual value using a matcher to not match.
+    public func toNot(_ predicate: Predicate<T>, description: String? = nil) {
+        let (pass, msg) = execute(expression, .toNotMatch, predicate, to: "to not", description: description)
+        verify(pass, msg)
+    }
+
+    /// Tests the actual value using a matcher to not match.
+    ///
+    /// Alias to toNot().
+    public func notTo(_ predicate: Predicate<T>, description: String? = nil) {
+        toNot(predicate, description: description)
+    }
+
+    // see:
+    // - `async` for extension
+    // - NMBExpectation for Objective-C interface
+}

+ 267 - 0
Example/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift

@@ -0,0 +1,267 @@
+import Foundation
+
+public indirect enum ExpectationMessage {
+    // --- Primary Expectations ---
+    /// includes actual value in output ("expected to <message>, got <actual>")
+    case expectedActualValueTo(/* message: */ String)
+    /// uses a custom actual value string in output ("expected to <message>, got <actual>")
+    case expectedCustomValueTo(/* message: */ String, /* actual: */ String)
+    /// excludes actual value in output ("expected to <message>")
+    case expectedTo(/* message: */ String)
+    /// allows any free-form message ("<message>")
+    case fail(/* message: */ String)
+
+    // --- Composite Expectations ---
+    // Generally, you'll want the methods, appended(message:) and appended(details:) instead.
+
+    /// Not Fully Implemented Yet.
+    case prepends(/* Prepended Message */ String, ExpectationMessage)
+
+    /// appends after an existing message ("<expectation> (use beNil() to match nils)")
+    case appends(ExpectationMessage, /* Appended Message */ String)
+
+    /// provides long-form multi-line explainations ("<expectation>\n\n<string>")
+    case details(ExpectationMessage, String)
+
+    internal var sampleMessage: String {
+        let asStr = toString(actual: "<ACTUAL>", expected: "expected", to: "to")
+        let asFailureMessage = FailureMessage()
+        update(failureMessage: asFailureMessage)
+        // swiftlint:disable:next line_length
+        return "(toString(actual:expected:to:) -> \(asStr) || update(failureMessage:) -> \(asFailureMessage.stringValue))"
+    }
+
+    /// Returns the smallest message after the "expected to" string that summarizes the error.
+    ///
+    /// Returns the message part from ExpectationMessage, ignoring all .appends and .details.
+    public var expectedMessage: String {
+        switch self {
+        case let .fail(msg):
+            return msg
+        case let .expectedTo(msg):
+            return msg
+        case let .expectedActualValueTo(msg):
+            return msg
+        case let .expectedCustomValueTo(msg, _):
+            return msg
+        case let .prepends(_, expectation):
+            return expectation.expectedMessage
+        case let .appends(expectation, msg):
+            return "\(expectation.expectedMessage)\(msg)"
+        case let .details(expectation, _):
+            return expectation.expectedMessage
+        }
+    }
+
+    /// Appends a message after the primary expectation message
+    public func appended(message: String) -> ExpectationMessage {
+        switch self {
+        case .fail, .expectedTo, .expectedActualValueTo, .expectedCustomValueTo, .appends, .prepends:
+            return .appends(self, message)
+        case let .details(expectation, msg):
+            return .details(expectation.appended(message: message), msg)
+        }
+    }
+
+    /// Appends a message hinting to use beNil() for when the actual value given was nil.
+    public func appendedBeNilHint() -> ExpectationMessage {
+        return appended(message: " (use beNil() to match nils)")
+    }
+
+    /// Appends a detailed (aka - multiline) message after the primary expectation message
+    /// Detailed messages will be placed after .appended(message:) calls.
+    public func appended(details: String) -> ExpectationMessage {
+        return .details(self, details)
+    }
+
+    internal func visitLeafs(_ f: (ExpectationMessage) -> ExpectationMessage) -> ExpectationMessage {
+        // swiftlint:disable:previous identifier_name
+        switch self {
+        case .fail, .expectedTo, .expectedActualValueTo, .expectedCustomValueTo:
+            return f(self)
+        case let .prepends(msg, expectation):
+            return .prepends(msg, expectation.visitLeafs(f))
+        case let .appends(expectation, msg):
+            return .appends(expectation.visitLeafs(f), msg)
+        case let .details(expectation, msg):
+            return .details(expectation.visitLeafs(f), msg)
+        }
+    }
+
+    /// Replaces a primary expectation with one returned by f. Preserves all composite expectations
+    /// that were built upon it (aka - all appended(message:) and appended(details:).
+    public func replacedExpectation(_ f: @escaping (ExpectationMessage) -> ExpectationMessage) -> ExpectationMessage {
+        // swiftlint:disable:previous identifier_name
+        func walk(_ msg: ExpectationMessage) -> ExpectationMessage {
+            switch msg {
+            case .fail, .expectedTo, .expectedActualValueTo, .expectedCustomValueTo:
+                return f(msg)
+            default:
+                return msg
+            }
+        }
+        return visitLeafs(walk)
+    }
+
+    /// Wraps a primary expectation with text before and after it.
+    /// Alias to prepended(message: before).appended(message: after)
+    public func wrappedExpectation(before: String, after: String) -> ExpectationMessage {
+        return prepended(expectation: before).appended(message: after)
+    }
+
+    /// Prepends a message by modifying the primary expectation
+    public func prepended(expectation message: String) -> ExpectationMessage {
+        func walk(_ msg: ExpectationMessage) -> ExpectationMessage {
+            switch msg {
+            case let .expectedTo(msg):
+                return .expectedTo(message + msg)
+            case let .expectedActualValueTo(msg):
+                return .expectedActualValueTo(message + msg)
+            case let .expectedCustomValueTo(msg, actual):
+                return .expectedCustomValueTo(message + msg, actual)
+            default:
+                return msg.visitLeafs(walk)
+            }
+        }
+        return visitLeafs(walk)
+    }
+
+    // swiftlint:disable:next todo
+    // TODO: test & verify correct behavior
+    internal func prepended(message: String) -> ExpectationMessage {
+        return .prepends(message, self)
+    }
+
+    /// Converts the tree of ExpectationMessages into a final built string.
+    public func toString(actual: String, expected: String = "expected", to: String = "to") -> String {
+        switch self {
+        case let .fail(msg):
+            return msg
+        case let .expectedTo(msg):
+            return "\(expected) \(to) \(msg)"
+        case let .expectedActualValueTo(msg):
+            return "\(expected) \(to) \(msg), got \(actual)"
+        case let .expectedCustomValueTo(msg, actual):
+            return "\(expected) \(to) \(msg), got \(actual)"
+        case let .prepends(msg, expectation):
+            return "\(msg)\(expectation.toString(actual: actual, expected: expected, to: to))"
+        case let .appends(expectation, msg):
+            return "\(expectation.toString(actual: actual, expected: expected, to: to))\(msg)"
+        case let .details(expectation, msg):
+            return "\(expectation.toString(actual: actual, expected: expected, to: to))\n\n\(msg)"
+        }
+    }
+
+    // Backwards compatibility: converts ExpectationMessage tree to FailureMessage
+    internal func update(failureMessage: FailureMessage) {
+        switch self {
+        case let .fail(msg) where !msg.isEmpty:
+            failureMessage.stringValue = msg
+        case .fail:
+            break
+        case let .expectedTo(msg):
+            failureMessage.actualValue = nil
+            failureMessage.postfixMessage = msg
+        case let .expectedActualValueTo(msg):
+            failureMessage.postfixMessage = msg
+        case let .expectedCustomValueTo(msg, actual):
+            failureMessage.postfixMessage = msg
+            failureMessage.actualValue = actual
+        case let .prepends(msg, expectation):
+            expectation.update(failureMessage: failureMessage)
+            if let desc = failureMessage.userDescription {
+                failureMessage.userDescription = "\(msg)\(desc)"
+            } else {
+                failureMessage.userDescription = msg
+            }
+        case let .appends(expectation, msg):
+            expectation.update(failureMessage: failureMessage)
+            failureMessage.appendMessage(msg)
+        case let .details(expectation, msg):
+            expectation.update(failureMessage: failureMessage)
+            failureMessage.appendDetails(msg)
+        }
+    }
+}
+
+extension FailureMessage {
+    internal func toExpectationMessage() -> ExpectationMessage {
+        let defaultMessage = FailureMessage()
+        if expected != defaultMessage.expected || _stringValueOverride != nil {
+            return .fail(stringValue)
+        }
+
+        var message: ExpectationMessage = .fail(userDescription ?? "")
+        if actualValue != "" && actualValue != nil {
+            message = .expectedCustomValueTo(postfixMessage, actualValue ?? "")
+        } else if postfixMessage != defaultMessage.postfixMessage {
+            if actualValue == nil {
+                message = .expectedTo(postfixMessage)
+            } else {
+                message = .expectedActualValueTo(postfixMessage)
+            }
+        }
+        if postfixActual != defaultMessage.postfixActual {
+            message = .appends(message, postfixActual)
+        }
+        if let extended = extendedMessage {
+            message = .details(message, extended)
+        }
+        return message
+    }
+}
+
+#if canImport(Darwin)
+
+public class NMBExpectationMessage: NSObject {
+    private let msg: ExpectationMessage
+
+    internal init(swift msg: ExpectationMessage) {
+        self.msg = msg
+    }
+
+    public init(expectedTo message: String) {
+        self.msg = .expectedTo(message)
+    }
+    public init(expectedActualValueTo message: String) {
+        self.msg = .expectedActualValueTo(message)
+    }
+
+    public init(expectedActualValueTo message: String, customActualValue actual: String) {
+        self.msg = .expectedCustomValueTo(message, actual)
+    }
+
+    public init(fail message: String) {
+        self.msg = .fail(message)
+    }
+
+    public init(prepend message: String, child: NMBExpectationMessage) {
+        self.msg = .prepends(message, child.msg)
+    }
+
+    public init(appendedMessage message: String, child: NMBExpectationMessage) {
+        self.msg = .appends(child.msg, message)
+    }
+
+    public init(prependedMessage message: String, child: NMBExpectationMessage) {
+        self.msg = .prepends(message, child.msg)
+    }
+
+    public init(details message: String, child: NMBExpectationMessage) {
+        self.msg = .details(child.msg, message)
+    }
+
+    public func appendedBeNilHint() -> NMBExpectationMessage {
+        return NMBExpectationMessage(swift: msg.appendedBeNilHint())
+    }
+
+    public func toSwift() -> ExpectationMessage { return self.msg }
+}
+
+extension ExpectationMessage {
+    func toObjectiveC() -> NMBExpectationMessage {
+        return NMBExpectationMessage(swift: self)
+    }
+}
+
+#endif

+ 101 - 0
Example/Pods/Nimble/Sources/Nimble/Expression.swift

@@ -0,0 +1,101 @@
+import Foundation
+
+// Memoizes the given closure, only calling the passed
+// closure once; even if repeat calls to the returned closure
+internal func memoizedClosure<T>(_ closure: @escaping () 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<T> {
+    // swiftlint:disable identifier_name
+    internal let _expression: (Bool) throws -> T?
+    internal let _withoutCaching: Bool
+    // swiftlint:enable identifier_name
+    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: @escaping () 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: @escaping (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<U>(_ block: @escaping (T?) throws -> U?) -> Expression<U> {
+        return Expression<U>(
+            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<T> {
+        return Expression(
+            memoizedExpression: self._expression,
+            location: location,
+            withoutCaching: true,
+            isClosure: isClosure
+        )
+    }
+}

+ 93 - 0
Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift

@@ -0,0 +1,93 @@
+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 = ""
+    /// An optional message that will be appended as a new line and provides additional details
+    /// about the failure. This message will only be visible in the issue navigator / in logs but
+    /// not directly in the source editor since only a single line is presented there.
+    public var extendedMessage: String?
+    public var userDescription: String?
+
+    public var stringValue: String {
+        get {
+            if let value = _stringValueOverride {
+                return value
+            } else {
+                return computeStringValue()
+            }
+        }
+        set {
+            _stringValueOverride = newValue
+        }
+    }
+
+    // swiftlint:disable:next identifier_name
+    internal var _stringValueOverride: String?
+    internal var hasOverriddenStringValue: Bool {
+        return _stringValueOverride != nil
+    }
+
+    public override init() {
+    }
+
+    public init(stringValue: String) {
+        _stringValueOverride = stringValue
+    }
+
+    internal func stripNewlines(_ str: String) -> String {
+        let whitespaces = CharacterSet.whitespacesAndNewlines
+        return str
+            .components(separatedBy: "\n")
+            .map { line in line.trimmingCharacters(in: whitespaces) }
+            .joined(separator: "")
+    }
+
+    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 extendedMessage = extendedMessage {
+            value += "\n\(stripNewlines(extendedMessage))"
+        }
+
+        if let userDescription = userDescription {
+            return "\(userDescription)\n\(value)"
+        }
+
+        return value
+    }
+
+    internal func appendMessage(_ msg: String) {
+        if hasOverriddenStringValue {
+            stringValue += "\(msg)"
+        } else if actualValue != nil {
+            postfixActual += msg
+        } else {
+            postfixMessage += msg
+        }
+    }
+
+    internal func appendDetails(_ msg: String) {
+        if hasOverriddenStringValue {
+            if let desc = userDescription {
+                stringValue = "\(desc)\n\(stringValue)"
+            }
+            stringValue += "\n\(msg)"
+        } else {
+            if let desc = userDescription {
+                userDescription = desc
+            }
+            extendedMessage = msg
+        }
+    }
+}

+ 122 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift

@@ -0,0 +1,122 @@
+import Foundation
+
+public func allPass<T, U>
+    (_ passFunc: @escaping (T?) throws -> Bool) -> Predicate<U>
+    where U: Sequence, T == U.Iterator.Element {
+        let matcher = Predicate.simpleNilable("pass a condition") { actualExpression in
+            return PredicateStatus(bool: try passFunc(try actualExpression.evaluate()))
+        }
+        return createPredicate(matcher)
+}
+
+public func allPass<T, U>
+    (_ passName: String, _ passFunc: @escaping (T?) throws -> Bool) -> Predicate<U>
+    where U: Sequence, T == U.Iterator.Element {
+        let matcher = Predicate.simpleNilable(passName) { actualExpression in
+            return PredicateStatus(bool: try passFunc(try actualExpression.evaluate()))
+        }
+        return createPredicate(matcher)
+}
+
+public func allPass<S, M>(_ elementMatcher: M) -> Predicate<S>
+    where S: Sequence, M: Matcher, S.Iterator.Element == M.ValueType {
+        return createPredicate(elementMatcher.predicate)
+}
+
+public func allPass<S>(_ elementPredicate: Predicate<S.Iterator.Element>) -> Predicate<S>
+    where S: Sequence {
+        return createPredicate(elementPredicate)
+}
+
+private func createPredicate<S>(_ elementMatcher: Predicate<S.Iterator.Element>) -> Predicate<S>
+    where S: Sequence {
+        return Predicate { actualExpression in
+            guard let actualValue = try actualExpression.evaluate() else {
+                return PredicateResult(
+                    status: .fail,
+                    message: .appends(.expectedTo("all pass"), " (use beNil() to match nils)")
+                )
+            }
+
+            var failure: ExpectationMessage = .expectedTo("all pass")
+            for currentElement in actualValue {
+                let exp = Expression(
+                    expression: {currentElement}, location: actualExpression.location)
+                let predicateResult = try elementMatcher.satisfies(exp)
+                if predicateResult.status == .matches {
+                    failure = predicateResult.message.prepended(expectation: "all ")
+                } else {
+                    failure = predicateResult.message
+                        .replacedExpectation({ .expectedTo($0.expectedMessage) })
+                        .wrappedExpectation(
+                            before: "all ",
+                            after: ", but failed first at element <\(stringify(currentElement))>"
+                                + " in <\(stringify(actualValue))>"
+                    )
+                    return PredicateResult(status: .doesNotMatch, message: failure)
+                }
+            }
+            failure = failure.replacedExpectation({ expectation in
+                return .expectedTo(expectation.expectedMessage)
+            })
+            return PredicateResult(status: .matches, message: failure)
+        }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func allPassMatcher(_ matcher: NMBMatcher) -> NMBPredicate {
+        return NMBPredicate { actualExpression in
+            let location = actualExpression.location
+            let actualValue = try actualExpression.evaluate()
+            var nsObjects = [NSObject]()
+
+            var collectionIsUsable = true
+            if let value = actualValue as? NSFastEnumeration {
+                var generator = NSFastEnumerationIterator(value)
+                while let obj = generator.next() {
+                    if let nsObject = obj as? NSObject {
+                        nsObjects.append(nsObject)
+                    } else {
+                        collectionIsUsable = false
+                        break
+                    }
+                }
+            } else {
+                collectionIsUsable = false
+            }
+
+            if !collectionIsUsable {
+                return NMBPredicateResult(
+                    status: NMBPredicateStatus.fail,
+                    message: NMBExpectationMessage(
+                        // swiftlint:disable:next line_length
+                        fail: "allPass can only be used with types which implement NSFastEnumeration (NSArray, NSSet, ...), and whose elements subclass NSObject, got <\(actualValue?.description ?? "nil")>"
+                    )
+                )
+            }
+
+            let expr = Expression(expression: ({ nsObjects }), location: location)
+            let pred: Predicate<[NSObject]> = createPredicate(Predicate { expr in
+                if let predicate = matcher as? NMBPredicate {
+                    return predicate.satisfies(({ try expr.evaluate() }), location: expr.location).toSwift()
+                } else {
+                    let failureMessage = FailureMessage()
+                    let result = matcher.matches(
+                        // swiftlint:disable:next force_try
+                        ({ try! expr.evaluate() }),
+                        failureMessage: failureMessage,
+                        location: expr.location
+                    )
+                    let expectationMsg = failureMessage.toExpectationMessage()
+                    return PredicateResult(
+                        bool: result,
+                        message: expectationMsg
+                    )
+                }
+            })
+            return try pred.satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 181 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/Async.swift

@@ -0,0 +1,181 @@
+import Foundation
+
+/// If you are running on a slower machine, it could be useful to increase the default timeout value
+/// or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.
+public struct AsyncDefaults {
+    public static var Timeout: TimeInterval = 1
+    public static var PollInterval: TimeInterval = 0.01
+}
+
+private func async<T>(style: ExpectationStyle, predicate: Predicate<T>, timeout: TimeInterval, poll: TimeInterval, fnName: String) -> Predicate<T> {
+    return Predicate { actualExpression in
+        let uncachedExpression = actualExpression.withoutCaching()
+        let fnName = "expect(...).\(fnName)(...)"
+        var lastPredicateResult: PredicateResult?
+        let result = pollBlock(
+            pollInterval: poll,
+            timeoutInterval: timeout,
+            file: actualExpression.location.file,
+            line: actualExpression.location.line,
+            fnName: fnName) {
+                lastPredicateResult = try predicate.satisfies(uncachedExpression)
+                return lastPredicateResult!.toBoolean(expectation: style)
+        }
+        switch result {
+        case .completed: return lastPredicateResult!
+        case .timedOut:
+            let message = lastPredicateResult?.message ?? .fail("timed out before returning a value")
+            return PredicateResult(status: .fail, message: message)
+        case let .errorThrown(error):
+            return PredicateResult(status: .fail, message: .fail("unexpected error thrown: <\(error)>"))
+        case let .raisedException(exception):
+            return PredicateResult(status: .fail, message: .fail("unexpected exception raised: \(exception)"))
+        case .blockedRunLoop:
+            // swiftlint:disable:next line_length
+            let message = lastPredicateResult?.message.appended(message: " (timed out, but main run loop was unresponsive).") ??
+                .fail("main run loop was unresponsive")
+            return PredicateResult(status: .fail, message: message)
+        case .incomplete:
+            internalError("Reached .incomplete state for \(fnName)(...).")
+        }
+    }
+}
+
+private let toEventuallyRequiresClosureError = FailureMessage(
+    stringValue: """
+        expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )
+        Swift 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(_ predicate: Predicate<T>, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil) {
+        nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
+
+        let (pass, msg) = execute(
+            expression,
+            .toMatch,
+            async(style: .toMatch, predicate: predicate, timeout: timeout, poll: pollInterval, fnName: "toEventually"),
+            to: "to eventually",
+            description: description,
+            captureExceptions: false
+        )
+        verify(pass, msg)
+    }
+
+    /// 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(_ predicate: Predicate<T>, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil) {
+        nimblePrecondition(expression.isClosure, "NimbleInternalError", toEventuallyRequiresClosureError.stringValue)
+
+        let (pass, msg) = execute(
+            expression,
+            .toNotMatch,
+            async(
+                style: .toNotMatch,
+                predicate: predicate,
+                timeout: timeout,
+                poll: pollInterval,
+                fnName: "toEventuallyNot"
+            ),
+            to: "to eventually not",
+            description: description,
+            captureExceptions: false
+        )
+        verify(pass, msg)
+    }
+
+    /// 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(_ predicate: Predicate<T>, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil) {
+        return toEventuallyNot(predicate, timeout: timeout, pollInterval: pollInterval, description: description)
+    }
+}
+
+// Deprecated
+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<U>(_ matcher: U, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+        if expression.isClosure {
+            let (pass, msg) = execute(
+                expression,
+                .toMatch,
+                async(
+                    style: .toMatch,
+                    predicate: matcher.predicate,
+                    timeout: timeout,
+                    poll: pollInterval,
+                    fnName: "toEventually"
+                ),
+                to: "to eventually",
+                description: description,
+                captureExceptions: false
+            )
+            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<U>(_ matcher: U, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+        if expression.isClosure {
+            let (pass, msg) = expressionDoesNotMatch(
+                expression,
+                matcher: async(
+                    style: .toNotMatch,
+                    predicate: matcher.predicate,
+                    timeout: timeout,
+                    poll: pollInterval,
+                    fnName: "toEventuallyNot"
+                ),
+                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<U>(_ matcher: U, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil)
+        where U: Matcher, U.ValueType == T {
+        return toEventuallyNot(matcher, timeout: timeout, pollInterval: pollInterval, description: description)
+    }
+}

+ 68 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift

@@ -0,0 +1,68 @@
+import Foundation
+
+private func matcherMessage<T>(forType expectedType: T.Type) -> String {
+    return "be a kind of \(String(describing: expectedType))"
+}
+private func matcherMessage(forClass expectedClass: AnyClass) -> String {
+    return "be a kind of \(String(describing: expectedClass))"
+}
+
+/// A Nimble matcher that succeeds when the actual value is an instance of the given class.
+public func beAKindOf<T>(_ expectedType: T.Type) -> Predicate<Any> {
+    return Predicate.define { actualExpression in
+        let message: ExpectationMessage
+
+        let instance = try actualExpression.evaluate()
+        guard let validInstance = instance else {
+            message = .expectedCustomValueTo(matcherMessage(forType: expectedType), "<nil>")
+            return PredicateResult(status: .fail, message: message)
+        }
+        message = .expectedCustomValueTo(
+            "be a kind of \(String(describing: expectedType))",
+            "<\(String(describing: type(of: validInstance))) instance>"
+        )
+
+        return PredicateResult(
+            bool: validInstance is T,
+            message: message
+        )
+    }
+}
+
+#if canImport(Darwin)
+
+/// 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) -> Predicate<NSObject> {
+    return Predicate.define { actualExpression in
+        let message: ExpectationMessage
+        let status: PredicateStatus
+
+        let instance = try actualExpression.evaluate()
+        if let validInstance = instance {
+            status = PredicateStatus(bool: instance != nil && instance!.isKind(of: expectedClass))
+            message = .expectedCustomValueTo(
+                matcherMessage(forClass: expectedClass),
+                "<\(String(describing: type(of: validInstance))) instance>"
+            )
+        } else {
+            status = .fail
+            message = .expectedCustomValueTo(
+                matcherMessage(forClass: expectedClass),
+                "<nil>"
+            )
+        }
+
+        return PredicateResult(status: status, message: message)
+    }
+}
+
+extension NMBObjCMatcher {
+    @objc public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            return try beAKindOf(expected).satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+
+#endif

+ 56 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift

@@ -0,0 +1,56 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is an _exact_ instance of the given class.
+public func beAnInstanceOf<T>(_ expectedType: T.Type) -> Predicate<Any> {
+    let errorMessage = "be an instance of \(String(describing: expectedType))"
+    return Predicate.define { actualExpression in
+        let instance = try actualExpression.evaluate()
+        guard let validInstance = instance else {
+            return PredicateResult(
+                status: .doesNotMatch,
+                message: .expectedActualValueTo(errorMessage)
+            )
+        }
+
+        let actualString = "<\(String(describing: type(of: validInstance))) instance>"
+
+        return PredicateResult(
+            status: PredicateStatus(bool: type(of: validInstance) == expectedType),
+            message: .expectedCustomValueTo(errorMessage, actualString)
+        )
+    }
+}
+
+/// 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) -> Predicate<NSObject> {
+    let errorMessage = "be an instance of \(String(describing: expectedClass))"
+    return Predicate.define { actualExpression in
+        let instance = try actualExpression.evaluate()
+        let actualString: String
+        if let validInstance = instance {
+            actualString = "<\(String(describing: type(of: validInstance))) instance>"
+        } else {
+            actualString = "<nil>"
+        }
+        #if canImport(Darwin)
+            let matches = instance != nil && instance!.isMember(of: expectedClass)
+        #else
+            let matches = instance != nil && type(of: instance!) == expectedClass
+        #endif
+        return PredicateResult(
+            status: PredicateStatus(bool: matches),
+            message: .expectedCustomValueTo(errorMessage, actualString)
+        )
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            return try beAnInstanceOf(expected).satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+#endif

+ 149 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift

@@ -0,0 +1,149 @@
+import Foundation
+
+// swiftlint:disable:next identifier_name
+public let DefaultDelta = 0.0001
+
+internal func isCloseTo(_ actualValue: NMBDoubleConvertible?,
+                        expectedValue: NMBDoubleConvertible,
+                        delta: Double)
+    -> PredicateResult {
+        let errorMessage = "be close to <\(stringify(expectedValue))> (within \(stringify(delta)))"
+        return PredicateResult(
+            bool: actualValue != nil &&
+                abs(actualValue!.doubleValue - expectedValue.doubleValue) < delta,
+            message: .expectedCustomValueTo(errorMessage, "<\(stringify(actualValue))>")
+        )
+}
+
+/// 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) -> Predicate<Double> {
+    return Predicate.define { actualExpression in
+        return isCloseTo(try actualExpression.evaluate(), expectedValue: expectedValue, delta: 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: NMBDoubleConvertible, within delta: Double = DefaultDelta) -> Predicate<NMBDoubleConvertible> {
+    return Predicate.define { actualExpression in
+        return isCloseTo(try actualExpression.evaluate(), expectedValue: expectedValue, delta: delta)
+    }
+}
+
+#if canImport(Darwin)
+public class NMBObjCBeCloseToMatcher: NSObject, NMBMatcher {
+    // swiftlint:disable identifier_name
+    var _expected: NSNumber
+    var _delta: CDouble
+    // swiftlint:enable identifier_name
+    init(expected: NSNumber, within: CDouble) {
+        _expected = expected
+        _delta = within
+    }
+
+    @objc public func matches(_ actualExpression: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let actualBlock: () -> NMBDoubleConvertible? = ({
+            return actualExpression() as? NMBDoubleConvertible
+        })
+        let expr = Expression(expression: actualBlock, location: location)
+        let predicate = beCloseTo(self._expected, within: self._delta)
+
+        do {
+            let result = try predicate.satisfies(expr)
+            result.message.update(failureMessage: failureMessage)
+            return result.toBoolean(expectation: .toMatch)
+        } catch let error {
+            failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+            return false
+        }
+    }
+
+    @objc public func doesNotMatch(_ actualExpression: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let actualBlock: () -> NMBDoubleConvertible? = ({
+            return actualExpression() as? NMBDoubleConvertible
+        })
+        let expr = Expression(expression: actualBlock, location: location)
+        let predicate = beCloseTo(self._expected, within: self._delta)
+
+        do {
+            let result = try predicate.satisfies(expr)
+            result.message.update(failureMessage: failureMessage)
+            return result.toBoolean(expectation: .toNotMatch)
+        } catch let error {
+            failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+            return false
+        }
+    }
+
+    @objc public var within: (CDouble) -> NMBObjCBeCloseToMatcher {
+        return { delta in
+            return NMBObjCBeCloseToMatcher(expected: self._expected, within: delta)
+        }
+    }
+}
+
+extension NMBObjCMatcher {
+    @objc 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) -> Predicate<[Double]> {
+    let errorMessage = "be close to <\(stringify(expectedValues))> (each within \(stringify(delta)))"
+    return Predicate.simple(errorMessage) { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            if actual.count != expectedValues.count {
+                return .doesNotMatch
+            } else {
+                for (index, actualItem) in actual.enumerated() {
+                    if fabs(actualItem - expectedValues[index]) > delta {
+                        return .doesNotMatch
+                    }
+                }
+                return .matches
+            }
+        }
+        return .doesNotMatch
+    }
+}
+
+// MARK: - Operators
+
+infix operator ≈ : ComparisonPrecedence
+
+// swiftlint:disable:next identifier_name
+public func ≈(lhs: Expectation<[Double]>, rhs: [Double]) {
+    lhs.to(beCloseTo(rhs))
+}
+
+// swiftlint:disable:next identifier_name
+public func ≈(lhs: Expectation<NMBDoubleConvertible>, rhs: NMBDoubleConvertible) {
+    lhs.to(beCloseTo(rhs))
+}
+
+// swiftlint:disable:next identifier_name
+public func ≈(lhs: Expectation<NMBDoubleConvertible>, rhs: (expected: NMBDoubleConvertible, delta: Double)) {
+    lhs.to(beCloseTo(rhs.expected, within: rhs.delta))
+}
+
+public func == (lhs: Expectation<NMBDoubleConvertible>, 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
+precedencegroup PlusMinusOperatorPrecedence {
+    higherThan: BitwiseShiftPrecedence
+}
+
+infix operator ± : PlusMinusOperatorPrecedence
+// swiftlint:disable:next identifier_name
+public func ±(lhs: NMBDoubleConvertible, rhs: Double) -> (expected: NMBDoubleConvertible, delta: Double) {
+    return (expected: lhs, delta: rhs)
+}

+ 116 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift

@@ -0,0 +1,116 @@
+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<S: Sequence>() -> Predicate<S> {
+    return Predicate.simple("be empty") { actualExpression in
+        guard let actual = try actualExpression.evaluate() else {
+            return .fail
+        }
+        var generator = actual.makeIterator()
+        return PredicateStatus(bool: 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<S: SetAlgebra>() -> Predicate<S> {
+    return Predicate.simple("be empty") { actualExpression in
+        guard let actual = try actualExpression.evaluate() else {
+            return .fail
+        }
+        return PredicateStatus(bool: actual.isEmpty)
+    }
+}
+
+/// 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<S: Sequence & SetAlgebra>() -> Predicate<S> {
+    return Predicate.simple("be empty") { actualExpression in
+        guard let actual = try actualExpression.evaluate() else {
+            return .fail
+        }
+        return PredicateStatus(bool: actual.isEmpty)
+    }
+}
+
+/// 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() -> Predicate<String> {
+    return Predicate.simple("be empty") { actualExpression in
+        let actualString = try actualExpression.evaluate()
+        return PredicateStatus(bool: 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() -> Predicate<NSString> {
+    return Predicate.simple("be empty") { actualExpression in
+        let actualString = try actualExpression.evaluate()
+        return PredicateStatus(bool: actualString == nil || actualString!.length == 0)
+    }
+}
+
+// Without specific overrides, beEmpty() is ambiguous for NSDictionary, NSArray,
+// etc, since they conform to Sequence 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() -> Predicate<NSDictionary> {
+	return Predicate.simple("be empty") { actualExpression in
+		let actualDictionary = try actualExpression.evaluate()
+        return PredicateStatus(bool: 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() -> Predicate<NSArray> {
+	return Predicate.simple("be empty") { actualExpression in
+		let actualArray = try actualExpression.evaluate()
+        return PredicateStatus(bool: 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() -> Predicate<NMBCollection> {
+    return Predicate.simple("be empty") { actualExpression in
+        let actual = try actualExpression.evaluate()
+        return PredicateStatus(bool: actual == nil || actual!.count == 0)
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beEmptyMatcher() -> NMBPredicate {
+        return NMBPredicate { actualExpression 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 beEmpty().satisfies(expr).toObjectiveC()
+            } else if let value = actualValue as? NSString {
+                let expr = Expression(expression: ({ value as String }), location: location)
+                return try beEmpty().satisfies(expr).toObjectiveC()
+            } else if let actualValue = actualValue {
+                // swiftlint:disable:next line_length
+                let badTypeErrorMsg = "be empty (only works for NSArrays, NSSets, NSIndexSets, NSDictionaries, NSHashTables, and NSStrings)"
+                return NMBPredicateResult(
+                    status: NMBPredicateStatus.fail,
+                    message: NMBExpectationMessage(
+                        expectedActualValueTo: badTypeErrorMsg,
+                        customActualValue: "\(String(describing: type(of: actualValue))) type"
+                    )
+                )
+            }
+            return NMBPredicateResult(
+                status: NMBPredicateStatus.fail,
+                message: NMBExpectationMessage(expectedActualValueTo: "be empty").appendedBeNilHint()
+            )
+        }
+    }
+}
+#endif

+ 44 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift

@@ -0,0 +1,44 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is greater than the expected value.
+public func beGreaterThan<T: Comparable>(_ expectedValue: T?) -> Predicate<T> {
+    let errorMessage = "be greater than <\(stringify(expectedValue))>"
+    return Predicate.simple(errorMessage) { actualExpression in
+        if let actual = try actualExpression.evaluate(), let expected = expectedValue {
+            return PredicateStatus(bool: actual > expected)
+        }
+        return .fail
+    }
+}
+
+public func ><T: Comparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beGreaterThan(rhs))
+}
+
+#if canImport(Darwin) || !compiler(>=5.1)
+/// A Nimble matcher that succeeds when the actual value is greater than the expected value.
+public func beGreaterThan(_ expectedValue: NMBComparable?) -> Predicate<NMBComparable> {
+    let errorMessage = "be greater than <\(stringify(expectedValue))>"
+    return Predicate.simple(errorMessage) { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        let matches = actualValue != nil
+            && actualValue!.NMB_compare(expectedValue) == ComparisonResult.orderedDescending
+        return PredicateStatus(bool: matches)
+    }
+}
+
+public func > (lhs: Expectation<NMBComparable>, rhs: NMBComparable?) {
+    lhs.to(beGreaterThan(rhs))
+}
+#endif
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { $0 as? NMBComparable }
+            return try beGreaterThan(expected).satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 46 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift

@@ -0,0 +1,46 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is greater than
+/// or equal to the expected value.
+public func beGreaterThanOrEqualTo<T: Comparable>(_ expectedValue: T?) -> Predicate<T> {
+    let message = "be greater than or equal to <\(stringify(expectedValue))>"
+    return Predicate.simple(message) { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        if let actual = actualValue, let expected = expectedValue {
+            return PredicateStatus(bool: actual >= expected)
+        }
+        return .fail
+    }
+}
+
+public func >=<T: Comparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beGreaterThanOrEqualTo(rhs))
+}
+
+#if canImport(Darwin) || !compiler(>=5.1)
+/// A Nimble matcher that succeeds when the actual value is greater than
+/// or equal to the expected value.
+public func beGreaterThanOrEqualTo<T: NMBComparable>(_ expectedValue: T?) -> Predicate<T> {
+    let message = "be greater than or equal to <\(stringify(expectedValue))>"
+    return Predicate.simple(message) { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) != ComparisonResult.orderedAscending
+        return PredicateStatus(bool: matches)
+    }
+}
+
+public func >=<T: NMBComparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beGreaterThanOrEqualTo(rhs))
+}
+#endif
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { $0 as? NMBComparable }
+            return try beGreaterThanOrEqualTo(expected).satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 44 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift

@@ -0,0 +1,44 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is the same instance
+/// as the expected instance.
+public func beIdenticalTo(_ expected: Any?) -> Predicate<Any> {
+    return Predicate.define { actualExpression in
+        let actual = try actualExpression.evaluate() as AnyObject?
+
+        let bool = actual === (expected as AnyObject?) && actual !== nil
+        return PredicateResult(
+            bool: bool,
+            message: .expectedCustomValueTo(
+                "be identical to \(identityAsString(expected))",
+                "\(identityAsString(actual))"
+            )
+        )
+    }
+}
+
+public func === (lhs: Expectation<Any>, rhs: Any?) {
+    lhs.to(beIdenticalTo(rhs))
+}
+public func !== (lhs: Expectation<Any>, rhs: Any?) {
+    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: Any?) -> Predicate<Any> {
+    return beIdenticalTo(expected)
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let aExpr = actualExpression.cast { $0 as Any? }
+            return try beIdenticalTo(expected).satisfies(aExpr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 43 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift

@@ -0,0 +1,43 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is less than the expected value.
+public func beLessThan<T: Comparable>(_ expectedValue: T?) -> Predicate<T> {
+    let message = "be less than <\(stringify(expectedValue))>"
+    return Predicate.simple(message) { actualExpression in
+        if let actual = try actualExpression.evaluate(), let expected = expectedValue {
+            return PredicateStatus(bool: actual < expected)
+        }
+        return .fail
+    }
+}
+
+public func <<T: Comparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beLessThan(rhs))
+}
+
+#if canImport(Darwin) || !compiler(>=5.1)
+/// A Nimble matcher that succeeds when the actual value is less than the expected value.
+public func beLessThan(_ expectedValue: NMBComparable?) -> Predicate<NMBComparable> {
+    let message = "be less than <\(stringify(expectedValue))>"
+    return Predicate.simple(message) { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) == ComparisonResult.orderedAscending
+        return PredicateStatus(bool: matches)
+    }
+}
+
+public func < (lhs: Expectation<NMBComparable>, rhs: NMBComparable?) {
+    lhs.to(beLessThan(rhs))
+}
+#endif
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { $0 as? NMBComparable }
+            return try beLessThan(expected).satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 43 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift

@@ -0,0 +1,43 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is less than
+/// or equal to the expected value.
+public func beLessThanOrEqualTo<T: Comparable>(_ expectedValue: T?) -> Predicate<T> {
+    return Predicate.simple("be less than or equal to <\(stringify(expectedValue))>") { actualExpression in
+        if let actual = try actualExpression.evaluate(), let expected = expectedValue {
+            return PredicateStatus(bool: actual <= expected)
+        }
+        return .fail
+    }
+}
+
+public func <=<T: Comparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beLessThanOrEqualTo(rhs))
+}
+
+#if canImport(Darwin) || !compiler(>=5.1)
+/// A Nimble matcher that succeeds when the actual value is less than
+/// or equal to the expected value.
+public func beLessThanOrEqualTo<T: NMBComparable>(_ expectedValue: T?) -> Predicate<T> {
+    return Predicate.simple("be less than or equal to <\(stringify(expectedValue))>") { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        let matches = actualValue.map { $0.NMB_compare(expectedValue) != .orderedDescending } ?? false
+        return PredicateStatus(bool: matches)
+    }
+}
+
+public func <=<T: NMBComparable>(lhs: Expectation<T>, rhs: T) {
+    lhs.to(beLessThanOrEqualTo(rhs))
+}
+#endif
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { $0 as? NMBComparable }
+            return try beLessThanOrEqualTo(expected).satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 154 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift

@@ -0,0 +1,154 @@
+import Foundation
+
+extension Int8: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).int8Value
+    }
+}
+
+extension UInt8: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).uint8Value
+    }
+}
+
+extension Int16: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).int16Value
+    }
+}
+
+extension UInt16: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).uint16Value
+    }
+}
+
+extension Int32: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).int32Value
+    }
+}
+
+extension UInt32: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).uint32Value
+    }
+}
+
+extension Int64: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).int64Value
+    }
+}
+
+extension UInt64: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).uint64Value
+    }
+}
+
+extension Float: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).floatValue
+    }
+}
+
+extension Double: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).doubleValue
+    }
+}
+
+extension Int: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).intValue
+    }
+}
+
+extension UInt: ExpressibleByBooleanLiteral {
+    public init(booleanLiteral value: Bool) {
+        self = NSNumber(value: value).uintValue
+    }
+}
+
+internal func rename<T>(_ matcher: Predicate<T>, failureMessage message: ExpectationMessage) -> Predicate<T> {
+    return Predicate { actualExpression in
+        let result = try matcher.satisfies(actualExpression)
+        return PredicateResult(status: result.status, message: message)
+    }.requireNonNil
+}
+
+// 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() -> Predicate<Bool> {
+    return rename(equal(true), failureMessage: .expectedActualValueTo("be true"))
+}
+
+/// A Nimble matcher that succeeds when the actual value is exactly false.
+/// This matcher will not match against nils.
+public func beFalse() -> Predicate<Bool> {
+    return rename(equal(false), failureMessage: .expectedActualValueTo("be false"))
+}
+
+// MARK: beTruthy() / beFalsy()
+
+/// A Nimble matcher that succeeds when the actual value is not logically false.
+public func beTruthy<T: ExpressibleByBooleanLiteral & Equatable>() -> Predicate<T> {
+    return Predicate.simpleNilable("be truthy") { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        if let actualValue = actualValue {
+            return PredicateStatus(bool: actualValue == (true as T))
+        }
+        return PredicateStatus(bool: actualValue != nil)
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual value is logically false.
+/// This matcher will match against nils.
+public func beFalsy<T: ExpressibleByBooleanLiteral & Equatable>() -> Predicate<T> {
+    return Predicate.simpleNilable("be falsy") { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        if let actualValue = actualValue {
+            return PredicateStatus(bool: actualValue == (false as T))
+        }
+        return PredicateStatus(bool: actualValue == nil)
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beTruthyMatcher() -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false }
+            return try beTruthy().satisfies(expr).toObjectiveC()
+        }
+    }
+
+    @objc public class func beFalsyMatcher() -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false }
+            return try beFalsy().satisfies(expr).toObjectiveC()
+        }
+    }
+
+    @objc public class func beTrueMatcher() -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false }
+            return try beTrue().satisfies(expr).toObjectiveC()
+        }
+    }
+
+    @objc public class func beFalseMatcher() -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let expr = actualExpression.cast { value -> Bool? in
+                guard let value = value else { return nil }
+                return (value as? NSNumber)?.boolValue ?? false
+            }
+            return try beFalse().satisfies(expr).toObjectiveC()
+        }
+    }
+}
+#endif

+ 19 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift

@@ -0,0 +1,19 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is nil.
+public func beNil<T>() -> Predicate<T> {
+    return Predicate.simpleNilable("be nil") { actualExpression in
+        let actualValue = try actualExpression.evaluate()
+        return PredicateStatus(bool: actualValue == nil)
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beNilMatcher() -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            return try beNil().satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+#endif

+ 19 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift

@@ -0,0 +1,19 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value is Void.
+public func beVoid() -> Predicate<()> {
+    return Predicate.simpleNilable("be void") { actualExpression in
+        let actualValue: ()? = try actualExpression.evaluate()
+        return PredicateStatus(bool: actualValue != nil)
+    }
+}
+
+extension Expectation where T == () {
+    public static func == (lhs: Expectation<()>, rhs: ()) {
+        lhs.to(beVoid())
+    }
+
+    public static func != (lhs: Expectation<()>, rhs: ()) {
+        lhs.toNot(beVoid())
+    }
+}

+ 60 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift

@@ -0,0 +1,60 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual sequence's first element
+/// is equal to the expected value.
+public func beginWith<S: Sequence, T: Equatable>(_ startingElement: T) -> Predicate<S>
+    where S.Iterator.Element == T {
+    return Predicate.simple("begin with <\(startingElement)>") { actualExpression in
+        if let actualValue = try actualExpression.evaluate() {
+            var actualGenerator = actualValue.makeIterator()
+            return PredicateStatus(bool: actualGenerator.next() == startingElement)
+        }
+        return .fail
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual collection's first element
+/// is equal to the expected object.
+public func beginWith(_ startingElement: Any) -> Predicate<NMBOrderedCollection> {
+    return Predicate.simple("begin with <\(startingElement)>") { actualExpression in
+        guard let collection = try actualExpression.evaluate() else { return .fail }
+        guard collection.count > 0 else { return .doesNotMatch }
+        #if os(Linux)
+            guard let collectionValue = collection.object(at: 0) as? NSObject else {
+                return .fail
+            }
+        #else
+            let collectionValue = collection.object(at: 0) as AnyObject
+        #endif
+        return PredicateStatus(bool: collectionValue.isEqual(startingElement))
+    }
+}
+
+/// 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) -> Predicate<String> {
+    return Predicate.simple("begin with <\(startingSubstring)>") { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            return PredicateStatus(bool: actual.hasPrefix(startingSubstring))
+        }
+        return .fail
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func beginWithMatcher(_ expected: Any) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let actual = try actualExpression.evaluate()
+            if actual is String {
+                let expr = actualExpression.cast { $0 as? String }
+                // swiftlint:disable:next force_cast
+                return try beginWith(expected as! String).satisfies(expr).toObjectiveC()
+            } else {
+                let expr = actualExpression.cast { $0 as? NMBOrderedCollection }
+                return try beginWith(expected).satisfies(expr).toObjectiveC()
+            }
+        }
+    }
+}
+#endif

+ 144 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift

@@ -0,0 +1,144 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual sequence contains the expected values.
+public func contain<S: Sequence, T: Equatable>(_ items: T...) -> Predicate<S>
+    where S.Element == T {
+    return contain(items)
+}
+
+/// A Nimble matcher that succeeds when the actual sequence contains the expected values.
+public func contain<S: Sequence, T: Equatable>(_ items: [T]) -> Predicate<S>
+    where S.Element == T {
+    return Predicate.simple("contain <\(arrayAsString(items))>") { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            let matches = items.allSatisfy {
+                return actual.contains($0)
+            }
+            return PredicateStatus(bool: matches)
+        }
+        return .fail
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual set contains the expected values.
+public func contain<S: SetAlgebra, T: Equatable>(_ items: T...) -> Predicate<S>
+    where S.Element == T {
+        return contain(items)
+}
+
+/// A Nimble matcher that succeeds when the actual set contains the expected values.
+public func contain<S: SetAlgebra, T: Equatable>(_ items: [T]) -> Predicate<S>
+    where S.Element == T {
+        return Predicate.simple("contain <\(arrayAsString(items))>") { actualExpression in
+            if let actual = try actualExpression.evaluate() {
+                let matches = items.allSatisfy {
+                    return actual.contains($0)
+                }
+                return PredicateStatus(bool: matches)
+            }
+            return .fail
+        }
+}
+
+/// A Nimble matcher that succeeds when the actual set contains the expected values.
+public func contain<S: Sequence & SetAlgebra, T: Equatable>(_ items: T...) -> Predicate<S>
+    where S.Element == T {
+        return contain(items)
+}
+
+/// A Nimble matcher that succeeds when the actual set contains the expected values.
+public func contain<S: Sequence & SetAlgebra, T: Equatable>(_ items: [T]) -> Predicate<S>
+    where S.Element == T {
+        return Predicate.simple("contain <\(arrayAsString(items))>") { actualExpression in
+            if let actual = try actualExpression.evaluate() {
+                let matches = items.allSatisfy {
+                    return actual.contains($0)
+                }
+                return PredicateStatus(bool: matches)
+            }
+            return .fail
+        }
+}
+
+/// A Nimble matcher that succeeds when the actual string contains the expected substring.
+public func contain(_ substrings: String...) -> Predicate<String> {
+    return contain(substrings)
+}
+
+public func contain(_ substrings: [String]) -> Predicate<String> {
+    return Predicate.simple("contain <\(arrayAsString(substrings))>") { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            let matches = substrings.allSatisfy {
+                let range = actual.range(of: $0)
+                return range != nil && !range!.isEmpty
+            }
+            return PredicateStatus(bool: matches)
+        }
+        return .fail
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual string contains the expected substring.
+public func contain(_ substrings: NSString...) -> Predicate<NSString> {
+    return contain(substrings)
+}
+
+public func contain(_ substrings: [NSString]) -> Predicate<NSString> {
+    return Predicate.simple("contain <\(arrayAsString(substrings))>") { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            let matches = substrings.allSatisfy { actual.range(of: $0.description).length != 0 }
+            return PredicateStatus(bool: matches)
+        }
+        return .fail
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual collection contains the expected object.
+public func contain(_ items: Any?...) -> Predicate<NMBContainer> {
+    return contain(items)
+}
+
+public func contain(_ items: [Any?]) -> Predicate<NMBContainer> {
+    return Predicate.simple("contain <\(arrayAsString(items))>") { actualExpression in
+        guard let actual = try actualExpression.evaluate() else { return .fail }
+        let matches = items.allSatisfy { item in
+            return item.map { actual.contains($0) } ?? false
+        }
+        return PredicateStatus(bool: matches)
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func containMatcher(_ expected: [NSObject]) -> NMBMatcher {
+        return NMBPredicate { actualExpression 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: [Any?] = expected.map({ $0 as Any? })
+                return try contain(expectedOptionals).satisfies(expr).toObjectiveC()
+            } else if let value = actualValue as? NSString {
+                let expr = Expression(expression: ({ value as String }), location: location)
+                // swiftlint:disable:next force_cast
+                return try contain(expected as! [String]).satisfies(expr).toObjectiveC()
+            }
+
+            let message: ExpectationMessage
+            if actualValue != nil {
+                message = ExpectationMessage.expectedActualValueTo(
+                    // swiftlint:disable:next line_length
+                    "contain <\(arrayAsString(expected))> (only works for NSArrays, NSSets, NSHashTables, and NSStrings)"
+                )
+            } else {
+                message = ExpectationMessage
+                    .expectedActualValueTo("contain <\(arrayAsString(expected))>")
+                    .appendedBeNilHint()
+            }
+            return NMBPredicateResult(status: .fail, message: message.toObjectiveC())
+        }
+    }
+}
+#endif

+ 58 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift

@@ -0,0 +1,58 @@
+import Foundation
+
+public func containElementSatisfying<S: Sequence, T>(_ predicate: @escaping ((T) -> Bool), _ predicateDescription: String = "") -> Predicate<S> where S.Iterator.Element == T {
+
+    return Predicate.define { actualExpression in
+        let message: ExpectationMessage
+        if predicateDescription == "" {
+            message = .expectedTo("find object in collection that satisfies predicate")
+        } else {
+            message = .expectedTo("find object in collection \(predicateDescription)")
+        }
+
+        if let sequence = try actualExpression.evaluate() {
+            for object in sequence {
+                if predicate(object) {
+                    return PredicateResult(bool: true, message: message)
+                }
+            }
+
+            return PredicateResult(bool: false, message: message)
+        }
+
+        return PredicateResult(status: .fail, message: message)
+    }
+}
+
+#if canImport(Darwin)
+    extension NMBObjCMatcher {
+        @objc public class func containElementSatisfyingMatcher(_ predicate: @escaping ((NSObject) -> Bool)) -> NMBMatcher {
+            return NMBPredicate { actualExpression in
+                let value = try actualExpression.evaluate()
+                guard let enumeration = value as? NSFastEnumeration else {
+                    let message = ExpectationMessage.fail(
+                        "containElementSatisfying must be provided an NSFastEnumeration object"
+                    )
+                    return NMBPredicateResult(status: .fail, message: message.toObjectiveC())
+                }
+
+                let message = ExpectationMessage
+                    .expectedTo("find object in collection that satisfies predicate")
+                    .toObjectiveC()
+
+                var iterator = NSFastEnumerationIterator(enumeration)
+                while let item = iterator.next() {
+                    guard let object = item as? NSObject else {
+                        continue
+                    }
+
+                    if predicate(object) {
+                        return NMBPredicateResult(status: .matches, message: message)
+                    }
+                }
+
+                return NMBPredicateResult(status: .doesNotMatch, message: message)
+            }
+        }
+    }
+#endif

+ 16 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift

@@ -0,0 +1,16 @@
+/// A Nimble matcher that succeeds when the actual sequence contain the same elements in the same order to the exepected sequence.
+public func elementsEqual<S: Sequence>(_ expectedValue: S?) -> Predicate<S> where S.Element: Equatable {
+    // A matcher abstraction for https://developer.apple.com/documentation/swift/sequence/2949668-elementsequal
+    return Predicate.define("elementsEqual <\(stringify(expectedValue))>") { (actualExpression, msg) in
+        let actualValue = try actualExpression.evaluate()
+        switch (expectedValue, actualValue) {
+        case (nil, _?):
+            return PredicateResult(status: .fail, message: msg.appendedBeNilHint())
+        case (nil, nil), (_, nil):
+            return PredicateResult(status: .fail, message: msg)
+        case (let expected?, let actual?):
+            let matches = expected.elementsEqual(actual)
+            return PredicateResult(bool: matches, message: msg)
+        }
+    }
+}

+ 69 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift

@@ -0,0 +1,69 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual sequence's last element
+/// is equal to the expected value.
+public func endWith<S: Sequence, T: Equatable>(_ endingElement: T) -> Predicate<S>
+    where S.Iterator.Element == T {
+    return Predicate.simple("end with <\(endingElement)>") { actualExpression in
+        if let actualValue = try actualExpression.evaluate() {
+            var actualGenerator = actualValue.makeIterator()
+            var lastItem: T?
+            var item: T?
+            repeat {
+                lastItem = item
+                item = actualGenerator.next()
+            } while(item != nil)
+
+            return PredicateStatus(bool: lastItem == endingElement)
+        }
+        return .fail
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual collection's last element
+/// is equal to the expected object.
+public func endWith(_ endingElement: Any) -> Predicate<NMBOrderedCollection> {
+    return Predicate.simple("end with <\(endingElement)>") { actualExpression in
+        guard let collection = try actualExpression.evaluate() else { return .fail }
+        guard collection.count > 0 else { return PredicateStatus(bool: false) }
+        #if os(Linux)
+            guard let collectionValue = collection.object(at: collection.count - 1) as? NSObject else {
+                return .fail
+            }
+        #else
+            let collectionValue = collection.object(at: collection.count - 1) as AnyObject
+        #endif
+
+        return PredicateStatus(bool: collectionValue.isEqual(endingElement))
+    }
+}
+
+/// 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) -> Predicate<String> {
+    return Predicate.simple("end with <\(endingSubstring)>") { actualExpression in
+        if let collection = try actualExpression.evaluate() {
+            return PredicateStatus(bool: collection.hasSuffix(endingSubstring))
+        }
+        return .fail
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func endWithMatcher(_ expected: Any) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let actual = try actualExpression.evaluate()
+            if actual is String {
+                let expr = actualExpression.cast { $0 as? String }
+                // swiftlint:disable:next force_cast
+                return try endWith(expected as! String).satisfies(expr).toObjectiveC()
+            } else {
+                let expr = actualExpression.cast { $0 as? NMBOrderedCollection }
+                return try endWith(expected).satisfies(expr).toObjectiveC()
+            }
+        }
+    }
+}
+#endif

+ 148 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift

@@ -0,0 +1,148 @@
+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<T: Equatable>(_ expectedValue: T?) -> Predicate<T> {
+    return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in
+        let actualValue = try actualExpression.evaluate()
+        switch (expectedValue, actualValue) {
+        case (nil, _?):
+            return PredicateResult(status: .fail, message: msg.appendedBeNilHint())
+        case (nil, nil), (_, nil):
+            return PredicateResult(status: .fail, message: msg)
+        case (let expected?, let actual?):
+            let matches = expected == actual
+            return PredicateResult(bool: matches, message: msg)
+        }
+    }
+}
+
+/// A Nimble matcher allowing comparison of collection with optional type
+public func equal<T: Equatable>(_ expectedValue: [T?]) -> Predicate<[T?]> {
+    return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in
+        guard let actualValue = try actualExpression.evaluate() else {
+            return PredicateResult(
+                status: .fail,
+                message: msg.appendedBeNilHint()
+            )
+        }
+
+        let matches = expectedValue == actualValue
+        return PredicateResult(bool: matches, message: msg)
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual set is equal to the expected set.
+public func equal<T>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> {
+    return equal(expectedValue, stringify: { stringify($0) })
+}
+
+/// A Nimble matcher that succeeds when the actual set is equal to the expected set.
+public func equal<T: Comparable>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> {
+    return equal(expectedValue, stringify: {
+        if let set = $0 {
+            return stringify(Array(set).sorted { $0 < $1 })
+        } else {
+            return "nil"
+        }
+    })
+}
+
+private func equal<T>(_ expectedValue: Set<T>?, stringify: @escaping (Set<T>?) -> String) -> Predicate<Set<T>> {
+    return Predicate { actualExpression in
+        var errorMessage: ExpectationMessage =
+            .expectedActualValueTo("equal <\(stringify(expectedValue))>")
+
+        guard let expectedValue = expectedValue else {
+            return PredicateResult(
+                status: .fail,
+                message: errorMessage.appendedBeNilHint()
+            )
+        }
+
+        guard let actualValue = try actualExpression.evaluate() else {
+            return PredicateResult(
+                status: .fail,
+                message: errorMessage.appendedBeNilHint()
+            )
+        }
+
+        errorMessage = .expectedCustomValueTo(
+            "equal <\(stringify(expectedValue))>",
+            "<\(stringify(actualValue))>"
+        )
+
+        if expectedValue == actualValue {
+            return PredicateResult(
+                status: .matches,
+                message: errorMessage
+            )
+        }
+
+        let missing = expectedValue.subtracting(actualValue)
+        if missing.count > 0 {
+            errorMessage = errorMessage.appended(message: ", missing <\(stringify(missing))>")
+        }
+
+        let extra = actualValue.subtracting(expectedValue)
+        if extra.count > 0 {
+            errorMessage = errorMessage.appended(message: ", extra <\(stringify(extra))>")
+        }
+        return  PredicateResult(
+            status: .doesNotMatch,
+            message: errorMessage
+        )
+    }
+}
+
+public func ==<T: Equatable>(lhs: Expectation<T>, rhs: T?) {
+    lhs.to(equal(rhs))
+}
+
+public func !=<T: Equatable>(lhs: Expectation<T>, rhs: T?) {
+    lhs.toNot(equal(rhs))
+}
+
+public func ==<T: Equatable>(lhs: Expectation<[T]>, rhs: [T]?) {
+    lhs.to(equal(rhs))
+}
+
+public func !=<T: Equatable>(lhs: Expectation<[T]>, rhs: [T]?) {
+    lhs.toNot(equal(rhs))
+}
+
+public func == <T>(lhs: Expectation<Set<T>>, rhs: Set<T>?) {
+    lhs.to(equal(rhs))
+}
+
+public func != <T>(lhs: Expectation<Set<T>>, rhs: Set<T>?) {
+    lhs.toNot(equal(rhs))
+}
+
+public func ==<T: Comparable>(lhs: Expectation<Set<T>>, rhs: Set<T>?) {
+    lhs.to(equal(rhs))
+}
+
+public func !=<T: Comparable>(lhs: Expectation<Set<T>>, rhs: Set<T>?) {
+    lhs.toNot(equal(rhs))
+}
+
+public func ==<T, C: Equatable>(lhs: Expectation<[T: C]>, rhs: [T: C]?) {
+    lhs.to(equal(rhs))
+}
+
+public func !=<T, C: Equatable>(lhs: Expectation<[T: C]>, rhs: [T: C]?) {
+    lhs.toNot(equal(rhs))
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func equalMatcher(_ expected: NSObject) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            return try equal(expected).satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+#endif

+ 74 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift

@@ -0,0 +1,74 @@
+import Foundation
+
+// The `haveCount` matchers do not print the full string representation of the collection value,
+// instead they only print the type name and the expected count. This makes it easier to understand
+// the reason for failed expectations. See: https://github.com/Quick/Nimble/issues/308.
+// The representation of the collection content is provided in a new line as an `extendedMessage`.
+
+/// A Nimble matcher that succeeds when the actual Collection's count equals
+/// the expected value
+public func haveCount<T: Collection>(_ expectedValue: Int) -> Predicate<T> {
+    return Predicate.define { actualExpression in
+        if let actualValue = try actualExpression.evaluate() {
+            let message = ExpectationMessage
+                .expectedCustomValueTo(
+                    "have \(prettyCollectionType(actualValue)) with count \(stringify(expectedValue))",
+                    "\(actualValue.count)"
+                )
+                .appended(details: "Actual Value: \(stringify(actualValue))")
+
+            let result = expectedValue == actualValue.count
+            return PredicateResult(bool: result, message: message)
+        } else {
+            return PredicateResult(status: .fail, message: .fail(""))
+        }
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual collection's count equals
+/// the expected value
+public func haveCount(_ expectedValue: Int) -> Predicate<NMBCollection> {
+    return Predicate { actualExpression in
+        if let actualValue = try actualExpression.evaluate() {
+            let message = ExpectationMessage
+                .expectedCustomValueTo(
+                    "have \(prettyCollectionType(actualValue)) with count \(stringify(expectedValue))",
+                    "\(actualValue.count)"
+                )
+                .appended(details: "Actual Value: \(stringify(actualValue))")
+
+            let result = expectedValue == actualValue.count
+            return PredicateResult(bool: result, message: message)
+        } else {
+            return PredicateResult(status: .fail, message: .fail(""))
+        }
+    }
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func haveCountMatcher(_ expected: NSNumber) -> NMBMatcher {
+        return NMBPredicate { actualExpression 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.intValue).satisfies(expr).toObjectiveC()
+            }
+
+            let message: ExpectationMessage
+            if let actualValue = actualValue {
+                message = ExpectationMessage.expectedCustomValueTo(
+                    "get type of NSArray, NSSet, NSDictionary, or NSHashTable",
+                    "\(String(describing: type(of: actualValue)))"
+                )
+            } else {
+                message = ExpectationMessage
+                    .expectedActualValueTo("have a collection with count \(stringify(expected.intValue))")
+                    .appendedBeNilHint()
+            }
+            return NMBPredicateResult(status: .fail, message: message.toObjectiveC())
+        }
+    }
+}
+#endif

+ 29 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift

@@ -0,0 +1,29 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual string satisfies the regular expression
+/// described by the expected string.
+public func match(_ expectedValue: String?) -> Predicate<String> {
+    return Predicate.simple("match <\(stringify(expectedValue))>") { actualExpression in
+        if let actual = try actualExpression.evaluate() {
+            if let regexp = expectedValue {
+                let bool = actual.range(of: regexp, options: .regularExpression) != nil
+                return PredicateStatus(bool: bool)
+            }
+        }
+
+        return .fail
+    }
+}
+
+#if canImport(Darwin)
+
+extension NMBObjCMatcher {
+    @objc public class func matchMatcher(_ expected: NSString) -> NMBMatcher {
+        return NMBPredicate { actualExpression in
+            let actual = actualExpression.cast { $0 as? String }
+            return try match(expected.description).satisfies(actual).toObjectiveC()
+        }
+    }
+}
+
+#endif

+ 76 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift

@@ -0,0 +1,76 @@
+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 comparison by _domain and _code.
+public func matchError<T: Error>(_ error: T) -> Predicate<Error> {
+    return Predicate.define { actualExpression in
+        let actualError = try actualExpression.evaluate()
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            postfixMessageVerb: "match",
+            actualError: actualError,
+            error: error
+        )
+
+        var matches = false
+        if let actualError = actualError, errorMatchesExpectedError(actualError, expectedError: error) {
+            matches = true
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// 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<T: Error & Equatable>(_ error: T) -> Predicate<Error> {
+    return Predicate.define { actualExpression in
+        let actualError = try actualExpression.evaluate()
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            postfixMessageVerb: "match",
+            actualError: actualError,
+            error: error
+        )
+
+        var matches = false
+        if let actualError = actualError as? T, error == actualError {
+            matches = true
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// A Nimble matcher that succeeds when the actual expression evaluates to an
+/// error of the specified type
+public func matchError<T: Error>(_ errorType: T.Type) -> Predicate<Error> {
+    return Predicate.define { actualExpression in
+        let actualError = try actualExpression.evaluate()
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            postfixMessageVerb: "match",
+            actualError: actualError,
+            errorType: errorType
+        )
+
+        var matches = false
+        if actualError as? T != nil {
+            matches = true
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}

+ 85 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift

@@ -0,0 +1,85 @@
+/// DEPRECATED: 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 received 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.
+@available(*, deprecated, message: "Use to Predicate instead")
+public struct MatcherFunc<T>: Matcher {
+    public let matcher: (Expression<T>, FailureMessage) throws -> Bool
+
+    public init(_ matcher: @escaping (Expression<T>, FailureMessage) throws -> Bool) {
+        self.matcher = matcher
+    }
+
+    public func matches(_ actualExpression: Expression<T>, failureMessage: FailureMessage) throws -> Bool {
+        return try matcher(actualExpression, failureMessage)
+    }
+
+    public func doesNotMatch(_ actualExpression: Expression<T>, failureMessage: FailureMessage) throws -> Bool {
+        return try !matcher(actualExpression, failureMessage)
+    }
+
+    /// Compatibility layer to new Matcher API. Converts an old-style matcher to a new one.
+    /// Note: You should definitely spend the time to convert to the new api as soon as possible
+    /// since this struct type is deprecated.
+    public var predicate: Predicate<T> {
+        return Predicate.fromDeprecatedMatcher(self)
+    }
+}
+
+/// DEPRECATED: 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.
+@available(*, deprecated, message: "Use to Predicate instead")
+public struct NonNilMatcherFunc<T>: Matcher {
+    public let matcher: (Expression<T>, FailureMessage) throws -> Bool
+
+    public init(_ matcher: @escaping (Expression<T>, FailureMessage) throws -> Bool) {
+        self.matcher = matcher
+    }
+
+    public func matches(_ actualExpression: Expression<T>, 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<T>, 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<T>, failureMessage: FailureMessage) throws -> Bool {
+        if try actualExpression.evaluate() == nil {
+            failureMessage.postfixActual = " (use beNil() to match nils)"
+            return true
+        }
+        return false
+    }
+
+    /// Compatibility layer to new Matcher API. Converts an old-style matcher to a new one.
+    /// Note: You should definitely spend the time to convert to the new api as soon as possible
+    /// since this struct type is deprecated.
+    public var predicate: Predicate<T> {
+        return Predicate.fromDeprecatedMatcher(self)
+    }
+}

+ 159 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift

@@ -0,0 +1,159 @@
+import Foundation
+// `CGFloat` is in Foundation (swift-corelibs-foundation) on Linux.
+#if canImport(Darwin)
+    import CoreGraphics
+#endif
+
+/// Implement this protocol to implement a custom matcher for Swift
+@available(*, deprecated, message: "Use Predicate instead")
+public protocol Matcher {
+    associatedtype ValueType
+    func matches(_ actualExpression: Expression<ValueType>, failureMessage: FailureMessage) throws -> Bool
+    func doesNotMatch(_ actualExpression: Expression<ValueType>, failureMessage: FailureMessage) throws -> Bool
+}
+
+extension Matcher {
+    var predicate: Predicate<ValueType> {
+        return Predicate.fromDeprecatedMatcher(self)
+    }
+
+    var toClosure: (Expression<ValueType>, FailureMessage, Bool) throws -> Bool {
+        return { expr, msg, expectedResult in
+            if expectedResult {
+                return try self.matches(expr, failureMessage: msg)
+            } else {
+                return try self.doesNotMatch(expr, failureMessage: msg)
+            }
+        }
+    }
+}
+
+#if canImport(Darwin)
+/// Objective-C interface to the Swift variant of Matcher.
+@objc public protocol NMBMatcher {
+    func matches(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool
+    func doesNotMatch(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool
+}
+#endif
+
+/// Protocol for types that support contain() matcher.
+public protocol NMBContainer {
+    func contains(_ anObject: Any) -> Bool
+}
+
+#if canImport(Darwin)
+// swiftlint:disable:next todo
+// FIXME: NSHashTable can not conform to NMBContainer since swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a
+//extension NSHashTable : NMBContainer {} // Corelibs Foundation does not include this class yet
+#endif
+
+extension NSArray: NMBContainer {}
+extension NSSet: NMBContainer {}
+
+/// Protocol for types that support only beEmpty(), haveCount() matchers
+public protocol NMBCollection {
+    var count: Int { get }
+}
+
+#if canImport(Darwin)
+extension NSHashTable: NMBCollection {} // Corelibs Foundation does not include these classes yet
+extension NSMapTable: NMBCollection {}
+#endif
+
+extension NSSet: NMBCollection {}
+extension NSIndexSet: NMBCollection {}
+extension NSDictionary: NMBCollection {}
+
+/// Protocol for types that support beginWith(), endWith(), beEmpty() matchers
+public protocol NMBOrderedCollection: NMBCollection {
+    func object(at index: Int) -> Any
+}
+
+extension NSArray: NMBOrderedCollection {}
+
+public protocol NMBDoubleConvertible {
+    var doubleValue: CDouble { get }
+}
+
+extension Double: NMBDoubleConvertible {
+    public var doubleValue: CDouble {
+        return self
+    }
+}
+
+extension Float: NMBDoubleConvertible {
+    public var doubleValue: CDouble {
+        return CDouble(self)
+    }
+}
+
+extension CGFloat: NMBDoubleConvertible {
+    public var doubleValue: CDouble {
+        return CDouble(self)
+    }
+}
+
+extension NSNumber: NMBDoubleConvertible {
+}
+
+private let dateFormatter: DateFormatter = {
+    let formatter = DateFormatter()
+    formatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSSS"
+    formatter.locale = Locale(identifier: "en_US_POSIX")
+
+    return formatter
+}()
+
+extension Date: NMBDoubleConvertible {
+    public var doubleValue: CDouble {
+        return self.timeIntervalSinceReferenceDate
+    }
+}
+
+extension NSDate: NMBDoubleConvertible {
+    public var doubleValue: CDouble {
+        return self.timeIntervalSinceReferenceDate
+    }
+}
+
+extension Date: TestOutputStringConvertible {
+    public var testDescription: String {
+        return dateFormatter.string(from: self)
+    }
+}
+
+extension NSDate: TestOutputStringConvertible {
+    public var testDescription: String {
+        return dateFormatter.string(from: Date(timeIntervalSinceReferenceDate: self.timeIntervalSinceReferenceDate))
+    }
+}
+
+/// 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 canImport(Darwin)
+@objc public protocol NMBComparable {
+    func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult
+}
+#elseif !compiler(>=5.1)
+// This should become obsolete once Corelibs Foundation adds Comparable conformance to NSNumber
+public protocol NMBComparable {
+    func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult
+}
+#endif
+
+#if canImport(Darwin) || !compiler(>=5.1)
+extension NSNumber: NMBComparable {
+    public func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult {
+        // swiftlint:disable:next force_cast
+        return compare(otherObject as! NSNumber)
+    }
+}
+extension NSString: NMBComparable {
+    public func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult {
+        // swiftlint:disable:next force_cast
+        return compare(otherObject as! String)
+    }
+}
+#endif

+ 100 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift

@@ -0,0 +1,100 @@
+import Foundation
+
+internal class NotificationCollector {
+    private(set) var observedNotifications: [Notification]
+    private let notificationCenter: NotificationCenter
+    private var token: NSObjectProtocol?
+
+    required init(notificationCenter: NotificationCenter) {
+        self.notificationCenter = notificationCenter
+        self.observedNotifications = []
+    }
+
+    func startObserving() {
+        // swiftlint:disable:next line_length
+        self.token = self.notificationCenter.addObserver(forName: nil, object: nil, queue: nil) { [weak self] notification in
+            // linux-swift gets confused by .append(n)
+            self?.observedNotifications.append(notification)
+        }
+    }
+
+    deinit {
+        if let token = self.token {
+            self.notificationCenter.removeObserver(token)
+        }
+    }
+}
+
+private let mainThread = pthread_self()
+
+public func postNotifications(
+    _ predicate: Predicate<[Notification]>,
+    fromNotificationCenter center: NotificationCenter = .default
+) -> Predicate<Any> {
+    _ = mainThread // Force lazy-loading of this value
+    let collector = NotificationCollector(notificationCenter: center)
+    collector.startObserving()
+    var once: Bool = false
+
+    return Predicate { actualExpression 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 actualValue: String
+        if collector.observedNotifications.isEmpty {
+            actualValue = "no notifications"
+        } else {
+            actualValue = "<\(stringify(collector.observedNotifications))>"
+        }
+
+        var result = try predicate.satisfies(collectorNotificationsExpression)
+        result.message = result.message.replacedExpectation { message in
+            return .expectedCustomValueTo(message.expectedMessage, actualValue)
+        }
+        return result
+    }
+}
+
+public func postNotifications<T>(
+    _ notificationsMatcher: T,
+    fromNotificationCenter center: NotificationCenter = .default)
+    -> Predicate<Any>
+    where T: Matcher, T.ValueType == [Notification]
+{
+    _ = mainThread // Force lazy-loading of this value
+    let collector = NotificationCollector(notificationCenter: center)
+    collector.startObserving()
+    var once: Bool = false
+
+    return Predicate { actualExpression 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 failureMessage = FailureMessage()
+        let match = try notificationsMatcher.matches(collectorNotificationsExpression, failureMessage: failureMessage)
+        if collector.observedNotifications.isEmpty {
+            failureMessage.actualValue = "no notifications"
+        } else {
+            failureMessage.actualValue = "<\(stringify(collector.observedNotifications))>"
+        }
+        return PredicateResult(bool: match, message: failureMessage.toExpectationMessage())
+    }
+}

+ 353 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift

@@ -0,0 +1,353 @@
+// New Matcher API
+//
+import Foundation
+
+/// A Predicate is part of the new matcher API that provides assertions to expectations.
+///
+/// Given a code snippet:
+///
+///   expect(1).to(equal(2))
+///                ^^^^^^^^
+///            Called a "matcher"
+///
+/// A matcher consists of two parts a constructor function and the Predicate. The term Predicate
+/// is used as a separate name from Matcher to help transition custom matchers to the new Nimble
+/// matcher API.
+///
+/// The Predicate provide the heavy lifting on how to assert against a given value. Internally,
+/// predicates are simple wrappers around closures to provide static type information and
+/// allow composition and wrapping of existing behaviors.
+public struct Predicate<T> {
+    fileprivate var matcher: (Expression<T>) throws -> PredicateResult
+
+    /// Constructs a predicate that knows how take a given value
+    public init(_ matcher: @escaping (Expression<T>) throws -> PredicateResult) {
+        self.matcher = matcher
+    }
+
+    /// Uses a predicate on a given value to see if it passes the predicate.
+    ///
+    /// @param expression The value to run the predicate's logic against
+    /// @returns A predicate result indicate passing or failing and an associated error message.
+    public func satisfies(_ expression: Expression<T>) throws -> PredicateResult {
+        return try matcher(expression)
+    }
+}
+
+/// Provides convenience helpers to defining predicates
+extension Predicate {
+    /// Like Predicate() constructor, but automatically guard against nil (actual) values
+    public static func define(matcher: @escaping (Expression<T>) throws -> PredicateResult) -> Predicate<T> {
+        return Predicate<T> { actual in
+            return try matcher(actual)
+        }.requireNonNil
+    }
+
+    /// Defines a predicate with a default message that can be returned in the closure
+    /// Also ensures the predicate's actual value cannot pass with `nil` given.
+    public static func define(_ msg: String, matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T> {
+        return Predicate<T> { actual in
+            return try matcher(actual, .expectedActualValueTo(msg))
+        }.requireNonNil
+    }
+
+    /// Defines a predicate with a default message that can be returned in the closure
+    /// Unlike `define`, this allows nil values to succeed if the given closure chooses to.
+    public static func defineNilable(_ msg: String, matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T> {
+        return Predicate<T> { actual in
+            return try matcher(actual, .expectedActualValueTo(msg))
+        }
+    }
+}
+
+extension Predicate {
+    /// Provides a simple predicate definition that provides no control over the predefined
+    /// error message.
+    ///
+    /// Also ensures the predicate's actual value cannot pass with `nil` given.
+    public static func simple(_ msg: String, matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T> {
+        return Predicate<T> { actual in
+            return PredicateResult(status: try matcher(actual), message: .expectedActualValueTo(msg))
+        }.requireNonNil
+    }
+
+    /// Provides a simple predicate definition that provides no control over the predefined
+    /// error message.
+    ///
+    /// Unlike `simple`, this allows nil values to succeed if the given closure chooses to.
+    public static func simpleNilable(_ msg: String, matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T> {
+        return Predicate<T> { actual in
+            return PredicateResult(status: try matcher(actual), message: .expectedActualValueTo(msg))
+        }
+    }
+}
+
+// The Expectation style intended for comparison to a PredicateStatus.
+public enum ExpectationStyle {
+    case toMatch, toNotMatch
+}
+
+/// The value that a Predicates return to describe if the given (actual) value matches the
+/// predicate.
+public struct PredicateResult {
+    /// Status indicates if the predicate matches, does not match, or fails.
+    public var status: PredicateStatus
+    /// The error message that can be displayed if it does not match
+    public var message: ExpectationMessage
+
+    /// Constructs a new PredicateResult with a given status and error message
+    public init(status: PredicateStatus, message: ExpectationMessage) {
+        self.status = status
+        self.message = message
+    }
+
+    /// Shorthand to PredicateResult(status: PredicateStatus(bool: bool), message: message)
+    public init(bool: Bool, message: ExpectationMessage) {
+        self.status = PredicateStatus(bool: bool)
+        self.message = message
+    }
+
+    /// Converts the result to a boolean based on what the expectation intended
+    public func toBoolean(expectation style: ExpectationStyle) -> Bool {
+        return status.toBoolean(expectation: style)
+    }
+}
+
+/// PredicateStatus is a trinary that indicates if a Predicate matches a given value or not
+public enum PredicateStatus {
+    /// Matches indicates if the predicate / matcher passes with the given value
+    ///
+    /// For example, `equals(1)` returns `.matches` for `expect(1).to(equal(1))`.
+    case matches
+    /// DoesNotMatch indicates if the predicate / matcher fails with the given value, but *would*
+    /// succeed if the expectation was inverted.
+    ///
+    /// For example, `equals(2)` returns `.doesNotMatch` for `expect(1).toNot(equal(2))`.
+    case doesNotMatch
+    /// Fail indicates the predicate will never satisfy with the given value in any case.
+    /// A perfect example is that most matchers fail whenever given `nil`.
+    ///
+    /// Using `equal(1)` fails both `expect(nil).to(equal(1))` and `expect(nil).toNot(equal(1))`.
+    /// Note: Predicate's `requireNonNil` property will also provide this feature mostly for free.
+    ///       Your predicate will still need to guard against nils, but error messaging will be
+    ///       handled for you.
+    case fail
+
+    /// Converts a boolean to either .matches (if true) or .doesNotMatch (if false).
+    public init(bool matches: Bool) {
+        if matches {
+            self = .matches
+        } else {
+            self = .doesNotMatch
+        }
+    }
+
+    private func shouldMatch() -> Bool {
+        switch self {
+        case .matches: return true
+        case .doesNotMatch, .fail: return false
+        }
+    }
+
+    private func shouldNotMatch() -> Bool {
+        switch self {
+        case .doesNotMatch: return true
+        case .matches, .fail: return false
+        }
+    }
+
+    /// Converts the PredicateStatus result to a boolean based on what the expectation intended
+    internal func toBoolean(expectation style: ExpectationStyle) -> Bool {
+        if style == .toMatch {
+            return shouldMatch()
+        } else {
+            return shouldNotMatch()
+        }
+    }
+}
+
+// Backwards compatibility until Old Matcher API removal
+extension Predicate: Matcher {
+    /// Compatibility layer for old Matcher API, deprecated
+    public static func fromDeprecatedFullClosure(_ matcher: @escaping (Expression<T>, FailureMessage, Bool) throws -> Bool) -> Predicate {
+        return Predicate { actual in
+            let failureMessage = FailureMessage()
+            let result = try matcher(actual, failureMessage, true)
+            return PredicateResult(
+                status: PredicateStatus(bool: result),
+                message: failureMessage.toExpectationMessage()
+            )
+        }
+    }
+
+    /// Compatibility layer for old Matcher API, deprecated.
+    /// Emulates the MatcherFunc API
+    public static func fromDeprecatedClosure(_ matcher: @escaping (Expression<T>, FailureMessage) throws -> Bool) -> Predicate {
+        return Predicate { actual in
+            let failureMessage = FailureMessage()
+            let result = try matcher(actual, failureMessage)
+            return PredicateResult(
+                status: PredicateStatus(bool: result),
+                message: failureMessage.toExpectationMessage()
+            )
+        }
+
+    }
+
+    /// Compatibility layer for old Matcher API, deprecated.
+    /// Same as calling .predicate on a MatcherFunc or NonNilMatcherFunc type.
+    public static func fromDeprecatedMatcher<M>(_ matcher: M) -> Predicate where M: Matcher, M.ValueType == T {
+        return self.fromDeprecatedFullClosure(matcher.toClosure)
+    }
+
+    /// Deprecated Matcher API, use satisfies(_:_) instead
+    public func matches(_ actualExpression: Expression<T>, failureMessage: FailureMessage) throws -> Bool {
+        let result = try satisfies(actualExpression)
+        result.message.update(failureMessage: failureMessage)
+        return result.toBoolean(expectation: .toMatch)
+    }
+
+    /// Deprecated Matcher API, use satisfies(_:_) instead
+    public func doesNotMatch(_ actualExpression: Expression<T>, failureMessage: FailureMessage) throws -> Bool {
+        let result = try satisfies(actualExpression)
+        result.message.update(failureMessage: failureMessage)
+        return result.toBoolean(expectation: .toNotMatch)
+    }
+}
+
+extension Predicate {
+    // Someday, make this public? Needs documentation
+    internal func after(f: @escaping (Expression<T>, PredicateResult) throws -> PredicateResult) -> Predicate<T> {
+        // swiftlint:disable:previous identifier_name
+        return Predicate { actual -> PredicateResult in
+            let result = try self.satisfies(actual)
+            return try f(actual, result)
+        }
+    }
+
+    /// Returns a new Predicate based on the current one that always fails if nil is given as
+    /// the actual value.
+    ///
+    /// This replaces `NonNilMatcherFunc`.
+    public var requireNonNil: Predicate<T> {
+        return after { actual, result in
+            if try actual.evaluate() == nil {
+                return PredicateResult(
+                    status: .fail,
+                    message: result.message.appendedBeNilHint()
+                )
+            }
+            return result
+        }
+    }
+}
+
+#if canImport(Darwin)
+public typealias PredicateBlock = (_ actualExpression: Expression<NSObject>) throws -> NMBPredicateResult
+
+public class NMBPredicate: NSObject {
+    private let predicate: PredicateBlock
+
+    public init(predicate: @escaping PredicateBlock) {
+        self.predicate = predicate
+    }
+
+    func satisfies(_ expression: @escaping () throws -> NSObject?, location: SourceLocation) -> NMBPredicateResult {
+        let expr = Expression(expression: expression, location: location)
+        do {
+            return try self.predicate(expr)
+        } catch let error {
+            return PredicateResult(status: .fail, message: .fail("unexpected error thrown: <\(error)>")).toObjectiveC()
+        }
+    }
+}
+
+extension NMBPredicate: NMBMatcher {
+    public func matches(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let result = satisfies(actualBlock, location: location).toSwift()
+        result.message.update(failureMessage: failureMessage)
+        return result.status.toBoolean(expectation: .toMatch)
+    }
+
+    public func doesNotMatch(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let result = satisfies(actualBlock, location: location).toSwift()
+        result.message.update(failureMessage: failureMessage)
+        return result.status.toBoolean(expectation: .toNotMatch)
+    }
+}
+
+final public class NMBPredicateResult: NSObject {
+    public var status: NMBPredicateStatus
+    public var message: NMBExpectationMessage
+
+    public init(status: NMBPredicateStatus, message: NMBExpectationMessage) {
+        self.status = status
+        self.message = message
+    }
+
+    public init(bool success: Bool, message: NMBExpectationMessage) {
+        self.status = NMBPredicateStatus.from(bool: success)
+        self.message = message
+    }
+
+    public func toSwift() -> PredicateResult {
+        return PredicateResult(status: status.toSwift(),
+                               message: message.toSwift())
+    }
+}
+
+extension PredicateResult {
+    public func toObjectiveC() -> NMBPredicateResult {
+        return NMBPredicateResult(status: status.toObjectiveC(), message: message.toObjectiveC())
+    }
+}
+
+final public class NMBPredicateStatus: NSObject {
+    private let status: Int
+    private init(status: Int) {
+        self.status = status
+    }
+
+    public static let matches: NMBPredicateStatus = NMBPredicateStatus(status: 0)
+    public static let doesNotMatch: NMBPredicateStatus = NMBPredicateStatus(status: 1)
+    public static let fail: NMBPredicateStatus = NMBPredicateStatus(status: 2)
+
+    public override var hash: Int { return self.status.hashValue }
+
+    public override func isEqual(_ object: Any?) -> Bool {
+        guard let otherPredicate = object as? NMBPredicateStatus else {
+            return false
+        }
+        return self.status == otherPredicate.status
+    }
+
+    public static func from(status: PredicateStatus) -> NMBPredicateStatus {
+        switch status {
+        case .matches: return self.matches
+        case .doesNotMatch: return self.doesNotMatch
+        case .fail: return self.fail
+        }
+    }
+
+    public static func from(bool success: Bool) -> NMBPredicateStatus {
+        return self.from(status: PredicateStatus(bool: success))
+    }
+
+    public func toSwift() -> PredicateStatus {
+        switch status {
+        case NMBPredicateStatus.matches.status: return .matches
+        case NMBPredicateStatus.doesNotMatch.status: return .doesNotMatch
+        case NMBPredicateStatus.fail.status: return .fail
+        default:
+            internalError("Unhandle status for NMBPredicateStatus")
+        }
+    }
+}
+
+extension PredicateStatus {
+    public func toObjectiveC() -> NMBPredicateStatus {
+        return NMBPredicateStatus.from(status: self)
+    }
+}
+
+#endif

+ 213 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift

@@ -0,0 +1,213 @@
+import Foundation
+
+// This matcher requires the Objective-C, and being built by Xcode rather than the Swift Package Manager 
+#if canImport(Darwin) && !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: String? = nil,
+    reason: String? = nil,
+    userInfo: NSDictionary? = nil,
+    closure: ((NSException) -> Void)? = nil) -> Predicate<Any> {
+        return Predicate { actualExpression in
+            var exception: NSException?
+            let capture = NMBExceptionCapture(handler: ({ e in
+                exception = e
+            }), finally: nil)
+
+            do {
+                try capture.tryBlockThrows {
+                    _ = try actualExpression.evaluate()
+                }
+            } catch {
+                return PredicateResult(status: .fail, message: .fail("unexpected error thrown: <\(error)>"))
+            }
+
+            let failureMessage = FailureMessage()
+            setFailureMessageForException(
+                failureMessage,
+                exception: exception,
+                named: named,
+                reason: reason,
+                userInfo: userInfo,
+                closure: closure
+            )
+
+            let matches = exceptionMatchesNonNilFieldsOrClosure(
+                exception,
+                named: named,
+                reason: reason,
+                userInfo: userInfo,
+                closure: closure
+            )
+            return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+        }
+}
+
+// swiftlint:disable:next function_parameter_count
+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 closure != nil {
+            failureMessage.postfixMessage += " that satisfies block"
+        }
+        if named == nil && reason == nil && userInfo == nil && closure == nil {
+            failureMessage.postfixMessage = "raise any exception"
+        }
+
+        if let exception = exception {
+            // swiftlint:disable:next line_length
+            failureMessage.actualValue = "\(String(describing: type(of: exception))) { 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 let named = named, exception.name.rawValue != named {
+                matches = false
+            }
+            if reason != nil && exception.reason != reason {
+                matches = false
+            }
+            if let userInfo = userInfo, let exceptionUserInfo = exception.userInfo,
+                (exceptionUserInfo as NSDictionary) != 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 {
+    // swiftlint:disable identifier_name
+    internal var _name: String?
+    internal var _reason: String?
+    internal var _userInfo: NSDictionary?
+    internal var _block: ((NSException) -> Void)?
+    // swiftlint:enable identifier_name
+
+    internal init(name: String?, reason: String?, userInfo: NSDictionary?, block: ((NSException) -> Void)?) {
+        _name = name
+        _reason = reason
+        _userInfo = userInfo
+        _block = block
+    }
+
+    @objc public func matches(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        let block: () -> Any? = ({ _ = actualBlock(); return nil })
+        let expr = Expression(expression: block, location: location)
+
+        do {
+            let predicate = raiseException(
+                named: _name,
+                reason: _reason,
+                userInfo: _userInfo,
+                closure: _block
+            )
+            let result = try predicate.satisfies(expr)
+            result.message.update(failureMessage: failureMessage)
+            return result.toBoolean(expectation: .toMatch)
+        } catch let error {
+            failureMessage.stringValue = "unexpected error thrown: <\(error)>"
+            return false
+        }
+    }
+
+    @objc public func doesNotMatch(_ actualBlock: @escaping () -> NSObject?, failureMessage: FailureMessage, location: SourceLocation) -> Bool {
+        return !matches(actualBlock, failureMessage: failureMessage, location: location)
+    }
+
+    @objc public var named: (_ name: String) -> NMBObjCRaiseExceptionMatcher {
+        return { name in
+            return NMBObjCRaiseExceptionMatcher(
+                name: name,
+                reason: self._reason,
+                userInfo: self._userInfo,
+                block: self._block
+            )
+        }
+    }
+
+    @objc public var reason: (_ reason: String?) -> NMBObjCRaiseExceptionMatcher {
+        return { reason in
+            return NMBObjCRaiseExceptionMatcher(
+                name: self._name,
+                reason: reason,
+                userInfo: self._userInfo,
+                block: self._block
+            )
+        }
+    }
+
+    @objc public var userInfo: (_ userInfo: NSDictionary?) -> NMBObjCRaiseExceptionMatcher {
+        return { userInfo in
+            return NMBObjCRaiseExceptionMatcher(
+                name: self._name,
+                reason: self._reason,
+                userInfo: userInfo,
+                block: self._block
+            )
+        }
+    }
+
+    @objc 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 {
+    @objc public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionMatcher {
+        return NMBObjCRaiseExceptionMatcher(name: nil, reason: nil, userInfo: nil, block: nil)
+    }
+}
+#endif

+ 86 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift

@@ -0,0 +1,86 @@
+import Foundation
+
+/// A Nimble matcher that succeeds when the actual value matches with all of the matchers
+/// provided in the variable list of matchers.
+public func satisfyAllOf<T>(_ predicates: Predicate<T>...) -> Predicate<T> {
+    return satisfyAllOf(predicates)
+}
+
+/// A Nimble matcher that succeeds when the actual value matches with all of the matchers
+/// provided in the variable list of matchers.
+public func satisfyAllOf<T, U>(_ matchers: U...) -> Predicate<T>
+    where U: Matcher, U.ValueType == T {
+        return satisfyAllOf(matchers.map { $0.predicate })
+}
+
+internal func satisfyAllOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T> {
+	return Predicate.define { actualExpression in
+        var postfixMessages = [String]()
+        var matches = true
+        for predicate in predicates {
+            let result = try predicate.satisfies(actualExpression)
+            if result.toBoolean(expectation: .toNotMatch) {
+                matches = false
+            }
+            postfixMessages.append("{\(result.message.expectedMessage)}")
+        }
+
+        var msg: ExpectationMessage
+        if let actualValue = try actualExpression.evaluate() {
+            msg = .expectedCustomValueTo(
+                "match all of: " + postfixMessages.joined(separator: ", and "),
+                "\(actualValue)"
+            )
+        } else {
+            msg = .expectedActualValueTo(
+                "match all of: " + postfixMessages.joined(separator: ", and ")
+            )
+        }
+
+        return PredicateResult(bool: matches, message: msg)
+    }
+}
+
+public func && <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T> {
+    return satisfyAllOf(left, right)
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func satisfyAllOfMatcher(_ matchers: [NMBMatcher]) -> NMBPredicate {
+        return NMBPredicate { actualExpression in
+            if matchers.isEmpty {
+                return NMBPredicateResult(
+                    status: NMBPredicateStatus.fail,
+                    message: NMBExpectationMessage(
+                        fail: "satisfyAllOf must be called with at least one matcher"
+                    )
+                )
+            }
+
+            var elementEvaluators = [Predicate<NSObject>]()
+            for matcher in matchers {
+                let elementEvaluator = Predicate<NSObject> { expression in
+                    if let predicate = matcher as? NMBPredicate {
+                        // swiftlint:disable:next line_length
+                        return predicate.satisfies({ try expression.evaluate() }, location: actualExpression.location).toSwift()
+                    } else {
+                        let failureMessage = FailureMessage()
+                        let success = matcher.matches(
+                            // swiftlint:disable:next force_try
+                            { try! expression.evaluate() },
+                            failureMessage: failureMessage,
+                            location: actualExpression.location
+                        )
+                        return PredicateResult(bool: success, message: failureMessage.toExpectationMessage())
+                    }
+                }
+
+                elementEvaluators.append(elementEvaluator)
+            }
+
+            return try satisfyAllOf(elementEvaluators).satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+#endif

+ 94 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift

@@ -0,0 +1,94 @@
+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<T>(_ predicates: Predicate<T>...) -> Predicate<T> {
+    return satisfyAnyOf(predicates)
+}
+
+/// 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<T, U>(_ matchers: U...) -> Predicate<T>
+    where U: Matcher, U.ValueType == T {
+        return satisfyAnyOf(matchers.map { $0.predicate })
+}
+
+internal func satisfyAnyOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T> {
+        return Predicate.define { actualExpression in
+            var postfixMessages = [String]()
+            var matches = false
+            for predicate in predicates {
+                let result = try predicate.satisfies(actualExpression)
+                if result.toBoolean(expectation: .toMatch) {
+                    matches = true
+                }
+                postfixMessages.append("{\(result.message.expectedMessage)}")
+            }
+
+            var msg: ExpectationMessage
+            if let actualValue = try actualExpression.evaluate() {
+                msg = .expectedCustomValueTo(
+                    "match one of: " + postfixMessages.joined(separator: ", or "),
+                    "\(actualValue)"
+                )
+            } else {
+                msg = .expectedActualValueTo(
+                    "match one of: " + postfixMessages.joined(separator: ", or ")
+                )
+            }
+
+            return PredicateResult(bool: matches, message: msg)
+        }
+}
+
+public func || <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T> {
+        return satisfyAnyOf(left, right)
+}
+
+public func || <T>(left: NonNilMatcherFunc<T>, right: NonNilMatcherFunc<T>) -> Predicate<T> {
+    return satisfyAnyOf(left, right)
+}
+
+public func || <T>(left: MatcherFunc<T>, right: MatcherFunc<T>) -> Predicate<T> {
+    return satisfyAnyOf(left, right)
+}
+
+#if canImport(Darwin)
+extension NMBObjCMatcher {
+    @objc public class func satisfyAnyOfMatcher(_ matchers: [NMBMatcher]) -> NMBPredicate {
+        return NMBPredicate { actualExpression in
+            if matchers.isEmpty {
+                return NMBPredicateResult(
+                    status: NMBPredicateStatus.fail,
+                    message: NMBExpectationMessage(
+                        fail: "satisfyAnyOf must be called with at least one matcher"
+                    )
+                )
+            }
+
+            var elementEvaluators = [Predicate<NSObject>]()
+            for matcher in matchers {
+                let elementEvaluator = Predicate<NSObject> { expression in
+                    if let predicate = matcher as? NMBPredicate {
+                        // swiftlint:disable:next line_length
+                        return predicate.satisfies({ try expression.evaluate() }, location: actualExpression.location).toSwift()
+                    } else {
+                        let failureMessage = FailureMessage()
+                        let success = matcher.matches(
+                            // swiftlint:disable:next force_try
+                            { try! expression.evaluate() },
+                            failureMessage: failureMessage,
+                            location: actualExpression.location
+                        )
+                        return PredicateResult(bool: success, message: failureMessage.toExpectationMessage())
+                    }
+                }
+
+                elementEvaluators.append(elementEvaluator)
+            }
+
+            return try satisfyAnyOf(elementEvaluators).satisfies(actualExpression).toObjectiveC()
+        }
+    }
+}
+#endif

+ 51 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift

@@ -0,0 +1,51 @@
+import Foundation
+
+#if canImport(NimbleCwlPreconditionTesting)
+import NimbleCwlPreconditionTesting
+#endif
+
+public func throwAssertion() -> Predicate<Void> {
+    return Predicate { actualExpression in
+    #if arch(x86_64) && canImport(Darwin)
+        let message = ExpectationMessage.expectedTo("throw an assertion")
+
+        var actualError: Error?
+        let caughtException: BadInstructionException? = catchBadInstruction {
+            #if os(tvOS)
+                if !NimbleEnvironment.activeInstance.suppressTVOSAssertionWarning {
+                    print()
+                    print("[Nimble Warning]: If you're getting stuck on a debugger breakpoint for a " +
+                        "fatal error while using throwAssertion(), please disable 'Debug Executable' " +
+                        "in your scheme. Go to 'Edit Scheme > Test > Info' and uncheck " +
+                        "'Debug Executable'. If you've already done that, suppress this warning " +
+                        "by setting `NimbleEnvironment.activeInstance.suppressTVOSAssertionWarning = true`. " +
+                        "This is required because the standard methods of catching assertions " +
+                        "(mach APIs) are unavailable for tvOS. Instead, the same mechanism the " +
+                        "debugger uses is the fallback method for tvOS."
+                    )
+                    print()
+                    NimbleEnvironment.activeInstance.suppressTVOSAssertionWarning = true
+                }
+            #endif
+            do {
+                try actualExpression.evaluate()
+            } catch {
+                actualError = error
+            }
+        }
+
+        if let actualError = actualError {
+            return PredicateResult(
+                bool: false,
+                message: message.appended(message: "; threw error instead <\(actualError)>")
+            )
+        } else {
+            return PredicateResult(bool: caughtException != nil, message: message)
+        }
+    #else
+        fatalError("The throwAssertion Nimble matcher can only run on x86_64 platforms with " +
+            "Objective-C (e.g. macOS, iPhone 5s or later simulators). You can silence this error " +
+            "by placing the test case inside an #if arch(x86_64) or canImport(Darwin) conditional statement")
+    #endif
+    }
+}

+ 264 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift

@@ -0,0 +1,264 @@
+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 comparison 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() -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        if let actualError = actualError {
+            return PredicateResult(bool: true, message: .expectedCustomValueTo("throw any error", "<\(actualError)>"))
+        } else {
+            return PredicateResult(bool: false, message: .expectedCustomValueTo("throw any error", "no error"))
+        }
+    }
+}
+
+/// 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<T: Error>(_ error: T, closure: ((Error) -> Void)? = nil) -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            actualError: actualError,
+            error: error,
+            errorType: nil,
+            closure: closure
+        )
+
+        var matches = false
+        if let actualError = actualError, errorMatchesExpectedError(actualError, expectedError: error) {
+            matches = true
+
+            if let closure = closure {
+                let assertions = gatherFailingExpectations {
+                    closure(actualError)
+                }
+                let messages = assertions.map { $0.message }
+                if !messages.isEmpty {
+                    matches = false
+                }
+            }
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// 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<T: Error & Equatable>(_ error: T, closure: ((T) -> Void)? = nil) -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            actualError: actualError,
+            error: error,
+            errorType: nil,
+            closure: closure
+        )
+
+        var matches = false
+        if let actualError = actualError as? T, error == actualError {
+            matches = true
+
+            if let closure = closure {
+                let assertions = gatherFailingExpectations {
+                    closure(actualError)
+                }
+                let messages = assertions.map { $0.message }
+                if !messages.isEmpty {
+                    matches = false
+                }
+            }
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// 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<T: Error>(
+    errorType: T.Type,
+    closure: ((T) -> Void)? = nil) -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(
+            failureMessage,
+            actualError: actualError,
+            error: nil,
+            errorType: errorType,
+            closure: closure
+        )
+
+        var matches = false
+        if let actualError = actualError {
+            matches = true
+
+            if let actualError = actualError as? T {
+                if let closure = closure {
+                    let assertions = gatherFailingExpectations {
+                        closure(actualError)
+                    }
+                    let messages = assertions.map { $0.message }
+                    if !messages.isEmpty {
+                        matches = false
+                    }
+                }
+            } else {
+                matches = (actualError is T)
+                // The closure expects another ErrorProtocol as argument, so this
+                // is _supposed_ to fail, so that it becomes more obvious.
+                if let closure = closure {
+                    let assertions = gatherExpectations {
+                        if let actual = actualError as? T {
+                            closure(actual)
+                        }
+                    }
+                    let messages = assertions.map { $0.message }
+                    if !messages.isEmpty {
+                        matches = false
+                    }
+                }
+            }
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// 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 `Error` in the closure.
+///
+/// The closure only gets called when an error was thrown.
+public func throwError(closure: @escaping ((Error) -> Void)) -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(failureMessage, actualError: actualError, closure: closure)
+
+        var matches = false
+        if let actualError = actualError {
+            matches = true
+
+            let assertions = gatherFailingExpectations {
+                closure(actualError)
+            }
+            let messages = assertions.map { $0.message }
+            if !messages.isEmpty {
+                matches = false
+            }
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}
+
+/// 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 `Error` in the closure.
+///
+/// The closure only gets called when an error was thrown.
+public func throwError<T: Error>(closure: @escaping ((T) -> Void)) -> Predicate<Any> {
+    return Predicate { actualExpression in
+        var actualError: Error?
+        do {
+            _ = try actualExpression.evaluate()
+        } catch {
+            actualError = error
+        }
+
+        let failureMessage = FailureMessage()
+        setFailureMessageForError(failureMessage, actualError: actualError, closure: closure)
+
+        var matches = false
+        if let actualError = actualError as? T {
+            matches = true
+
+            let assertions = gatherFailingExpectations {
+                closure(actualError)
+            }
+            let messages = assertions.map { $0.message }
+            if !messages.isEmpty {
+                matches = false
+            }
+        }
+
+        return PredicateResult(bool: matches, message: failureMessage.toExpectationMessage())
+    }
+}

+ 37 - 0
Example/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift

@@ -0,0 +1,37 @@
+/**
+ Used by the `toSucceed` matcher.
+
+ This is the return type for the closure.
+ */
+public enum ToSucceedResult {
+    case succeeded
+    case failed(reason: String)
+}
+
+/**
+ A Nimble matcher that takes in a closure for validation.
+
+ Return `.succeeded` when the validation succeeds.
+ Return `.failed` with a failure reason when the validation fails.
+ */
+public func succeed() -> Predicate<() -> ToSucceedResult> {
+    return Predicate.define { actualExpression in
+        let optActual = try actualExpression.evaluate()
+        guard let actual = optActual else {
+            return PredicateResult(status: .fail, message: .fail("expected a closure, got <nil>"))
+        }
+
+        switch actual() {
+        case .succeeded:
+            return PredicateResult(
+                bool: true,
+                message: .expectedCustomValueTo("succeed", "<succeeded>")
+            )
+        case .failed(let reason):
+            return PredicateResult(
+                bool: false,
+                message: .expectedCustomValueTo("succeed", "<failed> because <\(reason)>")
+            )
+        }
+    }
+}

+ 9 - 0
Example/Pods/Nimble/Sources/Nimble/Nimble.h

@@ -0,0 +1,9 @@
+#import <Foundation/Foundation.h>
+#import "NMBExceptionCapture.h"
+#import "NMBStringify.h"
+#import "DSL.h"
+
+#import "CwlPreconditionTesting.h"
+
+FOUNDATION_EXPORT double NimbleVersionNumber;
+FOUNDATION_EXPORT const unsigned char NimbleVersionString[];

+ 379 - 0
Example/Pods/Nimble/Sources/Nimble/Utils/Await.swift

@@ -0,0 +1,379 @@
+import CoreFoundation
+import Dispatch
+import Foundation
+
+#if canImport(CDispatch)
+    import CDispatch
+#endif
+
+private let timeoutLeeway = DispatchTimeInterval.milliseconds(1)
+private let pollLeeway = DispatchTimeInterval.milliseconds(1)
+
+/// 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?
+    init() { }
+
+    func acquireWaitingLock(_ fnName: String, file: FileString, line: UInt) {
+        let info = WaitingInfo(name: fnName, file: file, lineNumber: line)
+        let isMainThread = Thread.isMainThread
+        nimblePrecondition(
+            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.
+
+            The call to
+            \t\(info)
+            triggered this exception because
+            \t\(currentWaiter!)
+            is currently managing the main run loop.
+            """
+        )
+        currentWaiter = info
+    }
+
+    func isWaitingLocked() -> Bool {
+        return currentWaiter != nil
+    }
+
+    func releaseWaitingLock() {
+        currentWaiter = nil
+    }
+}
+
+internal enum AwaitResult<T> {
+    /// 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(Error)
+    /// 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 final class AwaitPromise<T> {
+    private(set) internal var asyncResult: AwaitResult<T> = .incomplete
+    private var signal: DispatchSemaphore
+
+    init() {
+        signal = DispatchSemaphore(value: 1)
+    }
+
+    deinit {
+        signal.signal()
+    }
+
+    /// 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 received first.
+    func resolveResult(_ result: AwaitResult<T>) -> Bool {
+        if signal.wait(timeout: .now()) == .success {
+            self.asyncResult = result
+            return true
+        } else {
+            return false
+        }
+    }
+}
+
+internal struct AwaitTrigger {
+    let timeoutSource: DispatchSourceTimer
+    let actionSource: DispatchSourceTimer?
+    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<T> {
+    let awaiter: Awaiter
+    let waitLock: WaitLock
+    let trigger: AwaitTrigger
+    let promise: AwaitPromise<T>
+
+    internal init(
+        awaiter: Awaiter,
+        waitLock: WaitLock,
+        promise: AwaitPromise<T>,
+        trigger: AwaitTrigger) {
+            self.awaiter = awaiter
+            self.waitLock = waitLock
+            self.promise = promise
+            self.trigger = trigger
+    }
+
+    func timeout(_ timeoutInterval: TimeInterval, forcefullyAbortTimeout: TimeInterval) -> 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.
+        trigger.timeoutSource.schedule(
+            deadline: DispatchTime.now() + timeoutInterval,
+            repeating: .never,
+            leeway: timeoutLeeway
+        )
+        trigger.timeoutSource.setEventHandler {
+            guard self.promise.asyncResult.isIncomplete() else { return }
+            let timedOutSem = DispatchSemaphore(value: 0)
+            let semTimedOutOrBlocked = DispatchSemaphore(value: 0)
+            semTimedOutOrBlocked.signal()
+            let runLoop = CFRunLoopGetMain()
+            #if canImport(Darwin)
+                let runLoopMode = CFRunLoopMode.defaultMode.rawValue
+            #else
+                let runLoopMode = kCFRunLoopDefaultMode
+            #endif
+            CFRunLoopPerformBlock(runLoop, runLoopMode) {
+                if semTimedOutOrBlocked.wait(timeout: .now()) == .success {
+                    timedOutSem.signal()
+                    semTimedOutOrBlocked.signal()
+                    if self.promise.resolveResult(.timedOut) {
+                        CFRunLoopStop(CFRunLoopGetMain())
+                    }
+                }
+            }
+            // potentially interrupt blocking code on run loop to let timeout code run
+            CFRunLoopStop(runLoop)
+            let now = DispatchTime.now() + forcefullyAbortTimeout
+            let didNotTimeOut = timedOutSem.wait(timeout: now) != .success
+            let timeoutWasNotTriggered = semTimedOutOrBlocked.wait(timeout: .now()) == .success
+            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 undesirable 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<T> {
+        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))
+            }
+            self.trigger.timeoutSource.resume()
+            while self.promise.asyncResult.isIncomplete() {
+                // Stopping the run loop does not work unless we run only 1 mode
+                #if (swift(>=4.2) && canImport(Darwin)) || compiler(>=5.0)
+                _ = RunLoop.current.run(mode: .default, before: .distantFuture)
+                #else
+                _ = RunLoop.current.run(mode: .defaultRunLoopMode, before: .distantFuture)
+                #endif
+            }
+
+            self.trigger.timeoutSource.cancel()
+            if let asyncSource = self.trigger.actionSource {
+                asyncSource.cancel()
+            }
+        }
+
+        return promise.asyncResult
+    }
+}
+
+internal class Awaiter {
+    let waitLock: WaitLock
+    let timeoutQueue: DispatchQueue
+    let asyncQueue: DispatchQueue
+
+    internal init(
+        waitLock: WaitLock,
+        asyncQueue: DispatchQueue,
+        timeoutQueue: DispatchQueue) {
+            self.waitLock = waitLock
+            self.asyncQueue = asyncQueue
+            self.timeoutQueue = timeoutQueue
+    }
+
+    private func createTimerSource(_ queue: DispatchQueue) -> DispatchSourceTimer {
+        return DispatchSource.makeTimerSource(flags: .strict, queue: queue)
+    }
+
+    func performBlock<T>(
+        file: FileString,
+        line: UInt,
+        _ closure: @escaping (@escaping (T) -> Void) throws -> Void
+        ) -> AwaitPromiseBuilder<T> {
+            let promise = AwaitPromise<T>()
+            let timeoutSource = createTimerSource(timeoutQueue)
+            var completionCount = 0
+            let trigger = AwaitTrigger(timeoutSource: timeoutSource, actionSource: nil) {
+                try closure { result in
+                    completionCount += 1
+                    if completionCount < 2 {
+                        func completeBlock() {
+                            if promise.resolveResult(.completed(result)) {
+                                CFRunLoopStop(CFRunLoopGetMain())
+                            }
+                        }
+
+                        if Thread.isMainThread {
+                            completeBlock()
+                        } else {
+                            DispatchQueue.main.async { completeBlock() }
+                        }
+                    } else {
+                        fail("waitUntil(..) expects its completion closure to be only called once",
+                             file: file, line: line)
+                    }
+                }
+            }
+
+            return AwaitPromiseBuilder(
+                awaiter: self,
+                waitLock: waitLock,
+                promise: promise,
+                trigger: trigger)
+    }
+
+    func poll<T>(_ pollInterval: TimeInterval, closure: @escaping () throws -> T?) -> AwaitPromiseBuilder<T> {
+        let promise = AwaitPromise<T>()
+        let timeoutSource = createTimerSource(timeoutQueue)
+        let asyncSource = createTimerSource(asyncQueue)
+        let trigger = AwaitTrigger(timeoutSource: timeoutSource, actionSource: asyncSource) {
+            let interval = DispatchTimeInterval.nanoseconds(Int(pollInterval * TimeInterval(NSEC_PER_SEC)))
+            asyncSource.schedule(deadline: .now(), repeating: interval, leeway: pollLeeway)
+            asyncSource.setEventHandler {
+                do {
+                    if let result = try closure() {
+                        if promise.resolveResult(.completed(result)) {
+                            CFRunLoopStop(CFRunLoopGetCurrent())
+                        }
+                    }
+                } catch let error {
+                    if promise.resolveResult(.errorThrown(error)) {
+                        CFRunLoopStop(CFRunLoopGetCurrent())
+                    }
+                }
+            }
+            asyncSource.resume()
+        }
+
+        return AwaitPromiseBuilder(
+            awaiter: self,
+            waitLock: waitLock,
+            promise: promise,
+            trigger: trigger)
+    }
+}
+
+internal func pollBlock(
+    pollInterval: TimeInterval,
+    timeoutInterval: TimeInterval,
+    file: FileString,
+    line: UInt,
+    fnName: String = #function,
+    expression: @escaping () throws -> Bool) -> AwaitResult<Bool> {
+        let awaiter = NimbleEnvironment.activeInstance.awaiter
+        let result = awaiter.poll(pollInterval) { () throws -> Bool? in
+            if try expression() {
+                return true
+            }
+            return nil
+        }.timeout(timeoutInterval, forcefullyAbortTimeout: timeoutInterval / 2.0).wait(fnName, file: file, line: line)
+
+        return result
+}

+ 59 - 0
Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift

@@ -0,0 +1,59 @@
+import Foundation
+
+// Generic
+
+internal func setFailureMessageForError<T: Error>(
+    _ failureMessage: FailureMessage,
+    postfixMessageVerb: String = "throw",
+    actualError: Error?,
+    error: T? = nil,
+    errorType: T.Type? = nil,
+    closure: ((T) -> Void)? = nil) {
+    failureMessage.postfixMessage = "\(postfixMessageVerb) error"
+
+    if let error = error {
+        failureMessage.postfixMessage += " <\(error)>"
+    } else if errorType != nil || closure != nil {
+        failureMessage.postfixMessage += " from type <\(T.self)>"
+    }
+    if closure != nil {
+        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<T: Error>(
+    _ actualError: Error,
+    expectedError: T) -> Bool {
+    return actualError._domain == expectedError._domain
+        && actualError._code   == expectedError._code
+}
+
+// Non-generic
+
+internal func setFailureMessageForError(
+    _ failureMessage: FailureMessage,
+    actualError: Error?,
+    closure: ((Error) -> Void)?) {
+    failureMessage.postfixMessage = "throw error"
+
+    if closure != nil {
+        failureMessage.postfixMessage += " that satisfies block"
+    } else {
+        failureMessage.postfixMessage = "throw any error"
+    }
+
+    if let actualError = actualError {
+        failureMessage.actualValue = "<\(actualError)>"
+    } else {
+        failureMessage.actualValue = "no error"
+    }
+}

+ 14 - 0
Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift

@@ -0,0 +1,14 @@
+import Foundation
+
+#if !swift(>=4.2)
+extension Sequence {
+    internal func allSatisfy(_ predicate: (Element) throws -> Bool) rethrows -> Bool {
+        for item in self {
+            if try !predicate(item) {
+                return false
+            }
+        }
+        return true
+    }
+}
+#endif

+ 31 - 0
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 SWIFT_PACKAGE
+public typealias FileString = StaticString
+#else
+public typealias FileString = String
+#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)"
+    }
+}

+ 196 - 0
Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift

@@ -0,0 +1,196 @@
+import Foundation
+
+internal func identityAsString(_ value: Any?) -> String {
+    let anyObject = value as AnyObject?
+    if let value = anyObject {
+        return NSString(format: "<%p>", unsafeBitCast(value, to: Int.self)).description
+    } else {
+        return "nil"
+    }
+}
+
+internal func arrayAsString<T>(_ 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(value: self).testDescription
+    }
+}
+
+extension Float: TestOutputStringConvertible {
+    public var testDescription: String {
+        return NSNumber(value: 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.contains(".") {
+            // 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)
+                .components(separatedBy: ".")[1])
+
+            // SeeAlso: https://bugs.swift.org/browse/SR-1464
+            switch decimalPlaces.length {
+            case 1:
+                return NSString(format: "%0.1f", self.doubleValue).description
+            case 2:
+                return NSString(format: "%0.2f", self.doubleValue).description
+            case 3:
+                return NSString(format: "%0.3f", self.doubleValue).description
+            default:
+                return NSString(format: "%0.4f", self.doubleValue).description
+            }
+        }
+        return self.description
+    }
+}
+
+extension Array: TestOutputStringConvertible {
+    public var testDescription: String {
+        let list = self.map(Nimble.stringify).joined(separator: ", ")
+        return "[\(list)]"
+    }
+}
+
+extension AnySequence: TestOutputStringConvertible {
+    public var testDescription: String {
+        let generator = self.makeIterator()
+        var strings = [String]()
+        var value: AnySequence.Iterator.Element?
+
+        repeat {
+            value = generator.next()
+            if let value = value {
+                strings.append(stringify(value))
+            }
+        } while value != nil
+
+        let list = strings.joined(separator: ", ")
+        return "[\(list)]"
+    }
+}
+
+extension NSArray: TestOutputStringConvertible {
+    public var testDescription: String {
+        let list = Array(self).map(Nimble.stringify).joined(separator: ", ")
+        return "(\(list))"
+    }
+}
+
+extension NSIndexSet: TestOutputStringConvertible {
+    public var testDescription: String {
+        let list = Array(self).map(Nimble.stringify).joined(separator: ", ")
+        return "(\(list))"
+    }
+}
+
+extension String: TestOutputStringConvertible {
+    public var testDescription: String {
+        return self
+    }
+}
+
+extension Data: TestOutputStringConvertible {
+    public var testDescription: String {
+        return "Data<hash=\((self as NSData).hash),length=\(count)>"
+    }
+}
+
+///
+/// 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`
+public func stringify<T>(_ value: T?) -> String {
+    guard let value = value else { return "nil" }
+
+    if let value = value as? TestOutputStringConvertible {
+        return value.testDescription
+    }
+
+    if let value = value as? CustomDebugStringConvertible {
+        return value.debugDescription
+    }
+
+    return String(describing: value)
+}
+
+#if canImport(Darwin)
+@objc public class NMBStringer: NSObject {
+    @objc public class func stringify(_ obj: Any?) -> String {
+        return Nimble.stringify(obj)
+    }
+}
+#endif
+
+// MARK: Collection Type Stringers
+
+/// Attempts to generate a pretty type string for a given value. If the value is of a Objective-C
+/// collection type, or a subclass thereof, (e.g. `NSArray`, `NSDictionary`, etc.). 
+/// This function will return the type name of the root class of the class cluster for better
+/// readability (e.g. `NSArray` instead of `__NSArrayI`).
+///
+/// For values that don't have a type of an Objective-C collection, this function returns the
+/// default type description.
+///
+/// - parameter value: A value that will be used to determine a type name.
+///
+/// - returns: The name of the class cluster root class for Objective-C collection types, or the
+/// the `dynamicType` of the value for values of any other type.
+public func prettyCollectionType<T>(_ value: T) -> String {
+    switch value {
+    case is NSArray:
+        return String(describing: NSArray.self)
+    case is NSDictionary:
+        return String(describing: NSDictionary.self)
+    case is NSSet:
+        return String(describing: NSSet.self)
+    case is NSIndexSet:
+        return String(describing: NSIndexSet.self)
+    default:
+        return String(describing: value)
+    }
+}
+
+/// Returns the type name for a given collection type. This overload is used by Swift
+/// collection types.
+///
+/// - parameter collection: A Swift `CollectionType` value.
+///
+/// - returns: A string representing the `dynamicType` of the value.
+public func prettyCollectionType<T: Collection>(_ collection: T) -> String {
+    return String(describing: type(of: collection))
+}

+ 389 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h

@@ -0,0 +1,389 @@
+#import <Foundation/Foundation.h>
+
+@class NMBExpectation;
+@class NMBObjCBeCloseToMatcher;
+@class NMBObjCRaiseExceptionMatcher;
+@protocol NMBMatcher;
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+#define NIMBLE_OVERLOADABLE __attribute__((overloadable))
+#define NIMBLE_EXPORT FOUNDATION_EXPORT
+#define NIMBLE_EXPORT_INLINE FOUNDATION_STATIC_INLINE
+
+#define NIMBLE_VALUE_OF(VAL) ({ \
+    __typeof__((VAL)) val = (VAL); \
+    [NSValue valueWithBytes:&val objCType:@encode(__typeof__((VAL)))]; \
+})
+
+#ifdef NIMBLE_DISABLE_SHORT_SYNTAX
+#define NIMBLE_SHORT(PROTO, ORIGINAL)
+#define NIMBLE_SHORT_OVERLOADED(PROTO, ORIGINAL)
+#else
+#define NIMBLE_SHORT(PROTO, ORIGINAL) FOUNDATION_STATIC_INLINE PROTO { return (ORIGINAL); }
+#define NIMBLE_SHORT_OVERLOADED(PROTO, ORIGINAL) FOUNDATION_STATIC_INLINE NIMBLE_OVERLOADABLE PROTO { return (ORIGINAL); }
+#endif
+
+
+
+#define DEFINE_NMB_EXPECT_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        NMBExpectation *NMB_expect(TYPE(^actualBlock)(void), NSString *file, NSUInteger line) { \
+            return NMB_expect(^id { return EXPR; }, file, line); \
+        }
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    NMBExpectation *NMB_expect(id(^actualBlock)(void), NSString *file, NSUInteger line);
+
+    // overloaded dispatch for nils - expect(nil)
+    DEFINE_NMB_EXPECT_OVERLOAD(void*, nil)
+    DEFINE_NMB_EXPECT_OVERLOAD(NSRange, NIMBLE_VALUE_OF(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(long, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(unsigned long, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(int, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(unsigned int, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(float, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(double, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(long long, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(unsigned long long, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(char, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(unsigned char, @(actualBlock()))
+    // bool doesn't get the compiler to dispatch to BOOL types, but using BOOL here seems to allow
+    // the compiler to dispatch to bool.
+    DEFINE_NMB_EXPECT_OVERLOAD(BOOL, @(actualBlock()))
+    DEFINE_NMB_EXPECT_OVERLOAD(char *, @(actualBlock()))
+
+
+#undef DEFINE_NMB_EXPECT_OVERLOAD
+
+
+
+NIMBLE_EXPORT NMBExpectation *NMB_expectAction(void(^actualBlock)(void), NSString *file, NSUInteger line);
+
+
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        id<NMBMatcher> NMB_equal(TYPE expectedValue) { \
+            return NMB_equal((EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> equal(TYPE expectedValue), NMB_equal(expectedValue));
+
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_equal(__nullable id expectedValue);
+
+    NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> equal(__nullable id expectedValue),
+                            NMB_equal(expectedValue));
+
+    // overloaded dispatch for nils - expect(nil)
+    DEFINE_OVERLOAD(void*__nullable, (id)nil)
+    DEFINE_OVERLOAD(NSRange, NIMBLE_VALUE_OF(expectedValue))
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+    // bool doesn't get the compiler to dispatch to BOOL types, but using BOOL here seems to allow
+    // the compiler to dispatch to bool.
+    DEFINE_OVERLOAD(BOOL, @(expectedValue))
+    DEFINE_OVERLOAD(char *, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        id<NMBMatcher> NMB_haveCount(TYPE expectedValue) { \
+            return NMB_haveCount((EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> haveCount(TYPE expectedValue), \
+            NMB_haveCount(expectedValue));
+
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_haveCount(id expectedValue);
+
+    NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> haveCount(id expectedValue),
+                            NMB_haveCount(expectedValue));
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        NMBObjCBeCloseToMatcher *NMB_beCloseTo(TYPE expectedValue) { \
+            return NMB_beCloseTo((NSNumber *)(EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(NMBObjCBeCloseToMatcher *beCloseTo(TYPE expectedValue), \
+            NMB_beCloseTo(expectedValue));
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE NMBObjCBeCloseToMatcher *NMB_beCloseTo(NSNumber *expectedValue);
+    NIMBLE_SHORT_OVERLOADED(NMBObjCBeCloseToMatcher *beCloseTo(NSNumber *expectedValue),
+                            NMB_beCloseTo(expectedValue));
+
+    // it would be better to only overload float & double, but zero becomes ambigious
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beAnInstanceOf(Class expectedClass);
+NIMBLE_EXPORT_INLINE id<NMBMatcher> beAnInstanceOf(Class expectedClass) {
+    return NMB_beAnInstanceOf(expectedClass);
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beAKindOf(Class expectedClass);
+NIMBLE_EXPORT_INLINE id<NMBMatcher> beAKindOf(Class expectedClass) {
+    return NMB_beAKindOf(expectedClass);
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beginWith(id itemElementOrSubstring);
+NIMBLE_EXPORT_INLINE id<NMBMatcher> beginWith(id itemElementOrSubstring) {
+    return NMB_beginWith(itemElementOrSubstring);
+}
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        id<NMBMatcher> NMB_beGreaterThan(TYPE expectedValue) { \
+            return NMB_beGreaterThan((EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> beGreaterThan(TYPE expectedValue), NMB_beGreaterThan(expectedValue));
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_beGreaterThan(NSNumber *expectedValue);
+
+    NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE
+    id<NMBMatcher> beGreaterThan(NSNumber *expectedValue) {
+        return NMB_beGreaterThan(expectedValue);
+    }
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        id<NMBMatcher> NMB_beGreaterThanOrEqualTo(TYPE expectedValue) { \
+            return NMB_beGreaterThanOrEqualTo((EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> beGreaterThanOrEqualTo(TYPE expectedValue), \
+            NMB_beGreaterThanOrEqualTo(expectedValue));
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue);
+
+    NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE
+    id<NMBMatcher> beGreaterThanOrEqualTo(NSNumber *expectedValue) {
+        return NMB_beGreaterThanOrEqualTo(expectedValue);
+    }
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+
+#undef DEFINE_OVERLOAD
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beIdenticalTo(id expectedInstance);
+NIMBLE_SHORT(id<NMBMatcher> beIdenticalTo(id expectedInstance),
+             NMB_beIdenticalTo(expectedInstance));
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_be(id expectedInstance);
+NIMBLE_SHORT(id<NMBMatcher> be(id expectedInstance),
+             NMB_be(expectedInstance));
+
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+        NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+        id<NMBMatcher> NMB_beLessThan(TYPE expectedValue) { \
+            return NMB_beLessThan((EXPR)); \
+        } \
+        NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> beLessThan(TYPE expectedValue), \
+            NMB_beLessThan(expectedValue));
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_beLessThan(NSNumber *expectedValue);
+
+    NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE
+    id<NMBMatcher> beLessThan(NSNumber *expectedValue) {
+        return NMB_beLessThan(expectedValue);
+    }
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+
+#define DEFINE_OVERLOAD(TYPE, EXPR) \
+    NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \
+    id<NMBMatcher> NMB_beLessThanOrEqualTo(TYPE expectedValue) { \
+        return NMB_beLessThanOrEqualTo((EXPR)); \
+    } \
+    NIMBLE_SHORT_OVERLOADED(id<NMBMatcher> beLessThanOrEqualTo(TYPE expectedValue), \
+        NMB_beLessThanOrEqualTo(expectedValue));
+
+
+    NIMBLE_EXPORT NIMBLE_OVERLOADABLE
+    id<NMBMatcher> NMB_beLessThanOrEqualTo(NSNumber *expectedValue);
+
+    NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE
+    id<NMBMatcher> beLessThanOrEqualTo(NSNumber *expectedValue) {
+        return NMB_beLessThanOrEqualTo(expectedValue);
+    }
+
+    DEFINE_OVERLOAD(long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long, @(expectedValue))
+    DEFINE_OVERLOAD(int, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned int, @(expectedValue))
+    DEFINE_OVERLOAD(float, @(expectedValue))
+    DEFINE_OVERLOAD(double, @(expectedValue))
+    DEFINE_OVERLOAD(long long, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned long long, @(expectedValue))
+    DEFINE_OVERLOAD(char, @(expectedValue))
+    DEFINE_OVERLOAD(unsigned char, @(expectedValue))
+
+#undef DEFINE_OVERLOAD
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beTruthy(void);
+NIMBLE_SHORT(id<NMBMatcher> beTruthy(void),
+             NMB_beTruthy());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beFalsy(void);
+NIMBLE_SHORT(id<NMBMatcher> beFalsy(void),
+             NMB_beFalsy());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beTrue(void);
+NIMBLE_SHORT(id<NMBMatcher> beTrue(void),
+             NMB_beTrue());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beFalse(void);
+NIMBLE_SHORT(id<NMBMatcher> beFalse(void),
+             NMB_beFalse());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beNil(void);
+NIMBLE_SHORT(id<NMBMatcher> beNil(void),
+             NMB_beNil());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beEmpty(void);
+NIMBLE_SHORT(id<NMBMatcher> beEmpty(void),
+             NMB_beEmpty());
+
+NIMBLE_EXPORT id<NMBMatcher> 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<NMBMatcher> NMB_containElementSatisfying(BOOL(^predicate)(id));
+NIMBLE_SHORT(id<NMBMatcher> containElementSatisfying(BOOL(^predicate)(id)),
+             NMB_containElementSatisfying(predicate));
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_endWith(id itemElementOrSubstring);
+NIMBLE_SHORT(id<NMBMatcher> endWith(id itemElementOrSubstring),
+             NMB_endWith(itemElementOrSubstring));
+
+NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException(void);
+NIMBLE_SHORT(NMBObjCRaiseExceptionMatcher *raiseException(void),
+             NMB_raiseException());
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_match(id expectedValue);
+NIMBLE_SHORT(id<NMBMatcher> match(id expectedValue),
+             NMB_match(expectedValue));
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_allPass(id matcher);
+NIMBLE_SHORT(id<NMBMatcher> allPass(id matcher),
+             NMB_allPass(matcher));
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_satisfyAnyOfWithMatchers(id matchers);
+#define NMB_satisfyAnyOf(...) NMB_satisfyAnyOfWithMatchers(@[__VA_ARGS__])
+#ifndef NIMBLE_DISABLE_SHORT_SYNTAX
+#define satisfyAnyOf(...) NMB_satisfyAnyOf(__VA_ARGS__)
+#endif
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_satisfyAllOfWithMatchers(id matchers);
+#define NMB_satisfyAllOf(...) NMB_satisfyAllOfWithMatchers(@[__VA_ARGS__])
+#ifndef NIMBLE_DISABLE_SHORT_SYNTAX
+#define satisfyAllOf(...) NMB_satisfyAllOf(__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(^{ 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
+
+#undef NIMBLE_VALUE_OF
+
+#endif
+
+NS_ASSUME_NONNULL_END

+ 161 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.m

@@ -0,0 +1,161 @@
+#import <Nimble/DSL.h>
+
+#if __has_include("Nimble-Swift.h")
+#import "Nimble-Swift.h"
+#else
+#import <Nimble/Nimble-Swift.h>
+#endif
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE NMBExpectation *__nonnull NMB_expect(id __nullable(^actualBlock)(void), NSString *__nonnull file, NSUInteger line) {
+    return [[NMBExpectation alloc] initWithActualBlock:actualBlock
+                                              negative:NO
+                                                  file:file
+                                                  line:line];
+}
+
+NIMBLE_EXPORT NMBExpectation *NMB_expectAction(void(^actualBlock)(void), 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<NMBMatcher> NMB_beAnInstanceOf(Class expectedClass) {
+    return [NMBObjCMatcher beAnInstanceOfMatcher:expectedClass];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beAKindOf(Class expectedClass) {
+    return [NMBObjCMatcher beAKindOfMatcher:expectedClass];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE NMBObjCBeCloseToMatcher *NMB_beCloseTo(NSNumber *expectedValue) {
+    return [NMBObjCMatcher beCloseToMatcher:expectedValue within:0.001];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beginWith(id itemElementOrSubstring) {
+    return [NMBObjCMatcher beginWithMatcher:itemElementOrSubstring];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_beGreaterThan(NSNumber *expectedValue) {
+    return [NMBObjCMatcher beGreaterThanMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue) {
+    return [NMBObjCMatcher beGreaterThanOrEqualToMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beIdenticalTo(id expectedInstance) {
+    return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_be(id expectedInstance) {
+    return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_beLessThan(NSNumber *expectedValue) {
+    return [NMBObjCMatcher beLessThanMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_beLessThanOrEqualTo(NSNumber *expectedValue) {
+    return [NMBObjCMatcher beLessThanOrEqualToMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beTruthy() {
+    return [NMBObjCMatcher beTruthyMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beFalsy() {
+    return [NMBObjCMatcher beFalsyMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beTrue() {
+    return [NMBObjCMatcher beTrueMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beFalse() {
+    return [NMBObjCMatcher beFalseMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beNil() {
+    return [NMBObjCMatcher beNilMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_beEmpty() {
+    return [NMBObjCMatcher beEmptyMatcher];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> 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<NMBMatcher> NMB_containElementSatisfying(BOOL(^predicate)(id)) {
+    return [NMBObjCMatcher containElementSatisfyingMatcher:predicate];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_endWith(id itemElementOrSubstring) {
+    return [NMBObjCMatcher endWithMatcher:itemElementOrSubstring];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_equal(__nullable id expectedValue) {
+    return [NMBObjCMatcher equalMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT NIMBLE_OVERLOADABLE id<NMBMatcher> NMB_haveCount(id expectedValue) {
+    return [NMBObjCMatcher haveCountMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_match(id expectedValue) {
+    return [NMBObjCMatcher matchMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_allPass(id expectedValue) {
+    return [NMBObjCMatcher allPassMatcher:expectedValue];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_satisfyAnyOfWithMatchers(id matchers) {
+    return [NMBObjCMatcher satisfyAnyOfMatcher:matchers];
+}
+
+NIMBLE_EXPORT id<NMBMatcher> NMB_satisfyAllOfWithMatchers(id matchers) {
+    return [NMBObjCMatcher satisfyAllOfMatcher:matchers];
+}
+
+NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException() {
+    return [NMBObjCMatcher raiseExceptionMatcher];
+}
+
+NIMBLE_EXPORT NMBWaitUntilTimeoutBlock NMB_waitUntilTimeoutBuilder(NSString *file, NSUInteger line) {
+    return ^(NSTimeInterval timeout, void (^ _Nonnull action)(void (^ _Nonnull)(void))) {
+        [NMBWait untilTimeout:timeout file:file line:line action:action];
+    };
+}
+
+NIMBLE_EXPORT NMBWaitUntilBlock NMB_waitUntilBuilder(NSString *file, NSUInteger line) {
+  return ^(void (^ _Nonnull action)(void (^ _Nonnull)(void))) {
+    [NMBWait untilFile:file line:line action:action];
+  };
+}
+
+NS_ASSUME_NONNULL_END

+ 11 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h

@@ -0,0 +1,11 @@
+#import <Foundation/Foundation.h>
+#import <dispatch/dispatch.h>
+
+@interface NMBExceptionCapture : NSObject
+
+- (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally;
+- (void)tryBlock:(__attribute__((noescape)) void(^ _Nonnull)(void))unsafeBlock NS_SWIFT_NAME(tryBlock(_:));
+
+@end
+
+typedef void(^NMBSourceCallbackBlock)(BOOL successful);

+ 35 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m

@@ -0,0 +1,35 @@
+#import "NMBExceptionCapture.h"
+
+@interface NMBExceptionCapture ()
+@property (nonatomic, copy) void(^ _Nullable handler)(NSException * _Nullable);
+@property (nonatomic, copy) void(^ _Nullable finally)(void);
+@end
+
+@implementation NMBExceptionCapture
+
+- (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally {
+    self = [super init];
+    if (self) {
+        self.handler = handler;
+        self.finally = finally;
+    }
+    return self;
+}
+
+- (void)tryBlock:(__attribute__((noescape)) void(^ _Nonnull)(void))unsafeBlock {
+    @try {
+        unsafeBlock();
+    }
+    @catch (NSException *exception) {
+        if (self.handler) {
+            self.handler(exception);
+        }
+    }
+    @finally {
+        if (self.finally) {
+            self.finally();
+        }
+    }
+}
+
+@end

+ 18 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h

@@ -0,0 +1,18 @@
+@class NSString;
+
+/**
+ * Returns a string appropriate for displaying in test output
+ * from the provided value.
+ *
+ * @param anyObject 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));

+ 11 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.m

@@ -0,0 +1,11 @@
+#import "NMBStringify.h"
+
+#if __has_include("Nimble-Swift.h")
+#import "Nimble-Swift.h"
+#else
+#import <Nimble/Nimble-Swift.h>
+#endif
+
+NSString *_Nonnull NMBStringify(id _Nullable anyObject) {
+    return [NMBStringer stringify:anyObject];
+}

+ 12 - 0
Example/Pods/Nimble/Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m

@@ -0,0 +1,12 @@
+#import <XCTest/XCTest.h>
+
+#if __has_include("Nimble-Swift.h")
+#import "Nimble-Swift.h"
+#else
+#import <Nimble/Nimble-Swift.h>
+#endif
+
+__attribute__((constructor))
+static void registerCurrentTestCaseTracker(void) {
+    [[XCTestObservationCenter sharedTestObservationCenter] addTestObserver:[CurrentTestCaseTracker sharedInstance]];
+}

+ 1530 - 0
Example/Pods/Pods.xcodeproj/project.pbxproj

@@ -0,0 +1,1530 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		018228C4760DF4F8B80630BC9ACCB39E /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 594091E6966D51FDFA5ACE8A1D3F3102 /* DSL.swift */; };
+		02EDE6F260E8E95CAC741342606CBE65 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */; };
+		0892D14FE7A3452423E9129D7917664B /* MatchError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1DB1CB92EE7BAAD3F0A4E9028FC41E19 /* MatchError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		092256E303520E50ADEFF25EEB4E73EE /* CwlCatchException.h in Headers */ = {isa = PBXBuildFile; fileRef = 89C120E8CB355F1685358BABF43A55F4 /* CwlCatchException.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		10C8810E574F925B5CD3449B6DBE6EC0 /* Quick.h in Headers */ = {isa = PBXBuildFile; fileRef = A508FA505DD93EA63E80B33C57C3E77F /* Quick.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		13D2A4D59DD9612E1AA7F3182A342162 /* mach_excServer.c in Sources */ = {isa = PBXBuildFile; fileRef = 954F6BC7A562658C4FAC057034F6DF28 /* mach_excServer.c */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		14ECE81218F5F5C9BEF00819A7C078EC /* Closures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 523F4123831772C0FEEBA7A82BBA31B6 /* Closures.swift */; };
+		192A3F8BEC1A99FD8712D3E09724D72C /* FailureMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA47ACC5B8D31AD74D5BDD185A24EB83 /* FailureMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		1A8DF79F5EF3D69864A84173E7C9810E /* QCKDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AB5021AED5A79789DB0F55EBB7D8BF9 /* QCKDSL.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		209F98BB7B328893FB64BA0393B4BD57 /* HooksPhase.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9F174D27705CD0D5B6F171827327860 /* HooksPhase.swift */; };
+		22B5B4ED0824E7BAF2091AAD6238A73F /* QuickSpecBase.m in Sources */ = {isa = PBXBuildFile; fileRef = B4CB748969F898E8B2D944D91048B9E7 /* QuickSpecBase.m */; };
+		234849AD309265FD107C74357FC8C0CF /* DSL+Wait.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBF387039B2DC4270F36FD13A7813998 /* DSL+Wait.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		2391FFD3230B40E2348B5257D6296BBB /* BeGreaterThanOrEqualTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AD3AF88890C99BAA08985BE77E2DDB5 /* BeGreaterThanOrEqualTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		26B9FEAB3DE0C8B91709D53571752A3B /* MatcherFunc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F44B17DA62382C7121454B223F1D657 /* MatcherFunc.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		2B350015B9F7546D0769649EE12D7D1A /* NimbleXCTestHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490962BE2E7AE1C9C99C88AAFF313A36 /* NimbleXCTestHandler.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		2F0B5199CDB717CA9F680579900ABF15 /* QuickSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = C9DB303F07D27158CB8EC0B8E56B7642 /* QuickSpec.m */; };
+		3262B230B938C8D6522790093FEAF69D /* EndWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E99F32A6E1B477313ABF52268A5DD9 /* EndWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		330E8E4A6596ED625E9B34C94CC4136E /* Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C77AA252D921D9F781947342B32BD2C /* Await.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		3460FEA0CEADB05D3B56C2E1CAF9590C /* ElementsEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FE8329CB767946F10D7670C3D2F2E5D /* ElementsEqual.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		39133A7716CEDEB690A7DA9D12C45C4D /* CwlDarwinDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87BB9146E1E5F365B3AABE6628A63668 /* CwlDarwinDefinitions.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		39382B0A1EF090D15BA6C89FC3DCB099 /* QuickTestObservation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D98EC2B9A6E8D71516EEE113E30C815 /* QuickTestObservation.swift */; };
+		3BD0C370BBCEBDEA68B8EDBD969370EB /* mach_excServer.h in Headers */ = {isa = PBXBuildFile; fileRef = 81198E1639BBB9C9E493D053771AC85F /* mach_excServer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		3D08F9A40AF8BF56C1968A4C5A4614C2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */; };
+		3D6A581E79FD9EAC1A948D8BC53F1EB0 /* QuickConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1806132AB751DBCAEF39424E99FF7E48 /* QuickConfiguration.swift */; };
+		4203EF96811AE514D64AE069311B1575 /* AllPass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B44EBE2F631E83E50230D1D5C2B60B9 /* AllPass.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		42F76698690916E0407F51610D829412 /* BeGreaterThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B1E015A67D2713F4D5B3495D7F5998F /* BeGreaterThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		44C9470137EF941955A1FDCE71D68C26 /* MatcherProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA3DDCB6B80D524D57AF614AED6AB6D6 /* MatcherProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		46B90B2CF2EB97B38C43A31E9A5478C2 /* PostNotification.swift in Sources */ = {isa = PBXBuildFile; fileRef = D68449DF12C60B758810B54D0D9E765A /* PostNotification.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		46BDEBF35D99D2CC53EF72DFC5BDCDCC /* BeLessThanOrEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69F4FFB8824BD342281F72C24E037285 /* BeLessThanOrEqual.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		4A9E7C1A8B697A1C0B0A1E0DF855A591 /* CwlCatchException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A11214D026282403D37CAC457C63018 /* CwlCatchException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		4ADE5FC9505A3BF7DF17AF9756585116 /* QCKDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 542E00A09ADF6969002F294486379CA5 /* QCKDSL.m */; };
+		4E1DBC9FF76D6AD924D1356260438074 /* QuickSelectedTestSuiteBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 637766238BDCE72CD1391DC53DAD2A35 /* QuickSelectedTestSuiteBuilder.swift */; };
+		512AAF465EE936155DD9BBA92368928E /* Quick-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003A0919C1520027218C3524274F5CC /* Quick-dummy.m */; };
+		52AB6461CAA9481D24835F3E48301FC6 /* BeIdenticalTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86E3F62BF8994B15149B631FFE3A3F6B /* BeIdenticalTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		5578F928AEFA8B2B7CC542033590DFD6 /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = 997E3C9A4E54852FAAAFB65176D09663 /* Match.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		58A884856B7E64EE3C204D9EDAA14045 /* Behavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86640C5D85CC40B3A5EEB28B78D43642 /* Behavior.swift */; };
+		59BF9ABA8BB14E0E4E345D13AB6D49FB /* ExampleMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = E53AAC35DDA6405D32FA0526DEB205E9 /* ExampleMetadata.swift */; };
+		5B6F70DDD4C63CF6ED95291BCB633494 /* ContainElementSatisfying.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F46181740138A92A0B7FCE7E8ECE607 /* ContainElementSatisfying.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		602E3758C0EF64AF6B7FCEA05BF5B9B9 /* Expectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 231889EA66F2EF212C06F43E04D61B86 /* Expectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		64E26D7D025AC4462DFA8BA66B38C9D8 /* HaveCount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4967FEA1387F54C885240CECC218DF15 /* HaveCount.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		65AFB883DC33E616E6102F5AEAE9D706 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5EBC8F300895E39EA0DF6D6B2B5E6BCD /* XCTest.framework */; };
+		70D52E555624F23035346B2F0CEB83A8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */; };
+		72FB8CEABF346A37D54CC08647489A98 /* ThrowAssertion.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF6EE2BFEE0CDF94C98E529F7AE9E50D /* ThrowAssertion.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		7536DD99ACEDE673713161E597B7B447 /* ExampleHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DA15B5F498774DBFDCA9497B7821D6E /* ExampleHooks.swift */; };
+		76E7C7CDAA543C791A714B991F595F2B /* QuickSpecBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 847ED05B262AD8DA1B5869820F489113 /* QuickSpecBase.h */; settings = {ATTRIBUTES = (Project, ); }; };
+		78A51B7FCC1DFB888AAA254529013C12 /* BeginWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 052BB171EB6EE439F34ECE05A0A927A1 /* BeginWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		7AC93EB6DCDA9226165D5BC354FE7BC6 /* DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = C67BBBBC8392BA7326C5A3E09091744D /* DSL.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		7CE6049975894E447F2D4071C74F6F8F /* Callsite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 618493BCA98C0773B1245A2F563A6E8E /* Callsite.swift */; };
+		7DAC86DCBC36C10F43FA5FEB819B7BF1 /* Functional.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD1BF7A6A240D39BCDD16B3A9B1C3D27 /* Functional.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		7EB28FEC3D0ABA1A2A6CFE57C400F74D /* QuickSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 80EBC760E3C412597254F73E451DFEFC /* QuickSpec.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		7F24B8A71469132EB0A48B655A5E30B0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */; };
+		806B9040D79A3DC58FB56EAC16FE19BF /* Stringers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83A5F05097FD7921C35D1FAE18E04152 /* Stringers.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		80DEBE41D84FBA1C4D4FE00C8D797E82 /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = 944BCB5D21E910CF01815DFA63020F8C /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		887AF8C809D60140319DE71D6427F370 /* NSBundle+CurrentTestBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5488DC431E4914985C4BE0A337A8B0 /* NSBundle+CurrentTestBundle.swift */; };
+		89EE4D6DBDB79963D65AA1E67B543B6D /* CwlCatchBadInstruction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14815E9DBB9751E5CE3CA6C0258BCD75 /* CwlCatchBadInstruction.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		8A0EF19254BAC5DF0885D1FBA345E016 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = CD7E0CEA6B3ABE8817D8CA2FD7331CE1 /* CwlMachBadInstructionHandler.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		8D17749611AB0C8BD51C068749D8DF68 /* NMBExceptionCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = AF1218B481AC55E586E4E993E5C62B43 /* NMBExceptionCapture.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		8D543DAD9A6C0B8BF8A5DB38AD876677 /* SatisfyAnyOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = A762D77E02E19BF3D9C72C830364E595 /* SatisfyAnyOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		8D75EC8969EA46FBD6E1BED7791A3C37 /* BeLogical.swift in Sources */ = {isa = PBXBuildFile; fileRef = 570B465067B4A9E3E91FAC609212468F /* BeLogical.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		8E4A2F4A1EF16B63817A516CC2743619 /* Quick-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 71519851BE602952F6A8B7F1BD49C47E /* Quick-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		9231B70907F130F31CF5717C502B780C /* ExampleGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B9FF41D5900AD165160731F2C227F18 /* ExampleGroup.swift */; };
+		94B18F2CFF543F6B2E43E84630C337E2 /* SuiteHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A4C13D3E16F5CC104B4F9E6E0509CE1 /* SuiteHooks.swift */; };
+		94DA3131D64B3D904BE28E72F1871065 /* BeAKindOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7E3F49F23D9F10AE6C0599B84EFA0BB /* BeAKindOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		99E8019F4689A514DAC6AA40AFF7352E /* NMBObjCMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4BB83ADCF34C645A8F6F9D48964638D /* NMBObjCMatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		9B9714C476F416AD7FD803EA1184D113 /* BeLessThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96D2D452083ACED7A612FBD96551337A /* BeLessThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		9BB5E9B6487FE95C710687B484C17161 /* Nimble.h in Headers */ = {isa = PBXBuildFile; fileRef = 3F617AC0B1B68FD97BFF9F0ACB1B38A5 /* Nimble.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		9C460BA614D4B1D314A252C4C5CE1D87 /* BeAnInstanceOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6162A95C1568E1D4B129D6FE1090EFA0 /* BeAnInstanceOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		9D7B1AFB65DC11E69C3EB1CB41DC1EBA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */; };
+		9E874C00792FA983399C03EC00AE326D /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 05F7CB7F460539B70D21A7B3E3A3E6A0 /* XCTestSuite+QuickTestSuiteBuilder.m */; };
+		9F70369EF71BD9ABAFF687AF532CC20D /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = AB7319A5B600D7C401B640C3585CCE9A /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		9FB5F3B3AAF3103848313FACD0CACBCD /* QuickConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = D3632C388A7C67235660658982B4FB98 /* QuickConfiguration.m */; };
+		A35159AD5A7A49BA9093F29B63DBD30D /* String+C99ExtendedIdentifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E951F812A424CE407FEB85DA8B2C545 /* String+C99ExtendedIdentifier.swift */; };
+		A6CE2E672C8EB4DF57485428AFD64A3C /* URL+FileName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088187977DB634D609449A6273B74B0D /* URL+FileName.swift */; };
+		A7F5B07BF96955EFDC9106335235EDB2 /* QuickTestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = F785A9D92F5403AECF938E620FD0DA61 /* QuickTestSuite.swift */; };
+		A9996A6303084D17B9C439CB132A1F69 /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC98554BF8ADD662EC646D38357CF8AE /* DSL.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		AD69407E2FA1D39A9E09248052F2D81B /* ExpectationMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0AC8F7F1FE6F6E08F0EC5F451E062B1 /* ExpectationMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		AF60C00928A7AFE04E374B620EEA5F49 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A6BBF570610A2A47EAD3F82A0BEBD6F /* Filter.swift */; };
+		B0E563C5FE513FDEC8280F76F2C44D2D /* ReplaceMe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4766397185A31AF91A9E731FAFD7615B /* ReplaceMe.swift */; };
+		B2A65EEDB5D5EC246EA68E10964FF7B3 /* ThrowError.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAD0B511D8C583092DE2CBAF7279D7B5 /* ThrowError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		B3A32EBE8922892BA2CD27B7EE956353 /* Pods-BFFramework_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5265ACF2DFC4107A8FEDA54484C1BF61 /* Pods-BFFramework_Tests-dummy.m */; };
+		B4058A2AA8486E9879F113E6F67B9679 /* AdapterProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C88093BCB1EB350F8469D2BB0E84218 /* AdapterProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		B48508EB39EE315F5A00429EEA69DD63 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1576E984B3DAAB4DC55E32F57AFDF3 /* Configuration.swift */; };
+		B4F7F0DB222599FD5197A0AC7BFAF295 /* BFFramework-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 29074FA18D1395061AA22B57407409F5 /* BFFramework-dummy.m */; };
+		B6CC23C6C288F4EB9EDD3A06F1F5F094 /* Predicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98A7FAAEAD1BBF385E603D52A4C5458B /* Predicate.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		B71070160CF07EFA99ED0445B0D191E7 /* Nimble-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 75DD31140F6CF34B81536308FA3E2338 /* Nimble-dummy.m */; };
+		B7662703AF8D3FFFCB0070C50FEDCC58 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B44CD33E71326E3768804E73E6C75EB /* Errors.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		B79FC6E46F642C3FC74B3E6D9175B1AB /* SatisfyAllOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA3DB08ED09D298DA83102EB4BAAE54D /* SatisfyAllOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		BE56C54CD29F23A1C631645390E8569D /* ErrorUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 330449905CBD0256B295240608C83E2E /* ErrorUtility.swift */; };
+		BFEBC90223F66B0FF770B92B1C670BCF /* QuickConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = D92C57D471EE3A427AB823E625B39311 /* QuickConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		C051C0411627BD5FCDA031782EB1F716 /* DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = DD94E448E7BD07EB326E452082EEC7E1 /* DSL.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		C0C98C8C7D07E1598F20EE2F0539197D /* NMBExpectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46148431FD0ED2A2565F0AEA34C343D0 /* NMBExpectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		C3D10EFDB296CDE0A3A6576C07C8D634 /* Pods-BFFramework_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DF99AB77CB3702CA72212CF5A8C14953 /* Pods-BFFramework_Example-dummy.m */; };
+		C903AEFEEB4E73644A03FB8285543107 /* BeEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = B50EFFB0F1B4F7596CD02E28BA0B59B8 /* BeEmpty.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		C979EEB0159A65246F6BD2C906A8ADB7 /* BeVoid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 726D96C5E3FE9C70B85B8000AC8AEF9F /* BeVoid.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		C99BBC3F70E056CB6A3CC0516318939D /* AssertionDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22ABEEDFE785CFD93BACDA971926BF41 /* AssertionDispatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		C9E716023868A97D2F5B19934D93045E /* World+DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 721033FB74EBCC58DA3D43D45B053734 /* World+DSL.swift */; };
+		CC4ADD86C0F0C3EA8CDF6F610FE4F807 /* BFFramework-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 91304DBD577930D10691B9F78B396AAB /* BFFramework-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		CD6B1F146B0E157FE5B9CAFFAE77A5B5 /* Nimble-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B95D4706E6510E2870F2176D49F24BDA /* Nimble-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		CEE8D31A4E76BB7B350BF2A7175D4BC2 /* NMBExceptionCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = D9E16292DE512FF00FB3EB67A3647BCE /* NMBExceptionCapture.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		CF9218FF56D8EE43681150A3E1635C9A /* ToSucceed.swift in Sources */ = {isa = PBXBuildFile; fileRef = E202073905CD8DFFF6CF21247D1D7C12 /* ToSucceed.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		D2C041844A0EB4EB2E8C7B9DAA748EEB /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29464526915A7F01A5F16D211105A01E /* Example.swift */; };
+		D34D0540ADCBF163575B6B5444B1AAF6 /* Contain.swift in Sources */ = {isa = PBXBuildFile; fileRef = A47630CFC1B0CD18333DBABE56C27754 /* Contain.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		D7DB3539B81122487DB94E87DF3B6BB4 /* Pods-BFFramework_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FC8257BB06D6990F1A527C5F07D8BC2F /* Pods-BFFramework_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		D9CFB8E5E354D7BE61D092259779F437 /* Equal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68C671F91C5B38250E669AA8DE3F8DFC /* Equal.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		D9D6150D329A87CBB415FD349F0C50FD /* SourceLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 547B0E07324AAB4A51E7FA45158C74D5 /* SourceLocation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		DB84342A0C0DEABBF7F729DE55225D82 /* XCTestObservationCenter+Register.m in Sources */ = {isa = PBXBuildFile; fileRef = D5E6ECB0636970F373A68D06DE828E5E /* XCTestObservationCenter+Register.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		DCD198D49C0A198A09525B7688EE3BC9 /* Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80C8299C3A51F85081C442B97E8C00CF /* Async.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		E0EAC85F7ACFAD998B14FCE66144000E /* NMBStringify.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C75C5B5F7DEA478ED05BAD00A3F9574 /* NMBStringify.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		E458AAE1AE9E2250F29806E5633B1860 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF764A166A145573A686ED8BCC1FEB67 /* Expression.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		EC7EF3D5778783BD93EBC6F82016ADA9 /* BeNil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AC1F68B419970B94CFDB6EBC370505 /* BeNil.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		ECCA1FA570A912E8CDB54EB843F1D030 /* NimbleEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9DFFCF74125876A658B852971A7C6F2E /* NimbleEnvironment.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		EEDC4B04E9CACDF18F54E9AB0D96260E /* Pods-BFFramework_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E41CEC98E32003DAEBC41E91E6CCA2F /* Pods-BFFramework_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		F01995755687FA91F51A15ED8FD9D125 /* World.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDA602A1771389806AD7B90FEE90CC89 /* World.swift */; };
+		F27A7DE93F66B0C12B4C646D99F5B9F4 /* CwlCatchException.m in Sources */ = {isa = PBXBuildFile; fileRef = 58EFBA10E176B1CE1CF84186B514EF2E /* CwlCatchException.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		F310B21703A7BC438A09DDB96670583F /* AssertionRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABC76F78CF99ECC5A365CDA56AA395AC /* AssertionRecorder.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		F4877B3857C780DCDB7F413A03F95600 /* BeCloseTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30E3E4CB327AC29F42303E0DB1B3D88F /* BeCloseTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		F78E35D04F09485FA5DFA72FE1AD5AB2 /* NMBStringify.m in Sources */ = {isa = PBXBuildFile; fileRef = DE14D6109C61B2D4EA2AF36C79A231D7 /* NMBStringify.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		F9E85548BF1EF8C5035BAF92233C34B6 /* RaisesException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B6D43CE5AA9C07E71CE985B2DD3556 /* RaisesException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+		FF920E965F1CA016FF302DE8C92C5122 /* CwlBadInstructionException.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA278F10CCC2C84F993A0A2030A5796C /* CwlBadInstructionException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		696FC4704D6F235E0AE5DBB815CA9E59 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = B9929C1CE753573F4D2B4687B212F1B7;
+			remoteInfo = BFFramework;
+		};
+		9764E92CF0FC715E88A8247F207456D1 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 91E43DE0BC884291B9D52435ACD1DB03;
+			remoteInfo = "Pods-BFFramework_Example";
+		};
+		B555937770BF6053D9B4C78F295B0FF5 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 6F13695E06195A78EA8A95F8C7ED0D2F;
+			remoteInfo = Nimble;
+		};
+		C5295A506C8D81A8C98B200B4A163354 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = C82891EAB7293DBEE916B21F57E8474D;
+			remoteInfo = Quick;
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+		052BB171EB6EE439F34ECE05A0A927A1 /* BeginWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeginWith.swift; path = Sources/Nimble/Matchers/BeginWith.swift; sourceTree = "<group>"; };
+		05F7CB7F460539B70D21A7B3E3A3E6A0 /* XCTestSuite+QuickTestSuiteBuilder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestSuite+QuickTestSuiteBuilder.m"; path = "Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m"; sourceTree = "<group>"; };
+		088187977DB634D609449A6273B74B0D /* URL+FileName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URL+FileName.swift"; path = "Sources/Quick/URL+FileName.swift"; sourceTree = "<group>"; };
+		0AD3AF88890C99BAA08985BE77E2DDB5 /* BeGreaterThanOrEqualTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThanOrEqualTo.swift; path = Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift; sourceTree = "<group>"; };
+		0B5488DC431E4914985C4BE0A337A8B0 /* NSBundle+CurrentTestBundle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSBundle+CurrentTestBundle.swift"; path = "Sources/Quick/NSBundle+CurrentTestBundle.swift"; sourceTree = "<group>"; };
+		0D631E9908483F9525A6B3F36F16CC61 /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Quick.framework; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		14815E9DBB9751E5CE3CA6C0258BCD75 /* CwlCatchBadInstruction.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlCatchBadInstruction.swift; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift; sourceTree = "<group>"; };
+		1806132AB751DBCAEF39424E99FF7E48 /* QuickConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickConfiguration.swift; path = Sources/Quick/Configuration/QuickConfiguration.swift; sourceTree = "<group>"; };
+		1A4C13D3E16F5CC104B4F9E6E0509CE1 /* SuiteHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SuiteHooks.swift; path = Sources/Quick/Hooks/SuiteHooks.swift; sourceTree = "<group>"; };
+		1B5DE0BACD9C50DBF2BF9B7132E00C2C /* Quick.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Quick.modulemap; sourceTree = "<group>"; };
+		1DB1CB92EE7BAAD3F0A4E9028FC41E19 /* MatchError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatchError.swift; path = Sources/Nimble/Matchers/MatchError.swift; sourceTree = "<group>"; };
+		22ABEEDFE785CFD93BACDA971926BF41 /* AssertionDispatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionDispatcher.swift; path = Sources/Nimble/Adapters/AssertionDispatcher.swift; sourceTree = "<group>"; };
+		231889EA66F2EF212C06F43E04D61B86 /* Expectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expectation.swift; path = Sources/Nimble/Expectation.swift; sourceTree = "<group>"; };
+		24651409E93398F45211DBE1B5624D03 /* Pods-BFFramework_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BFFramework_Example-Info.plist"; sourceTree = "<group>"; };
+		270A65A681677B6E71B5F9E6696FDE47 /* BFFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = BFFramework.debug.xcconfig; sourceTree = "<group>"; };
+		28EEF18529F24F3D39B167DE05AF7D85 /* Pods-BFFramework_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-BFFramework_Tests.modulemap"; sourceTree = "<group>"; };
+		29074FA18D1395061AA22B57407409F5 /* BFFramework-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "BFFramework-dummy.m"; sourceTree = "<group>"; };
+		29464526915A7F01A5F16D211105A01E /* Example.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Example.swift; path = Sources/Quick/Example.swift; sourceTree = "<group>"; };
+		2A11214D026282403D37CAC457C63018 /* CwlCatchException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlCatchException.swift; path = Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift; sourceTree = "<group>"; };
+		2C77AA252D921D9F781947342B32BD2C /* Await.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Await.swift; path = Sources/Nimble/Utils/Await.swift; sourceTree = "<group>"; };
+		2D9BFC41B761DDAB5C1BE811146D806A /* Quick.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Quick.release.xcconfig; sourceTree = "<group>"; };
+		2DA15B5F498774DBFDCA9497B7821D6E /* ExampleHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleHooks.swift; path = Sources/Quick/Hooks/ExampleHooks.swift; sourceTree = "<group>"; };
+		2F46181740138A92A0B7FCE7E8ECE607 /* ContainElementSatisfying.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ContainElementSatisfying.swift; path = Sources/Nimble/Matchers/ContainElementSatisfying.swift; sourceTree = "<group>"; };
+		2F8827B56846ED161746160FB6B60B71 /* Nimble-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-prefix.pch"; sourceTree = "<group>"; };
+		30E3E4CB327AC29F42303E0DB1B3D88F /* BeCloseTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeCloseTo.swift; path = Sources/Nimble/Matchers/BeCloseTo.swift; sourceTree = "<group>"; };
+		330449905CBD0256B295240608C83E2E /* ErrorUtility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ErrorUtility.swift; path = Sources/Quick/ErrorUtility.swift; sourceTree = "<group>"; };
+		3B1E015A67D2713F4D5B3495D7F5998F /* BeGreaterThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThan.swift; path = Sources/Nimble/Matchers/BeGreaterThan.swift; sourceTree = "<group>"; };
+		3E41CEC98E32003DAEBC41E91E6CCA2F /* Pods-BFFramework_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BFFramework_Tests-umbrella.h"; sourceTree = "<group>"; };
+		3F44B17DA62382C7121454B223F1D657 /* MatcherFunc.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherFunc.swift; path = Sources/Nimble/Matchers/MatcherFunc.swift; sourceTree = "<group>"; };
+		3F617AC0B1B68FD97BFF9F0ACB1B38A5 /* Nimble.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nimble.h; path = Sources/Nimble/Nimble.h; sourceTree = "<group>"; };
+		40E99F32A6E1B477313ABF52268A5DD9 /* EndWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EndWith.swift; path = Sources/Nimble/Matchers/EndWith.swift; sourceTree = "<group>"; };
+		448083A2F92E1ACA9FB1B567B8A0C594 /* Nimble.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nimble.release.xcconfig; sourceTree = "<group>"; };
+		46148431FD0ED2A2565F0AEA34C343D0 /* NMBExpectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBExpectation.swift; path = Sources/Nimble/Adapters/NMBExpectation.swift; sourceTree = "<group>"; };
+		4766397185A31AF91A9E731FAFD7615B /* ReplaceMe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaceMe.swift; path = BFFramework/Classes/ReplaceMe.swift; sourceTree = "<group>"; };
+		477C3E80C41F797EC65DCBE56070CE64 /* Pods-BFFramework_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BFFramework_Tests-frameworks.sh"; sourceTree = "<group>"; };
+		490962BE2E7AE1C9C99C88AAFF313A36 /* NimbleXCTestHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleXCTestHandler.swift; path = Sources/Nimble/Adapters/NimbleXCTestHandler.swift; sourceTree = "<group>"; };
+		4967FEA1387F54C885240CECC218DF15 /* HaveCount.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HaveCount.swift; path = Sources/Nimble/Matchers/HaveCount.swift; sourceTree = "<group>"; };
+		4B44CD33E71326E3768804E73E6C75EB /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = Sources/Nimble/Utils/Errors.swift; sourceTree = "<group>"; };
+		4B9FF41D5900AD165160731F2C227F18 /* ExampleGroup.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleGroup.swift; path = Sources/Quick/ExampleGroup.swift; sourceTree = "<group>"; };
+		4C75C5B5F7DEA478ED05BAD00A3F9574 /* NMBStringify.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBStringify.h; path = Sources/NimbleObjectiveC/NMBStringify.h; sourceTree = "<group>"; };
+		4E1F4D21AAEA22E07F70EA57606FE750 /* Pods-BFFramework_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BFFramework_Example.debug.xcconfig"; sourceTree = "<group>"; };
+		4F99FBEFAEF823C9DD547A239637FDFC /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
+		508EBCA2707C59022B684D6631D69B28 /* BFFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = BFFramework.framework; path = BFFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		523F4123831772C0FEEBA7A82BBA31B6 /* Closures.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Closures.swift; path = Sources/Quick/Hooks/Closures.swift; sourceTree = "<group>"; };
+		5265ACF2DFC4107A8FEDA54484C1BF61 /* Pods-BFFramework_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BFFramework_Tests-dummy.m"; sourceTree = "<group>"; };
+		542E00A09ADF6969002F294486379CA5 /* QCKDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QCKDSL.m; path = Sources/QuickObjectiveC/DSL/QCKDSL.m; sourceTree = "<group>"; };
+		547B0E07324AAB4A51E7FA45158C74D5 /* SourceLocation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SourceLocation.swift; path = Sources/Nimble/Utils/SourceLocation.swift; sourceTree = "<group>"; };
+		548C65A42D941A72BF7937BD78578DDD /* Pods-BFFramework_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BFFramework_Example-acknowledgements.plist"; sourceTree = "<group>"; };
+		570B465067B4A9E3E91FAC609212468F /* BeLogical.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLogical.swift; path = Sources/Nimble/Matchers/BeLogical.swift; sourceTree = "<group>"; };
+		57AC1F68B419970B94CFDB6EBC370505 /* BeNil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeNil.swift; path = Sources/Nimble/Matchers/BeNil.swift; sourceTree = "<group>"; };
+		58EFBA10E176B1CE1CF84186B514EF2E /* CwlCatchException.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CwlCatchException.m; path = Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m; sourceTree = "<group>"; };
+		594091E6966D51FDFA5ACE8A1D3F3102 /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Quick/DSL/DSL.swift; sourceTree = "<group>"; };
+		5EBC8F300895E39EA0DF6D6B2B5E6BCD /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
+		6003A0919C1520027218C3524274F5CC /* Quick-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Quick-dummy.m"; sourceTree = "<group>"; };
+		6162A95C1568E1D4B129D6FE1090EFA0 /* BeAnInstanceOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAnInstanceOf.swift; path = Sources/Nimble/Matchers/BeAnInstanceOf.swift; sourceTree = "<group>"; };
+		618493BCA98C0773B1245A2F563A6E8E /* Callsite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Callsite.swift; path = Sources/Quick/Callsite.swift; sourceTree = "<group>"; };
+		62EBA9D75F13CB49B11C741C8A3AC5C4 /* BFFramework.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = BFFramework.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		637766238BDCE72CD1391DC53DAD2A35 /* QuickSelectedTestSuiteBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickSelectedTestSuiteBuilder.swift; path = Sources/Quick/QuickSelectedTestSuiteBuilder.swift; sourceTree = "<group>"; };
+		68C671F91C5B38250E669AA8DE3F8DFC /* Equal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Equal.swift; path = Sources/Nimble/Matchers/Equal.swift; sourceTree = "<group>"; };
+		69F4FFB8824BD342281F72C24E037285 /* BeLessThanOrEqual.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThanOrEqual.swift; path = Sources/Nimble/Matchers/BeLessThanOrEqual.swift; sourceTree = "<group>"; };
+		6B44EBE2F631E83E50230D1D5C2B60B9 /* AllPass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AllPass.swift; path = Sources/Nimble/Matchers/AllPass.swift; sourceTree = "<group>"; };
+		6CAEFA64006E9CBC684AD5E48BCD6235 /* Pods-BFFramework_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-BFFramework_Example.modulemap"; sourceTree = "<group>"; };
+		6E951F812A424CE407FEB85DA8B2C545 /* String+C99ExtendedIdentifier.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+C99ExtendedIdentifier.swift"; path = "Sources/Quick/String+C99ExtendedIdentifier.swift"; sourceTree = "<group>"; };
+		71519851BE602952F6A8B7F1BD49C47E /* Quick-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-umbrella.h"; sourceTree = "<group>"; };
+		721033FB74EBCC58DA3D43D45B053734 /* World+DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "World+DSL.swift"; path = "Sources/Quick/DSL/World+DSL.swift"; sourceTree = "<group>"; };
+		726D96C5E3FE9C70B85B8000AC8AEF9F /* BeVoid.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeVoid.swift; path = Sources/Nimble/Matchers/BeVoid.swift; sourceTree = "<group>"; };
+		75DD31140F6CF34B81536308FA3E2338 /* Nimble-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nimble-dummy.m"; sourceTree = "<group>"; };
+		7C88093BCB1EB350F8469D2BB0E84218 /* AdapterProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AdapterProtocols.swift; path = Sources/Nimble/Adapters/AdapterProtocols.swift; sourceTree = "<group>"; };
+		7FE8329CB767946F10D7670C3D2F2E5D /* ElementsEqual.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ElementsEqual.swift; path = Sources/Nimble/Matchers/ElementsEqual.swift; sourceTree = "<group>"; };
+		80C8299C3A51F85081C442B97E8C00CF /* Async.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Async.swift; path = Sources/Nimble/Matchers/Async.swift; sourceTree = "<group>"; };
+		80EBC760E3C412597254F73E451DFEFC /* QuickSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickSpec.h; path = Sources/QuickObjectiveC/QuickSpec.h; sourceTree = "<group>"; };
+		81198E1639BBB9C9E493D053771AC85F /* mach_excServer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = mach_excServer.h; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h; sourceTree = "<group>"; };
+		81985B091DE617E8B51F097151655F8B /* BFFramework-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BFFramework-prefix.pch"; sourceTree = "<group>"; };
+		82B32447D52C06B723F3C938D50359F0 /* Pods-BFFramework_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BFFramework_Tests-Info.plist"; sourceTree = "<group>"; };
+		83A5F05097FD7921C35D1FAE18E04152 /* Stringers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stringers.swift; path = Sources/Nimble/Utils/Stringers.swift; sourceTree = "<group>"; };
+		8400604A69841E18CDDCE9D51C83278A /* Pods-BFFramework_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BFFramework_Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
+		847ED05B262AD8DA1B5869820F489113 /* QuickSpecBase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickSpecBase.h; path = Sources/QuickObjCRuntime/include/QuickSpecBase.h; sourceTree = "<group>"; };
+		86640C5D85CC40B3A5EEB28B78D43642 /* Behavior.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Behavior.swift; path = Sources/Quick/Behavior.swift; sourceTree = "<group>"; };
+		86E3F62BF8994B15149B631FFE3A3F6B /* BeIdenticalTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeIdenticalTo.swift; path = Sources/Nimble/Matchers/BeIdenticalTo.swift; sourceTree = "<group>"; };
+		87BB9146E1E5F365B3AABE6628A63668 /* CwlDarwinDefinitions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlDarwinDefinitions.swift; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift; sourceTree = "<group>"; };
+		8999D718B1A7BD0AA268F29E54DF0B20 /* BFFramework-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "BFFramework-Info.plist"; sourceTree = "<group>"; };
+		89C120E8CB355F1685358BABF43A55F4 /* CwlCatchException.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlCatchException.h; path = Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h; sourceTree = "<group>"; };
+		8A6BBF570610A2A47EAD3F82A0BEBD6F /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = Sources/Quick/Filter.swift; sourceTree = "<group>"; };
+		8D98EC2B9A6E8D71516EEE113E30C815 /* QuickTestObservation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickTestObservation.swift; path = Sources/Quick/QuickTestObservation.swift; sourceTree = "<group>"; };
+		91304DBD577930D10691B9F78B396AAB /* BFFramework-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BFFramework-umbrella.h"; sourceTree = "<group>"; };
+		93B6D43CE5AA9C07E71CE985B2DD3556 /* RaisesException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RaisesException.swift; path = Sources/Nimble/Matchers/RaisesException.swift; sourceTree = "<group>"; };
+		944BCB5D21E910CF01815DFA63020F8C /* CwlPreconditionTesting.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlPreconditionTesting.h; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h; sourceTree = "<group>"; };
+		954F6BC7A562658C4FAC057034F6DF28 /* mach_excServer.c */ = {isa = PBXFileReference; includeInIndex = 1; name = mach_excServer.c; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.c; sourceTree = "<group>"; };
+		95889E0123DB3DE603CB36F9F76918D0 /* Pods-BFFramework_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BFFramework_Tests.release.xcconfig"; sourceTree = "<group>"; };
+		96D2D452083ACED7A612FBD96551337A /* BeLessThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThan.swift; path = Sources/Nimble/Matchers/BeLessThan.swift; sourceTree = "<group>"; };
+		98A7FAAEAD1BBF385E603D52A4C5458B /* Predicate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Predicate.swift; path = Sources/Nimble/Matchers/Predicate.swift; sourceTree = "<group>"; };
+		997E3C9A4E54852FAAAFB65176D09663 /* Match.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Match.swift; path = Sources/Nimble/Matchers/Match.swift; sourceTree = "<group>"; };
+		9AB5021AED5A79789DB0F55EBB7D8BF9 /* QCKDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QCKDSL.h; path = Sources/QuickObjectiveC/DSL/QCKDSL.h; sourceTree = "<group>"; };
+		9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		9DFFCF74125876A658B852971A7C6F2E /* NimbleEnvironment.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleEnvironment.swift; path = Sources/Nimble/Adapters/NimbleEnvironment.swift; sourceTree = "<group>"; };
+		9FFFF1A2D49640AAF5180D9969AF2B67 /* BFFramework.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = BFFramework.modulemap; sourceTree = "<group>"; };
+		A47630CFC1B0CD18333DBABE56C27754 /* Contain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Contain.swift; path = Sources/Nimble/Matchers/Contain.swift; sourceTree = "<group>"; };
+		A508FA505DD93EA63E80B33C57C3E77F /* Quick.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Quick.h; path = Sources/QuickObjectiveC/Quick.h; sourceTree = "<group>"; };
+		A762D77E02E19BF3D9C72C830364E595 /* SatisfyAnyOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SatisfyAnyOf.swift; path = Sources/Nimble/Matchers/SatisfyAnyOf.swift; sourceTree = "<group>"; };
+		AAA78D2ECA2E4948C85B34FB35124825 /* Pods-BFFramework_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BFFramework_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
+		AB7319A5B600D7C401B640C3585CCE9A /* CwlMachBadInstructionHandler.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlMachBadInstructionHandler.h; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h; sourceTree = "<group>"; };
+		ABC76F78CF99ECC5A365CDA56AA395AC /* AssertionRecorder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionRecorder.swift; path = Sources/Nimble/Adapters/AssertionRecorder.swift; sourceTree = "<group>"; };
+		AF1218B481AC55E586E4E993E5C62B43 /* NMBExceptionCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBExceptionCapture.h; path = Sources/NimbleObjectiveC/NMBExceptionCapture.h; sourceTree = "<group>"; };
+		B4CB748969F898E8B2D944D91048B9E7 /* QuickSpecBase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickSpecBase.m; path = Sources/QuickObjCRuntime/QuickSpecBase.m; sourceTree = "<group>"; };
+		B50EFFB0F1B4F7596CD02E28BA0B59B8 /* BeEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeEmpty.swift; path = Sources/Nimble/Matchers/BeEmpty.swift; sourceTree = "<group>"; };
+		B58207DEA8B12B5E83678DD23FA00550 /* Pods-BFFramework_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BFFramework_Tests-acknowledgements.plist"; sourceTree = "<group>"; };
+		B95D4706E6510E2870F2176D49F24BDA /* Nimble-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-umbrella.h"; sourceTree = "<group>"; };
+		B9C686BA4FD8A50172230472323FE50A /* Pods-BFFramework_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BFFramework_Example-frameworks.sh"; sourceTree = "<group>"; };
+		BA3DB08ED09D298DA83102EB4BAAE54D /* SatisfyAllOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SatisfyAllOf.swift; path = Sources/Nimble/Matchers/SatisfyAllOf.swift; sourceTree = "<group>"; };
+		BAE263041362D074978BB3B577DF0A05 /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Nimble.framework; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		BD1BF7A6A240D39BCDD16B3A9B1C3D27 /* Functional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Functional.swift; path = Sources/Nimble/Utils/Functional.swift; sourceTree = "<group>"; };
+		C0141526DC69D1961DD345A499664266 /* Quick-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-prefix.pch"; sourceTree = "<group>"; };
+		C67BBBBC8392BA7326C5A3E09091744D /* DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DSL.m; path = Sources/NimbleObjectiveC/DSL.m; sourceTree = "<group>"; };
+		C94BB38F25E07B61B9628EBAA6915774 /* Pods-BFFramework_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BFFramework_Tests.debug.xcconfig"; sourceTree = "<group>"; };
+		C95E7EF87CCD6CA922FCAAFA45018870 /* Nimble.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Nimble.modulemap; sourceTree = "<group>"; };
+		C9DB303F07D27158CB8EC0B8E56B7642 /* QuickSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickSpec.m; path = Sources/QuickObjectiveC/QuickSpec.m; sourceTree = "<group>"; };
+		CA3DDCB6B80D524D57AF614AED6AB6D6 /* MatcherProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherProtocols.swift; path = Sources/Nimble/Matchers/MatcherProtocols.swift; sourceTree = "<group>"; };
+		CA47ACC5B8D31AD74D5BDD185A24EB83 /* FailureMessage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FailureMessage.swift; path = Sources/Nimble/FailureMessage.swift; sourceTree = "<group>"; };
+		CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
+		CC0660BC66CC2F45808BF760531C9A76 /* Pods_BFFramework_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_BFFramework_Example.framework; path = "Pods-BFFramework_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
+		CD7E0CEA6B3ABE8817D8CA2FD7331CE1 /* CwlMachBadInstructionHandler.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CwlMachBadInstructionHandler.m; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m; sourceTree = "<group>"; };
+		D0AC8F7F1FE6F6E08F0EC5F451E062B1 /* ExpectationMessage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpectationMessage.swift; path = Sources/Nimble/ExpectationMessage.swift; sourceTree = "<group>"; };
+		D3632C388A7C67235660658982B4FB98 /* QuickConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickConfiguration.m; path = Sources/QuickObjectiveC/Configuration/QuickConfiguration.m; sourceTree = "<group>"; };
+		D5E6ECB0636970F373A68D06DE828E5E /* XCTestObservationCenter+Register.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestObservationCenter+Register.m"; path = "Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m"; sourceTree = "<group>"; };
+		D62B1B7ED460AF8F085AF0E7489DD664 /* Nimble-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Nimble-Info.plist"; sourceTree = "<group>"; };
+		D68449DF12C60B758810B54D0D9E765A /* PostNotification.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PostNotification.swift; path = Sources/Nimble/Matchers/PostNotification.swift; sourceTree = "<group>"; };
+		D6C80C4F64DE5656DC232E9BD2C6A7FF /* BFFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = BFFramework.release.xcconfig; sourceTree = "<group>"; };
+		D7380DE0051D096F22FB6E14FBCFD413 /* Quick.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Quick.debug.xcconfig; sourceTree = "<group>"; };
+		D92C57D471EE3A427AB823E625B39311 /* QuickConfiguration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickConfiguration.h; path = Sources/QuickObjectiveC/Configuration/QuickConfiguration.h; sourceTree = "<group>"; };
+		D9E16292DE512FF00FB3EB67A3647BCE /* NMBExceptionCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBExceptionCapture.m; path = Sources/NimbleObjectiveC/NMBExceptionCapture.m; sourceTree = "<group>"; };
+		DD94E448E7BD07EB326E452082EEC7E1 /* DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DSL.h; path = Sources/NimbleObjectiveC/DSL.h; sourceTree = "<group>"; };
+		DE14D6109C61B2D4EA2AF36C79A231D7 /* NMBStringify.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBStringify.m; path = Sources/NimbleObjectiveC/NMBStringify.m; sourceTree = "<group>"; };
+		DE1576E984B3DAAB4DC55E32F57AFDF3 /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = Sources/Quick/Configuration/Configuration.swift; sourceTree = "<group>"; };
+		DF43FD7997B144A352DCE09ABE9BAE2C /* Pods-BFFramework_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BFFramework_Example.release.xcconfig"; sourceTree = "<group>"; };
+		DF4A912577035B95560FFCA04C2A1A0B /* Pods_BFFramework_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_BFFramework_Tests.framework; path = "Pods-BFFramework_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
+		DF99AB77CB3702CA72212CF5A8C14953 /* Pods-BFFramework_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BFFramework_Example-dummy.m"; sourceTree = "<group>"; };
+		E202073905CD8DFFF6CF21247D1D7C12 /* ToSucceed.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToSucceed.swift; path = Sources/Nimble/Matchers/ToSucceed.swift; sourceTree = "<group>"; };
+		E4BB83ADCF34C645A8F6F9D48964638D /* NMBObjCMatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBObjCMatcher.swift; path = Sources/Nimble/Adapters/NMBObjCMatcher.swift; sourceTree = "<group>"; };
+		E53AAC35DDA6405D32FA0526DEB205E9 /* ExampleMetadata.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleMetadata.swift; path = Sources/Quick/ExampleMetadata.swift; sourceTree = "<group>"; };
+		E9F174D27705CD0D5B6F171827327860 /* HooksPhase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HooksPhase.swift; path = Sources/Quick/Hooks/HooksPhase.swift; sourceTree = "<group>"; };
+		EAD0B511D8C583092DE2CBAF7279D7B5 /* ThrowError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThrowError.swift; path = Sources/Nimble/Matchers/ThrowError.swift; sourceTree = "<group>"; };
+		EC98554BF8ADD662EC646D38357CF8AE /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Nimble/DSL.swift; sourceTree = "<group>"; };
+		EDA602A1771389806AD7B90FEE90CC89 /* World.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = World.swift; path = Sources/Quick/World.swift; sourceTree = "<group>"; };
+		F2E52FC544661EEB91EB7A0864A3B284 /* Quick-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Quick-Info.plist"; sourceTree = "<group>"; };
+		F405546B21A7972B69B2F54198300B4E /* Nimble.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nimble.debug.xcconfig; sourceTree = "<group>"; };
+		F785A9D92F5403AECF938E620FD0DA61 /* QuickTestSuite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickTestSuite.swift; path = Sources/Quick/QuickTestSuite.swift; sourceTree = "<group>"; };
+		F7E3F49F23D9F10AE6C0599B84EFA0BB /* BeAKindOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAKindOf.swift; path = Sources/Nimble/Matchers/BeAKindOf.swift; sourceTree = "<group>"; };
+		FA278F10CCC2C84F993A0A2030A5796C /* CwlBadInstructionException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlBadInstructionException.swift; path = Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift; sourceTree = "<group>"; };
+		FAA682CF78B7D8794E4A898BDD9B8028 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
+		FBF387039B2DC4270F36FD13A7813998 /* DSL+Wait.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DSL+Wait.swift"; path = "Sources/Nimble/DSL+Wait.swift"; sourceTree = "<group>"; };
+		FC8257BB06D6990F1A527C5F07D8BC2F /* Pods-BFFramework_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BFFramework_Example-umbrella.h"; sourceTree = "<group>"; };
+		FF6EE2BFEE0CDF94C98E529F7AE9E50D /* ThrowAssertion.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThrowAssertion.swift; path = Sources/Nimble/Matchers/ThrowAssertion.swift; sourceTree = "<group>"; };
+		FF764A166A145573A686ED8BCC1FEB67 /* Expression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expression.swift; path = Sources/Nimble/Expression.swift; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		1356853D0F1A275E720760235A2F2ED3 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				70D52E555624F23035346B2F0CEB83A8 /* Foundation.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		1FB41F3B817F50C08A530AB486E92A06 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				9D7B1AFB65DC11E69C3EB1CB41DC1EBA /* Foundation.framework in Frameworks */,
+				65AFB883DC33E616E6102F5AEAE9D706 /* XCTest.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		366D47BC5E17184E57EFC9075DC5D808 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				3D08F9A40AF8BF56C1968A4C5A4614C2 /* Foundation.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		3FF433A3AA139719C5CC7DDBA785C777 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				7F24B8A71469132EB0A48B655A5E30B0 /* Foundation.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		55C81EE76C6A69F1F69792A679310C68 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				02EDE6F260E8E95CAC741342606CBE65 /* Foundation.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				974814B39C0012DECD183BBB91B32103 /* iOS */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		2AE33A18C7BF5F3E4D5B438D69D6E86F /* Targets Support Files */ = {
+			isa = PBXGroup;
+			children = (
+				87DB02FB29F0945FD0127C01669C4DD5 /* Pods-BFFramework_Example */,
+				E204AA461186FA594C6CCBB701E25217 /* Pods-BFFramework_Tests */,
+			);
+			name = "Targets Support Files";
+			sourceTree = "<group>";
+		};
+		340A3C5524DC6E6A2BE32BB42BF96C3F /* Development Pods */ = {
+			isa = PBXGroup;
+			children = (
+				A67554BB8BD706ED8A6E1A3E133FD0CB /* BFFramework */,
+			);
+			name = "Development Pods";
+			sourceTree = "<group>";
+		};
+		53B2DBCB8ECE9754B675EBF5DFE76012 /* Pods */ = {
+			isa = PBXGroup;
+			children = (
+				F03E3013995705FC24E6EF74DF124810 /* Nimble */,
+				6C859955489371D95E65FB1C097813F2 /* Quick */,
+			);
+			name = Pods;
+			sourceTree = "<group>";
+		};
+		5D91389F6BC1419909921ABAE8B2569B /* Pod */ = {
+			isa = PBXGroup;
+			children = (
+				62EBA9D75F13CB49B11C741C8A3AC5C4 /* BFFramework.podspec */,
+				4F99FBEFAEF823C9DD547A239637FDFC /* LICENSE */,
+				FAA682CF78B7D8794E4A898BDD9B8028 /* README.md */,
+			);
+			name = Pod;
+			sourceTree = "<group>";
+		};
+		6C859955489371D95E65FB1C097813F2 /* Quick */ = {
+			isa = PBXGroup;
+			children = (
+				86640C5D85CC40B3A5EEB28B78D43642 /* Behavior.swift */,
+				618493BCA98C0773B1245A2F563A6E8E /* Callsite.swift */,
+				523F4123831772C0FEEBA7A82BBA31B6 /* Closures.swift */,
+				DE1576E984B3DAAB4DC55E32F57AFDF3 /* Configuration.swift */,
+				594091E6966D51FDFA5ACE8A1D3F3102 /* DSL.swift */,
+				330449905CBD0256B295240608C83E2E /* ErrorUtility.swift */,
+				29464526915A7F01A5F16D211105A01E /* Example.swift */,
+				4B9FF41D5900AD165160731F2C227F18 /* ExampleGroup.swift */,
+				2DA15B5F498774DBFDCA9497B7821D6E /* ExampleHooks.swift */,
+				E53AAC35DDA6405D32FA0526DEB205E9 /* ExampleMetadata.swift */,
+				8A6BBF570610A2A47EAD3F82A0BEBD6F /* Filter.swift */,
+				E9F174D27705CD0D5B6F171827327860 /* HooksPhase.swift */,
+				0B5488DC431E4914985C4BE0A337A8B0 /* NSBundle+CurrentTestBundle.swift */,
+				9AB5021AED5A79789DB0F55EBB7D8BF9 /* QCKDSL.h */,
+				542E00A09ADF6969002F294486379CA5 /* QCKDSL.m */,
+				A508FA505DD93EA63E80B33C57C3E77F /* Quick.h */,
+				D92C57D471EE3A427AB823E625B39311 /* QuickConfiguration.h */,
+				D3632C388A7C67235660658982B4FB98 /* QuickConfiguration.m */,
+				1806132AB751DBCAEF39424E99FF7E48 /* QuickConfiguration.swift */,
+				637766238BDCE72CD1391DC53DAD2A35 /* QuickSelectedTestSuiteBuilder.swift */,
+				80EBC760E3C412597254F73E451DFEFC /* QuickSpec.h */,
+				C9DB303F07D27158CB8EC0B8E56B7642 /* QuickSpec.m */,
+				847ED05B262AD8DA1B5869820F489113 /* QuickSpecBase.h */,
+				B4CB748969F898E8B2D944D91048B9E7 /* QuickSpecBase.m */,
+				8D98EC2B9A6E8D71516EEE113E30C815 /* QuickTestObservation.swift */,
+				F785A9D92F5403AECF938E620FD0DA61 /* QuickTestSuite.swift */,
+				6E951F812A424CE407FEB85DA8B2C545 /* String+C99ExtendedIdentifier.swift */,
+				1A4C13D3E16F5CC104B4F9E6E0509CE1 /* SuiteHooks.swift */,
+				088187977DB634D609449A6273B74B0D /* URL+FileName.swift */,
+				EDA602A1771389806AD7B90FEE90CC89 /* World.swift */,
+				721033FB74EBCC58DA3D43D45B053734 /* World+DSL.swift */,
+				05F7CB7F460539B70D21A7B3E3A3E6A0 /* XCTestSuite+QuickTestSuiteBuilder.m */,
+				89EB507C584628BF3624BD0BEAA18A87 /* Support Files */,
+			);
+			name = Quick;
+			path = Quick;
+			sourceTree = "<group>";
+		};
+		6FBB3D92EEF045F0B82C35EAEBA648F6 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				508EBCA2707C59022B684D6631D69B28 /* BFFramework.framework */,
+				BAE263041362D074978BB3B577DF0A05 /* Nimble.framework */,
+				CC0660BC66CC2F45808BF760531C9A76 /* Pods_BFFramework_Example.framework */,
+				DF4A912577035B95560FFCA04C2A1A0B /* Pods_BFFramework_Tests.framework */,
+				0D631E9908483F9525A6B3F36F16CC61 /* Quick.framework */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		77C4610714CBBEB125C8A20926B33657 /* Support Files */ = {
+			isa = PBXGroup;
+			children = (
+				C95E7EF87CCD6CA922FCAAFA45018870 /* Nimble.modulemap */,
+				75DD31140F6CF34B81536308FA3E2338 /* Nimble-dummy.m */,
+				D62B1B7ED460AF8F085AF0E7489DD664 /* Nimble-Info.plist */,
+				2F8827B56846ED161746160FB6B60B71 /* Nimble-prefix.pch */,
+				B95D4706E6510E2870F2176D49F24BDA /* Nimble-umbrella.h */,
+				F405546B21A7972B69B2F54198300B4E /* Nimble.debug.xcconfig */,
+				448083A2F92E1ACA9FB1B567B8A0C594 /* Nimble.release.xcconfig */,
+			);
+			name = "Support Files";
+			path = "../Target Support Files/Nimble";
+			sourceTree = "<group>";
+		};
+		8737B030B1821170A16B4DDE3AC07129 /* Support Files */ = {
+			isa = PBXGroup;
+			children = (
+				9FFFF1A2D49640AAF5180D9969AF2B67 /* BFFramework.modulemap */,
+				29074FA18D1395061AA22B57407409F5 /* BFFramework-dummy.m */,
+				8999D718B1A7BD0AA268F29E54DF0B20 /* BFFramework-Info.plist */,
+				81985B091DE617E8B51F097151655F8B /* BFFramework-prefix.pch */,
+				91304DBD577930D10691B9F78B396AAB /* BFFramework-umbrella.h */,
+				270A65A681677B6E71B5F9E6696FDE47 /* BFFramework.debug.xcconfig */,
+				D6C80C4F64DE5656DC232E9BD2C6A7FF /* BFFramework.release.xcconfig */,
+			);
+			name = "Support Files";
+			path = "Example/Pods/Target Support Files/BFFramework";
+			sourceTree = "<group>";
+		};
+		87DB02FB29F0945FD0127C01669C4DD5 /* Pods-BFFramework_Example */ = {
+			isa = PBXGroup;
+			children = (
+				6CAEFA64006E9CBC684AD5E48BCD6235 /* Pods-BFFramework_Example.modulemap */,
+				AAA78D2ECA2E4948C85B34FB35124825 /* Pods-BFFramework_Example-acknowledgements.markdown */,
+				548C65A42D941A72BF7937BD78578DDD /* Pods-BFFramework_Example-acknowledgements.plist */,
+				DF99AB77CB3702CA72212CF5A8C14953 /* Pods-BFFramework_Example-dummy.m */,
+				B9C686BA4FD8A50172230472323FE50A /* Pods-BFFramework_Example-frameworks.sh */,
+				24651409E93398F45211DBE1B5624D03 /* Pods-BFFramework_Example-Info.plist */,
+				FC8257BB06D6990F1A527C5F07D8BC2F /* Pods-BFFramework_Example-umbrella.h */,
+				4E1F4D21AAEA22E07F70EA57606FE750 /* Pods-BFFramework_Example.debug.xcconfig */,
+				DF43FD7997B144A352DCE09ABE9BAE2C /* Pods-BFFramework_Example.release.xcconfig */,
+			);
+			name = "Pods-BFFramework_Example";
+			path = "Target Support Files/Pods-BFFramework_Example";
+			sourceTree = "<group>";
+		};
+		89EB507C584628BF3624BD0BEAA18A87 /* Support Files */ = {
+			isa = PBXGroup;
+			children = (
+				1B5DE0BACD9C50DBF2BF9B7132E00C2C /* Quick.modulemap */,
+				6003A0919C1520027218C3524274F5CC /* Quick-dummy.m */,
+				F2E52FC544661EEB91EB7A0864A3B284 /* Quick-Info.plist */,
+				C0141526DC69D1961DD345A499664266 /* Quick-prefix.pch */,
+				71519851BE602952F6A8B7F1BD49C47E /* Quick-umbrella.h */,
+				D7380DE0051D096F22FB6E14FBCFD413 /* Quick.debug.xcconfig */,
+				2D9BFC41B761DDAB5C1BE811146D806A /* Quick.release.xcconfig */,
+			);
+			name = "Support Files";
+			path = "../Target Support Files/Quick";
+			sourceTree = "<group>";
+		};
+		974814B39C0012DECD183BBB91B32103 /* iOS */ = {
+			isa = PBXGroup;
+			children = (
+				CA8B94E9D3B433157168D1EECCEC11CD /* Foundation.framework */,
+				5EBC8F300895E39EA0DF6D6B2B5E6BCD /* XCTest.framework */,
+			);
+			name = iOS;
+			sourceTree = "<group>";
+		};
+		A67554BB8BD706ED8A6E1A3E133FD0CB /* BFFramework */ = {
+			isa = PBXGroup;
+			children = (
+				4766397185A31AF91A9E731FAFD7615B /* ReplaceMe.swift */,
+				5D91389F6BC1419909921ABAE8B2569B /* Pod */,
+				8737B030B1821170A16B4DDE3AC07129 /* Support Files */,
+			);
+			name = BFFramework;
+			path = ../..;
+			sourceTree = "<group>";
+		};
+		CF1408CF629C7361332E53B88F7BD30C = {
+			isa = PBXGroup;
+			children = (
+				9D940727FF8FB9C785EB98E56350EF41 /* Podfile */,
+				340A3C5524DC6E6A2BE32BB42BF96C3F /* Development Pods */,
+				1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */,
+				53B2DBCB8ECE9754B675EBF5DFE76012 /* Pods */,
+				6FBB3D92EEF045F0B82C35EAEBA648F6 /* Products */,
+				2AE33A18C7BF5F3E4D5B438D69D6E86F /* Targets Support Files */,
+			);
+			sourceTree = "<group>";
+		};
+		E204AA461186FA594C6CCBB701E25217 /* Pods-BFFramework_Tests */ = {
+			isa = PBXGroup;
+			children = (
+				28EEF18529F24F3D39B167DE05AF7D85 /* Pods-BFFramework_Tests.modulemap */,
+				8400604A69841E18CDDCE9D51C83278A /* Pods-BFFramework_Tests-acknowledgements.markdown */,
+				B58207DEA8B12B5E83678DD23FA00550 /* Pods-BFFramework_Tests-acknowledgements.plist */,
+				5265ACF2DFC4107A8FEDA54484C1BF61 /* Pods-BFFramework_Tests-dummy.m */,
+				477C3E80C41F797EC65DCBE56070CE64 /* Pods-BFFramework_Tests-frameworks.sh */,
+				82B32447D52C06B723F3C938D50359F0 /* Pods-BFFramework_Tests-Info.plist */,
+				3E41CEC98E32003DAEBC41E91E6CCA2F /* Pods-BFFramework_Tests-umbrella.h */,
+				C94BB38F25E07B61B9628EBAA6915774 /* Pods-BFFramework_Tests.debug.xcconfig */,
+				95889E0123DB3DE603CB36F9F76918D0 /* Pods-BFFramework_Tests.release.xcconfig */,
+			);
+			name = "Pods-BFFramework_Tests";
+			path = "Target Support Files/Pods-BFFramework_Tests";
+			sourceTree = "<group>";
+		};
+		F03E3013995705FC24E6EF74DF124810 /* Nimble */ = {
+			isa = PBXGroup;
+			children = (
+				7C88093BCB1EB350F8469D2BB0E84218 /* AdapterProtocols.swift */,
+				6B44EBE2F631E83E50230D1D5C2B60B9 /* AllPass.swift */,
+				22ABEEDFE785CFD93BACDA971926BF41 /* AssertionDispatcher.swift */,
+				ABC76F78CF99ECC5A365CDA56AA395AC /* AssertionRecorder.swift */,
+				80C8299C3A51F85081C442B97E8C00CF /* Async.swift */,
+				2C77AA252D921D9F781947342B32BD2C /* Await.swift */,
+				F7E3F49F23D9F10AE6C0599B84EFA0BB /* BeAKindOf.swift */,
+				6162A95C1568E1D4B129D6FE1090EFA0 /* BeAnInstanceOf.swift */,
+				30E3E4CB327AC29F42303E0DB1B3D88F /* BeCloseTo.swift */,
+				B50EFFB0F1B4F7596CD02E28BA0B59B8 /* BeEmpty.swift */,
+				052BB171EB6EE439F34ECE05A0A927A1 /* BeginWith.swift */,
+				3B1E015A67D2713F4D5B3495D7F5998F /* BeGreaterThan.swift */,
+				0AD3AF88890C99BAA08985BE77E2DDB5 /* BeGreaterThanOrEqualTo.swift */,
+				86E3F62BF8994B15149B631FFE3A3F6B /* BeIdenticalTo.swift */,
+				96D2D452083ACED7A612FBD96551337A /* BeLessThan.swift */,
+				69F4FFB8824BD342281F72C24E037285 /* BeLessThanOrEqual.swift */,
+				570B465067B4A9E3E91FAC609212468F /* BeLogical.swift */,
+				57AC1F68B419970B94CFDB6EBC370505 /* BeNil.swift */,
+				726D96C5E3FE9C70B85B8000AC8AEF9F /* BeVoid.swift */,
+				A47630CFC1B0CD18333DBABE56C27754 /* Contain.swift */,
+				2F46181740138A92A0B7FCE7E8ECE607 /* ContainElementSatisfying.swift */,
+				FA278F10CCC2C84F993A0A2030A5796C /* CwlBadInstructionException.swift */,
+				14815E9DBB9751E5CE3CA6C0258BCD75 /* CwlCatchBadInstruction.swift */,
+				89C120E8CB355F1685358BABF43A55F4 /* CwlCatchException.h */,
+				58EFBA10E176B1CE1CF84186B514EF2E /* CwlCatchException.m */,
+				2A11214D026282403D37CAC457C63018 /* CwlCatchException.swift */,
+				87BB9146E1E5F365B3AABE6628A63668 /* CwlDarwinDefinitions.swift */,
+				AB7319A5B600D7C401B640C3585CCE9A /* CwlMachBadInstructionHandler.h */,
+				CD7E0CEA6B3ABE8817D8CA2FD7331CE1 /* CwlMachBadInstructionHandler.m */,
+				944BCB5D21E910CF01815DFA63020F8C /* CwlPreconditionTesting.h */,
+				DD94E448E7BD07EB326E452082EEC7E1 /* DSL.h */,
+				C67BBBBC8392BA7326C5A3E09091744D /* DSL.m */,
+				EC98554BF8ADD662EC646D38357CF8AE /* DSL.swift */,
+				FBF387039B2DC4270F36FD13A7813998 /* DSL+Wait.swift */,
+				7FE8329CB767946F10D7670C3D2F2E5D /* ElementsEqual.swift */,
+				40E99F32A6E1B477313ABF52268A5DD9 /* EndWith.swift */,
+				68C671F91C5B38250E669AA8DE3F8DFC /* Equal.swift */,
+				4B44CD33E71326E3768804E73E6C75EB /* Errors.swift */,
+				231889EA66F2EF212C06F43E04D61B86 /* Expectation.swift */,
+				D0AC8F7F1FE6F6E08F0EC5F451E062B1 /* ExpectationMessage.swift */,
+				FF764A166A145573A686ED8BCC1FEB67 /* Expression.swift */,
+				CA47ACC5B8D31AD74D5BDD185A24EB83 /* FailureMessage.swift */,
+				BD1BF7A6A240D39BCDD16B3A9B1C3D27 /* Functional.swift */,
+				4967FEA1387F54C885240CECC218DF15 /* HaveCount.swift */,
+				954F6BC7A562658C4FAC057034F6DF28 /* mach_excServer.c */,
+				81198E1639BBB9C9E493D053771AC85F /* mach_excServer.h */,
+				997E3C9A4E54852FAAAFB65176D09663 /* Match.swift */,
+				3F44B17DA62382C7121454B223F1D657 /* MatcherFunc.swift */,
+				CA3DDCB6B80D524D57AF614AED6AB6D6 /* MatcherProtocols.swift */,
+				1DB1CB92EE7BAAD3F0A4E9028FC41E19 /* MatchError.swift */,
+				3F617AC0B1B68FD97BFF9F0ACB1B38A5 /* Nimble.h */,
+				9DFFCF74125876A658B852971A7C6F2E /* NimbleEnvironment.swift */,
+				490962BE2E7AE1C9C99C88AAFF313A36 /* NimbleXCTestHandler.swift */,
+				AF1218B481AC55E586E4E993E5C62B43 /* NMBExceptionCapture.h */,
+				D9E16292DE512FF00FB3EB67A3647BCE /* NMBExceptionCapture.m */,
+				46148431FD0ED2A2565F0AEA34C343D0 /* NMBExpectation.swift */,
+				E4BB83ADCF34C645A8F6F9D48964638D /* NMBObjCMatcher.swift */,
+				4C75C5B5F7DEA478ED05BAD00A3F9574 /* NMBStringify.h */,
+				DE14D6109C61B2D4EA2AF36C79A231D7 /* NMBStringify.m */,
+				D68449DF12C60B758810B54D0D9E765A /* PostNotification.swift */,
+				98A7FAAEAD1BBF385E603D52A4C5458B /* Predicate.swift */,
+				93B6D43CE5AA9C07E71CE985B2DD3556 /* RaisesException.swift */,
+				BA3DB08ED09D298DA83102EB4BAAE54D /* SatisfyAllOf.swift */,
+				A762D77E02E19BF3D9C72C830364E595 /* SatisfyAnyOf.swift */,
+				547B0E07324AAB4A51E7FA45158C74D5 /* SourceLocation.swift */,
+				83A5F05097FD7921C35D1FAE18E04152 /* Stringers.swift */,
+				FF6EE2BFEE0CDF94C98E529F7AE9E50D /* ThrowAssertion.swift */,
+				EAD0B511D8C583092DE2CBAF7279D7B5 /* ThrowError.swift */,
+				E202073905CD8DFFF6CF21247D1D7C12 /* ToSucceed.swift */,
+				D5E6ECB0636970F373A68D06DE828E5E /* XCTestObservationCenter+Register.m */,
+				77C4610714CBBEB125C8A20926B33657 /* Support Files */,
+			);
+			name = Nimble;
+			path = Nimble;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+		186C1C88872EC06EFAB7EE5F10224236 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				CC4ADD86C0F0C3EA8CDF6F610FE4F807 /* BFFramework-umbrella.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		51A00ABBA2BEF3913A4628399CEBD45B /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				092256E303520E50ADEFF25EEB4E73EE /* CwlCatchException.h in Headers */,
+				9F70369EF71BD9ABAFF687AF532CC20D /* CwlMachBadInstructionHandler.h in Headers */,
+				80DEBE41D84FBA1C4D4FE00C8D797E82 /* CwlPreconditionTesting.h in Headers */,
+				C051C0411627BD5FCDA031782EB1F716 /* DSL.h in Headers */,
+				3BD0C370BBCEBDEA68B8EDBD969370EB /* mach_excServer.h in Headers */,
+				CD6B1F146B0E157FE5B9CAFFAE77A5B5 /* Nimble-umbrella.h in Headers */,
+				9BB5E9B6487FE95C710687B484C17161 /* Nimble.h in Headers */,
+				8D17749611AB0C8BD51C068749D8DF68 /* NMBExceptionCapture.h in Headers */,
+				E0EAC85F7ACFAD998B14FCE66144000E /* NMBStringify.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		789BF2A9515D75DE2B2453A4B5637A9D /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				1A8DF79F5EF3D69864A84173E7C9810E /* QCKDSL.h in Headers */,
+				8E4A2F4A1EF16B63817A516CC2743619 /* Quick-umbrella.h in Headers */,
+				10C8810E574F925B5CD3449B6DBE6EC0 /* Quick.h in Headers */,
+				BFEBC90223F66B0FF770B92B1C670BCF /* QuickConfiguration.h in Headers */,
+				7EB28FEC3D0ABA1A2A6CFE57C400F74D /* QuickSpec.h in Headers */,
+				76E7C7CDAA543C791A714B991F595F2B /* QuickSpecBase.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		C4780014E4FB5E0038F81C9E67D9262F /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				D7DB3539B81122487DB94E87DF3B6BB4 /* Pods-BFFramework_Example-umbrella.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		DBBB8A16C33A71B5F2ADFB752817BA65 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				EEDC4B04E9CACDF18F54E9AB0D96260E /* Pods-BFFramework_Tests-umbrella.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+		6F13695E06195A78EA8A95F8C7ED0D2F /* Nimble */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 9AC65E53333ACA93EEB1D8EBAB58CBB6 /* Build configuration list for PBXNativeTarget "Nimble" */;
+			buildPhases = (
+				51A00ABBA2BEF3913A4628399CEBD45B /* Headers */,
+				D399136A0E6FE19CACE7F05143312FB1 /* Sources */,
+				55C81EE76C6A69F1F69792A679310C68 /* Frameworks */,
+				D7EBE1F47ACC336A60ED6056AF3261E1 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = Nimble;
+			productName = Nimble;
+			productReference = BAE263041362D074978BB3B577DF0A05 /* Nimble.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		91E43DE0BC884291B9D52435ACD1DB03 /* Pods-BFFramework_Example */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 629FE3520027C5CE6226818EF068BBB6 /* Build configuration list for PBXNativeTarget "Pods-BFFramework_Example" */;
+			buildPhases = (
+				C4780014E4FB5E0038F81C9E67D9262F /* Headers */,
+				1002C3BE6D4E64E52A4299BC6125949B /* Sources */,
+				1356853D0F1A275E720760235A2F2ED3 /* Frameworks */,
+				5CFEB0E73CCB6D256531CF3FF394BADA /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				8F1C9C51B11A2174C0049D3DFA062586 /* PBXTargetDependency */,
+			);
+			name = "Pods-BFFramework_Example";
+			productName = "Pods-BFFramework_Example";
+			productReference = CC0660BC66CC2F45808BF760531C9A76 /* Pods_BFFramework_Example.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		AB9342FEE4AB7C83811C2B6D20CCA716 /* Pods-BFFramework_Tests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = FBAC8A4B5256232D7BAE6367B9D0D75C /* Build configuration list for PBXNativeTarget "Pods-BFFramework_Tests" */;
+			buildPhases = (
+				DBBB8A16C33A71B5F2ADFB752817BA65 /* Headers */,
+				BA6C9323BE4FCEEE9A305C3C27199CBB /* Sources */,
+				366D47BC5E17184E57EFC9075DC5D808 /* Frameworks */,
+				44A37789A2EE2C9D7690A247D16D8DD5 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				49783169F98073670AFC098D56CAEFA2 /* PBXTargetDependency */,
+				D2B8C82CA5FBB3C3339397755346E3AC /* PBXTargetDependency */,
+				096EA60A39F300113BBA571F098171AD /* PBXTargetDependency */,
+			);
+			name = "Pods-BFFramework_Tests";
+			productName = "Pods-BFFramework_Tests";
+			productReference = DF4A912577035B95560FFCA04C2A1A0B /* Pods_BFFramework_Tests.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		B9929C1CE753573F4D2B4687B212F1B7 /* BFFramework */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = BAD87A61C6F881FE4C5D80D200B6C0E9 /* Build configuration list for PBXNativeTarget "BFFramework" */;
+			buildPhases = (
+				186C1C88872EC06EFAB7EE5F10224236 /* Headers */,
+				FA46DCEFB28AB91F46BC461CA80F5F79 /* Sources */,
+				3FF433A3AA139719C5CC7DDBA785C777 /* Frameworks */,
+				1ED2298DE067A062587E161A5C9FAA7D /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = BFFramework;
+			productName = BFFramework;
+			productReference = 508EBCA2707C59022B684D6631D69B28 /* BFFramework.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		C82891EAB7293DBEE916B21F57E8474D /* Quick */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 189D56F652B0345CC3E1073543C1B391 /* Build configuration list for PBXNativeTarget "Quick" */;
+			buildPhases = (
+				789BF2A9515D75DE2B2453A4B5637A9D /* Headers */,
+				694205E4C1C5652ABC91AB6B8D119A52 /* Sources */,
+				1FB41F3B817F50C08A530AB486E92A06 /* Frameworks */,
+				295DA4774C40DBFC844D2E7BA312DE5F /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = Quick;
+			productName = Quick;
+			productReference = 0D631E9908483F9525A6B3F36F16CC61 /* Quick.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		BFDFE7DC352907FC980B868725387E98 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastSwiftUpdateCheck = 1100;
+				LastUpgradeCheck = 1100;
+			};
+			buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = en;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = CF1408CF629C7361332E53B88F7BD30C;
+			productRefGroup = 6FBB3D92EEF045F0B82C35EAEBA648F6 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				B9929C1CE753573F4D2B4687B212F1B7 /* BFFramework */,
+				6F13695E06195A78EA8A95F8C7ED0D2F /* Nimble */,
+				91E43DE0BC884291B9D52435ACD1DB03 /* Pods-BFFramework_Example */,
+				AB9342FEE4AB7C83811C2B6D20CCA716 /* Pods-BFFramework_Tests */,
+				C82891EAB7293DBEE916B21F57E8474D /* Quick */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		1ED2298DE067A062587E161A5C9FAA7D /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		295DA4774C40DBFC844D2E7BA312DE5F /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		44A37789A2EE2C9D7690A247D16D8DD5 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		5CFEB0E73CCB6D256531CF3FF394BADA /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		D7EBE1F47ACC336A60ED6056AF3261E1 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		1002C3BE6D4E64E52A4299BC6125949B /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				C3D10EFDB296CDE0A3A6576C07C8D634 /* Pods-BFFramework_Example-dummy.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		694205E4C1C5652ABC91AB6B8D119A52 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				58A884856B7E64EE3C204D9EDAA14045 /* Behavior.swift in Sources */,
+				7CE6049975894E447F2D4071C74F6F8F /* Callsite.swift in Sources */,
+				14ECE81218F5F5C9BEF00819A7C078EC /* Closures.swift in Sources */,
+				B48508EB39EE315F5A00429EEA69DD63 /* Configuration.swift in Sources */,
+				018228C4760DF4F8B80630BC9ACCB39E /* DSL.swift in Sources */,
+				BE56C54CD29F23A1C631645390E8569D /* ErrorUtility.swift in Sources */,
+				D2C041844A0EB4EB2E8C7B9DAA748EEB /* Example.swift in Sources */,
+				9231B70907F130F31CF5717C502B780C /* ExampleGroup.swift in Sources */,
+				7536DD99ACEDE673713161E597B7B447 /* ExampleHooks.swift in Sources */,
+				59BF9ABA8BB14E0E4E345D13AB6D49FB /* ExampleMetadata.swift in Sources */,
+				AF60C00928A7AFE04E374B620EEA5F49 /* Filter.swift in Sources */,
+				209F98BB7B328893FB64BA0393B4BD57 /* HooksPhase.swift in Sources */,
+				887AF8C809D60140319DE71D6427F370 /* NSBundle+CurrentTestBundle.swift in Sources */,
+				4ADE5FC9505A3BF7DF17AF9756585116 /* QCKDSL.m in Sources */,
+				512AAF465EE936155DD9BBA92368928E /* Quick-dummy.m in Sources */,
+				9FB5F3B3AAF3103848313FACD0CACBCD /* QuickConfiguration.m in Sources */,
+				3D6A581E79FD9EAC1A948D8BC53F1EB0 /* QuickConfiguration.swift in Sources */,
+				4E1DBC9FF76D6AD924D1356260438074 /* QuickSelectedTestSuiteBuilder.swift in Sources */,
+				2F0B5199CDB717CA9F680579900ABF15 /* QuickSpec.m in Sources */,
+				22B5B4ED0824E7BAF2091AAD6238A73F /* QuickSpecBase.m in Sources */,
+				39382B0A1EF090D15BA6C89FC3DCB099 /* QuickTestObservation.swift in Sources */,
+				A7F5B07BF96955EFDC9106335235EDB2 /* QuickTestSuite.swift in Sources */,
+				A35159AD5A7A49BA9093F29B63DBD30D /* String+C99ExtendedIdentifier.swift in Sources */,
+				94B18F2CFF543F6B2E43E84630C337E2 /* SuiteHooks.swift in Sources */,
+				A6CE2E672C8EB4DF57485428AFD64A3C /* URL+FileName.swift in Sources */,
+				C9E716023868A97D2F5B19934D93045E /* World+DSL.swift in Sources */,
+				F01995755687FA91F51A15ED8FD9D125 /* World.swift in Sources */,
+				9E874C00792FA983399C03EC00AE326D /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		BA6C9323BE4FCEEE9A305C3C27199CBB /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				B3A32EBE8922892BA2CD27B7EE956353 /* Pods-BFFramework_Tests-dummy.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		D399136A0E6FE19CACE7F05143312FB1 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				B4058A2AA8486E9879F113E6F67B9679 /* AdapterProtocols.swift in Sources */,
+				4203EF96811AE514D64AE069311B1575 /* AllPass.swift in Sources */,
+				C99BBC3F70E056CB6A3CC0516318939D /* AssertionDispatcher.swift in Sources */,
+				F310B21703A7BC438A09DDB96670583F /* AssertionRecorder.swift in Sources */,
+				DCD198D49C0A198A09525B7688EE3BC9 /* Async.swift in Sources */,
+				330E8E4A6596ED625E9B34C94CC4136E /* Await.swift in Sources */,
+				94DA3131D64B3D904BE28E72F1871065 /* BeAKindOf.swift in Sources */,
+				9C460BA614D4B1D314A252C4C5CE1D87 /* BeAnInstanceOf.swift in Sources */,
+				F4877B3857C780DCDB7F413A03F95600 /* BeCloseTo.swift in Sources */,
+				C903AEFEEB4E73644A03FB8285543107 /* BeEmpty.swift in Sources */,
+				78A51B7FCC1DFB888AAA254529013C12 /* BeginWith.swift in Sources */,
+				42F76698690916E0407F51610D829412 /* BeGreaterThan.swift in Sources */,
+				2391FFD3230B40E2348B5257D6296BBB /* BeGreaterThanOrEqualTo.swift in Sources */,
+				52AB6461CAA9481D24835F3E48301FC6 /* BeIdenticalTo.swift in Sources */,
+				9B9714C476F416AD7FD803EA1184D113 /* BeLessThan.swift in Sources */,
+				46BDEBF35D99D2CC53EF72DFC5BDCDCC /* BeLessThanOrEqual.swift in Sources */,
+				8D75EC8969EA46FBD6E1BED7791A3C37 /* BeLogical.swift in Sources */,
+				EC7EF3D5778783BD93EBC6F82016ADA9 /* BeNil.swift in Sources */,
+				C979EEB0159A65246F6BD2C906A8ADB7 /* BeVoid.swift in Sources */,
+				D34D0540ADCBF163575B6B5444B1AAF6 /* Contain.swift in Sources */,
+				5B6F70DDD4C63CF6ED95291BCB633494 /* ContainElementSatisfying.swift in Sources */,
+				FF920E965F1CA016FF302DE8C92C5122 /* CwlBadInstructionException.swift in Sources */,
+				89EE4D6DBDB79963D65AA1E67B543B6D /* CwlCatchBadInstruction.swift in Sources */,
+				F27A7DE93F66B0C12B4C646D99F5B9F4 /* CwlCatchException.m in Sources */,
+				4A9E7C1A8B697A1C0B0A1E0DF855A591 /* CwlCatchException.swift in Sources */,
+				39133A7716CEDEB690A7DA9D12C45C4D /* CwlDarwinDefinitions.swift in Sources */,
+				8A0EF19254BAC5DF0885D1FBA345E016 /* CwlMachBadInstructionHandler.m in Sources */,
+				234849AD309265FD107C74357FC8C0CF /* DSL+Wait.swift in Sources */,
+				7AC93EB6DCDA9226165D5BC354FE7BC6 /* DSL.m in Sources */,
+				A9996A6303084D17B9C439CB132A1F69 /* DSL.swift in Sources */,
+				3460FEA0CEADB05D3B56C2E1CAF9590C /* ElementsEqual.swift in Sources */,
+				3262B230B938C8D6522790093FEAF69D /* EndWith.swift in Sources */,
+				D9CFB8E5E354D7BE61D092259779F437 /* Equal.swift in Sources */,
+				B7662703AF8D3FFFCB0070C50FEDCC58 /* Errors.swift in Sources */,
+				602E3758C0EF64AF6B7FCEA05BF5B9B9 /* Expectation.swift in Sources */,
+				AD69407E2FA1D39A9E09248052F2D81B /* ExpectationMessage.swift in Sources */,
+				E458AAE1AE9E2250F29806E5633B1860 /* Expression.swift in Sources */,
+				192A3F8BEC1A99FD8712D3E09724D72C /* FailureMessage.swift in Sources */,
+				7DAC86DCBC36C10F43FA5FEB819B7BF1 /* Functional.swift in Sources */,
+				64E26D7D025AC4462DFA8BA66B38C9D8 /* HaveCount.swift in Sources */,
+				13D2A4D59DD9612E1AA7F3182A342162 /* mach_excServer.c in Sources */,
+				5578F928AEFA8B2B7CC542033590DFD6 /* Match.swift in Sources */,
+				26B9FEAB3DE0C8B91709D53571752A3B /* MatcherFunc.swift in Sources */,
+				44C9470137EF941955A1FDCE71D68C26 /* MatcherProtocols.swift in Sources */,
+				0892D14FE7A3452423E9129D7917664B /* MatchError.swift in Sources */,
+				B71070160CF07EFA99ED0445B0D191E7 /* Nimble-dummy.m in Sources */,
+				ECCA1FA570A912E8CDB54EB843F1D030 /* NimbleEnvironment.swift in Sources */,
+				2B350015B9F7546D0769649EE12D7D1A /* NimbleXCTestHandler.swift in Sources */,
+				CEE8D31A4E76BB7B350BF2A7175D4BC2 /* NMBExceptionCapture.m in Sources */,
+				C0C98C8C7D07E1598F20EE2F0539197D /* NMBExpectation.swift in Sources */,
+				99E8019F4689A514DAC6AA40AFF7352E /* NMBObjCMatcher.swift in Sources */,
+				F78E35D04F09485FA5DFA72FE1AD5AB2 /* NMBStringify.m in Sources */,
+				46B90B2CF2EB97B38C43A31E9A5478C2 /* PostNotification.swift in Sources */,
+				B6CC23C6C288F4EB9EDD3A06F1F5F094 /* Predicate.swift in Sources */,
+				F9E85548BF1EF8C5035BAF92233C34B6 /* RaisesException.swift in Sources */,
+				B79FC6E46F642C3FC74B3E6D9175B1AB /* SatisfyAllOf.swift in Sources */,
+				8D543DAD9A6C0B8BF8A5DB38AD876677 /* SatisfyAnyOf.swift in Sources */,
+				D9D6150D329A87CBB415FD349F0C50FD /* SourceLocation.swift in Sources */,
+				806B9040D79A3DC58FB56EAC16FE19BF /* Stringers.swift in Sources */,
+				72FB8CEABF346A37D54CC08647489A98 /* ThrowAssertion.swift in Sources */,
+				B2A65EEDB5D5EC246EA68E10964FF7B3 /* ThrowError.swift in Sources */,
+				CF9218FF56D8EE43681150A3E1635C9A /* ToSucceed.swift in Sources */,
+				DB84342A0C0DEABBF7F729DE55225D82 /* XCTestObservationCenter+Register.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		FA46DCEFB28AB91F46BC461CA80F5F79 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				B4F7F0DB222599FD5197A0AC7BFAF295 /* BFFramework-dummy.m in Sources */,
+				B0E563C5FE513FDEC8280F76F2C44D2D /* ReplaceMe.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		096EA60A39F300113BBA571F098171AD /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = Quick;
+			target = C82891EAB7293DBEE916B21F57E8474D /* Quick */;
+			targetProxy = C5295A506C8D81A8C98B200B4A163354 /* PBXContainerItemProxy */;
+		};
+		49783169F98073670AFC098D56CAEFA2 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = Nimble;
+			target = 6F13695E06195A78EA8A95F8C7ED0D2F /* Nimble */;
+			targetProxy = B555937770BF6053D9B4C78F295B0FF5 /* PBXContainerItemProxy */;
+		};
+		8F1C9C51B11A2174C0049D3DFA062586 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = BFFramework;
+			target = B9929C1CE753573F4D2B4687B212F1B7 /* BFFramework */;
+			targetProxy = 696FC4704D6F235E0AE5DBB815CA9E59 /* PBXContainerItemProxy */;
+		};
+		D2B8C82CA5FBB3C3339397755346E3AC /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = "Pods-BFFramework_Example";
+			target = 91E43DE0BC884291B9D52435ACD1DB03 /* Pods-BFFramework_Example */;
+			targetProxy = 9764E92CF0FC715E88A8247F207456D1 /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+		092A47690E26E36F3C5984789231CEEF /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = DF43FD7997B144A352DCE09ABE9BAE2C /* Pods-BFFramework_Example.release.xcconfig */;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Target Support Files/Pods-BFFramework_Example/Pods-BFFramework_Example-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MACH_O_TYPE = staticlib;
+				MODULEMAP_FILE = "Target Support Files/Pods-BFFramework_Example/Pods-BFFramework_Example.modulemap";
+				OTHER_LDFLAGS = "";
+				OTHER_LIBTOOLFLAGS = "";
+				PODS_ROOT = "$(SRCROOT)";
+				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		13EAC824A546DE544E74890D8AFDD149 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 270A65A681677B6E71B5F9E6696FDE47 /* BFFramework.debug.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/BFFramework/BFFramework-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/BFFramework/BFFramework-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MODULEMAP_FILE = "Target Support Files/BFFramework/BFFramework.modulemap";
+				PRODUCT_MODULE_NAME = BFFramework;
+				PRODUCT_NAME = BFFramework;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 4.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+		25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"POD_CONFIGURATION_DEBUG=1",
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+				MTL_FAST_MATH = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				STRIP_INSTALLED_PRODUCT = NO;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				SWIFT_VERSION = 5.0;
+				SYMROOT = "${SRCROOT}/../build";
+			};
+			name = Debug;
+		};
+		51A1E7C9339D73E4650FB9E96E29EF6B /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = D6C80C4F64DE5656DC232E9BD2C6A7FF /* BFFramework.release.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/BFFramework/BFFramework-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/BFFramework/BFFramework-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MODULEMAP_FILE = "Target Support Files/BFFramework/BFFramework.modulemap";
+				PRODUCT_MODULE_NAME = BFFramework;
+				PRODUCT_NAME = BFFramework;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 4.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		5BD7DF6FC27AD284AF350D3B23323F5C /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 2D9BFC41B761DDAB5C1BE811146D806A /* Quick.release.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/Quick/Quick-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/Quick/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";
+				PRODUCT_MODULE_NAME = Quick;
+				PRODUCT_NAME = Quick;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		6055256196CB61936FFE08F9A04553DD /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 4E1F4D21AAEA22E07F70EA57606FE750 /* Pods-BFFramework_Example.debug.xcconfig */;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Target Support Files/Pods-BFFramework_Example/Pods-BFFramework_Example-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MACH_O_TYPE = staticlib;
+				MODULEMAP_FILE = "Target Support Files/Pods-BFFramework_Example/Pods-BFFramework_Example.modulemap";
+				OTHER_LDFLAGS = "";
+				OTHER_LIBTOOLFLAGS = "";
+				PODS_ROOT = "$(SRCROOT)";
+				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+		698ABB6B7439A184528C6C75E2EB140B /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 448083A2F92E1ACA9FB1B567B8A0C594 /* Nimble.release.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/Nimble/Nimble-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/Nimble/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";
+				PRODUCT_MODULE_NAME = Nimble;
+				PRODUCT_NAME = Nimble;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		8421415958C30E0CB8FF72351096E015 /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 95889E0123DB3DE603CB36F9F76918D0 /* Pods-BFFramework_Tests.release.xcconfig */;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Target Support Files/Pods-BFFramework_Tests/Pods-BFFramework_Tests-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MACH_O_TYPE = staticlib;
+				MODULEMAP_FILE = "Target Support Files/Pods-BFFramework_Tests/Pods-BFFramework_Tests.modulemap";
+				OTHER_LDFLAGS = "";
+				OTHER_LIBTOOLFLAGS = "";
+				PODS_ROOT = "$(SRCROOT)";
+				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		BCC44A9DB9EB00034B21C52A5109A0E2 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = C94BB38F25E07B61B9628EBAA6915774 /* Pods-BFFramework_Tests.debug.xcconfig */;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Target Support Files/Pods-BFFramework_Tests/Pods-BFFramework_Tests-Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MACH_O_TYPE = staticlib;
+				MODULEMAP_FILE = "Target Support Files/Pods-BFFramework_Tests/Pods-BFFramework_Tests.modulemap";
+				OTHER_LDFLAGS = "";
+				OTHER_LIBTOOLFLAGS = "";
+				PODS_ROOT = "$(SRCROOT)";
+				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+		CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"POD_CONFIGURATION_RELEASE=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				MTL_FAST_MATH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				STRIP_INSTALLED_PRODUCT = NO;
+				SWIFT_COMPILATION_MODE = wholemodule;
+				SWIFT_OPTIMIZATION_LEVEL = "-O";
+				SWIFT_VERSION = 5.0;
+				SYMROOT = "${SRCROOT}/../build";
+			};
+			name = Release;
+		};
+		ECAC997DEEBE519A57A45EE715DC53C2 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = F405546B21A7972B69B2F54198300B4E /* Nimble.debug.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/Nimble/Nimble-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/Nimble/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";
+				PRODUCT_MODULE_NAME = Nimble;
+				PRODUCT_NAME = Nimble;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+		F18BFDF4D55EEEA5E40084B7F7DD58E7 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = D7380DE0051D096F22FB6E14FBCFD413 /* Quick.debug.xcconfig */;
+			buildSettings = {
+				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
+				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
+				CURRENT_PROJECT_VERSION = 1;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_PREFIX_HEADER = "Target Support Files/Quick/Quick-prefix.pch";
+				INFOPLIST_FILE = "Target Support Files/Quick/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";
+				PRODUCT_MODULE_NAME = Quick;
+				PRODUCT_NAME = Quick;
+				SDKROOT = iphoneos;
+				SKIP_INSTALL = YES;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		189D56F652B0345CC3E1073543C1B391 /* Build configuration list for PBXNativeTarget "Quick" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F18BFDF4D55EEEA5E40084B7F7DD58E7 /* Debug */,
+				5BD7DF6FC27AD284AF350D3B23323F5C /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */,
+				CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		629FE3520027C5CE6226818EF068BBB6 /* Build configuration list for PBXNativeTarget "Pods-BFFramework_Example" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				6055256196CB61936FFE08F9A04553DD /* Debug */,
+				092A47690E26E36F3C5984789231CEEF /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		9AC65E53333ACA93EEB1D8EBAB58CBB6 /* Build configuration list for PBXNativeTarget "Nimble" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				ECAC997DEEBE519A57A45EE715DC53C2 /* Debug */,
+				698ABB6B7439A184528C6C75E2EB140B /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		BAD87A61C6F881FE4C5D80D200B6C0E9 /* Build configuration list for PBXNativeTarget "BFFramework" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				13EAC824A546DE544E74890D8AFDD149 /* Debug */,
+				51A1E7C9339D73E4650FB9E96E29EF6B /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		FBAC8A4B5256232D7BAE6367B9D0D75C /* Build configuration list for PBXNativeTarget "Pods-BFFramework_Tests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				BCC44A9DB9EB00034B21C52A5109A0E2 /* Debug */,
+				8421415958C30E0CB8FF72351096E015 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */;
+}

+ 201 - 0
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.

+ 90 - 0
Example/Pods/Quick/README.md

@@ -0,0 +1,90 @@
+![](http://f.cl.ly/items/0r1E192C1R0b2g2Q3h2w/QuickLogo_Color.png)
+
+[![Build Status](https://travis-ci.org/Quick/Quick.svg?branch=master)](https://travis-ci.org/Quick/Quick)
+[![CocoaPods](https://img.shields.io/cocoapods/v/Quick.svg)](https://cocoapods.org/pods/Quick)
+[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
+[![Accio supported](https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat)](https://github.com/JamitLabs/Accio)
+[![Platforms](https://img.shields.io/cocoapods/p/Quick.svg)](https://cocoapods.org/pods/Quick)
+
+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).
+
+## Swift Version
+
+Certain versions of Quick and Nimble only support certain versions of Swift. Depending on which version of Swift your project uses, you should use specific versions of Quick and Nimble. Use the table below to determine which versions of Quick and Nimble are compatible with your project.
+
+|Swift version        |Quick version   |Nimble version |
+|:--------------------|:---------------|:--------------|
+|Swift 4.2            |v1.3.2 or later |v7.3.2 or later|
+|Swift 3 / Swift 4    |v1.0.0 or later |v5.0.0 or later|
+|Swift 2.2 / Swift 2.3|v0.9.3          |v4.1.0         |
+
+## 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!
+
+target "MyApp" do
+  # Normal libraries
+
+  abstract_target 'Tests' do
+    inherit! :search_paths
+    target "MyAppTests"
+    target "MyAppUITests"
+
+    pod 'Quick'
+    pod 'Nimble'
+  end
+end
+```
+
+## Projects using Quick
+
+Over ten-thousand apps use either Quick and Nimble however, as they are not included in the app binary, neither appear in “Top Used Libraries” blog posts. Therefore, it would be greatly appreciated to remind contributors that their efforts are valued by compiling a list of organizations and projects that use them. 
+
+Does your organization or project use Quick and Nimble? If yes, [please add your project to the list](https://github.com/Quick/Quick/wiki/Projects-using-Quick).
+
+## Who uses Quick
+
+Similar to projects using Quick, it would be nice to hear why people use Quick and Nimble. Are there features you love? Are there features that are just okay? Are there some features we have that no one uses?
+
+Have something positive to say about Quick (or Nimble)? If yes, [provide a testimonial here](https://github.com/Quick/Quick/wiki/Who-uses-Quick).
+
+
+## License
+
+Apache 2.0 license. See the [`LICENSE`](LICENSE) file for details.

+ 19 - 0
Example/Pods/Quick/Sources/Quick/Behavior.swift

@@ -0,0 +1,19 @@
+/// A `Behavior` encapsulates a set of examples that can be re-used in several locations using the `itBehavesLike`
+/// function with a context instance of the generic type.
+open class Behavior<Context> {
+
+    /**
+     Override this variable if you want to provide custom name for this example group.
+    */
+    open class var name: String { return String(describing: self) }
+
+    /**
+     Override this method in your behavior to define a set of reusable examples.
+
+     This behaves just like an example group defines using `describe` or `context`--it may contain any number of `beforeEach`
+     and `afterEach` closures, as well as any number of examples (defined using `it`).
+
+     - parameter aContext: A closure that, when evaluated, returns a `Context` instance that provide the information on the subject.
+    */
+    open class func spec(_ aContext: @escaping () -> Context) {}
+}

+ 52 - 0
Example/Pods/Quick/Sources/Quick/Callsite.swift

@@ -0,0 +1,52 @@
+import Foundation
+
+#if canImport(Darwin)
+// swiftlint:disable type_name
+@objcMembers
+public class _CallsiteBase: NSObject {}
+#else
+public class _CallsiteBase: NSObject {}
+// swiftlint:enable type_name
+#endif
+
+// Ideally we would always use `StaticString` as the type for tracking the file name
+// in which an example is defined, 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 macOS), we
+// have to use `String` instead because StaticString can't be generated from Objective-C
+#if SWIFT_PACKAGE
+public typealias FileString = StaticString
+#else
+public typealias FileString = String
+#endif
+
+/**
+    An object encapsulating the file and line number at which
+    a particular example is defined.
+*/
+final public class Callsite: _CallsiteBase {
+    /**
+        The absolute path of the file in which an example is defined.
+    */
+    public let file: FileString
+
+    /**
+        The line number on which an example is defined.
+    */
+    public let line: UInt
+
+    internal init(file: FileString, line: UInt) {
+        self.file = file
+        self.line = line
+    }
+}
+
+extension Callsite {
+    /**
+        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.
+    */
+    @nonobjc public static func == (lhs: Callsite, rhs: Callsite) -> Bool {
+        return String(describing: lhs.file) == String(describing: rhs.file) && lhs.line == rhs.line
+    }
+}

+ 165 - 0
Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift

@@ -0,0 +1,165 @@
+import Foundation
+
+/**
+    A closure that temporarily exposes a Configuration object within
+    the scope of the closure.
+*/
+public typealias QuickConfigurer = (_ configuration: Configuration) -> Void
+
+/**
+    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 // swiftlint:disable:this opening_brace
+            if let pending = example.filterFlags[Filter.pending] {
+                return pending
+            } else {
+                return false
+            }
+        },
+    ]
+    internal var inclusionFilters: [ExampleFilter] = [
+        { example in // swiftlint:disable:this opening_brace
+            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: @escaping 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: @escaping 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 canImport(Darwin)
+    @objc(beforeEachWithMetadata:)
+    public func beforeEach(_ closure: @escaping BeforeExampleWithMetadataClosure) {
+        exampleHooks.appendBefore(closure)
+    }
+#else
+    public func beforeEach(_ closure: @escaping 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 multiple +[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. Multiple 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: @escaping 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 canImport(Darwin)
+    @objc(afterEachWithMetadata:)
+    public func afterEach(_ closure: @escaping AfterExampleWithMetadataClosure) {
+        exampleHooks.appendAfter(closure)
+    }
+#else
+    public func afterEach(_ closure: @escaping 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 multiple +[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. Multiple 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: @escaping 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: @escaping 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: @escaping AfterSuiteClosure) {
+        suiteHooks.appendAfter(closure)
+    }
+}

+ 78 - 0
Example/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.swift

@@ -0,0 +1,78 @@
+import Foundation
+import XCTest
+
+#if SWIFT_PACKAGE
+
+open class QuickConfiguration: NSObject {
+    open class func configure(_ configuration: Configuration) {}
+}
+
+#endif
+
+extension QuickConfiguration {
+    #if !canImport(Darwin)
+    private static var configurationSubclasses: [QuickConfiguration.Type] = []
+    #endif
+
+    /// Finds all direct subclasses of QuickConfiguration and passes them to the block provided.
+    /// The classes are iterated over in the order that objc_getClassList returns them.
+    ///
+    /// - parameter block: A block that takes a QuickConfiguration.Type.
+    ///                    This block will be executed once for each subclass of QuickConfiguration.
+    private static func enumerateSubclasses(_ block: (QuickConfiguration.Type) -> Void) {
+        #if canImport(Darwin)
+        let classesCount = objc_getClassList(nil, 0)
+
+        guard classesCount > 0 else {
+            return
+        }
+
+        let classes = UnsafeMutablePointer<AnyClass?>.allocate(capacity: Int(classesCount))
+        defer { free(classes) }
+
+        objc_getClassList(AutoreleasingUnsafeMutablePointer(classes), classesCount)
+
+        var configurationSubclasses: [QuickConfiguration.Type] = []
+        for index in 0..<classesCount {
+            guard
+                let subclass = classes[Int(index)],
+                let superclass = class_getSuperclass(subclass),
+                superclass is QuickConfiguration.Type
+                else { continue }
+
+            // swiftlint:disable:next force_cast
+            configurationSubclasses.append(subclass as! QuickConfiguration.Type)
+        }
+        #endif
+
+        configurationSubclasses.forEach(block)
+    }
+
+    #if canImport(Darwin)
+    @objc
+    static func configureSubclassesIfNeeded(world: World) {
+        _configureSubclassesIfNeeded(world: world)
+    }
+    #else
+    static func configureSubclassesIfNeeded(_ configurationSubclasses: [QuickConfiguration.Type]? = nil, world: World) {
+        // Storing subclasses for later use (will be used when running additional test suites)
+        if let configurationSubclasses = configurationSubclasses {
+            self.configurationSubclasses = configurationSubclasses
+        }
+
+        _configureSubclassesIfNeeded(world: world)
+    }
+    #endif
+
+    private static func _configureSubclassesIfNeeded(world: World) {
+        if world.isConfigurationFinalized { return }
+
+        // Perform all configurations (ensures that shared examples have been discovered)
+        world.configure { configuration in
+            enumerateSubclasses { configurationClass in
+                configurationClass.configure(configuration)
+            }
+        }
+        world.finalizeConfiguration()
+    }
+}

+ 275 - 0
Example/Pods/Quick/Sources/Quick/DSL/DSL.swift

@@ -0,0 +1,275 @@
+// swiftlint:disable line_length
+
+/**
+    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: @escaping 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: @escaping 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: @escaping () -> Void) {
+    World.sharedWorld.sharedExamples(name) { _ 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: @escaping 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: () -> Void) {
+    World.sharedWorld.describe(description, flags: flags, closure: closure)
+}
+
+/**
+    Defines an example group. Equivalent to `describe`.
+*/
+public func context(_ description: String, flags: FilterFlags = [:], closure: () -> Void) {
+    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: @escaping 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: @escaping 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: @escaping 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: @escaping 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: FileString = #file, line: UInt = #line, closure: @escaping () -> Void) {
+    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: FileString = #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: FileString = #file, line: UInt = #line, sharedExampleContext: @escaping SharedExampleContext) {
+    World.sharedWorld.itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line)
+}
+
+/**
+    Inserts the examples defined using a `Behavior` into the current example group.
+    The shared examples are executed at this location, as if they were written out manually.
+    This function also passes a strongly-typed context that can be evaluated to give the shared examples extra information on the subject of the example.
+
+    - parameter behavior: The type of `Behavior` class defining the example group to be executed.
+    - parameter context: A closure that, when evaluated, returns an instance of `Behavior`'s context type to provide its example group 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<C>(_ behavior: Behavior<C>.Type, flags: FilterFlags = [:], file: FileString = #file, line: UInt = #line, context: @escaping () -> C) {
+    World.sharedWorld.itBehavesLike(behavior, context: context, 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: () -> Void) {
+    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: () -> Void) {
+    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: () -> Void) {
+    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: FileString = #file, line: UInt = #line, closure: @escaping () -> Void) {
+    World.sharedWorld.xit(description, flags: flags, file: file, line: line, closure: closure)
+}
+
+/**
+    Use this to quicklu mark an `itBehavesLike` closure as pending.
+    This disables the example group defined by this behavior and ensures the code within is never run.
+*/
+public func xitBehavesLike<C>(_ behavior: Behavior<C>.Type, flags: FilterFlags = [:], file: FileString = #file, line: UInt = #line, context: @escaping () -> C) {
+    World.sharedWorld.xitBehavesLike(behavior, context: context, flags: flags, file: file, line: line)
+}
+/**
+    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: () -> Void) {
+    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: () -> Void) {
+    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: FileString = #file, line: UInt = #line, closure: @escaping () -> Void) {
+    World.sharedWorld.fit(description, flags: flags, file: file, line: line, closure: closure)
+}
+
+/**
+    Use this to quickly focus an `itBehavesLike` closure.
+*/
+public func fitBehavesLike(_ name: String, flags: FilterFlags = [:], file: FileString = #file, line: UInt = #line) {
+    fitBehavesLike(name, flags: flags, file: file, line: line, sharedExampleContext: { return [:] })
+}
+
+/**
+    Use this to quickly focus an `itBehavesLike` closure.
+*/
+public func fitBehavesLike(_ name: String, flags: FilterFlags = [:], file: FileString = #file, line: UInt = #line, sharedExampleContext: @escaping SharedExampleContext) {
+    World.sharedWorld.fitBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line)
+}
+
+/**
+ Use this to quickly focus on `itBehavesLike` closure.
+ */
+public func fitBehavesLike<C>(_ behavior: Behavior<C>.Type, flags: FilterFlags = [:], file: FileString = #file, line: UInt = #line, context: @escaping () -> C) {
+    World.sharedWorld.fitBehavesLike(behavior, context: context, flags: flags, file: file, line: line)
+}
+
+// swiftlint:enable line_length

+ 211 - 0
Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift

@@ -0,0 +1,211 @@
+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: @escaping BeforeSuiteClosure) {
+        suiteHooks.appendBefore(closure)
+    }
+
+    internal func afterSuite(_ closure: @escaping AfterSuiteClosure) {
+        suiteHooks.appendAfter(closure)
+    }
+
+    internal func sharedExamples(_ name: String, closure: @escaping SharedExampleClosure) {
+        registerSharedExample(name, closure: closure)
+    }
+
+    internal func describe(_ description: String, flags: FilterFlags, closure: () -> Void) {
+        guard currentExampleMetadata == nil else {
+            raiseError("'describe' cannot be used inside '\(currentPhase)', 'describe' may only be used inside 'context' or 'describe'.")
+        }
+        guard currentExampleGroup != nil else {
+            // swiftlint:disable:next line_length
+            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: () -> Void) {
+        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: () -> Void) {
+        var focusedFlags = flags
+        focusedFlags[Filter.focused] = true
+        self.describe(description, flags: focusedFlags, closure: closure)
+    }
+
+    internal func xdescribe(_ description: String, flags: FilterFlags, closure: () -> Void) {
+        var pendingFlags = flags
+        pendingFlags[Filter.pending] = true
+        self.describe(description, flags: pendingFlags, closure: closure)
+    }
+
+    internal func beforeEach(_ closure: @escaping 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 canImport(Darwin)
+    @objc(beforeEachWithMetadata:)
+    internal func beforeEach(closure: @escaping BeforeExampleWithMetadataClosure) {
+        currentExampleGroup.hooks.appendBefore(closure)
+    }
+#else
+    internal func beforeEach(closure: @escaping BeforeExampleWithMetadataClosure) {
+        currentExampleGroup.hooks.appendBefore(closure)
+    }
+#endif
+
+    internal func afterEach(_ closure: @escaping 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 canImport(Darwin)
+    @objc(afterEachWithMetadata:)
+    internal func afterEach(closure: @escaping AfterExampleWithMetadataClosure) {
+        currentExampleGroup.hooks.appendAfter(closure)
+    }
+#else
+    internal func afterEach(closure: @escaping AfterExampleWithMetadataClosure) {
+        currentExampleGroup.hooks.appendAfter(closure)
+    }
+#endif
+
+    @nonobjc
+    internal func it(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        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)
+    }
+
+    @nonobjc
+    internal func fit(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        var focusedFlags = flags
+        focusedFlags[Filter.focused] = true
+        self.it(description, flags: focusedFlags, file: file, line: line, closure: closure)
+    }
+
+    @nonobjc
+    internal func xit(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        var pendingFlags = flags
+        pendingFlags[Filter.pending] = true
+        self.it(description, flags: pendingFlags, file: file, line: line, closure: closure)
+    }
+
+    @nonobjc
+    internal func itBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: FileString, 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
+        }
+    }
+
+    @nonobjc
+    internal func fitBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: FileString, line: UInt) {
+        var focusedFlags = flags
+        focusedFlags[Filter.focused] = true
+        self.itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: focusedFlags, file: file, line: line)
+    }
+
+    internal func itBehavesLike<C>(_ behavior: Behavior<C>.Type, context: @escaping () -> C, flags: FilterFlags, file: FileString, 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 = behavior.spec
+        let group = ExampleGroup(description: behavior.name, flags: flags)
+        currentExampleGroup.appendExampleGroup(group)
+        performWithCurrentExampleGroup(group) {
+            closure(context)
+        }
+
+        group.walkDownExamples { (example: Example) in
+            example.isSharedExample = true
+            example.callsite = callsite
+        }
+    }
+
+    internal func fitBehavesLike<C>(_ behavior: Behavior<C>.Type, context: @escaping () -> C, flags: FilterFlags, file: FileString, line: UInt) {
+        var focusedFlags = flags
+        focusedFlags[Filter.focused] = true
+        self.itBehavesLike(behavior, context: context, flags: focusedFlags, file: file, line: line)
+    }
+
+    internal func xitBehavesLike<C>(_ behavior: Behavior<C>.Type, context: @escaping () -> C, flags: FilterFlags, file: FileString, line: UInt) {
+        var pendingFlags = flags
+        pendingFlags[Filter.pending] = true
+        self.itBehavesLike(behavior, context: context, flags: pendingFlags, file: file, line: line)
+    }
+
+#if canImport(Darwin) && !SWIFT_PACKAGE
+    @objc(itWithDescription:flags:file:line:closure:)
+    internal func objc_it(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        it(description, flags: flags, file: file, line: line, closure: closure)
+    }
+
+    @objc(fitWithDescription:flags:file:line:closure:)
+    internal func objc_fit(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        fit(description, flags: flags, file: file, line: line, closure: closure)
+    }
+
+    @objc(xitWithDescription:flags:file:line:closure:)
+    internal func objc_xit(_ description: String, flags: FilterFlags, file: FileString, line: UInt, closure: @escaping () -> Void) {
+        xit(description, flags: flags, file: file, line: line, closure: closure)
+    }
+
+    @objc(itBehavesLikeSharedExampleNamed:sharedExampleContext:flags:file:line:)
+    internal func objc_itBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: FileString, line: UInt) {
+        itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line)
+    }
+#endif
+
+    internal func pending(_ description: String, closure: () -> Void) {
+        print("Pending: \(description)")
+    }
+
+    private var currentPhase: String {
+        if beforesCurrentlyExecuting {
+            return "beforeEach"
+        } else if aftersCurrentlyExecuting {
+            return "afterEach"
+        }
+
+        return "it"
+    }
+}

+ 10 - 0
Example/Pods/Quick/Sources/Quick/ErrorUtility.swift

@@ -0,0 +1,10 @@
+import Foundation
+
+internal func raiseError(_ message: String) -> Never {
+#if canImport(Darwin)
+    NSException(name: .internalInconsistencyException, reason: message, userInfo: nil).raise()
+#endif
+
+    // This won't be reached when ObjC is available and the exception above is raisd
+    fatalError(message)
+}

+ 123 - 0
Example/Pods/Quick/Sources/Quick/Example.swift

@@ -0,0 +1,123 @@
+import Foundation
+
+#if canImport(Darwin)
+// swiftlint:disable type_name
+@objcMembers
+public class _ExampleBase: NSObject {}
+#else
+public class _ExampleBase: NSObject {}
+// swiftlint:enable type_name
+#endif
+
+/**
+    Examples, defined with the `it` function, use assertions to
+    demonstrate how code should behave. These are like "tests" in XCTest.
+*/
+final public class Example: _ExampleBase {
+    /**
+        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: () -> Void
+    private let flags: FilterFlags
+
+    internal init(description: String, callsite: Callsite, flags: FilterFlags, closure: @escaping () -> Void) {
+        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 {
+        guard let groupName = group?.name else { return description }
+        return "\(groupName), \(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 world.numberOfExamplesRun == 0 {
+            world.suiteHooks.executeBefores()
+        }
+
+        let exampleMetadata = ExampleMetadata(example: self, exampleIndex: world.numberOfExamplesRun)
+        world.currentExampleMetadata = exampleMetadata
+        defer {
+            world.currentExampleMetadata = nil
+        }
+
+        world.exampleHooks.executeBefores(exampleMetadata)
+        group!.phase = .beforesExecuting
+        for before in group!.befores {
+            before(exampleMetadata)
+        }
+        group!.phase = .beforesFinished
+
+        closure()
+
+        group!.phase = .aftersExecuting
+        for after in group!.afters {
+            after(exampleMetadata)
+        }
+        group!.phase = .aftersFinished
+        world.exampleHooks.executeAfters(exampleMetadata)
+
+        world.numberOfExamplesRun += 1
+
+        if !world.isRunningAdditionalSuites && world.numberOfExamplesRun >= world.cachedIncludedExampleCount {
+            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
+    }
+}
+
+extension Example {
+    /**
+        Returns a boolean indicating whether two Example objects are equal.
+        If two examples are defined at the exact same callsite, they must be equal.
+    */
+    @nonobjc public static func == (lhs: Example, rhs: Example) -> Bool {
+        return lhs.callsite == rhs.callsite
+    }
+}

+ 106 - 0
Example/Pods/Quick/Sources/Quick/ExampleGroup.swift

@@ -0,0 +1,106 @@
+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.
+    */
+    #if canImport(Darwin)
+    @objc
+    public var examples: [Example] {
+        return childExamples + childGroups.flatMap { $0.examples }
+    }
+    #else
+    public var examples: [Example] {
+        return childExamples + childGroups.flatMap { $0.examples }
+    }
+    #endif
+
+    internal var name: String? {
+        guard let parent = parent else {
+            return isInternalRootExampleGroup ? nil : description
+        }
+
+        guard let name = parent.name else { return description }
+        return "\(name), \(description)"
+    }
+
+    internal var filterFlags: FilterFlags {
+        var aggregateFlags = flags
+        walkUp { group in
+            for (key, value) in group.flags {
+                aggregateFlags[key] = value
+            }
+        }
+        return aggregateFlags
+    }
+
+    internal var befores: [BeforeExampleWithMetadataClosure] {
+        var closures = Array(hooks.befores.reversed())
+        walkUp { group in
+            closures.append(contentsOf: Array(group.hooks.befores.reversed()))
+        }
+        return Array(closures.reversed())
+    }
+
+    internal var afters: [AfterExampleWithMetadataClosure] {
+        var closures = hooks.afters
+        walkUp { group in
+            closures.append(contentsOf: group.hooks.afters)
+        }
+        return closures
+    }
+
+    internal func walkDownExamples(_ callback: (_ example: Example) -> Void) {
+        for example in childExamples {
+            callback(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) -> Void) {
+        var group = self
+        while let parent = group.parent {
+            callback(parent)
+            group = parent
+        }
+    }
+}

+ 33 - 0
Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift

@@ -0,0 +1,33 @@
+import Foundation
+
+#if canImport(Darwin)
+// swiftlint:disable type_name
+@objcMembers
+public class _ExampleMetadataBase: NSObject {}
+#else
+public class _ExampleMetadataBase: NSObject {}
+// swiftlint:enable type_name
+#endif
+
+/**
+    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: _ExampleMetadataBase {
+    /**
+        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
+    }
+}

+ 40 - 0
Example/Pods/Quick/Sources/Quick/Filter.swift

@@ -0,0 +1,40 @@
+import Foundation
+
+#if canImport(Darwin)
+// swiftlint:disable type_name
+@objcMembers
+public class _FilterBase: NSObject {}
+#else
+public class _FilterBase: NSObject {}
+// swiftlint:enable type_name
+#endif
+
+/**
+    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: _FilterBase {
+    /**
+        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"
+    }
+}

+ 35 - 0
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 = () -> Void
+
+/**
+    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) -> Void
+
+/**
+    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 = () -> Void
+
+/**
+    A closure executed after all examples have finished running.
+*/
+public typealias AfterSuiteClosure = BeforeSuiteClosure

+ 42 - 0
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: @escaping BeforeExampleWithMetadataClosure) {
+        befores.append(closure)
+    }
+
+    internal func appendBefore(_ closure: @escaping BeforeExampleClosure) {
+        befores.append { (_: ExampleMetadata) in closure() }
+    }
+
+    internal func appendAfter(_ closure: @escaping AfterExampleWithMetadataClosure) {
+        afters.append(closure)
+    }
+
+    internal func appendAfter(_ closure: @escaping AfterExampleClosure) {
+        afters.append { (_: ExampleMetadata) in closure() }
+    }
+
+    internal func executeBefores(_ exampleMetadata: ExampleMetadata) {
+        phase = .beforesExecuting
+        for before in befores {
+            before(exampleMetadata)
+        }
+
+        phase = .beforesFinished
+    }
+
+    internal func executeAfters(_ exampleMetadata: ExampleMetadata) {
+        phase = .aftersExecuting
+        for after in afters {
+            after(exampleMetadata)
+        }
+
+        phase = .aftersFinished
+    }
+}

+ 11 - 0
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 {
+    case nothingExecuted
+    case beforesExecuting
+    case beforesFinished
+    case aftersExecuting
+    case aftersFinished
+}

+ 32 - 0
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: @escaping BeforeSuiteClosure) {
+        befores.append(closure)
+    }
+
+    internal func appendAfter(_ closure: @escaping 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
+    }
+}

+ 25 - 0
Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift

@@ -0,0 +1,25 @@
+#if canImport(Darwin)
+
+import Foundation
+
+extension Bundle {
+
+    /**
+     Locates the first bundle with a '.xctest' file extension.
+     */
+    internal static var currentTestBundle: Bundle? {
+        return allBundles.first { $0.bundlePath.hasSuffix(".xctest") }
+    }
+
+    /**
+     Return the module name of the bundle.
+     Uses the bundle filename and transform it to match Xcode's transformation.
+     Module name has to be a valid "C99 extended identifier".
+     */
+    internal var moduleName: String {
+        let fileName = bundleURL.fileName
+        return fileName.c99ExtendedIdentifier
+    }
+}
+
+#endif

+ 74 - 0
Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift

@@ -0,0 +1,74 @@
+#if canImport(Darwin)
+import Foundation
+
+/**
+ 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 `Bundle.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.components(separatedBy: "/").first
+    }
+
+    guard let className = extractClassName(name) else { return nil }
+    guard let bundle = Bundle.currentTestBundle else { return nil }
+
+    if let testCaseClass = bundle.classNamed(className) { return testCaseClass }
+
+    let moduleName = bundle.moduleName
+
+    return NSClassFromString("\(moduleName).\(className)")
+}
+
+#endif

+ 69 - 0
Example/Pods/Quick/Sources/Quick/QuickTestObservation.swift

@@ -0,0 +1,69 @@
+#if !SWIFT_PACKAGE
+
+import Foundation
+import XCTest
+
+/// A dummy protocol for calling the internal `+[QuickSpec buildExamplesIfNeeded]` method
+/// which is defined in Objective-C from Swift.
+@objc internal protocol _QuickSpecInternal {
+    static func buildExamplesIfNeeded()
+}
+
+@objc internal final class QuickTestObservation: NSObject, XCTestObservation {
+    @objc(sharedInstance)
+    static let shared = QuickTestObservation()
+
+    // Quick hooks into this event to compile example groups for each QuickSpec subclasses.
+    //
+    // If an exception occurs when compiling examples, report it to the user. Chances are they
+    // included an expectation outside of a "it", "describe", or "context" block.
+    func testBundleWillStart(_ testBundle: Bundle) {
+        QuickSpec.enumerateSubclasses { specClass in
+            // This relies on `_QuickSpecInternal`.
+            (specClass as AnyClass).buildExamplesIfNeeded()
+        }
+    }
+}
+
+// swiftlint:disable:next todo
+// TODO: Unify this with QuickConfiguration's equivalent
+extension QuickSpec {
+    internal static func enumerateSubclasses(
+        subclasses: [QuickSpec.Type]? = nil,
+        _ block: (QuickSpec.Type) -> Void
+    ) {
+        let subjects: [QuickSpec.Type]
+        if let subclasses = subclasses {
+            subjects = subclasses
+        } else {
+            let classesCount = objc_getClassList(nil, 0)
+
+            guard classesCount > 0 else {
+                return
+            }
+
+            let classes = UnsafeMutablePointer<AnyClass?>.allocate(capacity: Int(classesCount))
+            defer { free(classes) }
+
+            objc_getClassList(AutoreleasingUnsafeMutablePointer(classes), classesCount)
+
+            var specSubclasses: [QuickSpec.Type] = []
+            for index in 0..<classesCount {
+                guard
+                    let subclass = classes[Int(index)],
+                    let superclass = class_getSuperclass(subclass),
+                    superclass is QuickSpec.Type
+                    else { continue }
+
+                // swiftlint:disable:next force_cast
+                specSubclasses.append(subclass as! QuickSpec.Type)
+            }
+
+            subjects = specSubclasses
+        }
+
+        subjects.forEach(block)
+    }
+}
+
+#endif

+ 52 - 0
Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift

@@ -0,0 +1,52 @@
+#if canImport(Darwin)
+
+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<String> = 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`.
+     */
+    @objc
+    public static func selectedTestSuite(forTestCaseWithName name: String) -> QuickTestSuite? {
+        guard let builder = QuickSelectedTestSuiteBuilder(forTestCaseWithName: name) else { return nil }
+
+        let (inserted, _) = builtTestSuites.insert(builder.testSuiteClassName)
+        if inserted {
+            return builder.buildTestSuite()
+        } else {
+            return nil
+        }
+    }
+}
+
+#endif

Vissa filer visades inte eftersom för många filer har ändrats