diff --git a/.gitignore b/.gitignore index f067d67..2a10691 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ Carthage # `pod install` in .travis.yml # # Pods/ + +.build +.swiftpm diff --git a/AmazonS3RequestManager.podspec b/AmazonS3RequestManager.podspec deleted file mode 100644 index 0f9423d..0000000 --- a/AmazonS3RequestManager.podspec +++ /dev/null @@ -1,25 +0,0 @@ -Pod::Spec.new do |s| -s.name = 'AmazonS3RequestManager' -s.version = '1.2.0' -s.license = 'MIT' -s.summary = 'A Alamofire based request manager that serializes requests to the AWS S3 (Amazon Simple Storage Solution). Based on AFAmazonS3Manager' -s.homepage = 'https://github.com/AnthonyMDev/AmazonS3RequestManager' -s.social_media_url = 'http://twitter.com/AnthonyMDev' -s.authors = { 'Anthony Miller' => 'AnthonyMDev@gmail.com' } -s.source = { :git => 'https://github.com/AnthonyMDev/AmazonS3RequestManager.git', :tag => s.version } - -s.ios.frameworks = 'MobileCoreServices' -s.tvos.frameworks = 'MobileCoreServices' -s.osx.frameworks = 'CoreServices' - -s.ios.deployment_target = '8.0' -s.tvos.deployment_target = '10.1' -s.osx.deployment_target = '10.10' - -s.source_files = 'Source/*.{h,m,swift}' - -s.requires_arc = true - -s.dependency 'Alamofire', '~> 4.5' -s.dependency 'SWXMLHash', '~> 4.2' -end diff --git a/Example/AmazonS3RequestManager.xcodeproj/project.pbxproj b/Example/AmazonS3RequestManager.xcodeproj/project.pbxproj deleted file mode 100644 index 4cb37d9..0000000 --- a/Example/AmazonS3RequestManager.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1419 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 3546FCD30FF1C1D2957DEC16 /* Pods_TVOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31BA16B45781513457BFB8B4 /* Pods_TVOS_Tests.framework */; }; - 3ECBF570F04C6A6B6FE03A87 /* Pods_OSX_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF7954DF582C4DD94BE56EF3 /* Pods_OSX_Example.framework */; }; - 481A496F2B0720D9C4675E4B /* Pods_iOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2037978E0BE6545425EBDAD4 /* Pods_iOS_Tests.framework */; }; - 5F8BC68B20FC1FF2F3E9989B /* Pods_iOS_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E754B192A1CDFC5DAC728E3 /* Pods_iOS_Example.framework */; }; - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 62A4FAED00C03B05AF9393BC /* Pods_TVOS_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6E9F21903338D63BD267046 /* Pods_TVOS_Example.framework */; }; - 76ACAA46A373D3E11F4A2908 /* Pods_OSX_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7FEA34F84430F21CB94BDABB /* Pods_OSX_Tests.framework */; }; - 928CAABD1E5CCDFC002D52A1 /* AmazonS3ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EC1C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift */; }; - 928CAABE1E5CCDFC002D52A1 /* AmazonS3ResponseObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3229E3E1C9D28D500848C84 /* AmazonS3ResponseObjectTests.swift */; }; - 928CAABF1E5CCDFC002D52A1 /* AmazonS3SignatureHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3DD8F0E1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift */; }; - 928CAAC01E5CCDFC002D52A1 /* AmazonS3ACLTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3E91C4EF62400759119 /* AmazonS3ACLTests.swift */; }; - 928CAAC11E5CCDFC002D52A1 /* AmazonS3RequestSerializerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EB1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift */; }; - 928CAAC21E5CCDFC002D52A1 /* AmazonS3RequestManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EA1C4EF62400759119 /* AmazonS3RequestManagerTests.swift */; }; - 928CAAD61E5CCF9B002D52A1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 928CAAD01E5CCF9B002D52A1 /* AppDelegate.swift */; }; - 928CAAD71E5CCF9B002D52A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 928CAAD11E5CCF9B002D52A1 /* Assets.xcassets */; }; - 928CAADA1E5CCF9B002D52A1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 928CAAD51E5CCF9B002D52A1 /* ViewController.swift */; }; - 928CAADC1E5CD0B8002D52A1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 928CAADB1E5CD0B8002D52A1 /* Main.storyboard */; }; - 92A2B7071C51857200CA1967 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 92A2B7061C51857200CA1967 /* Default-568h@2x.png */; }; - 92E8C3ED1C4EF62400759119 /* AmazonS3ACLTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3E91C4EF62400759119 /* AmazonS3ACLTests.swift */; }; - 92E8C3EE1C4EF62400759119 /* AmazonS3RequestManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EA1C4EF62400759119 /* AmazonS3RequestManagerTests.swift */; }; - 92E8C3EF1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EB1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift */; }; - 92E8C3F01C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EC1C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift */; }; - 92E8C40E1C4EFAC900759119 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C40D1C4EFAC900759119 /* AppDelegate.swift */; }; - 92E8C4101C4EFAC900759119 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C40F1C4EFAC900759119 /* ViewController.swift */; }; - 92E8C4121C4EFAC900759119 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 92E8C4111C4EFAC900759119 /* Assets.xcassets */; }; - 92E8C4151C4EFAC900759119 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 92E8C4131C4EFAC900759119 /* Main.storyboard */; }; - 92E8C4371C4EFD4400759119 /* AmazonS3ACLTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3E91C4EF62400759119 /* AmazonS3ACLTests.swift */; }; - 92E8C4381C4EFD4600759119 /* AmazonS3RequestManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EA1C4EF62400759119 /* AmazonS3RequestManagerTests.swift */; }; - 92E8C4391C4EFD4800759119 /* AmazonS3RequestSerializerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EB1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift */; }; - 92E8C43A1C4EFD4A00759119 /* AmazonS3ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92E8C3EC1C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift */; }; - F3229E3F1C9D28D600848C84 /* AmazonS3ResponseObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3229E3E1C9D28D500848C84 /* AmazonS3ResponseObjectTests.swift */; }; - F3229E401C9D28D600848C84 /* AmazonS3ResponseObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3229E3E1C9D28D500848C84 /* AmazonS3ResponseObjectTests.swift */; }; - F3DD8F0F1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3DD8F0E1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift */; }; - F3DD8F101CBD103C008E8EB4 /* AmazonS3SignatureHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3DD8F0E1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = AmazonS3RequestManager; - }; - 928CAACD1E5CCEEB002D52A1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 928CAAA71E5CCDF0002D52A1; - remoteInfo = "TVOS-Example"; - }; - 92E8C4321C4EFC6900759119 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 92E8C40A1C4EFAC800759119; - remoteInfo = "OSX-Example"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 02727C1A32FF9467F6726C11 /* Pods-OSX-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OSX-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.release.xcconfig"; sourceTree = ""; }; - 0680D3D24BE67FEDA1EC7996 /* Pods-iOS-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.debug.xcconfig"; sourceTree = ""; }; - 2037978E0BE6545425EBDAD4 /* Pods_iOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 245B0C4C641B7737D33F5A7D /* Pods-TVOS-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TVOS-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.debug.xcconfig"; sourceTree = ""; }; - 262EC3C61C949640A2CF8614 /* Pods-TVOS-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TVOS-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.release.xcconfig"; sourceTree = ""; }; - 31BA16B45781513457BFB8B4 /* Pods_TVOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TVOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 42ED1C0C7E591FBEA515ED92 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 54F114E238385B6BDB61CB26 /* Pods-OSX-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OSX-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.debug.xcconfig"; sourceTree = ""; }; - 5FDEE5E53EEC87745C3E8955 /* AmazonS3RequestManager.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AmazonS3RequestManager.podspec; path = ../AmazonS3RequestManager.podspec; sourceTree = ""; }; - 607FACD01AFB9204008FA782 /* iOS-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* iOS-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 69547BB8FA50E70AE38BD859 /* Pods-TVOS-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TVOS-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.release.xcconfig"; sourceTree = ""; }; - 6E754B192A1CDFC5DAC728E3 /* Pods_iOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7FEA34F84430F21CB94BDABB /* Pods_OSX_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OSX_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 884ACA65B311A8F4DEF52C37 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 928CAAB61E5CCDF0002D52A1 /* TVOS-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TVOS-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 928CAACB1E5CCDFC002D52A1 /* TVOS-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "TVOS-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 928CAACC1E5CCDFC002D52A1 /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Tests-Info.plist"; path = "/Users/Anthony/Documents/AMRepos/AmazonS3RequestManager/Example/TVOS-Example/Tests-Info.plist"; sourceTree = ""; }; - 928CAAD01E5CCF9B002D52A1 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 928CAAD11E5CCF9B002D52A1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 928CAAD51E5CCF9B002D52A1 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 928CAADB1E5CD0B8002D52A1 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; - 928CAADD1E5CD163002D52A1 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 92A2B7061C51857200CA1967 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; - 92E8C3E81C4EF62300759119 /* AmazonS3RequestManager_Tests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AmazonS3RequestManager_Tests-Bridging-Header.h"; sourceTree = ""; }; - 92E8C3E91C4EF62400759119 /* AmazonS3ACLTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AmazonS3ACLTests.swift; sourceTree = ""; }; - 92E8C3EA1C4EF62400759119 /* AmazonS3RequestManagerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AmazonS3RequestManagerTests.swift; sourceTree = ""; }; - 92E8C3EB1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.swift; path = AmazonS3RequestSerializerTests.swift; sourceTree = ""; }; - 92E8C3EC1C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.swift; path = AmazonS3ResponseSerializationTests.swift; sourceTree = ""; }; - 92E8C40B1C4EFAC800759119 /* OSX-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "OSX-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 92E8C40D1C4EFAC900759119 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 92E8C40F1C4EFAC900759119 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 92E8C4111C4EFAC900759119 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 92E8C4141C4EFAC900759119 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 92E8C4161C4EFAC900759119 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 92E8C42D1C4EFC6900759119 /* OSX-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OSX-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - B6E9F21903338D63BD267046 /* Pods_TVOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TVOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B8D48236544AE33422C5AE21 /* Pods-TVOS-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TVOS-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.debug.xcconfig"; sourceTree = ""; }; - BC6FB0ECAAFF3E2559974573 /* Pods-iOS-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.debug.xcconfig"; sourceTree = ""; }; - C3E90E04E7DB02EAE2348E8F /* Pods-OSX-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OSX-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.debug.xcconfig"; sourceTree = ""; }; - C4B9B05E3E793204AA44A7DC /* Pods-iOS-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.release.xcconfig"; sourceTree = ""; }; - CF7954DF582C4DD94BE56EF3 /* Pods_OSX_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OSX_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E396FE314E31F937E620C9AA /* Pods-iOS-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.release.xcconfig"; sourceTree = ""; }; - EB60E86E5E26A196521F36DB /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F3229E3E1C9D28D500848C84 /* AmazonS3ResponseObjectTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AmazonS3ResponseObjectTests.swift; sourceTree = ""; }; - F3DD8F0E1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.swift; path = AmazonS3SignatureHelpersTests.swift; sourceTree = ""; }; - F46BDD70BF9914C03C8E0DE5 /* Pods-OSX-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OSX-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 607FACCD1AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 5F8BC68B20FC1FF2F3E9989B /* Pods_iOS_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 481A496F2B0720D9C4675E4B /* Pods_iOS_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAAAC1E5CCDF0002D52A1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 62A4FAED00C03B05AF9393BC /* Pods_TVOS_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAAC31E5CCDFC002D52A1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3546FCD30FF1C1D2957DEC16 /* Pods_TVOS_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C4081C4EFAC800759119 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3ECBF570F04C6A6B6FE03A87 /* Pods_OSX_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C42A1C4EFC6900759119 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 76ACAA46A373D3E11F4A2908 /* Pods_OSX_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 350C5ABD2FAA176057674C48 /* Frameworks */ = { - isa = PBXGroup; - children = ( - EB60E86E5E26A196521F36DB /* Pods.framework */, - CF7954DF582C4DD94BE56EF3 /* Pods_OSX_Example.framework */, - 7FEA34F84430F21CB94BDABB /* Pods_OSX_Tests.framework */, - 6E754B192A1CDFC5DAC728E3 /* Pods_iOS_Example.framework */, - 2037978E0BE6545425EBDAD4 /* Pods_iOS_Tests.framework */, - B6E9F21903338D63BD267046 /* Pods_TVOS_Example.framework */, - 31BA16B45781513457BFB8B4 /* Pods_TVOS_Tests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 4B68BBFDD4C51AF3AF386E16 /* Pods */ = { - isa = PBXGroup; - children = ( - 54F114E238385B6BDB61CB26 /* Pods-OSX-Example.debug.xcconfig */, - 02727C1A32FF9467F6726C11 /* Pods-OSX-Example.release.xcconfig */, - C3E90E04E7DB02EAE2348E8F /* Pods-OSX-Tests.debug.xcconfig */, - F46BDD70BF9914C03C8E0DE5 /* Pods-OSX-Tests.release.xcconfig */, - BC6FB0ECAAFF3E2559974573 /* Pods-iOS-Example.debug.xcconfig */, - E396FE314E31F937E620C9AA /* Pods-iOS-Example.release.xcconfig */, - 0680D3D24BE67FEDA1EC7996 /* Pods-iOS-Tests.debug.xcconfig */, - C4B9B05E3E793204AA44A7DC /* Pods-iOS-Tests.release.xcconfig */, - 245B0C4C641B7737D33F5A7D /* Pods-TVOS-Example.debug.xcconfig */, - 69547BB8FA50E70AE38BD859 /* Pods-TVOS-Example.release.xcconfig */, - B8D48236544AE33422C5AE21 /* Pods-TVOS-Tests.debug.xcconfig */, - 262EC3C61C949640A2CF8614 /* Pods-TVOS-Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 607FACC71AFB9204008FA782 = { - isa = PBXGroup; - children = ( - 607FACF51AFB993E008FA782 /* Podspec Metadata */, - 607FACD21AFB9204008FA782 /* iOS-Example */, - 92E8C40C1C4EFAC900759119 /* OSX-Example */, - 928CAACF1E5CCF9B002D52A1 /* TVOS-Example */, - 607FACE81AFB9204008FA782 /* Tests */, - 607FACD11AFB9204008FA782 /* Products */, - 350C5ABD2FAA176057674C48 /* Frameworks */, - 4B68BBFDD4C51AF3AF386E16 /* Pods */, - ); - sourceTree = ""; - }; - 607FACD11AFB9204008FA782 /* Products */ = { - isa = PBXGroup; - children = ( - 607FACD01AFB9204008FA782 /* iOS-Example.app */, - 607FACE51AFB9204008FA782 /* iOS-Tests.xctest */, - 92E8C40B1C4EFAC800759119 /* OSX-Example.app */, - 92E8C42D1C4EFC6900759119 /* OSX-Tests.xctest */, - 928CAAB61E5CCDF0002D52A1 /* TVOS-Example.app */, - 928CAACB1E5CCDFC002D52A1 /* TVOS-Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 607FACD21AFB9204008FA782 /* iOS-Example */ = { - isa = PBXGroup; - children = ( - 92A2B7061C51857200CA1967 /* Default-568h@2x.png */, - 607FACD51AFB9204008FA782 /* AppDelegate.swift */, - 607FACD71AFB9204008FA782 /* ViewController.swift */, - 607FACD91AFB9204008FA782 /* Main.storyboard */, - 607FACDC1AFB9204008FA782 /* Images.xcassets */, - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, - 607FACD31AFB9204008FA782 /* Supporting Files */, - ); - path = "iOS-Example"; - sourceTree = ""; - }; - 607FACD31AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACD41AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACE81AFB9204008FA782 /* Tests */ = { - isa = PBXGroup; - children = ( - 92E8C3E91C4EF62400759119 /* AmazonS3ACLTests.swift */, - 92E8C3EA1C4EF62400759119 /* AmazonS3RequestManagerTests.swift */, - 92E8C3EB1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift */, - 92E8C3EC1C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift */, - 607FACE91AFB9204008FA782 /* Supporting Files */, - 92E8C3E81C4EF62300759119 /* AmazonS3RequestManager_Tests-Bridging-Header.h */, - F3229E3E1C9D28D500848C84 /* AmazonS3ResponseObjectTests.swift */, - F3DD8F0E1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift */, - ); - path = Tests; - sourceTree = ""; - }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - 5FDEE5E53EEC87745C3E8955 /* AmazonS3RequestManager.podspec */, - 884ACA65B311A8F4DEF52C37 /* README.md */, - 42ED1C0C7E591FBEA515ED92 /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - 928CAACF1E5CCF9B002D52A1 /* TVOS-Example */ = { - isa = PBXGroup; - children = ( - 928CAAD01E5CCF9B002D52A1 /* AppDelegate.swift */, - 928CAAD11E5CCF9B002D52A1 /* Assets.xcassets */, - 928CAAD51E5CCF9B002D52A1 /* ViewController.swift */, - 928CAACC1E5CCDFC002D52A1 /* Tests-Info.plist */, - 928CAADB1E5CD0B8002D52A1 /* Main.storyboard */, - 928CAADD1E5CD163002D52A1 /* Info.plist */, - ); - path = "TVOS-Example"; - sourceTree = ""; - }; - 92E8C40C1C4EFAC900759119 /* OSX-Example */ = { - isa = PBXGroup; - children = ( - 92E8C40D1C4EFAC900759119 /* AppDelegate.swift */, - 92E8C40F1C4EFAC900759119 /* ViewController.swift */, - 92E8C4111C4EFAC900759119 /* Assets.xcassets */, - 92E8C4131C4EFAC900759119 /* Main.storyboard */, - 92E8C4161C4EFAC900759119 /* Info.plist */, - ); - path = "OSX-Example"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 607FACCF1AFB9204008FA782 /* iOS-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "iOS-Example" */; - buildPhases = ( - 849CB1E9C1EB417C3845F76C /* [CP] Check Pods Manifest.lock */, - 607FACCC1AFB9204008FA782 /* Sources */, - 607FACCD1AFB9204008FA782 /* Frameworks */, - 607FACCE1AFB9204008FA782 /* Resources */, - 4072376732D1A8FDDD423336 /* [CP] Embed Pods Frameworks */, - A7BCC4E94D106C14B5E2E20D /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "iOS-Example"; - productName = AmazonS3RequestManager; - productReference = 607FACD01AFB9204008FA782 /* iOS-Example.app */; - productType = "com.apple.product-type.application"; - }; - 607FACE41AFB9204008FA782 /* iOS-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "iOS-Tests" */; - buildPhases = ( - E2B5C04075A62EA939541164 /* [CP] Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - 0588DBB52EDA37F578E6CBEA /* [CP] Embed Pods Frameworks */, - 6A089EFB5DCDEDF2578DD2CB /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = "iOS-Tests"; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* iOS-Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 928CAAA71E5CCDF0002D52A1 /* TVOS-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 928CAAB31E5CCDF0002D52A1 /* Build configuration list for PBXNativeTarget "TVOS-Example" */; - buildPhases = ( - 928CAAA81E5CCDF0002D52A1 /* [CP] Check Pods Manifest.lock */, - 928CAAA91E5CCDF0002D52A1 /* Sources */, - 928CAAAC1E5CCDF0002D52A1 /* Frameworks */, - 928CAAAE1E5CCDF0002D52A1 /* Resources */, - 928CAAB11E5CCDF0002D52A1 /* [CP] Embed Pods Frameworks */, - 928CAAB21E5CCDF0002D52A1 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "TVOS-Example"; - productName = "OSX-Example"; - productReference = 928CAAB61E5CCDF0002D52A1 /* TVOS-Example.app */; - productType = "com.apple.product-type.application"; - }; - 928CAAB81E5CCDFC002D52A1 /* TVOS-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 928CAAC81E5CCDFC002D52A1 /* Build configuration list for PBXNativeTarget "TVOS-Tests" */; - buildPhases = ( - 928CAABB1E5CCDFC002D52A1 /* [CP] Check Pods Manifest.lock */, - 928CAABC1E5CCDFC002D52A1 /* Sources */, - 928CAAC31E5CCDFC002D52A1 /* Frameworks */, - 928CAAC51E5CCDFC002D52A1 /* Resources */, - 928CAAC61E5CCDFC002D52A1 /* [CP] Embed Pods Frameworks */, - 928CAAC71E5CCDFC002D52A1 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 928CAACE1E5CCEEB002D52A1 /* PBXTargetDependency */, - ); - name = "TVOS-Tests"; - productName = "OSX-Tests"; - productReference = 928CAACB1E5CCDFC002D52A1 /* TVOS-Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 92E8C40A1C4EFAC800759119 /* OSX-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 92E8C4171C4EFAC900759119 /* Build configuration list for PBXNativeTarget "OSX-Example" */; - buildPhases = ( - 4B4E5A6CD699156DBDCB3212 /* [CP] Check Pods Manifest.lock */, - 92E8C4071C4EFAC800759119 /* Sources */, - 92E8C4081C4EFAC800759119 /* Frameworks */, - 92E8C4091C4EFAC800759119 /* Resources */, - 650CE2B0FEB349A33B6E2938 /* [CP] Embed Pods Frameworks */, - 666A494D951F124068E691DE /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "OSX-Example"; - productName = "OSX-Example"; - productReference = 92E8C40B1C4EFAC800759119 /* OSX-Example.app */; - productType = "com.apple.product-type.application"; - }; - 92E8C42C1C4EFC6900759119 /* OSX-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 92E8C4341C4EFC6900759119 /* Build configuration list for PBXNativeTarget "OSX-Tests" */; - buildPhases = ( - ABA9B79EF4B76A1AD99CBAAD /* [CP] Check Pods Manifest.lock */, - 92E8C4291C4EFC6900759119 /* Sources */, - 92E8C42A1C4EFC6900759119 /* Frameworks */, - 92E8C42B1C4EFC6900759119 /* Resources */, - 0F5BD9963C5A17C4FA8490AC /* [CP] Embed Pods Frameworks */, - B4C347127998E5286225A885 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 92E8C4331C4EFC6900759119 /* PBXTargetDependency */, - ); - name = "OSX-Tests"; - productName = "OSX-Tests"; - productReference = 92E8C42D1C4EFC6900759119 /* OSX-Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 607FACC81AFB9204008FA782 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0900; - ORGANIZATIONNAME = CocoaPods; - TargetAttributes = { - 607FACCF1AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0900; - ProvisioningStyle = Manual; - }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0900; - ProvisioningStyle = Automatic; - TestTargetID = 607FACCF1AFB9204008FA782; - }; - 928CAAB81E5CCDFC002D52A1 = { - TestTargetID = 928CAAA71E5CCDF0002D52A1; - }; - 92E8C40A1C4EFAC800759119 = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0800; - }; - 92E8C42C1C4EFC6900759119 = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0800; - TestTargetID = 92E8C40A1C4EFAC800759119; - }; - }; - }; - buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AmazonS3RequestManager" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 607FACC71AFB9204008FA782; - productRefGroup = 607FACD11AFB9204008FA782 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 607FACCF1AFB9204008FA782 /* iOS-Example */, - 607FACE41AFB9204008FA782 /* iOS-Tests */, - 92E8C40A1C4EFAC800759119 /* OSX-Example */, - 92E8C42C1C4EFC6900759119 /* OSX-Tests */, - 928CAAA71E5CCDF0002D52A1 /* TVOS-Example */, - 928CAAB81E5CCDFC002D52A1 /* TVOS-Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 607FACCE1AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, - 92A2B7071C51857200CA1967 /* Default-568h@2x.png in Resources */, - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAAAE1E5CCDF0002D52A1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 928CAAD71E5CCF9B002D52A1 /* Assets.xcassets in Resources */, - 928CAADC1E5CD0B8002D52A1 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAAC51E5CCDFC002D52A1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C4091C4EFAC800759119 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 92E8C4121C4EFAC900759119 /* Assets.xcassets in Resources */, - 92E8C4151C4EFAC900759119 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C42B1C4EFC6900759119 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 0588DBB52EDA37F578E6CBEA /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework", - "${BUILT_PRODUCTS_DIR}/Nimble-iOS/Nimble.framework", - "${BUILT_PRODUCTS_DIR}/Nocilla-iOS/Nocilla.framework", - "${BUILT_PRODUCTS_DIR}/Quick-iOS/Quick.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nocilla.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Quick.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 0F5BD9963C5A17C4FA8490AC /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework", - "${BUILT_PRODUCTS_DIR}/Nimble-macOS/Nimble.framework", - "${BUILT_PRODUCTS_DIR}/Nocilla-macOS/Nocilla.framework", - "${BUILT_PRODUCTS_DIR}/Quick-macOS/Quick.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nocilla.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Quick.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 4072376732D1A8FDDD423336 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 4B4E5A6CD699156DBDCB3212 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OSX-Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 650CE2B0FEB349A33B6E2938 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 666A494D951F124068E691DE /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 6A089EFB5DCDEDF2578DD2CB /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 849CB1E9C1EB417C3845F76C /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-iOS-Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 928CAAA81E5CCDF0002D52A1 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-TVOS-Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 928CAAB11E5CCDF0002D52A1 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 928CAAB21E5CCDF0002D52A1 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 928CAABB1E5CCDFC002D52A1 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-TVOS-Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 928CAAC61E5CCDFC002D52A1 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework", - "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework", - "${BUILT_PRODUCTS_DIR}/Nimble-tvOS/Nimble.framework", - "${BUILT_PRODUCTS_DIR}/Nocilla-tvOS/Nocilla.framework", - "${BUILT_PRODUCTS_DIR}/Quick-tvOS/Quick.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AmazonS3RequestManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWXMLHash.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nocilla.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Quick.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 928CAAC71E5CCDFC002D52A1 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - A7BCC4E94D106C14B5E2E20D /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - ABA9B79EF4B76A1AD99CBAAD /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OSX-Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - B4C347127998E5286225A885 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - E2B5C04075A62EA939541164 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-iOS-Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 607FACCC1AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 92E8C3EF1C4EF62400759119 /* AmazonS3RequestSerializerTests.swift in Sources */, - F3229E3F1C9D28D600848C84 /* AmazonS3ResponseObjectTests.swift in Sources */, - F3DD8F0F1CBD1036008E8EB4 /* AmazonS3SignatureHelpersTests.swift in Sources */, - 92E8C3ED1C4EF62400759119 /* AmazonS3ACLTests.swift in Sources */, - 92E8C3EE1C4EF62400759119 /* AmazonS3RequestManagerTests.swift in Sources */, - 92E8C3F01C4EF62400759119 /* AmazonS3ResponseSerializationTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAAA91E5CCDF0002D52A1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 928CAAD61E5CCF9B002D52A1 /* AppDelegate.swift in Sources */, - 928CAADA1E5CCF9B002D52A1 /* ViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 928CAABC1E5CCDFC002D52A1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 928CAABD1E5CCDFC002D52A1 /* AmazonS3ResponseSerializationTests.swift in Sources */, - 928CAABE1E5CCDFC002D52A1 /* AmazonS3ResponseObjectTests.swift in Sources */, - 928CAABF1E5CCDFC002D52A1 /* AmazonS3SignatureHelpersTests.swift in Sources */, - 928CAAC01E5CCDFC002D52A1 /* AmazonS3ACLTests.swift in Sources */, - 928CAAC11E5CCDFC002D52A1 /* AmazonS3RequestSerializerTests.swift in Sources */, - 928CAAC21E5CCDFC002D52A1 /* AmazonS3RequestManagerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C4071C4EFAC800759119 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 92E8C4101C4EFAC900759119 /* ViewController.swift in Sources */, - 92E8C40E1C4EFAC900759119 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 92E8C4291C4EFC6900759119 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 92E8C43A1C4EFD4A00759119 /* AmazonS3ResponseSerializationTests.swift in Sources */, - F3229E401C9D28D600848C84 /* AmazonS3ResponseObjectTests.swift in Sources */, - F3DD8F101CBD103C008E8EB4 /* AmazonS3SignatureHelpersTests.swift in Sources */, - 92E8C4371C4EFD4400759119 /* AmazonS3ACLTests.swift in Sources */, - 92E8C4391C4EFD4800759119 /* AmazonS3RequestSerializerTests.swift in Sources */, - 92E8C4381C4EFD4600759119 /* AmazonS3RequestManagerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* iOS-Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; - 928CAACE1E5CCEEB002D52A1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 928CAAA71E5CCDF0002D52A1 /* TVOS-Example */; - targetProxy = 928CAACD1E5CCEEB002D52A1 /* PBXContainerItemProxy */; - }; - 92E8C4331C4EFC6900759119 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 92E8C40A1C4EFAC800759119 /* OSX-Example */; - targetProxy = 92E8C4321C4EFC6900759119 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 607FACD91AFB9204008FA782 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 607FACDA1AFB9204008FA782 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 607FACDF1AFB9204008FA782 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; - 92E8C4131C4EFAC900759119 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 92E8C4141C4EFAC900759119 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 607FACED1AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - 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_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - 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 = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 607FACEE1AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - 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_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - 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 = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 607FACF01AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BC6FB0ECAAFF3E2559974573 /* Pods-iOS-Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = "iOS-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 607FACF11AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E396FE314E31F937E620C9AA /* Pods-iOS-Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = "iOS-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0680D3D24BE67FEDA1EC7996 /* Pods-iOS-Tests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - DEVELOPMENT_TEAM = ""; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Tests/AmazonS3RequestManager_Tests-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS-Example.app/iOS-Example"; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C4B9B05E3E793204AA44A7DC /* Pods-iOS-Tests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Tests/AmazonS3RequestManager_Tests-Bridging-Header.h"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS-Example.app/iOS-Example"; - }; - name = Release; - }; - 928CAAB41E5CCDF0002D52A1 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 245B0C4C641B7737D33F5A7D /* Pods-TVOS-Example.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - INFOPLIST_FILE = "TVOS-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Debug; - }; - 928CAAB51E5CCDF0002D52A1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 69547BB8FA50E70AE38BD859 /* Pods-TVOS-Example.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = "TVOS-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Release; - }; - 928CAAC91E5CCDFC002D52A1 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B8D48236544AE33422C5AE21 /* Pods-TVOS-Tests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - INFOPLIST_FILE = "TVOS-Example/Tests-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos10.1; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TVOS-Example.app/TVOS-Example"; - }; - name = Debug; - }; - 928CAACA1E5CCDFC002D52A1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 262EC3C61C949640A2CF8614 /* Pods-TVOS-Tests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = "TVOS-Example/Tests-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos10.1; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TVOS-Example.app/TVOS-Example"; - }; - name = Release; - }; - 92E8C4181C4EFAC900759119 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 54F114E238385B6BDB61CB26 /* Pods-OSX-Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - INFOPLIST_FILE = "OSX-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 92E8C4191C4EFAC900759119 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 02727C1A32FF9467F6726C11 /* Pods-OSX-Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = "OSX-Example/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - 92E8C4351C4EFC6900759119 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C3E90E04E7DB02EAE2348E8F /* Pods-OSX-Tests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OSX-Example.app/Contents/MacOS/OSX-Example"; - }; - name = Debug; - }; - 92E8C4361C4EFC6900759119 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F46BDD70BF9914C03C8E0DE5 /* Pods-OSX-Tests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = "com.anthonymdev.OSX-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OSX-Example.app/Contents/MacOS/OSX-Example"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AmazonS3RequestManager" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACED1AFB9204008FA782 /* Debug */, - 607FACEE1AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "iOS-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF01AFB9204008FA782 /* Debug */, - 607FACF11AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "iOS-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 928CAAB31E5CCDF0002D52A1 /* Build configuration list for PBXNativeTarget "TVOS-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 928CAAB41E5CCDF0002D52A1 /* Debug */, - 928CAAB51E5CCDF0002D52A1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 928CAAC81E5CCDFC002D52A1 /* Build configuration list for PBXNativeTarget "TVOS-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 928CAAC91E5CCDFC002D52A1 /* Debug */, - 928CAACA1E5CCDFC002D52A1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 92E8C4171C4EFAC900759119 /* Build configuration list for PBXNativeTarget "OSX-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 92E8C4181C4EFAC900759119 /* Debug */, - 92E8C4191C4EFAC900759119 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 92E8C4341C4EFC6900759119 /* Build configuration list for PBXNativeTarget "OSX-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 92E8C4351C4EFC6900759119 /* Debug */, - 92E8C4361C4EFC6900759119 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 607FACC81AFB9204008FA782 /* Project object */; -} diff --git a/Example/AmazonS3RequestManager.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/AmazonS3RequestManager.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 9ef37b9..0000000 --- a/Example/AmazonS3RequestManager.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/OSX.xcscheme b/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/OSX.xcscheme deleted file mode 100644 index 3231018..0000000 --- a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/OSX.xcscheme +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/TVOS.xcscheme b/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/TVOS.xcscheme deleted file mode 100644 index 8bce26d..0000000 --- a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/TVOS.xcscheme +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme b/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme deleted file mode 100644 index f52e544..0000000 --- a/Example/AmazonS3RequestManager.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AmazonS3RequestManager.xcworkspace/contents.xcworkspacedata b/Example/AmazonS3RequestManager.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 69dd261..0000000 --- a/Example/AmazonS3RequestManager.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Example/OSX-Example/AppDelegate.swift b/Example/OSX-Example/AppDelegate.swift deleted file mode 100644 index 7126744..0000000 --- a/Example/OSX-Example/AppDelegate.swift +++ /dev/null @@ -1,26 +0,0 @@ -// -// AppDelegate.swift -// OSX-Example -// -// Created by Anthony Miller on 1/19/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import Cocoa - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate { - - - - func applicationDidFinishLaunching(_ aNotification: Notification) { - // Insert code here to initialize your application - } - - func applicationWillTerminate(_ aNotification: Notification) { - // Insert code here to tear down your application - } - - -} - diff --git a/Example/OSX-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/OSX-Example/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c..0000000 --- a/Example/OSX-Example/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/OSX-Example/Base.lproj/Main.storyboard b/Example/OSX-Example/Base.lproj/Main.storyboard deleted file mode 100644 index 0418bdd..0000000 --- a/Example/OSX-Example/Base.lproj/Main.storyboard +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/OSX-Example/Info.plist b/Example/OSX-Example/Info.plist deleted file mode 100644 index 90bd4a6..0000000 --- a/Example/OSX-Example/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2016 CocoaPods. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - - diff --git a/Example/OSX-Example/ViewController.swift b/Example/OSX-Example/ViewController.swift deleted file mode 100644 index f1a5cd1..0000000 --- a/Example/OSX-Example/ViewController.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// ViewController.swift -// OSX-Example -// -// Created by Anthony Miller on 1/19/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import Cocoa - -class ViewController: NSViewController { - - override func viewDidLoad() { - super.viewDidLoad() - - // Do any additional setup after loading the view. - } - - override var representedObject: Any? { - didSet { - // Update the view, if already loaded. - } - } - - -} - diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index 630be7c..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,63 +0,0 @@ -source 'https://github.com/CocoaPods/Specs.git' -use_frameworks! - -def test_pods - pod 'Quick' - pod 'Nimble' - pod 'Nocilla', '~> 0.10' - -end - -target 'iOS-Example' do - platform :ios, '9.0' - - pod "AmazonS3RequestManager", :path => "../" -end - -target 'iOS-Tests' do - platform :ios, '9.0' - - pod "AmazonS3RequestManager", :path => "../" - - test_pods -end - -target 'OSX-Example' do - platform :osx, '10.11' - - pod "AmazonS3RequestManager", :path => "../" - -end - -target 'OSX-Tests' do - platform :osx, '10.11' - - pod "AmazonS3RequestManager", :path => "../" - - test_pods -end - -target 'TVOS-Example' do - platform :tvos, '10.1' - - pod "AmazonS3RequestManager", :path => "../" - -end - -target 'TVOS-Tests' do - platform :tvos, '10.1' - - pod "AmazonS3RequestManager", :path => "../" - - test_pods -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - if target.name.include? 'AmazonS3RequestManager' - target.build_configurations.each do |config| - config.build_settings['ENABLE_TESTABILITY'] = 'YES' - end - end - end -end diff --git a/Example/Podfile.lock b/Example/Podfile.lock deleted file mode 100644 index f6da252..0000000 --- a/Example/Podfile.lock +++ /dev/null @@ -1,31 +0,0 @@ -PODS: - - Alamofire (4.5.1) - - AmazonS3RequestManager (1.2.0): - - Alamofire (~> 4.5) - - SWXMLHash (~> 4.2) - - Nimble (7.0.2) - - Nocilla (0.11.0) - - Quick (1.2.0) - - SWXMLHash (4.2.3) - -DEPENDENCIES: - - AmazonS3RequestManager (from `../`) - - Nimble - - Nocilla (~> 0.10) - - Quick - -EXTERNAL SOURCES: - AmazonS3RequestManager: - :path: ../ - -SPEC CHECKSUMS: - Alamofire: 2d95912bf4c34f164fdfc335872e8c312acaea4a - AmazonS3RequestManager: 0205b197a0daedb029d4c0c502ecb07376e1bb2d - Nimble: bfe1f814edabba69ff145cb1283e04ed636a67f2 - Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c - Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08 - SWXMLHash: 6ab10e1cb4567d88cd3634be0bf331a7839945dd - -PODFILE CHECKSUM: 5a93563cdbfbff414350e4c3a44380e03ca61e1c - -COCOAPODS: 1.3.1 diff --git a/Example/Pods/Alamofire/LICENSE b/Example/Pods/Alamofire/LICENSE deleted file mode 100644 index 1654602..0000000 --- a/Example/Pods/Alamofire/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Example/Pods/Alamofire/README.md b/Example/Pods/Alamofire/README.md deleted file mode 100644 index f190df9..0000000 --- a/Example/Pods/Alamofire/README.md +++ /dev/null @@ -1,1862 +0,0 @@ -![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/master/alamofire.png) - -[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg?branch=master)](https://travis-ci.org/Alamofire/Alamofire) -[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg) -[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) -[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](https://alamofire.github.io/Alamofire) -[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF) -[![Gitter](https://badges.gitter.im/Alamofire/Alamofire.svg)](https://gitter.im/Alamofire/Alamofire?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) - -Alamofire is an HTTP networking library written in Swift. - -- [Features](#features) -- [Component Libraries](#component-libraries) -- [Requirements](#requirements) -- [Migration Guides](#migration-guides) -- [Communication](#communication) -- [Installation](#installation) -- [Usage](#usage) - - **Intro -** [Making a Request](#making-a-request), [Response Handling](#response-handling), [Response Validation](#response-validation), [Response Caching](#response-caching) - - **HTTP -** [HTTP Methods](#http-methods), [Parameter Encoding](#parameter-encoding), [HTTP Headers](#http-headers), [Authentication](#authentication) - - **Large Data -** [Downloading Data to a File](#downloading-data-to-a-file), [Uploading Data to a Server](#uploading-data-to-a-server) - - **Tools -** [Statistical Metrics](#statistical-metrics), [cURL Command Output](#curl-command-output) -- [Advanced Usage](#advanced-usage) - - **URL Session -** [Session Manager](#session-manager), [Session Delegate](#session-delegate), [Request](#request) - - **Routing -** [Routing Requests](#routing-requests), [Adapting and Retrying Requests](#adapting-and-retrying-requests) - - **Model Objects -** [Custom Response Serialization](#custom-response-serialization) - - **Connection -** [Security](#security), [Network Reachability](#network-reachability) -- [Open Radars](#open-radars) -- [FAQ](#faq) -- [Credits](#credits) -- [Donations](#donations) -- [License](#license) - -## Features - -- [x] Chainable Request / Response Methods -- [x] URL / JSON / plist Parameter Encoding -- [x] Upload File / Data / Stream / MultipartFormData -- [x] Download File using Request or Resume Data -- [x] Authentication with URLCredential -- [x] HTTP Response Validation -- [x] Upload and Download Progress Closures with Progress -- [x] cURL Command Output -- [x] Dynamically Adapt and Retry Requests -- [x] TLS Certificate and Public Key Pinning -- [x] Network Reachability -- [x] Comprehensive Unit and Integration Test Coverage -- [x] [Complete Documentation](https://alamofire.github.io/Alamofire) - -## Component Libraries - -In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem. - -- [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system. -- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire. - -## Requirements - -- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+ -- Xcode 8.3+ -- Swift 3.1+ - -## Migration Guides - -- [Alamofire 4.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md) -- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md) -- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md) - -## Communication - -- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire') -- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). -- If you **found a bug**, open an issue. -- If you **have a feature request**, open an issue. -- If you **want to contribute**, submit a pull request. - -## Installation - -### CocoaPods - -[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command: - -```bash -$ gem install cocoapods -``` - -> CocoaPods 1.1+ is required to build Alamofire 4.0+. - -To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`: - -```ruby -source 'https://github.com/CocoaPods/Specs.git' -platform :ios, '10.0' -use_frameworks! - -target '' do - pod 'Alamofire', '~> 4.5' -end -``` - -Then, run the following command: - -```bash -$ pod install -``` - -### Carthage - -[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. - -You can install Carthage with [Homebrew](http://brew.sh/) using the following command: - -```bash -$ brew update -$ brew install carthage -``` - -To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`: - -```ogdl -github "Alamofire/Alamofire" ~> 4.5 -``` - -Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project. - -### Swift Package Manager - -The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Alamofire does support its use on supported platforms. - -Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`. - -```swift -dependencies: [ - .Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 4) -] -``` - -### Manually - -If you prefer not to use any of the aforementioned dependency managers, you can integrate Alamofire into your project manually. - -#### Embedded Framework - -- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository: - - ```bash - $ git init - ``` - -- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command: - - ```bash - $ git submodule add https://github.com/Alamofire/Alamofire.git - ``` - -- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project. - - > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter. - -- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target. -- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar. -- In the tab bar at the top of that window, open the "General" panel. -- Click on the `+` button under the "Embedded Binaries" section. -- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder. - - > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`. - -- Select the top `Alamofire.framework` for iOS and the bottom one for OS X. - - > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS`, `Alamofire macOS`, `Alamofire tvOS` or `Alamofire watchOS`. - -- And that's it! - - > The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device. - ---- - -## Usage - -### Making a Request - -```swift -import Alamofire - -Alamofire.request("https://httpbin.org/get") -``` - -### Response Handling - -Handling the `Response` of a `Request` made in Alamofire involves chaining a response handler onto the `Request`. - -```swift -Alamofire.request("https://httpbin.org/get").responseJSON { response in - print("Request: \(String(describing: response.request))") // original url request - print("Response: \(String(describing: response.response))") // http url response - print("Result: \(response.result)") // response serialization result - - if let json = response.result.value { - print("JSON: \(json)") // serialized json response - } - - if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) { - print("Data: \(utf8Text)") // original server data as UTF8 string - } -} -``` - -In the above example, the `responseJSON` handler is appended to the `Request` to be executed once the `Request` is complete. Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) in the form of a closure is specified to handle the response once it's received. The result of a request is only available inside the scope of a response closure. Any execution contingent on the response or data received from the server must be done within a response closure. - -> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way. - -Alamofire contains five different response handlers by default including: - -```swift -// Response Handler - Unserialized Response -func response( - queue: DispatchQueue?, - completionHandler: @escaping (DefaultDataResponse) -> Void) - -> Self - -// Response Data Handler - Serialized into Data -func responseData( - queue: DispatchQueue?, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - -// Response String Handler - Serialized into String -func responseString( - queue: DispatchQueue?, - encoding: String.Encoding?, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - -// Response JSON Handler - Serialized into Any -func responseJSON( - queue: DispatchQueue?, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - -// Response PropertyList (plist) Handler - Serialized into Any -func responsePropertyList( - queue: DispatchQueue?, - completionHandler: @escaping (DataResponse) -> Void)) - -> Self -``` - -None of the response handlers perform any validation of the `HTTPURLResponse` it gets back from the server. - -> For example, response status codes in the `400..<500` and `500..<600` ranges do NOT automatically trigger an `Error`. Alamofire uses [Response Validation](#response-validation) method chaining to achieve this. - -#### Response Handler - -The `response` handler does NOT evaluate any of the response data. It merely forwards on all information directly from the URL session delegate. It is the Alamofire equivalent of using `cURL` to execute a `Request`. - -```swift -Alamofire.request("https://httpbin.org/get").response { response in - print("Request: \(response.request)") - print("Response: \(response.response)") - print("Error: \(response.error)") - - if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) { - print("Data: \(utf8Text)") - } -} -``` - -> We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types. - -#### Response Data Handler - -The `responseData` handler uses the `responseDataSerializer` (the object that serializes the server data into some other type) to extract the `Data` returned by the server. If no errors occur and `Data` is returned, the response `Result` will be a `.success` and the `value` will be of type `Data`. - -```swift -Alamofire.request("https://httpbin.org/get").responseData { response in - debugPrint("All Response Info: \(response)") - - if let data = response.result.value, let utf8Text = String(data: data, encoding: .utf8) { - print("Data: \(utf8Text)") - } -} -``` - -#### Response String Handler - -The `responseString` handler uses the `responseStringSerializer` to convert the `Data` returned by the server into a `String` with the specified encoding. If no errors occur and the server data is successfully serialized into a `String`, the response `Result` will be a `.success` and the `value` will be of type `String`. - -```swift -Alamofire.request("https://httpbin.org/get").responseString { response in - print("Success: \(response.result.isSuccess)") - print("Response String: \(response.result.value)") -} -``` - -> If no encoding is specified, Alamofire will use the text encoding specified in the `HTTPURLResponse` from the server. If the text encoding cannot be determined by the server response, it defaults to `.isoLatin1`. - -#### Response JSON Handler - -The `responseJSON` handler uses the `responseJSONSerializer` to convert the `Data` returned by the server into an `Any` type using the specified `JSONSerialization.ReadingOptions`. If no errors occur and the server data is successfully serialized into a JSON object, the response `Result` will be a `.success` and the `value` will be of type `Any`. - -```swift -Alamofire.request("https://httpbin.org/get").responseJSON { response in - debugPrint(response) - - if let json = response.result.value { - print("JSON: \(json)") - } -} -``` - -> All JSON serialization is handled by the `JSONSerialization` API in the `Foundation` framework. - -#### Chained Response Handlers - -Response handlers can even be chained: - -```swift -Alamofire.request("https://httpbin.org/get") - .responseString { response in - print("Response String: \(response.result.value)") - } - .responseJSON { response in - print("Response JSON: \(response.result.value)") - } -``` - -> It is important to note that using multiple response handlers on the same `Request` requires the server data to be serialized multiple times. Once for each response handler. - -#### Response Handler Queue - -Response handlers by default are executed on the main dispatch queue. However, a custom dispatch queue can be provided instead. - -```swift -let utilityQueue = DispatchQueue.global(qos: .utility) - -Alamofire.request("https://httpbin.org/get").responseJSON(queue: utilityQueue) { response in - print("Executing response handler on utility queue") -} -``` - -### Response Validation - -By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type. - -#### Manual Validation - -```swift -Alamofire.request("https://httpbin.org/get") - .validate(statusCode: 200..<300) - .validate(contentType: ["application/json"]) - .responseData { response in - switch response.result { - case .success: - print("Validation Successful") - case .failure(let error): - print(error) - } - } -``` - -#### Automatic Validation - -Automatically validates status code within `200..<300` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided. - -```swift -Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in - switch response.result { - case .success: - print("Validation Successful") - case .failure(let error): - print(error) - } -} -``` - -### Response Caching - -Response Caching is handled on the system framework level by [`URLCache`](https://developer.apple.com/reference/foundation/urlcache). It provides a composite in-memory and on-disk cache and lets you manipulate the sizes of both the in-memory and on-disk portions. - -> By default, Alamofire leverages the shared `URLCache`. In order to customize it, see the [Session Manager Configurations](#session-manager) section. - -### HTTP Methods - -The `HTTPMethod` enumeration lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3): - -```swift -public enum HTTPMethod: String { - case options = "OPTIONS" - case get = "GET" - case head = "HEAD" - case post = "POST" - case put = "PUT" - case patch = "PATCH" - case delete = "DELETE" - case trace = "TRACE" - case connect = "CONNECT" -} -``` - -These values can be passed as the `method` argument to the `Alamofire.request` API: - -```swift -Alamofire.request("https://httpbin.org/get") // method defaults to `.get` - -Alamofire.request("https://httpbin.org/post", method: .post) -Alamofire.request("https://httpbin.org/put", method: .put) -Alamofire.request("https://httpbin.org/delete", method: .delete) -``` - -> The `Alamofire.request` method parameter defaults to `.get`. - -### Parameter Encoding - -Alamofire supports three types of parameter encoding including: `URL`, `JSON` and `PropertyList`. It can also support any custom encoding that conforms to the `ParameterEncoding` protocol. - -#### URL Encoding - -The `URLEncoding` type creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP body of the URL request. Whether the query string is set or appended to any existing URL query string or set as the HTTP body depends on the `Destination` of the encoding. The `Destination` enumeration has three cases: - -- `.methodDependent` - Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE` requests and sets as the HTTP body for requests with any other HTTP method. -- `.queryString` - Sets or appends encoded query string result to existing query string. -- `.httpBody` - Sets encoded query string result as the HTTP body of the URL request. - -The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`). - -##### GET Request With URL-Encoded Parameters - -```swift -let parameters: Parameters = ["foo": "bar"] - -// All three of these calls are equivalent -Alamofire.request("https://httpbin.org/get", parameters: parameters) // encoding defaults to `URLEncoding.default` -Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding.default) -Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding(destination: .methodDependent)) - -// https://httpbin.org/get?foo=bar -``` - -##### POST Request With URL-Encoded Parameters - -```swift -let parameters: Parameters = [ - "foo": "bar", - "baz": ["a", 1], - "qux": [ - "x": 1, - "y": 2, - "z": 3 - ] -] - -// All three of these calls are equivalent -Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters) -Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.default) -Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.httpBody) - -// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3 -``` - -#### JSON Encoding - -The `JSONEncoding` type creates a JSON representation of the parameters object, which is set as the HTTP body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`. - -##### POST Request with JSON-Encoded Parameters - -```swift -let parameters: Parameters = [ - "foo": [1,2,3], - "bar": [ - "baz": "qux" - ] -] - -// Both calls are equivalent -Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding.default) -Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding(options: [])) - -// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}} -``` - -#### Property List Encoding - -The `PropertyListEncoding` uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`. - -#### Custom Encoding - -In the event that the provided `ParameterEncoding` types do not meet your needs, you can create your own custom encoding. Here's a quick example of how you could build a custom `JSONStringArrayEncoding` type to encode a JSON string array onto a `Request`. - -```swift -struct JSONStringArrayEncoding: ParameterEncoding { - private let array: [String] - - init(array: [String]) { - self.array = array - } - - func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest { - var urlRequest = try urlRequest.asURLRequest() - - let data = try JSONSerialization.data(withJSONObject: array, options: []) - - if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil { - urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") - } - - urlRequest.httpBody = data - - return urlRequest - } -} -``` - -#### Manual Parameter Encoding of a URLRequest - -The `ParameterEncoding` APIs can be used outside of making network requests. - -```swift -let url = URL(string: "https://httpbin.org/get")! -var urlRequest = URLRequest(url: url) - -let parameters: Parameters = ["foo": "bar"] -let encodedURLRequest = try URLEncoding.queryString.encode(urlRequest, with: parameters) -``` - -### HTTP Headers - -Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing. - -```swift -let headers: HTTPHeaders = [ - "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==", - "Accept": "application/json" -] - -Alamofire.request("https://httpbin.org/headers", headers: headers).responseJSON { response in - debugPrint(response) -} -``` - -> For HTTP headers that do not change, it is recommended to set them on the `URLSessionConfiguration` so they are automatically applied to any `URLSessionTask` created by the underlying `URLSession`. For more information, see the [Session Manager Configurations](#session-manager) section. - -The default Alamofire `SessionManager` provides a default set of headers for every `Request`. These include: - -- `Accept-Encoding`, which defaults to `gzip;q=1.0, compress;q=0.5`, per [RFC 7230 §4.2.3](https://tools.ietf.org/html/rfc7230#section-4.2.3). -- `Accept-Language`, which defaults to up to the top 6 preferred languages on the system, formatted like `en;q=1.0`, per [RFC 7231 §5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5). -- `User-Agent`, which contains versioning information about the current app. For example: `iOS Example/1.0 (com.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`, per [RFC 7231 §5.5.3](https://tools.ietf.org/html/rfc7231#section-5.5.3). - -If you need to customize these headers, a custom `URLSessionConfiguration` should be created, the `defaultHTTPHeaders` property updated and the configuration applied to a new `SessionManager` instance. - -### Authentication - -Authentication is handled on the system framework level by [`URLCredential`](https://developer.apple.com/reference/foundation/nsurlcredential) and [`URLAuthenticationChallenge`](https://developer.apple.com/reference/foundation/urlauthenticationchallenge). - -**Supported Authentication Schemes** - -- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication) -- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication) -- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29) -- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager) - -#### HTTP Basic Authentication - -The `authenticate` method on a `Request` will automatically provide a `URLCredential` to a `URLAuthenticationChallenge` when appropriate: - -```swift -let user = "user" -let password = "password" - -Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)") - .authenticate(user: user, password: password) - .responseJSON { response in - debugPrint(response) - } -``` - -Depending upon your server implementation, an `Authorization` header may also be appropriate: - -```swift -let user = "user" -let password = "password" - -var headers: HTTPHeaders = [:] - -if let authorizationHeader = Request.authorizationHeader(user: user, password: password) { - headers[authorizationHeader.key] = authorizationHeader.value -} - -Alamofire.request("https://httpbin.org/basic-auth/user/password", headers: headers) - .responseJSON { response in - debugPrint(response) - } -``` - -#### Authentication with URLCredential - -```swift -let user = "user" -let password = "password" - -let credential = URLCredential(user: user, password: password, persistence: .forSession) - -Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)") - .authenticate(usingCredential: credential) - .responseJSON { response in - debugPrint(response) - } -``` - -> It is important to note that when using a `URLCredential` for authentication, the underlying `URLSession` will actually end up making two requests if a challenge is issued by the server. The first request will not include the credential which "may" trigger a challenge from the server. The challenge is then received by Alamofire, the credential is appended and the request is retried by the underlying `URLSession`. - -### Downloading Data to a File - -Requests made in Alamofire that fetch data from a server can download the data in-memory or on-disk. The `Alamofire.request` APIs used in all the examples so far always downloads the server data in-memory. This is great for smaller payloads because it's more efficient, but really bad for larger payloads because the download could run your entire application out-of-memory. Because of this, you can also use the `Alamofire.download` APIs to download the server data to a temporary file on-disk. - -> This will only work on `macOS` as is. Other platforms don't allow access to the filesystem outside of your app's sandbox. To download files on other platforms, see the [Download File Destination](#download-file-destination) section. - -```swift -Alamofire.download("https://httpbin.org/image/png").responseData { response in - if let data = response.result.value { - let image = UIImage(data: data) - } -} -``` - -> The `Alamofire.download` APIs should also be used if you need to download data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section. - -#### Download File Destination - -You can also provide a `DownloadFileDestination` closure to move the file from the temporary directory to a final destination. Before the temporary file is actually moved to the `destinationURL`, the `DownloadOptions` specified in the closure will be executed. The two currently supported `DownloadOptions` are: - -- `.createIntermediateDirectories` - Creates intermediate directories for the destination URL if specified. -- `.removePreviousFile` - Removes a previous file from the destination URL if specified. - -```swift -let destination: DownloadRequest.DownloadFileDestination = { _, _ in - let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0] - let fileURL = documentsURL.appendingPathComponent("pig.png") - - return (fileURL, [.removePreviousFile, .createIntermediateDirectories]) -} - -Alamofire.download(urlString, to: destination).response { response in - print(response) - - if response.error == nil, let imagePath = response.destinationURL?.path { - let image = UIImage(contentsOfFile: imagePath) - } -} -``` - -You can also use the suggested download destination API. - -```swift -let destination = DownloadRequest.suggestedDownloadDestination(for: .documentDirectory) -Alamofire.download("https://httpbin.org/image/png", to: destination) -``` - -#### Download Progress - -Many times it can be helpful to report download progress to the user. Any `DownloadRequest` can report download progress using the `downloadProgress` API. - -```swift -Alamofire.download("https://httpbin.org/image/png") - .downloadProgress { progress in - print("Download Progress: \(progress.fractionCompleted)") - } - .responseData { response in - if let data = response.result.value { - let image = UIImage(data: data) - } - } -``` - -The `downloadProgress` API also takes a `queue` parameter which defines which `DispatchQueue` the download progress closure should be called on. - -```swift -let utilityQueue = DispatchQueue.global(qos: .utility) - -Alamofire.download("https://httpbin.org/image/png") - .downloadProgress(queue: utilityQueue) { progress in - print("Download Progress: \(progress.fractionCompleted)") - } - .responseData { response in - if let data = response.result.value { - let image = UIImage(data: data) - } - } -``` - -#### Resuming a Download - -If a `DownloadRequest` is cancelled or interrupted, the underlying URL session may generate resume data for the active `DownloadRequest`. If this happens, the resume data can be re-used to restart the `DownloadRequest` where it left off. The resume data can be accessed through the download response, then reused when trying to restart the request. - -> **IMPORTANT:** On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the data is written incorrectly and will always fail to resume the download. For more information about the bug and possible workarounds, please see this Stack Overflow [post](http://stackoverflow.com/a/39347461/1342462). - -```swift -class ImageRequestor { - private var resumeData: Data? - private var image: UIImage? - - func fetchImage(completion: (UIImage?) -> Void) { - guard image == nil else { completion(image) ; return } - - let destination: DownloadRequest.DownloadFileDestination = { _, _ in - let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0] - let fileURL = documentsURL.appendingPathComponent("pig.png") - - return (fileURL, [.removePreviousFile, .createIntermediateDirectories]) - } - - let request: DownloadRequest - - if let resumeData = resumeData { - request = Alamofire.download(resumingWith: resumeData) - } else { - request = Alamofire.download("https://httpbin.org/image/png") - } - - request.responseData { response in - switch response.result { - case .success(let data): - self.image = UIImage(data: data) - case .failure: - self.resumeData = response.resumeData - } - } - } -} -``` - -### Uploading Data to a Server - -When sending relatively small amounts of data to a server using JSON or URL encoded parameters, the `Alamofire.request` APIs are usually sufficient. If you need to send much larger amounts of data from a file URL or an `InputStream`, then the `Alamofire.upload` APIs are what you want to use. - -> The `Alamofire.upload` APIs should also be used if you need to upload data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section. - -#### Uploading Data - -```swift -let imageData = UIImagePNGRepresentation(image)! - -Alamofire.upload(imageData, to: "https://httpbin.org/post").responseJSON { response in - debugPrint(response) -} -``` - -#### Uploading a File - -```swift -let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov") - -Alamofire.upload(fileURL, to: "https://httpbin.org/post").responseJSON { response in - debugPrint(response) -} -``` - -#### Uploading Multipart Form Data - -```swift -Alamofire.upload( - multipartFormData: { multipartFormData in - multipartFormData.append(unicornImageURL, withName: "unicorn") - multipartFormData.append(rainbowImageURL, withName: "rainbow") - }, - to: "https://httpbin.org/post", - encodingCompletion: { encodingResult in - switch encodingResult { - case .success(let upload, _, _): - upload.responseJSON { response in - debugPrint(response) - } - case .failure(let encodingError): - print(encodingError) - } - } -) -``` - -#### Upload Progress - -While your user is waiting for their upload to complete, sometimes it can be handy to show the progress of the upload to the user. Any `UploadRequest` can report both upload progress and download progress of the response data using the `uploadProgress` and `downloadProgress` APIs. - -```swift -let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov") - -Alamofire.upload(fileURL, to: "https://httpbin.org/post") - .uploadProgress { progress in // main queue by default - print("Upload Progress: \(progress.fractionCompleted)") - } - .downloadProgress { progress in // main queue by default - print("Download Progress: \(progress.fractionCompleted)") - } - .responseJSON { response in - debugPrint(response) - } -``` - -### Statistical Metrics - -#### Timeline - -Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on all response types. - -```swift -Alamofire.request("https://httpbin.org/get").responseJSON { response in - print(response.timeline) -} -``` - -The above reports the following `Timeline` info: - -- `Latency`: 0.428 seconds -- `Request Duration`: 0.428 seconds -- `Serialization Duration`: 0.001 seconds -- `Total Duration`: 0.429 seconds - -#### URL Session Task Metrics - -In iOS and tvOS 10 and macOS 10.12, Apple introduced the new [URLSessionTaskMetrics](https://developer.apple.com/reference/foundation/urlsessiontaskmetrics) APIs. The task metrics encapsulate some fantastic statistical information about the request and response execution. The API is very similar to the `Timeline`, but provides many more statistics that Alamofire doesn't have access to compute. The metrics can be accessed through any response type. - -```swift -Alamofire.request("https://httpbin.org/get").responseJSON { response in - print(response.metrics) -} -``` - -It's important to note that these APIs are only available on iOS and tvOS 10 and macOS 10.12. Therefore, depending on your deployment target, you may need to use these inside availability checks: - -```swift -Alamofire.request("https://httpbin.org/get").responseJSON { response in - if #available(iOS 10.0, *) { - print(response.metrics) - } -} -``` - -### cURL Command Output - -Debugging platform issues can be frustrating. Thankfully, Alamofire `Request` objects conform to both the `CustomStringConvertible` and `CustomDebugStringConvertible` protocols to provide some VERY helpful debugging tools. - -#### CustomStringConvertible - -```swift -let request = Alamofire.request("https://httpbin.org/ip") - -print(request) -// GET https://httpbin.org/ip (200) -``` - -#### CustomDebugStringConvertible - -```swift -let request = Alamofire.request("https://httpbin.org/get", parameters: ["foo": "bar"]) -debugPrint(request) -``` - -Outputs: - -```bash -$ curl -i \ - -H "User-Agent: Alamofire/4.0.0" \ - -H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \ - -H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \ - "https://httpbin.org/get?foo=bar" -``` - ---- - -## Advanced Usage - -Alamofire is built on `URLSession` and the Foundation URL Loading System. To make the most of this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack. - -**Recommended Reading** - -- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html) -- [URLSession Class Reference](https://developer.apple.com/reference/foundation/nsurlsession) -- [URLCache Class Reference](https://developer.apple.com/reference/foundation/urlcache) -- [URLAuthenticationChallenge Class Reference](https://developer.apple.com/reference/foundation/urlauthenticationchallenge) - -### Session Manager - -Top-level convenience methods like `Alamofire.request` use a default instance of `Alamofire.SessionManager`, which is configured with the default `URLSessionConfiguration`. - -As such, the following two statements are equivalent: - -```swift -Alamofire.request("https://httpbin.org/get") -``` - -```swift -let sessionManager = Alamofire.SessionManager.default -sessionManager.request("https://httpbin.org/get") -``` - -Applications can create session managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`httpAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`). - -#### Creating a Session Manager with Default Configuration - -```swift -let configuration = URLSessionConfiguration.default -let sessionManager = Alamofire.SessionManager(configuration: configuration) -``` - -#### Creating a Session Manager with Background Configuration - -```swift -let configuration = URLSessionConfiguration.background(withIdentifier: "com.example.app.background") -let sessionManager = Alamofire.SessionManager(configuration: configuration) -``` - -#### Creating a Session Manager with Ephemeral Configuration - -```swift -let configuration = URLSessionConfiguration.ephemeral -let sessionManager = Alamofire.SessionManager(configuration: configuration) -``` - -#### Modifying the Session Configuration - -```swift -var defaultHeaders = Alamofire.SessionManager.defaultHTTPHeaders -defaultHeaders["DNT"] = "1 (Do Not Track Enabled)" - -let configuration = URLSessionConfiguration.default -configuration.httpAdditionalHeaders = defaultHeaders - -let sessionManager = Alamofire.SessionManager(configuration: configuration) -``` - -> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use the `headers` parameter in the top-level `Alamofire.request` APIs, `URLRequestConvertible` and `ParameterEncoding`, respectively. - -### Session Delegate - -By default, an Alamofire `SessionManager` instance creates a `SessionDelegate` object to handle all the various types of delegate callbacks that are generated by the underlying `URLSession`. The implementations of each delegate method handle the most common use cases for these types of calls abstracting the complexity away from the top-level APIs. However, advanced users may find the need to override the default functionality for various reasons. - -#### Override Closures - -The first way to customize the `SessionDelegate` behavior is through the use of the override closures. Each closure gives you the ability to override the implementation of the matching `SessionDelegate` API, yet still use the default implementation for all other APIs. This makes it easy to customize subsets of the delegate functionality. Here are a few examples of some of the override closures available: - -```swift -/// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`. -open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))? - -/// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`. -open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)? - -/// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`. -open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)? - -/// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`. -open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)? -``` - -The following is a short example of how to use the `taskWillPerformHTTPRedirection` to avoid following redirects to any `apple.com` domains. - -```swift -let sessionManager = Alamofire.SessionManager(configuration: URLSessionConfiguration.default) -let delegate: Alamofire.SessionDelegate = sessionManager.delegate - -delegate.taskWillPerformHTTPRedirection = { session, task, response, request in - var finalRequest = request - - if - let originalRequest = task.originalRequest, - let urlString = originalRequest.url?.urlString, - urlString.contains("apple.com") - { - finalRequest = originalRequest - } - - return finalRequest -} -``` - -#### Subclassing - -Another way to override the default implementation of the `SessionDelegate` is to subclass it. Subclassing allows you completely customize the behavior of the API or to create a proxy for the API and still use the default implementation. Creating a proxy allows you to log events, emit notifications, provide pre and post hook implementations, etc. Here's a quick example of subclassing the `SessionDelegate` and logging a message when a redirect occurs. - -```swift -class LoggingSessionDelegate: SessionDelegate { - override func urlSession( - _ session: URLSession, - task: URLSessionTask, - willPerformHTTPRedirection response: HTTPURLResponse, - newRequest request: URLRequest, - completionHandler: @escaping (URLRequest?) -> Void) - { - print("URLSession will perform HTTP redirection to request: \(request)") - - super.urlSession( - session, - task: task, - willPerformHTTPRedirection: response, - newRequest: request, - completionHandler: completionHandler - ) - } -} -``` - -Generally speaking, either the default implementation or the override closures should provide the necessary functionality required. Subclassing should only be used as a last resort. - -> It is important to keep in mind that the `subdelegates` are initialized and destroyed in the default implementation. Be careful when subclassing to not introduce memory leaks. - -### Request - -The result of a `request`, `download`, `upload` or `stream` methods are a `DataRequest`, `DownloadRequest`, `UploadRequest` and `StreamRequest` which all inherit from `Request`. All `Request` instances are always created by an owning session manager, and never initialized directly. - -Each subclass has specialized methods such as `authenticate`, `validate`, `responseJSON` and `uploadProgress` that each return the caller instance in order to facilitate method chaining. - -Requests can be suspended, resumed and cancelled: - -- `suspend()`: Suspends the underlying task and dispatch queue. -- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start. -- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers. - -### Routing Requests - -As apps grow in size, it's important to adopt common patterns as you build out your network stack. An important part of that design is how to route your requests. The Alamofire `URLConvertible` and `URLRequestConvertible` protocols along with the `Router` design pattern are here to help. - -#### URLConvertible - -Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct URL requests internally. `String`, `URL`, and `URLComponents` conform to `URLConvertible` by default, allowing any of them to be passed as `url` parameters to the `request`, `upload`, and `download` methods: - -```swift -let urlString = "https://httpbin.org/post" -Alamofire.request(urlString, method: .post) - -let url = URL(string: urlString)! -Alamofire.request(url, method: .post) - -let urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: true)! -Alamofire.request(urlComponents, method: .post) -``` - -Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLConvertible` as a convenient way to map domain-specific models to server resources. - -##### Type-Safe Routing - -```swift -extension User: URLConvertible { - static let baseURLString = "https://example.com" - - func asURL() throws -> URL { - let urlString = User.baseURLString + "/users/\(username)/" - return try urlString.asURL() - } -} -``` - -```swift -let user = User(username: "mattt") -Alamofire.request(user) // https://example.com/users/mattt -``` - -#### URLRequestConvertible - -Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `URLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests): - -```swift -let url = URL(string: "https://httpbin.org/post")! -var urlRequest = URLRequest(url: url) -urlRequest.httpMethod = "POST" - -let parameters = ["foo": "bar"] - -do { - urlRequest.httpBody = try JSONSerialization.data(withJSONObject: parameters, options: []) -} catch { - // No-op -} - -urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") - -Alamofire.request(urlRequest) -``` - -Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state. - -##### API Parameter Abstraction - -```swift -enum Router: URLRequestConvertible { - case search(query: String, page: Int) - - static let baseURLString = "https://example.com" - static let perPage = 50 - - // MARK: URLRequestConvertible - - func asURLRequest() throws -> URLRequest { - let result: (path: String, parameters: Parameters) = { - switch self { - case let .search(query, page) where page > 0: - return ("/search", ["q": query, "offset": Router.perPage * page]) - case let .search(query, _): - return ("/search", ["q": query]) - } - }() - - let url = try Router.baseURLString.asURL() - let urlRequest = URLRequest(url: url.appendingPathComponent(result.path)) - - return try URLEncoding.default.encode(urlRequest, with: result.parameters) - } -} -``` - -```swift -Alamofire.request(Router.search(query: "foo bar", page: 1)) // https://example.com/search?q=foo%20bar&offset=50 -``` - -##### CRUD & Authorization - -```swift -import Alamofire - -enum Router: URLRequestConvertible { - case createUser(parameters: Parameters) - case readUser(username: String) - case updateUser(username: String, parameters: Parameters) - case destroyUser(username: String) - - static let baseURLString = "https://example.com" - - var method: HTTPMethod { - switch self { - case .createUser: - return .post - case .readUser: - return .get - case .updateUser: - return .put - case .destroyUser: - return .delete - } - } - - var path: String { - switch self { - case .createUser: - return "/users" - case .readUser(let username): - return "/users/\(username)" - case .updateUser(let username, _): - return "/users/\(username)" - case .destroyUser(let username): - return "/users/\(username)" - } - } - - // MARK: URLRequestConvertible - - func asURLRequest() throws -> URLRequest { - let url = try Router.baseURLString.asURL() - - var urlRequest = URLRequest(url: url.appendingPathComponent(path)) - urlRequest.httpMethod = method.rawValue - - switch self { - case .createUser(let parameters): - urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters) - case .updateUser(_, let parameters): - urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters) - default: - break - } - - return urlRequest - } -} -``` - -```swift -Alamofire.request(Router.readUser("mattt")) // GET https://example.com/users/mattt -``` - -### Adapting and Retrying Requests - -Most web services these days are behind some sort of authentication system. One of the more common ones today is OAuth. This generally involves generating an access token authorizing your application or user to call the various supported web services. While creating these initial access tokens can be laborsome, it can be even more complicated when your access token expires and you need to fetch a new one. There are many thread-safety issues that need to be considered. - -The `RequestAdapter` and `RequestRetrier` protocols were created to make it much easier to create a thread-safe authentication system for a specific set of web services. - -#### RequestAdapter - -The `RequestAdapter` protocol allows each `Request` made on a `SessionManager` to be inspected and adapted before being created. One very specific way to use an adapter is to append an `Authorization` header to requests behind a certain type of authentication. - -```swift -class AccessTokenAdapter: RequestAdapter { - private let accessToken: String - - init(accessToken: String) { - self.accessToken = accessToken - } - - func adapt(_ urlRequest: URLRequest) throws -> URLRequest { - var urlRequest = urlRequest - - if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix("https://httpbin.org") { - urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization") - } - - return urlRequest - } -} -``` - -```swift -let sessionManager = SessionManager() -sessionManager.adapter = AccessTokenAdapter(accessToken: "1234") - -sessionManager.request("https://httpbin.org/get") -``` - -#### RequestRetrier - -The `RequestRetrier` protocol allows a `Request` that encountered an `Error` while being executed to be retried. When using both the `RequestAdapter` and `RequestRetrier` protocols together, you can create credential refresh systems for OAuth1, OAuth2, Basic Auth and even exponential backoff retry policies. The possibilities are endless. Here's an example of how you could implement a refresh flow for OAuth2 access tokens. - -> **DISCLAIMER:** This is **NOT** a global `OAuth2` solution. It is merely an example demonstrating how one could use the `RequestAdapter` in conjunction with the `RequestRetrier` to create a thread-safe refresh system. - -> To reiterate, **do NOT copy** this sample code and drop it into a production application. This is merely an example. Each authentication system must be tailored to a particular platform and authentication type. - -```swift -class OAuth2Handler: RequestAdapter, RequestRetrier { - private typealias RefreshCompletion = (_ succeeded: Bool, _ accessToken: String?, _ refreshToken: String?) -> Void - - private let sessionManager: SessionManager = { - let configuration = URLSessionConfiguration.default - configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders - - return SessionManager(configuration: configuration) - }() - - private let lock = NSLock() - - private var clientID: String - private var baseURLString: String - private var accessToken: String - private var refreshToken: String - - private var isRefreshing = false - private var requestsToRetry: [RequestRetryCompletion] = [] - - // MARK: - Initialization - - public init(clientID: String, baseURLString: String, accessToken: String, refreshToken: String) { - self.clientID = clientID - self.baseURLString = baseURLString - self.accessToken = accessToken - self.refreshToken = refreshToken - } - - // MARK: - RequestAdapter - - func adapt(_ urlRequest: URLRequest) throws -> URLRequest { - if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix(baseURLString) { - var urlRequest = urlRequest - urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization") - return urlRequest - } - - return urlRequest - } - - // MARK: - RequestRetrier - - func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) { - lock.lock() ; defer { lock.unlock() } - - if let response = request.task?.response as? HTTPURLResponse, response.statusCode == 401 { - requestsToRetry.append(completion) - - if !isRefreshing { - refreshTokens { [weak self] succeeded, accessToken, refreshToken in - guard let strongSelf = self else { return } - - strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() } - - if let accessToken = accessToken, let refreshToken = refreshToken { - strongSelf.accessToken = accessToken - strongSelf.refreshToken = refreshToken - } - - strongSelf.requestsToRetry.forEach { $0(succeeded, 0.0) } - strongSelf.requestsToRetry.removeAll() - } - } - } else { - completion(false, 0.0) - } - } - - // MARK: - Private - Refresh Tokens - - private func refreshTokens(completion: @escaping RefreshCompletion) { - guard !isRefreshing else { return } - - isRefreshing = true - - let urlString = "\(baseURLString)/oauth2/token" - - let parameters: [String: Any] = [ - "access_token": accessToken, - "refresh_token": refreshToken, - "client_id": clientID, - "grant_type": "refresh_token" - ] - - sessionManager.request(urlString, method: .post, parameters: parameters, encoding: JSONEncoding.default) - .responseJSON { [weak self] response in - guard let strongSelf = self else { return } - - if - let json = response.result.value as? [String: Any], - let accessToken = json["access_token"] as? String, - let refreshToken = json["refresh_token"] as? String - { - completion(true, accessToken, refreshToken) - } else { - completion(false, nil, nil) - } - - strongSelf.isRefreshing = false - } - } -} -``` - -```swift -let baseURLString = "https://some.domain-behind-oauth2.com" - -let oauthHandler = OAuth2Handler( - clientID: "12345678", - baseURLString: baseURLString, - accessToken: "abcd1234", - refreshToken: "ef56789a" -) - -let sessionManager = SessionManager() -sessionManager.adapter = oauthHandler -sessionManager.retrier = oauthHandler - -let urlString = "\(baseURLString)/some/endpoint" - -sessionManager.request(urlString).validate().responseJSON { response in - debugPrint(response) -} -``` - -Once the `OAuth2Handler` is applied as both the `adapter` and `retrier` for the `SessionManager`, it will handle an invalid access token error by automatically refreshing the access token and retrying all failed requests in the same order they failed. - -> If you needed them to execute in the same order they were created, you could sort them by their task identifiers. - -The example above only checks for a `401` response code which is not nearly robust enough, but does demonstrate how one could check for an invalid access token error. In a production application, one would want to check the `realm` and most likely the `www-authenticate` header response although it depends on the OAuth2 implementation. - -Another important note is that this authentication system could be shared between multiple session managers. For example, you may need to use both a `default` and `ephemeral` session configuration for the same set of web services. The example above allows the same `oauthHandler` instance to be shared across multiple session managers to manage the single refresh flow. - -### Custom Response Serialization - -Alamofire provides built-in response serialization for data, strings, JSON, and property lists: - -```swift -Alamofire.request(...).responseData { (resp: DataResponse) in ... } -Alamofire.request(...).responseString { (resp: DataResponse) in ... } -Alamofire.request(...).responseJSON { (resp: DataResponse) in ... } -Alamofire.request(...).responsePropertyList { resp: DataResponse) in ... } -``` - -Those responses wrap deserialized *values* (Data, String, Any) or *errors* (network, validation errors), as well as *meta-data* (URL request, HTTP headers, status code, [metrics](#statistical-metrics), ...). - -You have several ways to customize all of those response elements: - -- [Response Mapping](#response-mapping) -- [Handling Errors](#handling-errors) -- [Creating a Custom Response Serializer](#creating-a-custom-response-serializer) -- [Generic Response Object Serialization](#generic-response-object-serialization) - -#### Response Mapping - -Response mapping is the simplest way to produce customized responses. It transforms the value of a response, while preserving eventual errors and meta-data. For example, you can turn a json response `DataResponse` into a response that holds an application model, such as `DataResponse`. You perform response mapping with the `DataResponse.map` method: - -```swift -Alamofire.request("https://example.com/users/mattt").responseJSON { (response: DataResponse) in - let userResponse = response.map { json in - // We assume an existing User(json: Any) initializer - return User(json: json) - } - - // Process userResponse, of type DataResponse: - if let user = userResponse.value { - print("User: { username: \(user.username), name: \(user.name) }") - } -} -``` - -When the transformation may throw an error, use `flatMap` instead: - -```swift -Alamofire.request("https://example.com/users/mattt").responseJSON { response in - let userResponse = response.flatMap { json in - try User(json: json) - } -} -``` - -Response mapping is a good fit for your custom completion handlers: - -```swift -@discardableResult -func loadUser(completionHandler: @escaping (DataResponse) -> Void) -> Alamofire.DataRequest { - return Alamofire.request("https://example.com/users/mattt").responseJSON { response in - let userResponse = response.flatMap { json in - try User(json: json) - } - - completionHandler(userResponse) - } -} - -loadUser { response in - if let user = response.value { - print("User: { username: \(user.username), name: \(user.name) }") - } -} -``` - -When the map/flatMap closure may process a big amount of data, make sure you execute it outside of the main thread: - -```swift -@discardableResult -func loadUser(completionHandler: @escaping (DataResponse) -> Void) -> Alamofire.DataRequest { - let utilityQueue = DispatchQueue.global(qos: .utility) - - return Alamofire.request("https://example.com/users/mattt").responseJSON(queue: utilityQueue) { response in - let userResponse = response.flatMap { json in - try User(json: json) - } - - DispatchQueue.main.async { - completionHandler(userResponse) - } - } -} -``` - -`map` and `flatMap` are also available for [download responses](#downloading-data-to-a-file). - -#### Handling Errors - -Before implementing custom response serializers or object serialization methods, it's important to consider how to handle any errors that may occur. There are two basic options: passing existing errors along unmodified, to be dealt with at response time; or, wrapping all errors in an `Error` type specific to your app. - -For example, here's a simple `BackendError` enum which will be used in later examples: - -```swift -enum BackendError: Error { - case network(error: Error) // Capture any underlying Error from the URLSession API - case dataSerialization(error: Error) - case jsonSerialization(error: Error) - case xmlSerialization(error: Error) - case objectSerialization(reason: String) -} -``` - -#### Creating a Custom Response Serializer - -Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.DataRequest` and / or `Alamofire.DownloadRequest`. - -For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented: - -```swift -extension DataRequest { - static func xmlResponseSerializer() -> DataResponseSerializer { - return DataResponseSerializer { request, response, data, error in - // Pass through any underlying URLSession error to the .network case. - guard error == nil else { return .failure(BackendError.network(error: error!)) } - - // Use Alamofire's existing data serializer to extract the data, passing the error as nil, as it has - // already been handled. - let result = Request.serializeResponseData(response: response, data: data, error: nil) - - guard case let .success(validData) = result else { - return .failure(BackendError.dataSerialization(error: result.error! as! AFError)) - } - - do { - let xml = try ONOXMLDocument(data: validData) - return .success(xml) - } catch { - return .failure(BackendError.xmlSerialization(error: error)) - } - } - } - - @discardableResult - func responseXMLDocument( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DataRequest.xmlResponseSerializer(), - completionHandler: completionHandler - ) - } -} -``` - -#### Generic Response Object Serialization - -Generics can be used to provide automatic, type-safe response object serialization. - -```swift -protocol ResponseObjectSerializable { - init?(response: HTTPURLResponse, representation: Any) -} - -extension DataRequest { - func responseObject( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - let responseSerializer = DataResponseSerializer { request, response, data, error in - guard error == nil else { return .failure(BackendError.network(error: error!)) } - - let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments) - let result = jsonResponseSerializer.serializeResponse(request, response, data, nil) - - guard case let .success(jsonObject) = result else { - return .failure(BackendError.jsonSerialization(error: result.error!)) - } - - guard let response = response, let responseObject = T(response: response, representation: jsonObject) else { - return .failure(BackendError.objectSerialization(reason: "JSON could not be serialized: \(jsonObject)")) - } - - return .success(responseObject) - } - - return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler) - } -} -``` - -```swift -struct User: ResponseObjectSerializable, CustomStringConvertible { - let username: String - let name: String - - var description: String { - return "User: { username: \(username), name: \(name) }" - } - - init?(response: HTTPURLResponse, representation: Any) { - guard - let username = response.url?.lastPathComponent, - let representation = representation as? [String: Any], - let name = representation["name"] as? String - else { return nil } - - self.username = username - self.name = name - } -} -``` - -```swift -Alamofire.request("https://example.com/users/mattt").responseObject { (response: DataResponse) in - debugPrint(response) - - if let user = response.result.value { - print("User: { username: \(user.username), name: \(user.name) }") - } -} -``` - -The same approach can also be used to handle endpoints that return a representation of a collection of objects: - -```swift -protocol ResponseCollectionSerializable { - static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self] -} - -extension ResponseCollectionSerializable where Self: ResponseObjectSerializable { - static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self] { - var collection: [Self] = [] - - if let representation = representation as? [[String: Any]] { - for itemRepresentation in representation { - if let item = Self(response: response, representation: itemRepresentation) { - collection.append(item) - } - } - } - - return collection - } -} -``` - -```swift -extension DataRequest { - @discardableResult - func responseCollection( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DataResponse<[T]>) -> Void) -> Self - { - let responseSerializer = DataResponseSerializer<[T]> { request, response, data, error in - guard error == nil else { return .failure(BackendError.network(error: error!)) } - - let jsonSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments) - let result = jsonSerializer.serializeResponse(request, response, data, nil) - - guard case let .success(jsonObject) = result else { - return .failure(BackendError.jsonSerialization(error: result.error!)) - } - - guard let response = response else { - let reason = "Response collection could not be serialized due to nil response." - return .failure(BackendError.objectSerialization(reason: reason)) - } - - return .success(T.collection(from: response, withRepresentation: jsonObject)) - } - - return response(responseSerializer: responseSerializer, completionHandler: completionHandler) - } -} -``` - -```swift -struct User: ResponseObjectSerializable, ResponseCollectionSerializable, CustomStringConvertible { - let username: String - let name: String - - var description: String { - return "User: { username: \(username), name: \(name) }" - } - - init?(response: HTTPURLResponse, representation: Any) { - guard - let username = response.url?.lastPathComponent, - let representation = representation as? [String: Any], - let name = representation["name"] as? String - else { return nil } - - self.username = username - self.name = name - } -} -``` - -```swift -Alamofire.request("https://example.com/users").responseCollection { (response: DataResponse<[User]>) in - debugPrint(response) - - if let users = response.result.value { - users.forEach { print("- \($0)") } - } -} -``` - -### Security - -Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`. - -#### ServerTrustPolicy - -The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `URLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection. - -```swift -let serverTrustPolicy = ServerTrustPolicy.pinCertificates( - certificates: ServerTrustPolicy.certificates(), - validateCertificateChain: true, - validateHost: true -) -``` - -There are many different cases of server trust evaluation giving you complete control over the validation process: - -* `performDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge. -* `pinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates. -* `pinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys. -* `disableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid. -* `customEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution. - -#### Server Trust Policy Manager - -The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy. - -```swift -let serverTrustPolicies: [String: ServerTrustPolicy] = [ - "test.example.com": .pinCertificates( - certificates: ServerTrustPolicy.certificates(), - validateCertificateChain: true, - validateHost: true - ), - "insecure.expired-apis.com": .disableEvaluation -] - -let sessionManager = SessionManager( - serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies) -) -``` - -> Make sure to keep a reference to the new `SessionManager` instance, otherwise your requests will all get cancelled when your `sessionManager` is deallocated. - -These server trust policies will result in the following behavior: - -- `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed: - - Certificate chain MUST be valid. - - Certificate chain MUST include one of the pinned certificates. - - Challenge host MUST match the host in the certificate chain's leaf certificate. -- `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed. -- All other hosts will use the default evaluation provided by Apple. - -##### Subclassing Server Trust Policy Manager - -If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation. - -```swift -class CustomServerTrustPolicyManager: ServerTrustPolicyManager { - override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? { - var policy: ServerTrustPolicy? - - // Implement your custom domain matching behavior... - - return policy - } -} -``` - -#### Validating the Host - -The `.performDefaultEvaluation`, `.pinCertificates` and `.pinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate. - -> It is recommended that `validateHost` always be set to `true` in production environments. - -#### Validating the Certificate Chain - -Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certificates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check. - -There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server. - -> It is recommended that `validateCertificateChain` always be set to `true` in production environments. - -#### App Transport Security - -With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust. - -If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`. - -```xml - - NSAppTransportSecurity - - NSExceptionDomains - - example.com - - NSExceptionAllowsInsecureHTTPLoads - - NSExceptionRequiresForwardSecrecy - - NSIncludesSubdomains - - - NSTemporaryExceptionMinimumTLSVersion - TLSv1.2 - - - - -``` - -Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`. - -> It is recommended to always use valid certificates in production environments. - -### Network Reachability - -The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces. - -```swift -let manager = NetworkReachabilityManager(host: "www.apple.com") - -manager?.listener = { status in - print("Network Status Changed: \(status)") -} - -manager?.startListening() -``` - -> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported. -> Also, do not include the scheme in the `host` string or reachability won't function correctly. - -There are some important things to remember when using network reachability to determine what to do next. - -- **Do NOT** use Reachability to determine if a network request should be sent. - - You should **ALWAYS** send it. -- When Reachability is restored, use the event to retry failed network requests. - - Even though the network requests may still fail, this is a good moment to retry them. -- The network reachability status can be useful for determining why a network request may have failed. - - If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out." - -> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info. - ---- - -## Open Radars - -The following radars have some effect on the current implementation of Alamofire. - -- [`rdar://21349340`](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case -- `rdar://26870455` - Background URL Session Configurations do not work in the simulator -- `rdar://26849668` - Some URLProtocol APIs do not properly handle `URLRequest` - -## Resolved Radars - -The following radars have been resolved over time after being filed against the Alamofire project. - -- [`rdar://26761490`](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage (Resolved on 9/1/17 in Xcode 9 beta 6). - -## FAQ - -### What's the origin of the name Alamofire? - -Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas. - -### What logic belongs in a Router vs. a Request Adapter? - -Simple, static data such as paths, parameters and common headers belong in the `Router`. Dynamic data such as an `Authorization` header whose value can changed based on an authentication system belongs in a `RequestAdapter`. - -The reason the dynamic data MUST be placed into the `RequestAdapter` is to support retry operations. When a `Request` is retried, the original request is not rebuilt meaning the `Router` will not be called again. The `RequestAdapter` is called again allowing the dynamic data to be updated on the original request before retrying the `Request`. - ---- - -## Credits - -Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases. - -### Security Disclosure - -If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker. - -## Donations - -The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to: - -- Pay our legal fees to register as a federal non-profit organization -- Pay our yearly legal fees to keep the non-profit in good status -- Pay for our mail servers to help us stay on top of all questions and security issues -- Potentially fund test servers to make it easier for us to test the edge cases -- Potentially fund developers to work on one of our projects full-time - -The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated. - -Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com ! - -## License - -Alamofire is released under the MIT license. [See LICENSE](https://github.com/Alamofire/Alamofire/blob/master/LICENSE) for details. diff --git a/Example/Pods/Alamofire/Source/AFError.swift b/Example/Pods/Alamofire/Source/AFError.swift deleted file mode 100644 index 585ae14..0000000 --- a/Example/Pods/Alamofire/Source/AFError.swift +++ /dev/null @@ -1,460 +0,0 @@ -// -// AFError.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// `AFError` is the error type returned by Alamofire. It encompasses a few different types of errors, each with -/// their own associated reasons. -/// -/// - invalidURL: Returned when a `URLConvertible` type fails to create a valid `URL`. -/// - parameterEncodingFailed: Returned when a parameter encoding object throws an error during the encoding process. -/// - multipartEncodingFailed: Returned when some step in the multipart encoding process fails. -/// - responseValidationFailed: Returned when a `validate()` call fails. -/// - responseSerializationFailed: Returned when a response serializer encounters an error in the serialization process. -public enum AFError: Error { - /// The underlying reason the parameter encoding error occurred. - /// - /// - missingURL: The URL request did not have a URL to encode. - /// - jsonEncodingFailed: JSON serialization failed with an underlying system error during the - /// encoding process. - /// - propertyListEncodingFailed: Property list serialization failed with an underlying system error during - /// encoding process. - public enum ParameterEncodingFailureReason { - case missingURL - case jsonEncodingFailed(error: Error) - case propertyListEncodingFailed(error: Error) - } - - /// The underlying reason the multipart encoding error occurred. - /// - /// - bodyPartURLInvalid: The `fileURL` provided for reading an encodable body part isn't a - /// file URL. - /// - bodyPartFilenameInvalid: The filename of the `fileURL` provided has either an empty - /// `lastPathComponent` or `pathExtension. - /// - bodyPartFileNotReachable: The file at the `fileURL` provided was not reachable. - /// - bodyPartFileNotReachableWithError: Attempting to check the reachability of the `fileURL` provided threw - /// an error. - /// - bodyPartFileIsDirectory: The file at the `fileURL` provided is actually a directory. - /// - bodyPartFileSizeNotAvailable: The size of the file at the `fileURL` provided was not returned by - /// the system. - /// - bodyPartFileSizeQueryFailedWithError: The attempt to find the size of the file at the `fileURL` provided - /// threw an error. - /// - bodyPartInputStreamCreationFailed: An `InputStream` could not be created for the provided `fileURL`. - /// - outputStreamCreationFailed: An `OutputStream` could not be created when attempting to write the - /// encoded data to disk. - /// - outputStreamFileAlreadyExists: The encoded body data could not be writtent disk because a file - /// already exists at the provided `fileURL`. - /// - outputStreamURLInvalid: The `fileURL` provided for writing the encoded body data to disk is - /// not a file URL. - /// - outputStreamWriteFailed: The attempt to write the encoded body data to disk failed with an - /// underlying error. - /// - inputStreamReadFailed: The attempt to read an encoded body part `InputStream` failed with - /// underlying system error. - public enum MultipartEncodingFailureReason { - case bodyPartURLInvalid(url: URL) - case bodyPartFilenameInvalid(in: URL) - case bodyPartFileNotReachable(at: URL) - case bodyPartFileNotReachableWithError(atURL: URL, error: Error) - case bodyPartFileIsDirectory(at: URL) - case bodyPartFileSizeNotAvailable(at: URL) - case bodyPartFileSizeQueryFailedWithError(forURL: URL, error: Error) - case bodyPartInputStreamCreationFailed(for: URL) - - case outputStreamCreationFailed(for: URL) - case outputStreamFileAlreadyExists(at: URL) - case outputStreamURLInvalid(url: URL) - case outputStreamWriteFailed(error: Error) - - case inputStreamReadFailed(error: Error) - } - - /// The underlying reason the response validation error occurred. - /// - /// - dataFileNil: The data file containing the server response did not exist. - /// - dataFileReadFailed: The data file containing the server response could not be read. - /// - missingContentType: The response did not contain a `Content-Type` and the `acceptableContentTypes` - /// provided did not contain wildcard type. - /// - unacceptableContentType: The response `Content-Type` did not match any type in the provided - /// `acceptableContentTypes`. - /// - unacceptableStatusCode: The response status code was not acceptable. - public enum ResponseValidationFailureReason { - case dataFileNil - case dataFileReadFailed(at: URL) - case missingContentType(acceptableContentTypes: [String]) - case unacceptableContentType(acceptableContentTypes: [String], responseContentType: String) - case unacceptableStatusCode(code: Int) - } - - /// The underlying reason the response serialization error occurred. - /// - /// - inputDataNil: The server response contained no data. - /// - inputDataNilOrZeroLength: The server response contained no data or the data was zero length. - /// - inputFileNil: The file containing the server response did not exist. - /// - inputFileReadFailed: The file containing the server response could not be read. - /// - stringSerializationFailed: String serialization failed using the provided `String.Encoding`. - /// - jsonSerializationFailed: JSON serialization failed with an underlying system error. - /// - propertyListSerializationFailed: Property list serialization failed with an underlying system error. - public enum ResponseSerializationFailureReason { - case inputDataNil - case inputDataNilOrZeroLength - case inputFileNil - case inputFileReadFailed(at: URL) - case stringSerializationFailed(encoding: String.Encoding) - case jsonSerializationFailed(error: Error) - case propertyListSerializationFailed(error: Error) - } - - case invalidURL(url: URLConvertible) - case parameterEncodingFailed(reason: ParameterEncodingFailureReason) - case multipartEncodingFailed(reason: MultipartEncodingFailureReason) - case responseValidationFailed(reason: ResponseValidationFailureReason) - case responseSerializationFailed(reason: ResponseSerializationFailureReason) -} - -// MARK: - Adapt Error - -struct AdaptError: Error { - let error: Error -} - -extension Error { - var underlyingAdaptError: Error? { return (self as? AdaptError)?.error } -} - -// MARK: - Error Booleans - -extension AFError { - /// Returns whether the AFError is an invalid URL error. - public var isInvalidURLError: Bool { - if case .invalidURL = self { return true } - return false - } - - /// Returns whether the AFError is a parameter encoding error. When `true`, the `underlyingError` property will - /// contain the associated value. - public var isParameterEncodingError: Bool { - if case .parameterEncodingFailed = self { return true } - return false - } - - /// Returns whether the AFError is a multipart encoding error. When `true`, the `url` and `underlyingError` properties - /// will contain the associated values. - public var isMultipartEncodingError: Bool { - if case .multipartEncodingFailed = self { return true } - return false - } - - /// Returns whether the `AFError` is a response validation error. When `true`, the `acceptableContentTypes`, - /// `responseContentType`, and `responseCode` properties will contain the associated values. - public var isResponseValidationError: Bool { - if case .responseValidationFailed = self { return true } - return false - } - - /// Returns whether the `AFError` is a response serialization error. When `true`, the `failedStringEncoding` and - /// `underlyingError` properties will contain the associated values. - public var isResponseSerializationError: Bool { - if case .responseSerializationFailed = self { return true } - return false - } -} - -// MARK: - Convenience Properties - -extension AFError { - /// The `URLConvertible` associated with the error. - public var urlConvertible: URLConvertible? { - switch self { - case .invalidURL(let url): - return url - default: - return nil - } - } - - /// The `URL` associated with the error. - public var url: URL? { - switch self { - case .multipartEncodingFailed(let reason): - return reason.url - default: - return nil - } - } - - /// The `Error` returned by a system framework associated with a `.parameterEncodingFailed`, - /// `.multipartEncodingFailed` or `.responseSerializationFailed` error. - public var underlyingError: Error? { - switch self { - case .parameterEncodingFailed(let reason): - return reason.underlyingError - case .multipartEncodingFailed(let reason): - return reason.underlyingError - case .responseSerializationFailed(let reason): - return reason.underlyingError - default: - return nil - } - } - - /// The acceptable `Content-Type`s of a `.responseValidationFailed` error. - public var acceptableContentTypes: [String]? { - switch self { - case .responseValidationFailed(let reason): - return reason.acceptableContentTypes - default: - return nil - } - } - - /// The response `Content-Type` of a `.responseValidationFailed` error. - public var responseContentType: String? { - switch self { - case .responseValidationFailed(let reason): - return reason.responseContentType - default: - return nil - } - } - - /// The response code of a `.responseValidationFailed` error. - public var responseCode: Int? { - switch self { - case .responseValidationFailed(let reason): - return reason.responseCode - default: - return nil - } - } - - /// The `String.Encoding` associated with a failed `.stringResponse()` call. - public var failedStringEncoding: String.Encoding? { - switch self { - case .responseSerializationFailed(let reason): - return reason.failedStringEncoding - default: - return nil - } - } -} - -extension AFError.ParameterEncodingFailureReason { - var underlyingError: Error? { - switch self { - case .jsonEncodingFailed(let error), .propertyListEncodingFailed(let error): - return error - default: - return nil - } - } -} - -extension AFError.MultipartEncodingFailureReason { - var url: URL? { - switch self { - case .bodyPartURLInvalid(let url), .bodyPartFilenameInvalid(let url), .bodyPartFileNotReachable(let url), - .bodyPartFileIsDirectory(let url), .bodyPartFileSizeNotAvailable(let url), - .bodyPartInputStreamCreationFailed(let url), .outputStreamCreationFailed(let url), - .outputStreamFileAlreadyExists(let url), .outputStreamURLInvalid(let url), - .bodyPartFileNotReachableWithError(let url, _), .bodyPartFileSizeQueryFailedWithError(let url, _): - return url - default: - return nil - } - } - - var underlyingError: Error? { - switch self { - case .bodyPartFileNotReachableWithError(_, let error), .bodyPartFileSizeQueryFailedWithError(_, let error), - .outputStreamWriteFailed(let error), .inputStreamReadFailed(let error): - return error - default: - return nil - } - } -} - -extension AFError.ResponseValidationFailureReason { - var acceptableContentTypes: [String]? { - switch self { - case .missingContentType(let types), .unacceptableContentType(let types, _): - return types - default: - return nil - } - } - - var responseContentType: String? { - switch self { - case .unacceptableContentType(_, let responseType): - return responseType - default: - return nil - } - } - - var responseCode: Int? { - switch self { - case .unacceptableStatusCode(let code): - return code - default: - return nil - } - } -} - -extension AFError.ResponseSerializationFailureReason { - var failedStringEncoding: String.Encoding? { - switch self { - case .stringSerializationFailed(let encoding): - return encoding - default: - return nil - } - } - - var underlyingError: Error? { - switch self { - case .jsonSerializationFailed(let error), .propertyListSerializationFailed(let error): - return error - default: - return nil - } - } -} - -// MARK: - Error Descriptions - -extension AFError: LocalizedError { - public var errorDescription: String? { - switch self { - case .invalidURL(let url): - return "URL is not valid: \(url)" - case .parameterEncodingFailed(let reason): - return reason.localizedDescription - case .multipartEncodingFailed(let reason): - return reason.localizedDescription - case .responseValidationFailed(let reason): - return reason.localizedDescription - case .responseSerializationFailed(let reason): - return reason.localizedDescription - } - } -} - -extension AFError.ParameterEncodingFailureReason { - var localizedDescription: String { - switch self { - case .missingURL: - return "URL request to encode was missing a URL" - case .jsonEncodingFailed(let error): - return "JSON could not be encoded because of error:\n\(error.localizedDescription)" - case .propertyListEncodingFailed(let error): - return "PropertyList could not be encoded because of error:\n\(error.localizedDescription)" - } - } -} - -extension AFError.MultipartEncodingFailureReason { - var localizedDescription: String { - switch self { - case .bodyPartURLInvalid(let url): - return "The URL provided is not a file URL: \(url)" - case .bodyPartFilenameInvalid(let url): - return "The URL provided does not have a valid filename: \(url)" - case .bodyPartFileNotReachable(let url): - return "The URL provided is not reachable: \(url)" - case .bodyPartFileNotReachableWithError(let url, let error): - return ( - "The system returned an error while checking the provided URL for " + - "reachability.\nURL: \(url)\nError: \(error)" - ) - case .bodyPartFileIsDirectory(let url): - return "The URL provided is a directory: \(url)" - case .bodyPartFileSizeNotAvailable(let url): - return "Could not fetch the file size from the provided URL: \(url)" - case .bodyPartFileSizeQueryFailedWithError(let url, let error): - return ( - "The system returned an error while attempting to fetch the file size from the " + - "provided URL.\nURL: \(url)\nError: \(error)" - ) - case .bodyPartInputStreamCreationFailed(let url): - return "Failed to create an InputStream for the provided URL: \(url)" - case .outputStreamCreationFailed(let url): - return "Failed to create an OutputStream for URL: \(url)" - case .outputStreamFileAlreadyExists(let url): - return "A file already exists at the provided URL: \(url)" - case .outputStreamURLInvalid(let url): - return "The provided OutputStream URL is invalid: \(url)" - case .outputStreamWriteFailed(let error): - return "OutputStream write failed with error: \(error)" - case .inputStreamReadFailed(let error): - return "InputStream read failed with error: \(error)" - } - } -} - -extension AFError.ResponseSerializationFailureReason { - var localizedDescription: String { - switch self { - case .inputDataNil: - return "Response could not be serialized, input data was nil." - case .inputDataNilOrZeroLength: - return "Response could not be serialized, input data was nil or zero length." - case .inputFileNil: - return "Response could not be serialized, input file was nil." - case .inputFileReadFailed(let url): - return "Response could not be serialized, input file could not be read: \(url)." - case .stringSerializationFailed(let encoding): - return "String could not be serialized with encoding: \(encoding)." - case .jsonSerializationFailed(let error): - return "JSON could not be serialized because of error:\n\(error.localizedDescription)" - case .propertyListSerializationFailed(let error): - return "PropertyList could not be serialized because of error:\n\(error.localizedDescription)" - } - } -} - -extension AFError.ResponseValidationFailureReason { - var localizedDescription: String { - switch self { - case .dataFileNil: - return "Response could not be validated, data file was nil." - case .dataFileReadFailed(let url): - return "Response could not be validated, data file could not be read: \(url)." - case .missingContentType(let types): - return ( - "Response Content-Type was missing and acceptable content types " + - "(\(types.joined(separator: ","))) do not match \"*/*\"." - ) - case .unacceptableContentType(let acceptableTypes, let responseType): - return ( - "Response Content-Type \"\(responseType)\" does not match any acceptable types: " + - "\(acceptableTypes.joined(separator: ","))." - ) - case .unacceptableStatusCode(let code): - return "Response status code was unacceptable: \(code)." - } - } -} diff --git a/Example/Pods/Alamofire/Source/Alamofire.swift b/Example/Pods/Alamofire/Source/Alamofire.swift deleted file mode 100644 index e971613..0000000 --- a/Example/Pods/Alamofire/Source/Alamofire.swift +++ /dev/null @@ -1,465 +0,0 @@ -// -// Alamofire.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct -/// URL requests. -public protocol URLConvertible { - /// Returns a URL that conforms to RFC 2396 or throws an `Error`. - /// - /// - throws: An `Error` if the type cannot be converted to a `URL`. - /// - /// - returns: A URL or throws an `Error`. - func asURL() throws -> URL -} - -extension String: URLConvertible { - /// Returns a URL if `self` represents a valid URL string that conforms to RFC 2396 or throws an `AFError`. - /// - /// - throws: An `AFError.invalidURL` if `self` is not a valid URL string. - /// - /// - returns: A URL or throws an `AFError`. - public func asURL() throws -> URL { - guard let url = URL(string: self) else { throw AFError.invalidURL(url: self) } - return url - } -} - -extension URL: URLConvertible { - /// Returns self. - public func asURL() throws -> URL { return self } -} - -extension URLComponents: URLConvertible { - /// Returns a URL if `url` is not nil, otherwise throws an `Error`. - /// - /// - throws: An `AFError.invalidURL` if `url` is `nil`. - /// - /// - returns: A URL or throws an `AFError`. - public func asURL() throws -> URL { - guard let url = url else { throw AFError.invalidURL(url: self) } - return url - } -} - -// MARK: - - -/// Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. -public protocol URLRequestConvertible { - /// Returns a URL request or throws if an `Error` was encountered. - /// - /// - throws: An `Error` if the underlying `URLRequest` is `nil`. - /// - /// - returns: A URL request. - func asURLRequest() throws -> URLRequest -} - -extension URLRequestConvertible { - /// The URL request. - public var urlRequest: URLRequest? { return try? asURLRequest() } -} - -extension URLRequest: URLRequestConvertible { - /// Returns a URL request or throws if an `Error` was encountered. - public func asURLRequest() throws -> URLRequest { return self } -} - -// MARK: - - -extension URLRequest { - /// Creates an instance with the specified `method`, `urlString` and `headers`. - /// - /// - parameter url: The URL. - /// - parameter method: The HTTP method. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - /// - returns: The new `URLRequest` instance. - public init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil) throws { - let url = try url.asURL() - - self.init(url: url) - - httpMethod = method.rawValue - - if let headers = headers { - for (headerField, headerValue) in headers { - setValue(headerValue, forHTTPHeaderField: headerField) - } - } - } - - func adapt(using adapter: RequestAdapter?) throws -> URLRequest { - guard let adapter = adapter else { return self } - return try adapter.adapt(self) - } -} - -// MARK: - Data Request - -/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of the specified `url`, -/// `method`, `parameters`, `encoding` and `headers`. -/// -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.get` by default. -/// - parameter parameters: The parameters. `nil` by default. -/// - parameter encoding: The parameter encoding. `URLEncoding.default` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// -/// - returns: The created `DataRequest`. -@discardableResult -public func request( - _ url: URLConvertible, - method: HTTPMethod = .get, - parameters: Parameters? = nil, - encoding: ParameterEncoding = URLEncoding.default, - headers: HTTPHeaders? = nil) - -> DataRequest -{ - return SessionManager.default.request( - url, - method: method, - parameters: parameters, - encoding: encoding, - headers: headers - ) -} - -/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of a URL based on the -/// specified `urlRequest`. -/// -/// - parameter urlRequest: The URL request -/// -/// - returns: The created `DataRequest`. -@discardableResult -public func request(_ urlRequest: URLRequestConvertible) -> DataRequest { - return SessionManager.default.request(urlRequest) -} - -// MARK: - Download Request - -// MARK: URL Request - -/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of the specified `url`, -/// `method`, `parameters`, `encoding`, `headers` and save them to the `destination`. -/// -/// If `destination` is not specified, the contents will remain in the temporary location determined by the -/// underlying URL session. -/// -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.get` by default. -/// - parameter parameters: The parameters. `nil` by default. -/// - parameter encoding: The parameter encoding. `URLEncoding.default` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. -/// -/// - returns: The created `DownloadRequest`. -@discardableResult -public func download( - _ url: URLConvertible, - method: HTTPMethod = .get, - parameters: Parameters? = nil, - encoding: ParameterEncoding = URLEncoding.default, - headers: HTTPHeaders? = nil, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest -{ - return SessionManager.default.download( - url, - method: method, - parameters: parameters, - encoding: encoding, - headers: headers, - to: destination - ) -} - -/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of a URL based on the -/// specified `urlRequest` and save them to the `destination`. -/// -/// If `destination` is not specified, the contents will remain in the temporary location determined by the -/// underlying URL session. -/// -/// - parameter urlRequest: The URL request. -/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. -/// -/// - returns: The created `DownloadRequest`. -@discardableResult -public func download( - _ urlRequest: URLRequestConvertible, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest -{ - return SessionManager.default.download(urlRequest, to: destination) -} - -// MARK: Resume Data - -/// Creates a `DownloadRequest` using the default `SessionManager` from the `resumeData` produced from a -/// previous request cancellation to retrieve the contents of the original request and save them to the `destination`. -/// -/// If `destination` is not specified, the contents will remain in the temporary location determined by the -/// underlying URL session. -/// -/// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken -/// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the -/// data is written incorrectly and will always fail to resume the download. For more information about the bug and -/// possible workarounds, please refer to the following Stack Overflow post: -/// -/// - http://stackoverflow.com/a/39347461/1342462 -/// -/// - parameter resumeData: The resume data. This is an opaque data blob produced by `URLSessionDownloadTask` -/// when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for additional -/// information. -/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. -/// -/// - returns: The created `DownloadRequest`. -@discardableResult -public func download( - resumingWith resumeData: Data, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest -{ - return SessionManager.default.download(resumingWith: resumeData, to: destination) -} - -// MARK: - Upload Request - -// MARK: File - -/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers` -/// for uploading the `file`. -/// -/// - parameter file: The file to upload. -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.post` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload( - _ fileURL: URL, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest -{ - return SessionManager.default.upload(fileURL, to: url, method: method, headers: headers) -} - -/// Creates a `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for -/// uploading the `file`. -/// -/// - parameter file: The file to upload. -/// - parameter urlRequest: The URL request. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest { - return SessionManager.default.upload(fileURL, with: urlRequest) -} - -// MARK: Data - -/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers` -/// for uploading the `data`. -/// -/// - parameter data: The data to upload. -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.post` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload( - _ data: Data, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest -{ - return SessionManager.default.upload(data, to: url, method: method, headers: headers) -} - -/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for -/// uploading the `data`. -/// -/// - parameter data: The data to upload. -/// - parameter urlRequest: The URL request. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest { - return SessionManager.default.upload(data, with: urlRequest) -} - -// MARK: InputStream - -/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers` -/// for uploading the `stream`. -/// -/// - parameter stream: The stream to upload. -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.post` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload( - _ stream: InputStream, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest -{ - return SessionManager.default.upload(stream, to: url, method: method, headers: headers) -} - -/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for -/// uploading the `stream`. -/// -/// - parameter urlRequest: The URL request. -/// - parameter stream: The stream to upload. -/// -/// - returns: The created `UploadRequest`. -@discardableResult -public func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest { - return SessionManager.default.upload(stream, with: urlRequest) -} - -// MARK: MultipartFormData - -/// Encodes `multipartFormData` using `encodingMemoryThreshold` with the default `SessionManager` and calls -/// `encodingCompletion` with new `UploadRequest` using the `url`, `method` and `headers`. -/// -/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative -/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most -/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to -/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory -/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be -/// used for larger payloads such as video content. -/// -/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory -/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, -/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk -/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding -/// technique was used. -/// -/// - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. -/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. -/// `multipartFormDataEncodingMemoryThreshold` by default. -/// - parameter url: The URL. -/// - parameter method: The HTTP method. `.post` by default. -/// - parameter headers: The HTTP headers. `nil` by default. -/// - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. -public func upload( - multipartFormData: @escaping (MultipartFormData) -> Void, - usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil, - encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?) -{ - return SessionManager.default.upload( - multipartFormData: multipartFormData, - usingThreshold: encodingMemoryThreshold, - to: url, - method: method, - headers: headers, - encodingCompletion: encodingCompletion - ) -} - -/// Encodes `multipartFormData` using `encodingMemoryThreshold` and the default `SessionManager` and -/// calls `encodingCompletion` with new `UploadRequest` using the `urlRequest`. -/// -/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative -/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most -/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to -/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory -/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be -/// used for larger payloads such as video content. -/// -/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory -/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, -/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk -/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding -/// technique was used. -/// -/// - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. -/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. -/// `multipartFormDataEncodingMemoryThreshold` by default. -/// - parameter urlRequest: The URL request. -/// - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. -public func upload( - multipartFormData: @escaping (MultipartFormData) -> Void, - usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold, - with urlRequest: URLRequestConvertible, - encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?) -{ - return SessionManager.default.upload( - multipartFormData: multipartFormData, - usingThreshold: encodingMemoryThreshold, - with: urlRequest, - encodingCompletion: encodingCompletion - ) -} - -#if !os(watchOS) - -// MARK: - Stream Request - -// MARK: Hostname and Port - -/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `hostname` -/// and `port`. -/// -/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. -/// -/// - parameter hostName: The hostname of the server to connect to. -/// - parameter port: The port of the server to connect to. -/// -/// - returns: The created `StreamRequest`. -@discardableResult -@available(iOS 9.0, macOS 10.11, tvOS 9.0, *) -public func stream(withHostName hostName: String, port: Int) -> StreamRequest { - return SessionManager.default.stream(withHostName: hostName, port: port) -} - -// MARK: NetService - -/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `netService`. -/// -/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. -/// -/// - parameter netService: The net service used to identify the endpoint. -/// -/// - returns: The created `StreamRequest`. -@discardableResult -@available(iOS 9.0, macOS 10.11, tvOS 9.0, *) -public func stream(with netService: NetService) -> StreamRequest { - return SessionManager.default.stream(with: netService) -} - -#endif diff --git a/Example/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift b/Example/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift deleted file mode 100644 index 9031395..0000000 --- a/Example/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// DispatchQueue+Alamofire.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Dispatch -import Foundation - -extension DispatchQueue { - static var userInteractive: DispatchQueue { return DispatchQueue.global(qos: .userInteractive) } - static var userInitiated: DispatchQueue { return DispatchQueue.global(qos: .userInitiated) } - static var utility: DispatchQueue { return DispatchQueue.global(qos: .utility) } - static var background: DispatchQueue { return DispatchQueue.global(qos: .background) } - - func after(_ delay: TimeInterval, execute closure: @escaping () -> Void) { - asyncAfter(deadline: .now() + delay, execute: closure) - } -} diff --git a/Example/Pods/Alamofire/Source/MultipartFormData.swift b/Example/Pods/Alamofire/Source/MultipartFormData.swift deleted file mode 100644 index ba02d24..0000000 --- a/Example/Pods/Alamofire/Source/MultipartFormData.swift +++ /dev/null @@ -1,580 +0,0 @@ -// -// MultipartFormData.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -#if os(iOS) || os(watchOS) || os(tvOS) -import MobileCoreServices -#elseif os(macOS) -import CoreServices -#endif - -/// Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode -/// multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead -/// to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the -/// data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for -/// larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset. -/// -/// For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well -/// and the w3 form documentation. -/// -/// - https://www.ietf.org/rfc/rfc2388.txt -/// - https://www.ietf.org/rfc/rfc2045.txt -/// - https://www.w3.org/TR/html401/interact/forms.html#h-17.13 -open class MultipartFormData { - - // MARK: - Helper Types - - struct EncodingCharacters { - static let crlf = "\r\n" - } - - struct BoundaryGenerator { - enum BoundaryType { - case initial, encapsulated, final - } - - static func randomBoundary() -> String { - return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random()) - } - - static func boundaryData(forBoundaryType boundaryType: BoundaryType, boundary: String) -> Data { - let boundaryText: String - - switch boundaryType { - case .initial: - boundaryText = "--\(boundary)\(EncodingCharacters.crlf)" - case .encapsulated: - boundaryText = "\(EncodingCharacters.crlf)--\(boundary)\(EncodingCharacters.crlf)" - case .final: - boundaryText = "\(EncodingCharacters.crlf)--\(boundary)--\(EncodingCharacters.crlf)" - } - - return boundaryText.data(using: String.Encoding.utf8, allowLossyConversion: false)! - } - } - - class BodyPart { - let headers: HTTPHeaders - let bodyStream: InputStream - let bodyContentLength: UInt64 - var hasInitialBoundary = false - var hasFinalBoundary = false - - init(headers: HTTPHeaders, bodyStream: InputStream, bodyContentLength: UInt64) { - self.headers = headers - self.bodyStream = bodyStream - self.bodyContentLength = bodyContentLength - } - } - - // MARK: - Properties - - /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`. - open lazy var contentType: String = "multipart/form-data; boundary=\(self.boundary)" - - /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries. - public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } } - - /// The boundary used to separate the body parts in the encoded form data. - public let boundary: String - - private var bodyParts: [BodyPart] - private var bodyPartError: AFError? - private let streamBufferSize: Int - - // MARK: - Lifecycle - - /// Creates a multipart form data object. - /// - /// - returns: The multipart form data object. - public init() { - self.boundary = BoundaryGenerator.randomBoundary() - self.bodyParts = [] - - /// - /// The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more - /// information, please refer to the following article: - /// - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html - /// - - self.streamBufferSize = 1024 - } - - // MARK: - Body Parts - - /// Creates a body part from the data and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header) - /// - Encoded data - /// - Multipart form boundary - /// - /// - parameter data: The data to encode into the multipart form data. - /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. - public func append(_ data: Data, withName name: String) { - let headers = contentHeaders(withName: name) - let stream = InputStream(data: data) - let length = UInt64(data.count) - - append(stream, withLength: length, headers: headers) - } - - /// Creates a body part from the data and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header) - /// - `Content-Type: #{generated mimeType}` (HTTP Header) - /// - Encoded data - /// - Multipart form boundary - /// - /// - parameter data: The data to encode into the multipart form data. - /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. - /// - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header. - public func append(_ data: Data, withName name: String, mimeType: String) { - let headers = contentHeaders(withName: name, mimeType: mimeType) - let stream = InputStream(data: data) - let length = UInt64(data.count) - - append(stream, withLength: length, headers: headers) - } - - /// Creates a body part from the data and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header) - /// - `Content-Type: #{mimeType}` (HTTP Header) - /// - Encoded file data - /// - Multipart form boundary - /// - /// - parameter data: The data to encode into the multipart form data. - /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header. - /// - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header. - /// - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header. - public func append(_ data: Data, withName name: String, fileName: String, mimeType: String) { - let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType) - let stream = InputStream(data: data) - let length = UInt64(data.count) - - append(stream, withLength: length, headers: headers) - } - - /// Creates a body part from the file and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header) - /// - `Content-Type: #{generated mimeType}` (HTTP Header) - /// - Encoded file data - /// - Multipart form boundary - /// - /// The filename in the `Content-Disposition` HTTP header is generated from the last path component of the - /// `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the - /// system associated MIME type. - /// - /// - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data. - /// - parameter name: The name to associate with the file content in the `Content-Disposition` HTTP header. - public func append(_ fileURL: URL, withName name: String) { - let fileName = fileURL.lastPathComponent - let pathExtension = fileURL.pathExtension - - if !fileName.isEmpty && !pathExtension.isEmpty { - let mime = mimeType(forPathExtension: pathExtension) - append(fileURL, withName: name, fileName: fileName, mimeType: mime) - } else { - setBodyPartError(withReason: .bodyPartFilenameInvalid(in: fileURL)) - } - } - - /// Creates a body part from the file and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header) - /// - Content-Type: #{mimeType} (HTTP Header) - /// - Encoded file data - /// - Multipart form boundary - /// - /// - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data. - /// - parameter name: The name to associate with the file content in the `Content-Disposition` HTTP header. - /// - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header. - /// - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header. - public func append(_ fileURL: URL, withName name: String, fileName: String, mimeType: String) { - let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType) - - //============================================================ - // Check 1 - is file URL? - //============================================================ - - guard fileURL.isFileURL else { - setBodyPartError(withReason: .bodyPartURLInvalid(url: fileURL)) - return - } - - //============================================================ - // Check 2 - is file URL reachable? - //============================================================ - - do { - let isReachable = try fileURL.checkPromisedItemIsReachable() - guard isReachable else { - setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL)) - return - } - } catch { - setBodyPartError(withReason: .bodyPartFileNotReachableWithError(atURL: fileURL, error: error)) - return - } - - //============================================================ - // Check 3 - is file URL a directory? - //============================================================ - - var isDirectory: ObjCBool = false - let path = fileURL.path - - guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else { - setBodyPartError(withReason: .bodyPartFileIsDirectory(at: fileURL)) - return - } - - //============================================================ - // Check 4 - can the file size be extracted? - //============================================================ - - let bodyContentLength: UInt64 - - do { - guard let fileSize = try FileManager.default.attributesOfItem(atPath: path)[.size] as? NSNumber else { - setBodyPartError(withReason: .bodyPartFileSizeNotAvailable(at: fileURL)) - return - } - - bodyContentLength = fileSize.uint64Value - } - catch { - setBodyPartError(withReason: .bodyPartFileSizeQueryFailedWithError(forURL: fileURL, error: error)) - return - } - - //============================================================ - // Check 5 - can a stream be created from file URL? - //============================================================ - - guard let stream = InputStream(url: fileURL) else { - setBodyPartError(withReason: .bodyPartInputStreamCreationFailed(for: fileURL)) - return - } - - append(stream, withLength: bodyContentLength, headers: headers) - } - - /// Creates a body part from the stream and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header) - /// - `Content-Type: #{mimeType}` (HTTP Header) - /// - Encoded stream data - /// - Multipart form boundary - /// - /// - parameter stream: The input stream to encode in the multipart form data. - /// - parameter length: The content length of the stream. - /// - parameter name: The name to associate with the stream content in the `Content-Disposition` HTTP header. - /// - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header. - /// - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header. - public func append( - _ stream: InputStream, - withLength length: UInt64, - name: String, - fileName: String, - mimeType: String) - { - let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType) - append(stream, withLength: length, headers: headers) - } - - /// Creates a body part with the headers, stream and length and appends it to the multipart form data object. - /// - /// The body part data will be encoded using the following format: - /// - /// - HTTP headers - /// - Encoded stream data - /// - Multipart form boundary - /// - /// - parameter stream: The input stream to encode in the multipart form data. - /// - parameter length: The content length of the stream. - /// - parameter headers: The HTTP headers for the body part. - public func append(_ stream: InputStream, withLength length: UInt64, headers: HTTPHeaders) { - let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length) - bodyParts.append(bodyPart) - } - - // MARK: - Data Encoding - - /// Encodes all the appended body parts into a single `Data` value. - /// - /// It is important to note that this method will load all the appended body parts into memory all at the same - /// time. This method should only be used when the encoded data will have a small memory footprint. For large data - /// cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method. - /// - /// - throws: An `AFError` if encoding encounters an error. - /// - /// - returns: The encoded `Data` if encoding is successful. - public func encode() throws -> Data { - if let bodyPartError = bodyPartError { - throw bodyPartError - } - - var encoded = Data() - - bodyParts.first?.hasInitialBoundary = true - bodyParts.last?.hasFinalBoundary = true - - for bodyPart in bodyParts { - let encodedData = try encode(bodyPart) - encoded.append(encodedData) - } - - return encoded - } - - /// Writes the appended body parts into the given file URL. - /// - /// This process is facilitated by reading and writing with input and output streams, respectively. Thus, - /// this approach is very memory efficient and should be used for large body part data. - /// - /// - parameter fileURL: The file URL to write the multipart form data into. - /// - /// - throws: An `AFError` if encoding encounters an error. - public func writeEncodedData(to fileURL: URL) throws { - if let bodyPartError = bodyPartError { - throw bodyPartError - } - - if FileManager.default.fileExists(atPath: fileURL.path) { - throw AFError.multipartEncodingFailed(reason: .outputStreamFileAlreadyExists(at: fileURL)) - } else if !fileURL.isFileURL { - throw AFError.multipartEncodingFailed(reason: .outputStreamURLInvalid(url: fileURL)) - } - - guard let outputStream = OutputStream(url: fileURL, append: false) else { - throw AFError.multipartEncodingFailed(reason: .outputStreamCreationFailed(for: fileURL)) - } - - outputStream.open() - defer { outputStream.close() } - - self.bodyParts.first?.hasInitialBoundary = true - self.bodyParts.last?.hasFinalBoundary = true - - for bodyPart in self.bodyParts { - try write(bodyPart, to: outputStream) - } - } - - // MARK: - Private - Body Part Encoding - - private func encode(_ bodyPart: BodyPart) throws -> Data { - var encoded = Data() - - let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData() - encoded.append(initialData) - - let headerData = encodeHeaders(for: bodyPart) - encoded.append(headerData) - - let bodyStreamData = try encodeBodyStream(for: bodyPart) - encoded.append(bodyStreamData) - - if bodyPart.hasFinalBoundary { - encoded.append(finalBoundaryData()) - } - - return encoded - } - - private func encodeHeaders(for bodyPart: BodyPart) -> Data { - var headerText = "" - - for (key, value) in bodyPart.headers { - headerText += "\(key): \(value)\(EncodingCharacters.crlf)" - } - headerText += EncodingCharacters.crlf - - return headerText.data(using: String.Encoding.utf8, allowLossyConversion: false)! - } - - private func encodeBodyStream(for bodyPart: BodyPart) throws -> Data { - let inputStream = bodyPart.bodyStream - inputStream.open() - defer { inputStream.close() } - - var encoded = Data() - - while inputStream.hasBytesAvailable { - var buffer = [UInt8](repeating: 0, count: streamBufferSize) - let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize) - - if let error = inputStream.streamError { - throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: error)) - } - - if bytesRead > 0 { - encoded.append(buffer, count: bytesRead) - } else { - break - } - } - - return encoded - } - - // MARK: - Private - Writing Body Part to Output Stream - - private func write(_ bodyPart: BodyPart, to outputStream: OutputStream) throws { - try writeInitialBoundaryData(for: bodyPart, to: outputStream) - try writeHeaderData(for: bodyPart, to: outputStream) - try writeBodyStream(for: bodyPart, to: outputStream) - try writeFinalBoundaryData(for: bodyPart, to: outputStream) - } - - private func writeInitialBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws { - let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData() - return try write(initialData, to: outputStream) - } - - private func writeHeaderData(for bodyPart: BodyPart, to outputStream: OutputStream) throws { - let headerData = encodeHeaders(for: bodyPart) - return try write(headerData, to: outputStream) - } - - private func writeBodyStream(for bodyPart: BodyPart, to outputStream: OutputStream) throws { - let inputStream = bodyPart.bodyStream - - inputStream.open() - defer { inputStream.close() } - - while inputStream.hasBytesAvailable { - var buffer = [UInt8](repeating: 0, count: streamBufferSize) - let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize) - - if let streamError = inputStream.streamError { - throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: streamError)) - } - - if bytesRead > 0 { - if buffer.count != bytesRead { - buffer = Array(buffer[0.. 0, outputStream.hasSpaceAvailable { - let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite) - - if let error = outputStream.streamError { - throw AFError.multipartEncodingFailed(reason: .outputStreamWriteFailed(error: error)) - } - - bytesToWrite -= bytesWritten - - if bytesToWrite > 0 { - buffer = Array(buffer[bytesWritten.. String { - if - let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(), - let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() - { - return contentType as String - } - - return "application/octet-stream" - } - - // MARK: - Private - Content Headers - - private func contentHeaders(withName name: String, fileName: String? = nil, mimeType: String? = nil) -> [String: String] { - var disposition = "form-data; name=\"\(name)\"" - if let fileName = fileName { disposition += "; filename=\"\(fileName)\"" } - - var headers = ["Content-Disposition": disposition] - if let mimeType = mimeType { headers["Content-Type"] = mimeType } - - return headers - } - - // MARK: - Private - Boundary Encoding - - private func initialBoundaryData() -> Data { - return BoundaryGenerator.boundaryData(forBoundaryType: .initial, boundary: boundary) - } - - private func encapsulatedBoundaryData() -> Data { - return BoundaryGenerator.boundaryData(forBoundaryType: .encapsulated, boundary: boundary) - } - - private func finalBoundaryData() -> Data { - return BoundaryGenerator.boundaryData(forBoundaryType: .final, boundary: boundary) - } - - // MARK: - Private - Errors - - private func setBodyPartError(withReason reason: AFError.MultipartEncodingFailureReason) { - guard bodyPartError == nil else { return } - bodyPartError = AFError.multipartEncodingFailed(reason: reason) - } -} diff --git a/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift deleted file mode 100644 index cdb5a02..0000000 --- a/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift +++ /dev/null @@ -1,233 +0,0 @@ -// -// NetworkReachabilityManager.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -#if !os(watchOS) - -import Foundation -import SystemConfiguration - -/// The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and -/// WiFi network interfaces. -/// -/// Reachability can be used to determine background information about why a network operation failed, or to retry -/// network requests when a connection is established. It should not be used to prevent a user from initiating a network -/// request, as it's possible that an initial request may be required to establish reachability. -public class NetworkReachabilityManager { - /// Defines the various states of network reachability. - /// - /// - unknown: It is unknown whether the network is reachable. - /// - notReachable: The network is not reachable. - /// - reachable: The network is reachable. - public enum NetworkReachabilityStatus { - case unknown - case notReachable - case reachable(ConnectionType) - } - - /// Defines the various connection types detected by reachability flags. - /// - /// - ethernetOrWiFi: The connection type is either over Ethernet or WiFi. - /// - wwan: The connection type is a WWAN connection. - public enum ConnectionType { - case ethernetOrWiFi - case wwan - } - - /// A closure executed when the network reachability status changes. The closure takes a single argument: the - /// network reachability status. - public typealias Listener = (NetworkReachabilityStatus) -> Void - - // MARK: - Properties - - /// Whether the network is currently reachable. - public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi } - - /// Whether the network is currently reachable over the WWAN interface. - public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .reachable(.wwan) } - - /// Whether the network is currently reachable over Ethernet or WiFi interface. - public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .reachable(.ethernetOrWiFi) } - - /// The current network reachability status. - public var networkReachabilityStatus: NetworkReachabilityStatus { - guard let flags = self.flags else { return .unknown } - return networkReachabilityStatusForFlags(flags) - } - - /// The dispatch queue to execute the `listener` closure on. - public var listenerQueue: DispatchQueue = DispatchQueue.main - - /// A closure executed when the network reachability status changes. - public var listener: Listener? - - private var flags: SCNetworkReachabilityFlags? { - var flags = SCNetworkReachabilityFlags() - - if SCNetworkReachabilityGetFlags(reachability, &flags) { - return flags - } - - return nil - } - - private let reachability: SCNetworkReachability - private var previousFlags: SCNetworkReachabilityFlags - - // MARK: - Initialization - - /// Creates a `NetworkReachabilityManager` instance with the specified host. - /// - /// - parameter host: The host used to evaluate network reachability. - /// - /// - returns: The new `NetworkReachabilityManager` instance. - public convenience init?(host: String) { - guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil } - self.init(reachability: reachability) - } - - /// Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0. - /// - /// Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing - /// status of the device, both IPv4 and IPv6. - /// - /// - returns: The new `NetworkReachabilityManager` instance. - public convenience init?() { - var address = sockaddr_in() - address.sin_len = UInt8(MemoryLayout.size) - address.sin_family = sa_family_t(AF_INET) - - guard let reachability = withUnsafePointer(to: &address, { pointer in - return pointer.withMemoryRebound(to: sockaddr.self, capacity: MemoryLayout.size) { - return SCNetworkReachabilityCreateWithAddress(nil, $0) - } - }) else { return nil } - - self.init(reachability: reachability) - } - - private init(reachability: SCNetworkReachability) { - self.reachability = reachability - self.previousFlags = SCNetworkReachabilityFlags() - } - - deinit { - stopListening() - } - - // MARK: - Listening - - /// Starts listening for changes in network reachability status. - /// - /// - returns: `true` if listening was started successfully, `false` otherwise. - @discardableResult - public func startListening() -> Bool { - var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil) - context.info = Unmanaged.passUnretained(self).toOpaque() - - let callbackEnabled = SCNetworkReachabilitySetCallback( - reachability, - { (_, flags, info) in - let reachability = Unmanaged.fromOpaque(info!).takeUnretainedValue() - reachability.notifyListener(flags) - }, - &context - ) - - let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue) - - listenerQueue.async { - self.previousFlags = SCNetworkReachabilityFlags() - self.notifyListener(self.flags ?? SCNetworkReachabilityFlags()) - } - - return callbackEnabled && queueEnabled - } - - /// Stops listening for changes in network reachability status. - public func stopListening() { - SCNetworkReachabilitySetCallback(reachability, nil, nil) - SCNetworkReachabilitySetDispatchQueue(reachability, nil) - } - - // MARK: - Internal - Listener Notification - - func notifyListener(_ flags: SCNetworkReachabilityFlags) { - guard previousFlags != flags else { return } - previousFlags = flags - - listener?(networkReachabilityStatusForFlags(flags)) - } - - // MARK: - Internal - Network Reachability Status - - func networkReachabilityStatusForFlags(_ flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus { - guard isNetworkReachable(with: flags) else { return .notReachable } - - var networkStatus: NetworkReachabilityStatus = .reachable(.ethernetOrWiFi) - - #if os(iOS) - if flags.contains(.isWWAN) { networkStatus = .reachable(.wwan) } - #endif - - return networkStatus - } - - func isNetworkReachable(with flags: SCNetworkReachabilityFlags) -> Bool { - let isReachable = flags.contains(.reachable) - let needsConnection = flags.contains(.connectionRequired) - let canConnectAutomatically = flags.contains(.connectionOnDemand) || flags.contains(.connectionOnTraffic) - let canConnectWithoutUserInteraction = canConnectAutomatically && !flags.contains(.interventionRequired) - - return isReachable && (!needsConnection || canConnectWithoutUserInteraction) - } -} - -// MARK: - - -extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {} - -/// Returns whether the two network reachability status values are equal. -/// -/// - parameter lhs: The left-hand side value to compare. -/// - parameter rhs: The right-hand side value to compare. -/// -/// - returns: `true` if the two values are equal, `false` otherwise. -public func ==( - lhs: NetworkReachabilityManager.NetworkReachabilityStatus, - rhs: NetworkReachabilityManager.NetworkReachabilityStatus) - -> Bool -{ - switch (lhs, rhs) { - case (.unknown, .unknown): - return true - case (.notReachable, .notReachable): - return true - case let (.reachable(lhsConnectionType), .reachable(rhsConnectionType)): - return lhsConnectionType == rhsConnectionType - default: - return false - } -} - -#endif diff --git a/Example/Pods/Alamofire/Source/Notifications.swift b/Example/Pods/Alamofire/Source/Notifications.swift deleted file mode 100644 index df41505..0000000 --- a/Example/Pods/Alamofire/Source/Notifications.swift +++ /dev/null @@ -1,52 +0,0 @@ -// -// Notifications.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -extension Notification.Name { - /// Used as a namespace for all `URLSessionTask` related notifications. - public struct Task { - /// Posted when a `URLSessionTask` is resumed. The notification `object` contains the resumed `URLSessionTask`. - public static let DidResume = Notification.Name(rawValue: "org.alamofire.notification.name.task.didResume") - - /// Posted when a `URLSessionTask` is suspended. The notification `object` contains the suspended `URLSessionTask`. - public static let DidSuspend = Notification.Name(rawValue: "org.alamofire.notification.name.task.didSuspend") - - /// Posted when a `URLSessionTask` is cancelled. The notification `object` contains the cancelled `URLSessionTask`. - public static let DidCancel = Notification.Name(rawValue: "org.alamofire.notification.name.task.didCancel") - - /// Posted when a `URLSessionTask` is completed. The notification `object` contains the completed `URLSessionTask`. - public static let DidComplete = Notification.Name(rawValue: "org.alamofire.notification.name.task.didComplete") - } -} - -// MARK: - - -extension Notification { - /// Used as a namespace for all `Notification` user info dictionary keys. - public struct Key { - /// User info dictionary key representing the `URLSessionTask` associated with the notification. - public static let Task = "org.alamofire.notification.key.task" - } -} diff --git a/Example/Pods/Alamofire/Source/ParameterEncoding.swift b/Example/Pods/Alamofire/Source/ParameterEncoding.swift deleted file mode 100644 index dabb562..0000000 --- a/Example/Pods/Alamofire/Source/ParameterEncoding.swift +++ /dev/null @@ -1,432 +0,0 @@ -// -// ParameterEncoding.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// HTTP method definitions. -/// -/// See https://tools.ietf.org/html/rfc7231#section-4.3 -public enum HTTPMethod: String { - case options = "OPTIONS" - case get = "GET" - case head = "HEAD" - case post = "POST" - case put = "PUT" - case patch = "PATCH" - case delete = "DELETE" - case trace = "TRACE" - case connect = "CONNECT" -} - -// MARK: - - -/// A dictionary of parameters to apply to a `URLRequest`. -public typealias Parameters = [String: Any] - -/// A type used to define how a set of parameters are applied to a `URLRequest`. -public protocol ParameterEncoding { - /// Creates a URL request by encoding parameters and applying them onto an existing request. - /// - /// - parameter urlRequest: The request to have parameters applied. - /// - parameter parameters: The parameters to apply. - /// - /// - throws: An `AFError.parameterEncodingFailed` error if encoding fails. - /// - /// - returns: The encoded request. - func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest -} - -// MARK: - - -/// Creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP -/// body of the URL request. Whether the query string is set or appended to any existing URL query string or set as -/// the HTTP body depends on the destination of the encoding. -/// -/// The `Content-Type` HTTP header field of an encoded request with HTTP body is set to -/// `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode -/// collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending -/// the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`). -public struct URLEncoding: ParameterEncoding { - - // MARK: Helper Types - - /// Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the - /// resulting URL request. - /// - /// - methodDependent: Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE` - /// requests and sets as the HTTP body for requests with any other HTTP method. - /// - queryString: Sets or appends encoded query string result to existing query string. - /// - httpBody: Sets encoded query string result as the HTTP body of the URL request. - public enum Destination { - case methodDependent, queryString, httpBody - } - - // MARK: Properties - - /// Returns a default `URLEncoding` instance. - public static var `default`: URLEncoding { return URLEncoding() } - - /// Returns a `URLEncoding` instance with a `.methodDependent` destination. - public static var methodDependent: URLEncoding { return URLEncoding() } - - /// Returns a `URLEncoding` instance with a `.queryString` destination. - public static var queryString: URLEncoding { return URLEncoding(destination: .queryString) } - - /// Returns a `URLEncoding` instance with an `.httpBody` destination. - public static var httpBody: URLEncoding { return URLEncoding(destination: .httpBody) } - - /// The destination defining where the encoded query string is to be applied to the URL request. - public let destination: Destination - - // MARK: Initialization - - /// Creates a `URLEncoding` instance using the specified destination. - /// - /// - parameter destination: The destination defining where the encoded query string is to be applied. - /// - /// - returns: The new `URLEncoding` instance. - public init(destination: Destination = .methodDependent) { - self.destination = destination - } - - // MARK: Encoding - - /// Creates a URL request by encoding parameters and applying them onto an existing request. - /// - /// - parameter urlRequest: The request to have parameters applied. - /// - parameter parameters: The parameters to apply. - /// - /// - throws: An `Error` if the encoding process encounters an error. - /// - /// - returns: The encoded request. - public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest { - var urlRequest = try urlRequest.asURLRequest() - - guard let parameters = parameters else { return urlRequest } - - if let method = HTTPMethod(rawValue: urlRequest.httpMethod ?? "GET"), encodesParametersInURL(with: method) { - guard let url = urlRequest.url else { - throw AFError.parameterEncodingFailed(reason: .missingURL) - } - - if var urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: false), !parameters.isEmpty { - let percentEncodedQuery = (urlComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters) - urlComponents.percentEncodedQuery = percentEncodedQuery - urlRequest.url = urlComponents.url - } - } else { - if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil { - urlRequest.setValue("application/x-www-form-urlencoded; charset=utf-8", forHTTPHeaderField: "Content-Type") - } - - urlRequest.httpBody = query(parameters).data(using: .utf8, allowLossyConversion: false) - } - - return urlRequest - } - - /// Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion. - /// - /// - parameter key: The key of the query component. - /// - parameter value: The value of the query component. - /// - /// - returns: The percent-escaped, URL encoded query string components. - public func queryComponents(fromKey key: String, value: Any) -> [(String, String)] { - var components: [(String, String)] = [] - - if let dictionary = value as? [String: Any] { - for (nestedKey, value) in dictionary { - components += queryComponents(fromKey: "\(key)[\(nestedKey)]", value: value) - } - } else if let array = value as? [Any] { - for value in array { - components += queryComponents(fromKey: "\(key)[]", value: value) - } - } else if let value = value as? NSNumber { - if value.isBool { - components.append((escape(key), escape((value.boolValue ? "1" : "0")))) - } else { - components.append((escape(key), escape("\(value)"))) - } - } else if let bool = value as? Bool { - components.append((escape(key), escape((bool ? "1" : "0")))) - } else { - components.append((escape(key), escape("\(value)"))) - } - - return components - } - - /// Returns a percent-escaped string following RFC 3986 for a query string key or value. - /// - /// RFC 3986 states that the following characters are "reserved" characters. - /// - /// - General Delimiters: ":", "#", "[", "]", "@", "?", "/" - /// - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=" - /// - /// In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow - /// query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/" - /// should be percent-escaped in the query string. - /// - /// - parameter string: The string to be percent-escaped. - /// - /// - returns: The percent-escaped string. - public func escape(_ string: String) -> String { - let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4 - let subDelimitersToEncode = "!$&'()*+,;=" - - var allowedCharacterSet = CharacterSet.urlQueryAllowed - allowedCharacterSet.remove(charactersIn: "\(generalDelimitersToEncode)\(subDelimitersToEncode)") - - var escaped = "" - - //========================================================================================================== - // - // Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few - // hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no - // longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more - // info, please refer to: - // - // - https://github.com/Alamofire/Alamofire/issues/206 - // - //========================================================================================================== - - if #available(iOS 8.3, *) { - escaped = string.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? string - } else { - let batchSize = 50 - var index = string.startIndex - - while index != string.endIndex { - let startIndex = index - let endIndex = string.index(index, offsetBy: batchSize, limitedBy: string.endIndex) ?? string.endIndex - let range = startIndex.. String { - var components: [(String, String)] = [] - - for key in parameters.keys.sorted(by: <) { - let value = parameters[key]! - components += queryComponents(fromKey: key, value: value) - } - return components.map { "\($0)=\($1)" }.joined(separator: "&") - } - - private func encodesParametersInURL(with method: HTTPMethod) -> Bool { - switch destination { - case .queryString: - return true - case .httpBody: - return false - default: - break - } - - switch method { - case .get, .head, .delete: - return true - default: - return false - } - } -} - -// MARK: - - -/// Uses `JSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the -/// request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`. -public struct JSONEncoding: ParameterEncoding { - - // MARK: Properties - - /// Returns a `JSONEncoding` instance with default writing options. - public static var `default`: JSONEncoding { return JSONEncoding() } - - /// Returns a `JSONEncoding` instance with `.prettyPrinted` writing options. - public static var prettyPrinted: JSONEncoding { return JSONEncoding(options: .prettyPrinted) } - - /// The options for writing the parameters as JSON data. - public let options: JSONSerialization.WritingOptions - - // MARK: Initialization - - /// Creates a `JSONEncoding` instance using the specified options. - /// - /// - parameter options: The options for writing the parameters as JSON data. - /// - /// - returns: The new `JSONEncoding` instance. - public init(options: JSONSerialization.WritingOptions = []) { - self.options = options - } - - // MARK: Encoding - - /// Creates a URL request by encoding parameters and applying them onto an existing request. - /// - /// - parameter urlRequest: The request to have parameters applied. - /// - parameter parameters: The parameters to apply. - /// - /// - throws: An `Error` if the encoding process encounters an error. - /// - /// - returns: The encoded request. - public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest { - var urlRequest = try urlRequest.asURLRequest() - - guard let parameters = parameters else { return urlRequest } - - do { - let data = try JSONSerialization.data(withJSONObject: parameters, options: options) - - if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil { - urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") - } - - urlRequest.httpBody = data - } catch { - throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error)) - } - - return urlRequest - } - - /// Creates a URL request by encoding the JSON object and setting the resulting data on the HTTP body. - /// - /// - parameter urlRequest: The request to apply the JSON object to. - /// - parameter jsonObject: The JSON object to apply to the request. - /// - /// - throws: An `Error` if the encoding process encounters an error. - /// - /// - returns: The encoded request. - public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest { - var urlRequest = try urlRequest.asURLRequest() - - guard let jsonObject = jsonObject else { return urlRequest } - - do { - let data = try JSONSerialization.data(withJSONObject: jsonObject, options: options) - - if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil { - urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type") - } - - urlRequest.httpBody = data - } catch { - throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error)) - } - - return urlRequest - } -} - -// MARK: - - -/// Uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the -/// associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header -/// field of an encoded request is set to `application/x-plist`. -public struct PropertyListEncoding: ParameterEncoding { - - // MARK: Properties - - /// Returns a default `PropertyListEncoding` instance. - public static var `default`: PropertyListEncoding { return PropertyListEncoding() } - - /// Returns a `PropertyListEncoding` instance with xml formatting and default writing options. - public static var xml: PropertyListEncoding { return PropertyListEncoding(format: .xml) } - - /// Returns a `PropertyListEncoding` instance with binary formatting and default writing options. - public static var binary: PropertyListEncoding { return PropertyListEncoding(format: .binary) } - - /// The property list serialization format. - public let format: PropertyListSerialization.PropertyListFormat - - /// The options for writing the parameters as plist data. - public let options: PropertyListSerialization.WriteOptions - - // MARK: Initialization - - /// Creates a `PropertyListEncoding` instance using the specified format and options. - /// - /// - parameter format: The property list serialization format. - /// - parameter options: The options for writing the parameters as plist data. - /// - /// - returns: The new `PropertyListEncoding` instance. - public init( - format: PropertyListSerialization.PropertyListFormat = .xml, - options: PropertyListSerialization.WriteOptions = 0) - { - self.format = format - self.options = options - } - - // MARK: Encoding - - /// Creates a URL request by encoding parameters and applying them onto an existing request. - /// - /// - parameter urlRequest: The request to have parameters applied. - /// - parameter parameters: The parameters to apply. - /// - /// - throws: An `Error` if the encoding process encounters an error. - /// - /// - returns: The encoded request. - public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest { - var urlRequest = try urlRequest.asURLRequest() - - guard let parameters = parameters else { return urlRequest } - - do { - let data = try PropertyListSerialization.data( - fromPropertyList: parameters, - format: format, - options: options - ) - - if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil { - urlRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type") - } - - urlRequest.httpBody = data - } catch { - throw AFError.parameterEncodingFailed(reason: .propertyListEncodingFailed(error: error)) - } - - return urlRequest - } -} - -// MARK: - - -extension NSNumber { - fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) } -} diff --git a/Example/Pods/Alamofire/Source/Request.swift b/Example/Pods/Alamofire/Source/Request.swift deleted file mode 100644 index d93c52d..0000000 --- a/Example/Pods/Alamofire/Source/Request.swift +++ /dev/null @@ -1,653 +0,0 @@ -// -// Request.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// A type that can inspect and optionally adapt a `URLRequest` in some manner if necessary. -public protocol RequestAdapter { - /// Inspects and adapts the specified `URLRequest` in some manner if necessary and returns the result. - /// - /// - parameter urlRequest: The URL request to adapt. - /// - /// - throws: An `Error` if the adaptation encounters an error. - /// - /// - returns: The adapted `URLRequest`. - func adapt(_ urlRequest: URLRequest) throws -> URLRequest -} - -// MARK: - - -/// A closure executed when the `RequestRetrier` determines whether a `Request` should be retried or not. -public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void - -/// A type that determines whether a request should be retried after being executed by the specified session manager -/// and encountering an error. -public protocol RequestRetrier { - /// Determines whether the `Request` should be retried by calling the `completion` closure. - /// - /// This operation is fully asynchronous. Any amount of time can be taken to determine whether the request needs - /// to be retried. The one requirement is that the completion closure is called to ensure the request is properly - /// cleaned up after. - /// - /// - parameter manager: The session manager the request was executed on. - /// - parameter request: The request that failed due to the encountered error. - /// - parameter error: The error encountered when executing the request. - /// - parameter completion: The completion closure to be executed when retry decision has been determined. - func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) -} - -// MARK: - - -protocol TaskConvertible { - func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask -} - -/// A dictionary of headers to apply to a `URLRequest`. -public typealias HTTPHeaders = [String: String] - -// MARK: - - -/// Responsible for sending a request and receiving the response and associated data from the server, as well as -/// managing its underlying `URLSessionTask`. -open class Request { - - // MARK: Helper Types - - /// A closure executed when monitoring upload or download progress of a request. - public typealias ProgressHandler = (Progress) -> Void - - enum RequestTask { - case data(TaskConvertible?, URLSessionTask?) - case download(TaskConvertible?, URLSessionTask?) - case upload(TaskConvertible?, URLSessionTask?) - case stream(TaskConvertible?, URLSessionTask?) - } - - // MARK: Properties - - /// The delegate for the underlying task. - open internal(set) var delegate: TaskDelegate { - get { - taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() } - return taskDelegate - } - set { - taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() } - taskDelegate = newValue - } - } - - /// The underlying task. - open var task: URLSessionTask? { return delegate.task } - - /// The session belonging to the underlying task. - open let session: URLSession - - /// The request sent or to be sent to the server. - open var request: URLRequest? { return task?.originalRequest } - - /// The response received from the server, if any. - open var response: HTTPURLResponse? { return task?.response as? HTTPURLResponse } - - /// The number of times the request has been retried. - open internal(set) var retryCount: UInt = 0 - - let originalTask: TaskConvertible? - - var startTime: CFAbsoluteTime? - var endTime: CFAbsoluteTime? - - var validations: [() -> Void] = [] - - private var taskDelegate: TaskDelegate - private var taskDelegateLock = NSLock() - - // MARK: Lifecycle - - init(session: URLSession, requestTask: RequestTask, error: Error? = nil) { - self.session = session - - switch requestTask { - case .data(let originalTask, let task): - taskDelegate = DataTaskDelegate(task: task) - self.originalTask = originalTask - case .download(let originalTask, let task): - taskDelegate = DownloadTaskDelegate(task: task) - self.originalTask = originalTask - case .upload(let originalTask, let task): - taskDelegate = UploadTaskDelegate(task: task) - self.originalTask = originalTask - case .stream(let originalTask, let task): - taskDelegate = TaskDelegate(task: task) - self.originalTask = originalTask - } - - delegate.error = error - delegate.queue.addOperation { self.endTime = CFAbsoluteTimeGetCurrent() } - } - - // MARK: Authentication - - /// Associates an HTTP Basic credential with the request. - /// - /// - parameter user: The user. - /// - parameter password: The password. - /// - parameter persistence: The URL credential persistence. `.ForSession` by default. - /// - /// - returns: The request. - @discardableResult - open func authenticate( - user: String, - password: String, - persistence: URLCredential.Persistence = .forSession) - -> Self - { - let credential = URLCredential(user: user, password: password, persistence: persistence) - return authenticate(usingCredential: credential) - } - - /// Associates a specified credential with the request. - /// - /// - parameter credential: The credential. - /// - /// - returns: The request. - @discardableResult - open func authenticate(usingCredential credential: URLCredential) -> Self { - delegate.credential = credential - return self - } - - /// Returns a base64 encoded basic authentication credential as an authorization header tuple. - /// - /// - parameter user: The user. - /// - parameter password: The password. - /// - /// - returns: A tuple with Authorization header and credential value if encoding succeeds, `nil` otherwise. - open static func authorizationHeader(user: String, password: String) -> (key: String, value: String)? { - guard let data = "\(user):\(password)".data(using: .utf8) else { return nil } - - let credential = data.base64EncodedString(options: []) - - return (key: "Authorization", value: "Basic \(credential)") - } - - // MARK: State - - /// Resumes the request. - open func resume() { - guard let task = task else { delegate.queue.isSuspended = false ; return } - - if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() } - - task.resume() - - NotificationCenter.default.post( - name: Notification.Name.Task.DidResume, - object: self, - userInfo: [Notification.Key.Task: task] - ) - } - - /// Suspends the request. - open func suspend() { - guard let task = task else { return } - - task.suspend() - - NotificationCenter.default.post( - name: Notification.Name.Task.DidSuspend, - object: self, - userInfo: [Notification.Key.Task: task] - ) - } - - /// Cancels the request. - open func cancel() { - guard let task = task else { return } - - task.cancel() - - NotificationCenter.default.post( - name: Notification.Name.Task.DidCancel, - object: self, - userInfo: [Notification.Key.Task: task] - ) - } -} - -// MARK: - CustomStringConvertible - -extension Request: CustomStringConvertible { - /// The textual representation used when written to an output stream, which includes the HTTP method and URL, as - /// well as the response status code if a response has been received. - open var description: String { - var components: [String] = [] - - if let HTTPMethod = request?.httpMethod { - components.append(HTTPMethod) - } - - if let urlString = request?.url?.absoluteString { - components.append(urlString) - } - - if let response = response { - components.append("(\(response.statusCode))") - } - - return components.joined(separator: " ") - } -} - -// MARK: - CustomDebugStringConvertible - -extension Request: CustomDebugStringConvertible { - /// The textual representation used when written to an output stream, in the form of a cURL command. - open var debugDescription: String { - return cURLRepresentation() - } - - func cURLRepresentation() -> String { - var components = ["$ curl -v"] - - guard let request = self.request, - let url = request.url, - let host = url.host - else { - return "$ curl command could not be created" - } - - if let httpMethod = request.httpMethod, httpMethod != "GET" { - components.append("-X \(httpMethod)") - } - - if let credentialStorage = self.session.configuration.urlCredentialStorage { - let protectionSpace = URLProtectionSpace( - host: host, - port: url.port ?? 0, - protocol: url.scheme, - realm: host, - authenticationMethod: NSURLAuthenticationMethodHTTPBasic - ) - - if let credentials = credentialStorage.credentials(for: protectionSpace)?.values { - for credential in credentials { - guard let user = credential.user, let password = credential.password else { continue } - components.append("-u \(user):\(password)") - } - } else { - if let credential = delegate.credential, let user = credential.user, let password = credential.password { - components.append("-u \(user):\(password)") - } - } - } - - if session.configuration.httpShouldSetCookies { - if - let cookieStorage = session.configuration.httpCookieStorage, - let cookies = cookieStorage.cookies(for: url), !cookies.isEmpty - { - let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value);" } - - #if swift(>=3.2) - components.append("-b \"\(string[.. URLSessionTask { - do { - let urlRequest = try self.urlRequest.adapt(using: adapter) - return queue.sync { session.dataTask(with: urlRequest) } - } catch { - throw AdaptError(error: error) - } - } - } - - // MARK: Properties - - /// The request sent or to be sent to the server. - open override var request: URLRequest? { - if let request = super.request { return request } - if let requestable = originalTask as? Requestable { return requestable.urlRequest } - - return nil - } - - /// The progress of fetching the response data from the server for the request. - open var progress: Progress { return dataDelegate.progress } - - var dataDelegate: DataTaskDelegate { return delegate as! DataTaskDelegate } - - // MARK: Stream - - /// Sets a closure to be called periodically during the lifecycle of the request as data is read from the server. - /// - /// This closure returns the bytes most recently received from the server, not including data from previous calls. - /// If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is - /// also important to note that the server data in any `Response` object will be `nil`. - /// - /// - parameter closure: The code to be executed periodically during the lifecycle of the request. - /// - /// - returns: The request. - @discardableResult - open func stream(closure: ((Data) -> Void)? = nil) -> Self { - dataDelegate.dataStream = closure - return self - } - - // MARK: Progress - - /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server. - /// - /// - parameter queue: The dispatch queue to execute the closure on. - /// - parameter closure: The code to be executed periodically as data is read from the server. - /// - /// - returns: The request. - @discardableResult - open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self { - dataDelegate.progressHandler = (closure, queue) - return self - } -} - -// MARK: - - -/// Specific type of `Request` that manages an underlying `URLSessionDownloadTask`. -open class DownloadRequest: Request { - - // MARK: Helper Types - - /// A collection of options to be executed prior to moving a downloaded file from the temporary URL to the - /// destination URL. - public struct DownloadOptions: OptionSet { - /// Returns the raw bitmask value of the option and satisfies the `RawRepresentable` protocol. - public let rawValue: UInt - - /// A `DownloadOptions` flag that creates intermediate directories for the destination URL if specified. - public static let createIntermediateDirectories = DownloadOptions(rawValue: 1 << 0) - - /// A `DownloadOptions` flag that removes a previous file from the destination URL if specified. - public static let removePreviousFile = DownloadOptions(rawValue: 1 << 1) - - /// Creates a `DownloadFileDestinationOptions` instance with the specified raw value. - /// - /// - parameter rawValue: The raw bitmask value for the option. - /// - /// - returns: A new log level instance. - public init(rawValue: UInt) { - self.rawValue = rawValue - } - } - - /// A closure executed once a download request has successfully completed in order to determine where to move the - /// temporary file written to during the download process. The closure takes two arguments: the temporary file URL - /// and the URL response, and returns a two arguments: the file URL where the temporary file should be moved and - /// the options defining how the file should be moved. - public typealias DownloadFileDestination = ( - _ temporaryURL: URL, - _ response: HTTPURLResponse) - -> (destinationURL: URL, options: DownloadOptions) - - enum Downloadable: TaskConvertible { - case request(URLRequest) - case resumeData(Data) - - func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask { - do { - let task: URLSessionTask - - switch self { - case let .request(urlRequest): - let urlRequest = try urlRequest.adapt(using: adapter) - task = queue.sync { session.downloadTask(with: urlRequest) } - case let .resumeData(resumeData): - task = queue.sync { session.downloadTask(withResumeData: resumeData) } - } - - return task - } catch { - throw AdaptError(error: error) - } - } - } - - // MARK: Properties - - /// The request sent or to be sent to the server. - open override var request: URLRequest? { - if let request = super.request { return request } - - if let downloadable = originalTask as? Downloadable, case let .request(urlRequest) = downloadable { - return urlRequest - } - - return nil - } - - /// The resume data of the underlying download task if available after a failure. - open var resumeData: Data? { return downloadDelegate.resumeData } - - /// The progress of downloading the response data from the server for the request. - open var progress: Progress { return downloadDelegate.progress } - - var downloadDelegate: DownloadTaskDelegate { return delegate as! DownloadTaskDelegate } - - // MARK: State - - /// Cancels the request. - open override func cancel() { - downloadDelegate.downloadTask.cancel { self.downloadDelegate.resumeData = $0 } - - NotificationCenter.default.post( - name: Notification.Name.Task.DidCancel, - object: self, - userInfo: [Notification.Key.Task: task as Any] - ) - } - - // MARK: Progress - - /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server. - /// - /// - parameter queue: The dispatch queue to execute the closure on. - /// - parameter closure: The code to be executed periodically as data is read from the server. - /// - /// - returns: The request. - @discardableResult - open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self { - downloadDelegate.progressHandler = (closure, queue) - return self - } - - // MARK: Destination - - /// Creates a download file destination closure which uses the default file manager to move the temporary file to a - /// file URL in the first available directory with the specified search path directory and search path domain mask. - /// - /// - parameter directory: The search path directory. `.DocumentDirectory` by default. - /// - parameter domain: The search path domain mask. `.UserDomainMask` by default. - /// - /// - returns: A download file destination closure. - open class func suggestedDownloadDestination( - for directory: FileManager.SearchPathDirectory = .documentDirectory, - in domain: FileManager.SearchPathDomainMask = .userDomainMask) - -> DownloadFileDestination - { - return { temporaryURL, response in - let directoryURLs = FileManager.default.urls(for: directory, in: domain) - - if !directoryURLs.isEmpty { - return (directoryURLs[0].appendingPathComponent(response.suggestedFilename!), []) - } - - return (temporaryURL, []) - } - } -} - -// MARK: - - -/// Specific type of `Request` that manages an underlying `URLSessionUploadTask`. -open class UploadRequest: DataRequest { - - // MARK: Helper Types - - enum Uploadable: TaskConvertible { - case data(Data, URLRequest) - case file(URL, URLRequest) - case stream(InputStream, URLRequest) - - func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask { - do { - let task: URLSessionTask - - switch self { - case let .data(data, urlRequest): - let urlRequest = try urlRequest.adapt(using: adapter) - task = queue.sync { session.uploadTask(with: urlRequest, from: data) } - case let .file(url, urlRequest): - let urlRequest = try urlRequest.adapt(using: adapter) - task = queue.sync { session.uploadTask(with: urlRequest, fromFile: url) } - case let .stream(_, urlRequest): - let urlRequest = try urlRequest.adapt(using: adapter) - task = queue.sync { session.uploadTask(withStreamedRequest: urlRequest) } - } - - return task - } catch { - throw AdaptError(error: error) - } - } - } - - // MARK: Properties - - /// The request sent or to be sent to the server. - open override var request: URLRequest? { - if let request = super.request { return request } - - guard let uploadable = originalTask as? Uploadable else { return nil } - - switch uploadable { - case .data(_, let urlRequest), .file(_, let urlRequest), .stream(_, let urlRequest): - return urlRequest - } - } - - /// The progress of uploading the payload to the server for the upload request. - open var uploadProgress: Progress { return uploadDelegate.uploadProgress } - - var uploadDelegate: UploadTaskDelegate { return delegate as! UploadTaskDelegate } - - // MARK: Upload Progress - - /// Sets a closure to be called periodically during the lifecycle of the `UploadRequest` as data is sent to - /// the server. - /// - /// After the data is sent to the server, the `progress(queue:closure:)` APIs can be used to monitor the progress - /// of data being read from the server. - /// - /// - parameter queue: The dispatch queue to execute the closure on. - /// - parameter closure: The code to be executed periodically as data is sent to the server. - /// - /// - returns: The request. - @discardableResult - open func uploadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self { - uploadDelegate.uploadProgressHandler = (closure, queue) - return self - } -} - -// MARK: - - -#if !os(watchOS) - -/// Specific type of `Request` that manages an underlying `URLSessionStreamTask`. -@available(iOS 9.0, macOS 10.11, tvOS 9.0, *) -open class StreamRequest: Request { - enum Streamable: TaskConvertible { - case stream(hostName: String, port: Int) - case netService(NetService) - - func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask { - let task: URLSessionTask - - switch self { - case let .stream(hostName, port): - task = queue.sync { session.streamTask(withHostName: hostName, port: port) } - case let .netService(netService): - task = queue.sync { session.streamTask(with: netService) } - } - - return task - } - } -} - -#endif diff --git a/Example/Pods/Alamofire/Source/Response.swift b/Example/Pods/Alamofire/Source/Response.swift deleted file mode 100644 index 703eeb4..0000000 --- a/Example/Pods/Alamofire/Source/Response.swift +++ /dev/null @@ -1,465 +0,0 @@ -// -// Response.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Used to store all data associated with an non-serialized response of a data or upload request. -public struct DefaultDataResponse { - /// The URL request sent to the server. - public let request: URLRequest? - - /// The server's response to the URL request. - public let response: HTTPURLResponse? - - /// The data returned by the server. - public let data: Data? - - /// The error encountered while executing or validating the request. - public let error: Error? - - /// The timeline of the complete lifecycle of the request. - public let timeline: Timeline - - var _metrics: AnyObject? - - /// Creates a `DefaultDataResponse` instance from the specified parameters. - /// - /// - Parameters: - /// - request: The URL request sent to the server. - /// - response: The server's response to the URL request. - /// - data: The data returned by the server. - /// - error: The error encountered while executing or validating the request. - /// - timeline: The timeline of the complete lifecycle of the request. `Timeline()` by default. - /// - metrics: The task metrics containing the request / response statistics. `nil` by default. - public init( - request: URLRequest?, - response: HTTPURLResponse?, - data: Data?, - error: Error?, - timeline: Timeline = Timeline(), - metrics: AnyObject? = nil) - { - self.request = request - self.response = response - self.data = data - self.error = error - self.timeline = timeline - } -} - -// MARK: - - -/// Used to store all data associated with a serialized response of a data or upload request. -public struct DataResponse { - /// The URL request sent to the server. - public let request: URLRequest? - - /// The server's response to the URL request. - public let response: HTTPURLResponse? - - /// The data returned by the server. - public let data: Data? - - /// The result of response serialization. - public let result: Result - - /// The timeline of the complete lifecycle of the request. - public let timeline: Timeline - - /// Returns the associated value of the result if it is a success, `nil` otherwise. - public var value: Value? { return result.value } - - /// Returns the associated error value if the result if it is a failure, `nil` otherwise. - public var error: Error? { return result.error } - - var _metrics: AnyObject? - - /// Creates a `DataResponse` instance with the specified parameters derived from response serialization. - /// - /// - parameter request: The URL request sent to the server. - /// - parameter response: The server's response to the URL request. - /// - parameter data: The data returned by the server. - /// - parameter result: The result of response serialization. - /// - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`. - /// - /// - returns: The new `DataResponse` instance. - public init( - request: URLRequest?, - response: HTTPURLResponse?, - data: Data?, - result: Result, - timeline: Timeline = Timeline()) - { - self.request = request - self.response = response - self.data = data - self.result = result - self.timeline = timeline - } -} - -// MARK: - - -extension DataResponse: CustomStringConvertible, CustomDebugStringConvertible { - /// The textual representation used when written to an output stream, which includes whether the result was a - /// success or failure. - public var description: String { - return result.debugDescription - } - - /// The debug textual representation used when written to an output stream, which includes the URL request, the URL - /// response, the server data, the response serialization result and the timeline. - public var debugDescription: String { - var output: [String] = [] - - output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil") - output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil") - output.append("[Data]: \(data?.count ?? 0) bytes") - output.append("[Result]: \(result.debugDescription)") - output.append("[Timeline]: \(timeline.debugDescription)") - - return output.joined(separator: "\n") - } -} - -// MARK: - - -extension DataResponse { - /// Evaluates the specified closure when the result of this `DataResponse` is a success, passing the unwrapped - /// result value as a parameter. - /// - /// Use the `map` method with a closure that does not throw. For example: - /// - /// let possibleData: DataResponse = ... - /// let possibleInt = possibleData.map { $0.count } - /// - /// - parameter transform: A closure that takes the success value of the instance's result. - /// - /// - returns: A `DataResponse` whose result wraps the value returned by the given closure. If this instance's - /// result is a failure, returns a response wrapping the same failure. - public func map(_ transform: (Value) -> T) -> DataResponse { - var response = DataResponse( - request: request, - response: self.response, - data: data, - result: result.map(transform), - timeline: timeline - ) - - response._metrics = _metrics - - return response - } - - /// Evaluates the given closure when the result of this `DataResponse` is a success, passing the unwrapped result - /// value as a parameter. - /// - /// Use the `flatMap` method with a closure that may throw an error. For example: - /// - /// let possibleData: DataResponse = ... - /// let possibleObject = possibleData.flatMap { - /// try JSONSerialization.jsonObject(with: $0) - /// } - /// - /// - parameter transform: A closure that takes the success value of the instance's result. - /// - /// - returns: A success or failure `DataResponse` depending on the result of the given closure. If this instance's - /// result is a failure, returns the same failure. - public func flatMap(_ transform: (Value) throws -> T) -> DataResponse { - var response = DataResponse( - request: request, - response: self.response, - data: data, - result: result.flatMap(transform), - timeline: timeline - ) - - response._metrics = _metrics - - return response - } -} - -// MARK: - - -/// Used to store all data associated with an non-serialized response of a download request. -public struct DefaultDownloadResponse { - /// The URL request sent to the server. - public let request: URLRequest? - - /// The server's response to the URL request. - public let response: HTTPURLResponse? - - /// The temporary destination URL of the data returned from the server. - public let temporaryURL: URL? - - /// The final destination URL of the data returned from the server if it was moved. - public let destinationURL: URL? - - /// The resume data generated if the request was cancelled. - public let resumeData: Data? - - /// The error encountered while executing or validating the request. - public let error: Error? - - /// The timeline of the complete lifecycle of the request. - public let timeline: Timeline - - var _metrics: AnyObject? - - /// Creates a `DefaultDownloadResponse` instance from the specified parameters. - /// - /// - Parameters: - /// - request: The URL request sent to the server. - /// - response: The server's response to the URL request. - /// - temporaryURL: The temporary destination URL of the data returned from the server. - /// - destinationURL: The final destination URL of the data returned from the server if it was moved. - /// - resumeData: The resume data generated if the request was cancelled. - /// - error: The error encountered while executing or validating the request. - /// - timeline: The timeline of the complete lifecycle of the request. `Timeline()` by default. - /// - metrics: The task metrics containing the request / response statistics. `nil` by default. - public init( - request: URLRequest?, - response: HTTPURLResponse?, - temporaryURL: URL?, - destinationURL: URL?, - resumeData: Data?, - error: Error?, - timeline: Timeline = Timeline(), - metrics: AnyObject? = nil) - { - self.request = request - self.response = response - self.temporaryURL = temporaryURL - self.destinationURL = destinationURL - self.resumeData = resumeData - self.error = error - self.timeline = timeline - } -} - -// MARK: - - -/// Used to store all data associated with a serialized response of a download request. -public struct DownloadResponse { - /// The URL request sent to the server. - public let request: URLRequest? - - /// The server's response to the URL request. - public let response: HTTPURLResponse? - - /// The temporary destination URL of the data returned from the server. - public let temporaryURL: URL? - - /// The final destination URL of the data returned from the server if it was moved. - public let destinationURL: URL? - - /// The resume data generated if the request was cancelled. - public let resumeData: Data? - - /// The result of response serialization. - public let result: Result - - /// The timeline of the complete lifecycle of the request. - public let timeline: Timeline - - /// Returns the associated value of the result if it is a success, `nil` otherwise. - public var value: Value? { return result.value } - - /// Returns the associated error value if the result if it is a failure, `nil` otherwise. - public var error: Error? { return result.error } - - var _metrics: AnyObject? - - /// Creates a `DownloadResponse` instance with the specified parameters derived from response serialization. - /// - /// - parameter request: The URL request sent to the server. - /// - parameter response: The server's response to the URL request. - /// - parameter temporaryURL: The temporary destination URL of the data returned from the server. - /// - parameter destinationURL: The final destination URL of the data returned from the server if it was moved. - /// - parameter resumeData: The resume data generated if the request was cancelled. - /// - parameter result: The result of response serialization. - /// - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`. - /// - /// - returns: The new `DownloadResponse` instance. - public init( - request: URLRequest?, - response: HTTPURLResponse?, - temporaryURL: URL?, - destinationURL: URL?, - resumeData: Data?, - result: Result, - timeline: Timeline = Timeline()) - { - self.request = request - self.response = response - self.temporaryURL = temporaryURL - self.destinationURL = destinationURL - self.resumeData = resumeData - self.result = result - self.timeline = timeline - } -} - -// MARK: - - -extension DownloadResponse: CustomStringConvertible, CustomDebugStringConvertible { - /// The textual representation used when written to an output stream, which includes whether the result was a - /// success or failure. - public var description: String { - return result.debugDescription - } - - /// The debug textual representation used when written to an output stream, which includes the URL request, the URL - /// response, the temporary and destination URLs, the resume data, the response serialization result and the - /// timeline. - public var debugDescription: String { - var output: [String] = [] - - output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil") - output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil") - output.append("[TemporaryURL]: \(temporaryURL?.path ?? "nil")") - output.append("[DestinationURL]: \(destinationURL?.path ?? "nil")") - output.append("[ResumeData]: \(resumeData?.count ?? 0) bytes") - output.append("[Result]: \(result.debugDescription)") - output.append("[Timeline]: \(timeline.debugDescription)") - - return output.joined(separator: "\n") - } -} - -// MARK: - - -extension DownloadResponse { - /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped - /// result value as a parameter. - /// - /// Use the `map` method with a closure that does not throw. For example: - /// - /// let possibleData: DownloadResponse = ... - /// let possibleInt = possibleData.map { $0.count } - /// - /// - parameter transform: A closure that takes the success value of the instance's result. - /// - /// - returns: A `DownloadResponse` whose result wraps the value returned by the given closure. If this instance's - /// result is a failure, returns a response wrapping the same failure. - public func map(_ transform: (Value) -> T) -> DownloadResponse { - var response = DownloadResponse( - request: request, - response: self.response, - temporaryURL: temporaryURL, - destinationURL: destinationURL, - resumeData: resumeData, - result: result.map(transform), - timeline: timeline - ) - - response._metrics = _metrics - - return response - } - - /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped - /// result value as a parameter. - /// - /// Use the `flatMap` method with a closure that may throw an error. For example: - /// - /// let possibleData: DownloadResponse = ... - /// let possibleObject = possibleData.flatMap { - /// try JSONSerialization.jsonObject(with: $0) - /// } - /// - /// - parameter transform: A closure that takes the success value of the instance's result. - /// - /// - returns: A success or failure `DownloadResponse` depending on the result of the given closure. If this - /// instance's result is a failure, returns the same failure. - public func flatMap(_ transform: (Value) throws -> T) -> DownloadResponse { - var response = DownloadResponse( - request: request, - response: self.response, - temporaryURL: temporaryURL, - destinationURL: destinationURL, - resumeData: resumeData, - result: result.flatMap(transform), - timeline: timeline - ) - - response._metrics = _metrics - - return response - } -} - -// MARK: - - -protocol Response { - /// The task metrics containing the request / response statistics. - var _metrics: AnyObject? { get set } - mutating func add(_ metrics: AnyObject?) -} - -extension Response { - mutating func add(_ metrics: AnyObject?) { - #if !os(watchOS) - guard #available(iOS 10.0, macOS 10.12, tvOS 10.0, *) else { return } - guard let metrics = metrics as? URLSessionTaskMetrics else { return } - - _metrics = metrics - #endif - } -} - -// MARK: - - -@available(iOS 10.0, macOS 10.12, tvOS 10.0, *) -extension DefaultDataResponse: Response { -#if !os(watchOS) - /// The task metrics containing the request / response statistics. - public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics } -#endif -} - -@available(iOS 10.0, macOS 10.12, tvOS 10.0, *) -extension DataResponse: Response { -#if !os(watchOS) - /// The task metrics containing the request / response statistics. - public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics } -#endif -} - -@available(iOS 10.0, macOS 10.12, tvOS 10.0, *) -extension DefaultDownloadResponse: Response { -#if !os(watchOS) - /// The task metrics containing the request / response statistics. - public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics } -#endif -} - -@available(iOS 10.0, macOS 10.12, tvOS 10.0, *) -extension DownloadResponse: Response { -#if !os(watchOS) - /// The task metrics containing the request / response statistics. - public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics } -#endif -} diff --git a/Example/Pods/Alamofire/Source/ResponseSerialization.swift b/Example/Pods/Alamofire/Source/ResponseSerialization.swift deleted file mode 100644 index 1f29ed8..0000000 --- a/Example/Pods/Alamofire/Source/ResponseSerialization.swift +++ /dev/null @@ -1,715 +0,0 @@ -// -// ResponseSerialization.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// The type in which all data response serializers must conform to in order to serialize a response. -public protocol DataResponseSerializerProtocol { - /// The type of serialized object to be created by this `DataResponseSerializerType`. - associatedtype SerializedObject - - /// A closure used by response handlers that takes a request, response, data and error and returns a result. - var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result { get } -} - -// MARK: - - -/// A generic `DataResponseSerializerType` used to serialize a request, response, and data into a serialized object. -public struct DataResponseSerializer: DataResponseSerializerProtocol { - /// The type of serialized object to be created by this `DataResponseSerializer`. - public typealias SerializedObject = Value - - /// A closure used by response handlers that takes a request, response, data and error and returns a result. - public var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result - - /// Initializes the `ResponseSerializer` instance with the given serialize response closure. - /// - /// - parameter serializeResponse: The closure used to serialize the response. - /// - /// - returns: The new generic response serializer instance. - public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result) { - self.serializeResponse = serializeResponse - } -} - -// MARK: - - -/// The type in which all download response serializers must conform to in order to serialize a response. -public protocol DownloadResponseSerializerProtocol { - /// The type of serialized object to be created by this `DownloadResponseSerializerType`. - associatedtype SerializedObject - - /// A closure used by response handlers that takes a request, response, url and error and returns a result. - var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result { get } -} - -// MARK: - - -/// A generic `DownloadResponseSerializerType` used to serialize a request, response, and data into a serialized object. -public struct DownloadResponseSerializer: DownloadResponseSerializerProtocol { - /// The type of serialized object to be created by this `DownloadResponseSerializer`. - public typealias SerializedObject = Value - - /// A closure used by response handlers that takes a request, response, url and error and returns a result. - public var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result - - /// Initializes the `ResponseSerializer` instance with the given serialize response closure. - /// - /// - parameter serializeResponse: The closure used to serialize the response. - /// - /// - returns: The new generic response serializer instance. - public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result) { - self.serializeResponse = serializeResponse - } -} - -// MARK: - Timeline - -extension Request { - var timeline: Timeline { - let requestStartTime = self.startTime ?? CFAbsoluteTimeGetCurrent() - let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent() - let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime - - return Timeline( - requestStartTime: requestStartTime, - initialResponseTime: initialResponseTime, - requestCompletedTime: requestCompletedTime, - serializationCompletedTime: CFAbsoluteTimeGetCurrent() - ) - } -} - -// MARK: - Default - -extension DataRequest { - /// Adds a handler to be called once the request has finished. - /// - /// - parameter queue: The queue on which the completion handler is dispatched. - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func response(queue: DispatchQueue? = nil, completionHandler: @escaping (DefaultDataResponse) -> Void) -> Self { - delegate.queue.addOperation { - (queue ?? DispatchQueue.main).async { - var dataResponse = DefaultDataResponse( - request: self.request, - response: self.response, - data: self.delegate.data, - error: self.delegate.error, - timeline: self.timeline - ) - - dataResponse.add(self.delegate.metrics) - - completionHandler(dataResponse) - } - } - - return self - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter queue: The queue on which the completion handler is dispatched. - /// - parameter responseSerializer: The response serializer responsible for serializing the request, response, - /// and data. - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func response( - queue: DispatchQueue? = nil, - responseSerializer: T, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - delegate.queue.addOperation { - let result = responseSerializer.serializeResponse( - self.request, - self.response, - self.delegate.data, - self.delegate.error - ) - - var dataResponse = DataResponse( - request: self.request, - response: self.response, - data: self.delegate.data, - result: result, - timeline: self.timeline - ) - - dataResponse.add(self.delegate.metrics) - - (queue ?? DispatchQueue.main).async { completionHandler(dataResponse) } - } - - return self - } -} - -extension DownloadRequest { - /// Adds a handler to be called once the request has finished. - /// - /// - parameter queue: The queue on which the completion handler is dispatched. - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func response( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DefaultDownloadResponse) -> Void) - -> Self - { - delegate.queue.addOperation { - (queue ?? DispatchQueue.main).async { - var downloadResponse = DefaultDownloadResponse( - request: self.request, - response: self.response, - temporaryURL: self.downloadDelegate.temporaryURL, - destinationURL: self.downloadDelegate.destinationURL, - resumeData: self.downloadDelegate.resumeData, - error: self.downloadDelegate.error, - timeline: self.timeline - ) - - downloadResponse.add(self.delegate.metrics) - - completionHandler(downloadResponse) - } - } - - return self - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter queue: The queue on which the completion handler is dispatched. - /// - parameter responseSerializer: The response serializer responsible for serializing the request, response, - /// and data contained in the destination url. - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func response( - queue: DispatchQueue? = nil, - responseSerializer: T, - completionHandler: @escaping (DownloadResponse) -> Void) - -> Self - { - delegate.queue.addOperation { - let result = responseSerializer.serializeResponse( - self.request, - self.response, - self.downloadDelegate.fileURL, - self.downloadDelegate.error - ) - - var downloadResponse = DownloadResponse( - request: self.request, - response: self.response, - temporaryURL: self.downloadDelegate.temporaryURL, - destinationURL: self.downloadDelegate.destinationURL, - resumeData: self.downloadDelegate.resumeData, - result: result, - timeline: self.timeline - ) - - downloadResponse.add(self.delegate.metrics) - - (queue ?? DispatchQueue.main).async { completionHandler(downloadResponse) } - } - - return self - } -} - -// MARK: - Data - -extension Request { - /// Returns a result data type that contains the response data as-is. - /// - /// - parameter response: The response from the server. - /// - parameter data: The data returned from the server. - /// - parameter error: The error already encountered if it exists. - /// - /// - returns: The result data type. - public static func serializeResponseData(response: HTTPURLResponse?, data: Data?, error: Error?) -> Result { - guard error == nil else { return .failure(error!) } - - if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(Data()) } - - guard let validData = data else { - return .failure(AFError.responseSerializationFailed(reason: .inputDataNil)) - } - - return .success(validData) - } -} - -extension DataRequest { - /// Creates a response serializer that returns the associated data as-is. - /// - /// - returns: A data response serializer. - public static func dataResponseSerializer() -> DataResponseSerializer { - return DataResponseSerializer { _, response, data, error in - return Request.serializeResponseData(response: response, data: data, error: error) - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseData( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DataRequest.dataResponseSerializer(), - completionHandler: completionHandler - ) - } -} - -extension DownloadRequest { - /// Creates a response serializer that returns the associated data as-is. - /// - /// - returns: A data response serializer. - public static func dataResponseSerializer() -> DownloadResponseSerializer { - return DownloadResponseSerializer { _, response, fileURL, error in - guard error == nil else { return .failure(error!) } - - guard let fileURL = fileURL else { - return .failure(AFError.responseSerializationFailed(reason: .inputFileNil)) - } - - do { - let data = try Data(contentsOf: fileURL) - return Request.serializeResponseData(response: response, data: data, error: error) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL))) - } - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter completionHandler: The code to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseData( - queue: DispatchQueue? = nil, - completionHandler: @escaping (DownloadResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DownloadRequest.dataResponseSerializer(), - completionHandler: completionHandler - ) - } -} - -// MARK: - String - -extension Request { - /// Returns a result string type initialized from the response data with the specified string encoding. - /// - /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server - /// response, falling back to the default HTTP default character set, ISO-8859-1. - /// - parameter response: The response from the server. - /// - parameter data: The data returned from the server. - /// - parameter error: The error already encountered if it exists. - /// - /// - returns: The result data type. - public static func serializeResponseString( - encoding: String.Encoding?, - response: HTTPURLResponse?, - data: Data?, - error: Error?) - -> Result - { - guard error == nil else { return .failure(error!) } - - if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success("") } - - guard let validData = data else { - return .failure(AFError.responseSerializationFailed(reason: .inputDataNil)) - } - - var convertedEncoding = encoding - - if let encodingName = response?.textEncodingName as CFString!, convertedEncoding == nil { - convertedEncoding = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding( - CFStringConvertIANACharSetNameToEncoding(encodingName)) - ) - } - - let actualEncoding = convertedEncoding ?? String.Encoding.isoLatin1 - - if let string = String(data: validData, encoding: actualEncoding) { - return .success(string) - } else { - return .failure(AFError.responseSerializationFailed(reason: .stringSerializationFailed(encoding: actualEncoding))) - } - } -} - -extension DataRequest { - /// Creates a response serializer that returns a result string type initialized from the response data with - /// the specified string encoding. - /// - /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server - /// response, falling back to the default HTTP default character set, ISO-8859-1. - /// - /// - returns: A string response serializer. - public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DataResponseSerializer { - return DataResponseSerializer { _, response, data, error in - return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error) - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the - /// server response, falling back to the default HTTP default character set, - /// ISO-8859-1. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseString( - queue: DispatchQueue? = nil, - encoding: String.Encoding? = nil, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DataRequest.stringResponseSerializer(encoding: encoding), - completionHandler: completionHandler - ) - } -} - -extension DownloadRequest { - /// Creates a response serializer that returns a result string type initialized from the response data with - /// the specified string encoding. - /// - /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server - /// response, falling back to the default HTTP default character set, ISO-8859-1. - /// - /// - returns: A string response serializer. - public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DownloadResponseSerializer { - return DownloadResponseSerializer { _, response, fileURL, error in - guard error == nil else { return .failure(error!) } - - guard let fileURL = fileURL else { - return .failure(AFError.responseSerializationFailed(reason: .inputFileNil)) - } - - do { - let data = try Data(contentsOf: fileURL) - return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL))) - } - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the - /// server response, falling back to the default HTTP default character set, - /// ISO-8859-1. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseString( - queue: DispatchQueue? = nil, - encoding: String.Encoding? = nil, - completionHandler: @escaping (DownloadResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DownloadRequest.stringResponseSerializer(encoding: encoding), - completionHandler: completionHandler - ) - } -} - -// MARK: - JSON - -extension Request { - /// Returns a JSON object contained in a result type constructed from the response data using `JSONSerialization` - /// with the specified reading options. - /// - /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`. - /// - parameter response: The response from the server. - /// - parameter data: The data returned from the server. - /// - parameter error: The error already encountered if it exists. - /// - /// - returns: The result data type. - public static func serializeResponseJSON( - options: JSONSerialization.ReadingOptions, - response: HTTPURLResponse?, - data: Data?, - error: Error?) - -> Result - { - guard error == nil else { return .failure(error!) } - - if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) } - - guard let validData = data, validData.count > 0 else { - return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)) - } - - do { - let json = try JSONSerialization.jsonObject(with: validData, options: options) - return .success(json) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .jsonSerializationFailed(error: error))) - } - } -} - -extension DataRequest { - /// Creates a response serializer that returns a JSON object result type constructed from the response data using - /// `JSONSerialization` with the specified reading options. - /// - /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`. - /// - /// - returns: A JSON object response serializer. - public static func jsonResponseSerializer( - options: JSONSerialization.ReadingOptions = .allowFragments) - -> DataResponseSerializer - { - return DataResponseSerializer { _, response, data, error in - return Request.serializeResponseJSON(options: options, response: response, data: data, error: error) - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseJSON( - queue: DispatchQueue? = nil, - options: JSONSerialization.ReadingOptions = .allowFragments, - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DataRequest.jsonResponseSerializer(options: options), - completionHandler: completionHandler - ) - } -} - -extension DownloadRequest { - /// Creates a response serializer that returns a JSON object result type constructed from the response data using - /// `JSONSerialization` with the specified reading options. - /// - /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`. - /// - /// - returns: A JSON object response serializer. - public static func jsonResponseSerializer( - options: JSONSerialization.ReadingOptions = .allowFragments) - -> DownloadResponseSerializer - { - return DownloadResponseSerializer { _, response, fileURL, error in - guard error == nil else { return .failure(error!) } - - guard let fileURL = fileURL else { - return .failure(AFError.responseSerializationFailed(reason: .inputFileNil)) - } - - do { - let data = try Data(contentsOf: fileURL) - return Request.serializeResponseJSON(options: options, response: response, data: data, error: error) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL))) - } - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responseJSON( - queue: DispatchQueue? = nil, - options: JSONSerialization.ReadingOptions = .allowFragments, - completionHandler: @escaping (DownloadResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DownloadRequest.jsonResponseSerializer(options: options), - completionHandler: completionHandler - ) - } -} - -// MARK: - Property List - -extension Request { - /// Returns a plist object contained in a result type constructed from the response data using - /// `PropertyListSerialization` with the specified reading options. - /// - /// - parameter options: The property list reading options. Defaults to `[]`. - /// - parameter response: The response from the server. - /// - parameter data: The data returned from the server. - /// - parameter error: The error already encountered if it exists. - /// - /// - returns: The result data type. - public static func serializeResponsePropertyList( - options: PropertyListSerialization.ReadOptions, - response: HTTPURLResponse?, - data: Data?, - error: Error?) - -> Result - { - guard error == nil else { return .failure(error!) } - - if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) } - - guard let validData = data, validData.count > 0 else { - return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)) - } - - do { - let plist = try PropertyListSerialization.propertyList(from: validData, options: options, format: nil) - return .success(plist) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .propertyListSerializationFailed(error: error))) - } - } -} - -extension DataRequest { - /// Creates a response serializer that returns an object constructed from the response data using - /// `PropertyListSerialization` with the specified reading options. - /// - /// - parameter options: The property list reading options. Defaults to `[]`. - /// - /// - returns: A property list object response serializer. - public static func propertyListResponseSerializer( - options: PropertyListSerialization.ReadOptions = []) - -> DataResponseSerializer - { - return DataResponseSerializer { _, response, data, error in - return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error) - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter options: The property list reading options. Defaults to `[]`. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responsePropertyList( - queue: DispatchQueue? = nil, - options: PropertyListSerialization.ReadOptions = [], - completionHandler: @escaping (DataResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DataRequest.propertyListResponseSerializer(options: options), - completionHandler: completionHandler - ) - } -} - -extension DownloadRequest { - /// Creates a response serializer that returns an object constructed from the response data using - /// `PropertyListSerialization` with the specified reading options. - /// - /// - parameter options: The property list reading options. Defaults to `[]`. - /// - /// - returns: A property list object response serializer. - public static func propertyListResponseSerializer( - options: PropertyListSerialization.ReadOptions = []) - -> DownloadResponseSerializer - { - return DownloadResponseSerializer { _, response, fileURL, error in - guard error == nil else { return .failure(error!) } - - guard let fileURL = fileURL else { - return .failure(AFError.responseSerializationFailed(reason: .inputFileNil)) - } - - do { - let data = try Data(contentsOf: fileURL) - return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error) - } catch { - return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL))) - } - } - } - - /// Adds a handler to be called once the request has finished. - /// - /// - parameter options: The property list reading options. Defaults to `[]`. - /// - parameter completionHandler: A closure to be executed once the request has finished. - /// - /// - returns: The request. - @discardableResult - public func responsePropertyList( - queue: DispatchQueue? = nil, - options: PropertyListSerialization.ReadOptions = [], - completionHandler: @escaping (DownloadResponse) -> Void) - -> Self - { - return response( - queue: queue, - responseSerializer: DownloadRequest.propertyListResponseSerializer(options: options), - completionHandler: completionHandler - ) - } -} - -/// A set of HTTP response status code that do not contain response data. -private let emptyDataStatusCodes: Set = [204, 205] diff --git a/Example/Pods/Alamofire/Source/Result.swift b/Example/Pods/Alamofire/Source/Result.swift deleted file mode 100644 index bbd3c61..0000000 --- a/Example/Pods/Alamofire/Source/Result.swift +++ /dev/null @@ -1,300 +0,0 @@ -// -// Result.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Used to represent whether a request was successful or encountered an error. -/// -/// - success: The request and all post processing operations were successful resulting in the serialization of the -/// provided associated value. -/// -/// - failure: The request encountered an error resulting in a failure. The associated values are the original data -/// provided by the server as well as the error that caused the failure. -public enum Result { - case success(Value) - case failure(Error) - - /// Returns `true` if the result is a success, `false` otherwise. - public var isSuccess: Bool { - switch self { - case .success: - return true - case .failure: - return false - } - } - - /// Returns `true` if the result is a failure, `false` otherwise. - public var isFailure: Bool { - return !isSuccess - } - - /// Returns the associated value if the result is a success, `nil` otherwise. - public var value: Value? { - switch self { - case .success(let value): - return value - case .failure: - return nil - } - } - - /// Returns the associated error value if the result is a failure, `nil` otherwise. - public var error: Error? { - switch self { - case .success: - return nil - case .failure(let error): - return error - } - } -} - -// MARK: - CustomStringConvertible - -extension Result: CustomStringConvertible { - /// The textual representation used when written to an output stream, which includes whether the result was a - /// success or failure. - public var description: String { - switch self { - case .success: - return "SUCCESS" - case .failure: - return "FAILURE" - } - } -} - -// MARK: - CustomDebugStringConvertible - -extension Result: CustomDebugStringConvertible { - /// The debug textual representation used when written to an output stream, which includes whether the result was a - /// success or failure in addition to the value or error. - public var debugDescription: String { - switch self { - case .success(let value): - return "SUCCESS: \(value)" - case .failure(let error): - return "FAILURE: \(error)" - } - } -} - -// MARK: - Functional APIs - -extension Result { - /// Creates a `Result` instance from the result of a closure. - /// - /// A failure result is created when the closure throws, and a success result is created when the closure - /// succeeds without throwing an error. - /// - /// func someString() throws -> String { ... } - /// - /// let result = Result(value: { - /// return try someString() - /// }) - /// - /// // The type of result is Result - /// - /// The trailing closure syntax is also supported: - /// - /// let result = Result { try someString() } - /// - /// - parameter value: The closure to execute and create the result for. - public init(value: () throws -> Value) { - do { - self = try .success(value()) - } catch { - self = .failure(error) - } - } - - /// Returns the success value, or throws the failure error. - /// - /// let possibleString: Result = .success("success") - /// try print(possibleString.unwrap()) - /// // Prints "success" - /// - /// let noString: Result = .failure(error) - /// try print(noString.unwrap()) - /// // Throws error - public func unwrap() throws -> Value { - switch self { - case .success(let value): - return value - case .failure(let error): - throw error - } - } - - /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter. - /// - /// Use the `map` method with a closure that does not throw. For example: - /// - /// let possibleData: Result = .success(Data()) - /// let possibleInt = possibleData.map { $0.count } - /// try print(possibleInt.unwrap()) - /// // Prints "0" - /// - /// let noData: Result = .failure(error) - /// let noInt = noData.map { $0.count } - /// try print(noInt.unwrap()) - /// // Throws error - /// - /// - parameter transform: A closure that takes the success value of the `Result` instance. - /// - /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the - /// same failure. - public func map(_ transform: (Value) -> T) -> Result { - switch self { - case .success(let value): - return .success(transform(value)) - case .failure(let error): - return .failure(error) - } - } - - /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter. - /// - /// Use the `flatMap` method with a closure that may throw an error. For example: - /// - /// let possibleData: Result = .success(Data(...)) - /// let possibleObject = possibleData.flatMap { - /// try JSONSerialization.jsonObject(with: $0) - /// } - /// - /// - parameter transform: A closure that takes the success value of the instance. - /// - /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the - /// same failure. - public func flatMap(_ transform: (Value) throws -> T) -> Result { - switch self { - case .success(let value): - do { - return try .success(transform(value)) - } catch { - return .failure(error) - } - case .failure(let error): - return .failure(error) - } - } - - /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter. - /// - /// Use the `mapError` function with a closure that does not throw. For example: - /// - /// let possibleData: Result = .failure(someError) - /// let withMyError: Result = possibleData.mapError { MyError.error($0) } - /// - /// - Parameter transform: A closure that takes the error of the instance. - /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns - /// the same instance. - public func mapError(_ transform: (Error) -> T) -> Result { - switch self { - case .failure(let error): - return .failure(transform(error)) - case .success: - return self - } - } - - /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter. - /// - /// Use the `flatMapError` function with a closure that may throw an error. For example: - /// - /// let possibleData: Result = .success(Data(...)) - /// let possibleObject = possibleData.flatMapError { - /// try someFailableFunction(taking: $0) - /// } - /// - /// - Parameter transform: A throwing closure that takes the error of the instance. - /// - /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns - /// the same instance. - public func flatMapError(_ transform: (Error) throws -> T) -> Result { - switch self { - case .failure(let error): - do { - return try .failure(transform(error)) - } catch { - return .failure(error) - } - case .success: - return self - } - } - - /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter. - /// - /// Use the `withValue` function to evaluate the passed closure without modifying the `Result` instance. - /// - /// - Parameter closure: A closure that takes the success value of this instance. - /// - Returns: This `Result` instance, unmodified. - @discardableResult - public func withValue(_ closure: (Value) -> Void) -> Result { - if case let .success(value) = self { closure(value) } - - return self - } - - /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter. - /// - /// Use the `withError` function to evaluate the passed closure without modifying the `Result` instance. - /// - /// - Parameter closure: A closure that takes the success value of this instance. - /// - Returns: This `Result` instance, unmodified. - @discardableResult - public func withError(_ closure: (Error) -> Void) -> Result { - if case let .failure(error) = self { closure(error) } - - return self - } - - /// Evaluates the specified closure when the `Result` is a success. - /// - /// Use the `ifSuccess` function to evaluate the passed closure without modifying the `Result` instance. - /// - /// - Parameter closure: A `Void` closure. - /// - Returns: This `Result` instance, unmodified. - @discardableResult - public func ifSuccess(_ closure: () -> Void) -> Result { - if isSuccess { closure() } - - return self - } - - /// Evaluates the specified closure when the `Result` is a failure. - /// - /// Use the `ifFailure` function to evaluate the passed closure without modifying the `Result` instance. - /// - /// - Parameter closure: A `Void` closure. - /// - Returns: This `Result` instance, unmodified. - @discardableResult - public func ifFailure(_ closure: () -> Void) -> Result { - if isFailure { closure() } - - return self - } -} diff --git a/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift b/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift deleted file mode 100644 index 1ad3530..0000000 --- a/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift +++ /dev/null @@ -1,307 +0,0 @@ -// -// ServerTrustPolicy.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host. -open class ServerTrustPolicyManager { - /// The dictionary of policies mapped to a particular host. - open let policies: [String: ServerTrustPolicy] - - /// Initializes the `ServerTrustPolicyManager` instance with the given policies. - /// - /// Since different servers and web services can have different leaf certificates, intermediate and even root - /// certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This - /// allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key - /// pinning for host3 and disabling evaluation for host4. - /// - /// - parameter policies: A dictionary of all policies mapped to a particular host. - /// - /// - returns: The new `ServerTrustPolicyManager` instance. - public init(policies: [String: ServerTrustPolicy]) { - self.policies = policies - } - - /// Returns the `ServerTrustPolicy` for the given host if applicable. - /// - /// By default, this method will return the policy that perfectly matches the given host. Subclasses could override - /// this method and implement more complex mapping implementations such as wildcards. - /// - /// - parameter host: The host to use when searching for a matching policy. - /// - /// - returns: The server trust policy for the given host if found. - open func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? { - return policies[host] - } -} - -// MARK: - - -extension URLSession { - private struct AssociatedKeys { - static var managerKey = "URLSession.ServerTrustPolicyManager" - } - - var serverTrustPolicyManager: ServerTrustPolicyManager? { - get { - return objc_getAssociatedObject(self, &AssociatedKeys.managerKey) as? ServerTrustPolicyManager - } - set (manager) { - objc_setAssociatedObject(self, &AssociatedKeys.managerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } - } -} - -// MARK: - ServerTrustPolicy - -/// The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when -/// connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust -/// with a given set of criteria to determine whether the server trust is valid and the connection should be made. -/// -/// Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other -/// vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged -/// to route all communication over an HTTPS connection with pinning enabled. -/// -/// - performDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to -/// validate the host provided by the challenge. Applications are encouraged to always -/// validate the host in production environments to guarantee the validity of the server's -/// certificate chain. -/// -/// - performRevokedEvaluation: Uses the default and revoked server trust evaluations allowing you to control whether to -/// validate the host provided by the challenge as well as specify the revocation flags for -/// testing for revoked certificates. Apple platforms did not start testing for revoked -/// certificates automatically until iOS 10.1, macOS 10.12 and tvOS 10.1 which is -/// demonstrated in our TLS tests. Applications are encouraged to always validate the host -/// in production environments to guarantee the validity of the server's certificate chain. -/// -/// - pinCertificates: Uses the pinned certificates to validate the server trust. The server trust is -/// considered valid if one of the pinned certificates match one of the server certificates. -/// By validating both the certificate chain and host, certificate pinning provides a very -/// secure form of server trust validation mitigating most, if not all, MITM attacks. -/// Applications are encouraged to always validate the host and require a valid certificate -/// chain in production environments. -/// -/// - pinPublicKeys: Uses the pinned public keys to validate the server trust. The server trust is considered -/// valid if one of the pinned public keys match one of the server certificate public keys. -/// By validating both the certificate chain and host, public key pinning provides a very -/// secure form of server trust validation mitigating most, if not all, MITM attacks. -/// Applications are encouraged to always validate the host and require a valid certificate -/// chain in production environments. -/// -/// - disableEvaluation: Disables all evaluation which in turn will always consider any server trust as valid. -/// -/// - customEvaluation: Uses the associated closure to evaluate the validity of the server trust. -public enum ServerTrustPolicy { - case performDefaultEvaluation(validateHost: Bool) - case performRevokedEvaluation(validateHost: Bool, revocationFlags: CFOptionFlags) - case pinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool) - case pinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool) - case disableEvaluation - case customEvaluation((_ serverTrust: SecTrust, _ host: String) -> Bool) - - // MARK: - Bundle Location - - /// Returns all certificates within the given bundle with a `.cer` file extension. - /// - /// - parameter bundle: The bundle to search for all `.cer` files. - /// - /// - returns: All certificates within the given bundle. - public static func certificates(in bundle: Bundle = Bundle.main) -> [SecCertificate] { - var certificates: [SecCertificate] = [] - - let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in - bundle.paths(forResourcesOfType: fileExtension, inDirectory: nil) - }.joined()) - - for path in paths { - if - let certificateData = try? Data(contentsOf: URL(fileURLWithPath: path)) as CFData, - let certificate = SecCertificateCreateWithData(nil, certificateData) - { - certificates.append(certificate) - } - } - - return certificates - } - - /// Returns all public keys within the given bundle with a `.cer` file extension. - /// - /// - parameter bundle: The bundle to search for all `*.cer` files. - /// - /// - returns: All public keys within the given bundle. - public static func publicKeys(in bundle: Bundle = Bundle.main) -> [SecKey] { - var publicKeys: [SecKey] = [] - - for certificate in certificates(in: bundle) { - if let publicKey = publicKey(for: certificate) { - publicKeys.append(publicKey) - } - } - - return publicKeys - } - - // MARK: - Evaluation - - /// Evaluates whether the server trust is valid for the given host. - /// - /// - parameter serverTrust: The server trust to evaluate. - /// - parameter host: The host of the challenge protection space. - /// - /// - returns: Whether the server trust is valid. - public func evaluate(_ serverTrust: SecTrust, forHost host: String) -> Bool { - var serverTrustIsValid = false - - switch self { - case let .performDefaultEvaluation(validateHost): - let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) - SecTrustSetPolicies(serverTrust, policy) - - serverTrustIsValid = trustIsValid(serverTrust) - case let .performRevokedEvaluation(validateHost, revocationFlags): - let defaultPolicy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) - let revokedPolicy = SecPolicyCreateRevocation(revocationFlags) - SecTrustSetPolicies(serverTrust, [defaultPolicy, revokedPolicy] as CFTypeRef) - - serverTrustIsValid = trustIsValid(serverTrust) - case let .pinCertificates(pinnedCertificates, validateCertificateChain, validateHost): - if validateCertificateChain { - let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) - SecTrustSetPolicies(serverTrust, policy) - - SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates as CFArray) - SecTrustSetAnchorCertificatesOnly(serverTrust, true) - - serverTrustIsValid = trustIsValid(serverTrust) - } else { - let serverCertificatesDataArray = certificateData(for: serverTrust) - let pinnedCertificatesDataArray = certificateData(for: pinnedCertificates) - - outerLoop: for serverCertificateData in serverCertificatesDataArray { - for pinnedCertificateData in pinnedCertificatesDataArray { - if serverCertificateData == pinnedCertificateData { - serverTrustIsValid = true - break outerLoop - } - } - } - } - case let .pinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost): - var certificateChainEvaluationPassed = true - - if validateCertificateChain { - let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil) - SecTrustSetPolicies(serverTrust, policy) - - certificateChainEvaluationPassed = trustIsValid(serverTrust) - } - - if certificateChainEvaluationPassed { - outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) as [AnyObject] { - for pinnedPublicKey in pinnedPublicKeys as [AnyObject] { - if serverPublicKey.isEqual(pinnedPublicKey) { - serverTrustIsValid = true - break outerLoop - } - } - } - } - case .disableEvaluation: - serverTrustIsValid = true - case let .customEvaluation(closure): - serverTrustIsValid = closure(serverTrust, host) - } - - return serverTrustIsValid - } - - // MARK: - Private - Trust Validation - - private func trustIsValid(_ trust: SecTrust) -> Bool { - var isValid = false - - var result = SecTrustResultType.invalid - let status = SecTrustEvaluate(trust, &result) - - if status == errSecSuccess { - let unspecified = SecTrustResultType.unspecified - let proceed = SecTrustResultType.proceed - - - isValid = result == unspecified || result == proceed - } - - return isValid - } - - // MARK: - Private - Certificate Data - - private func certificateData(for trust: SecTrust) -> [Data] { - var certificates: [SecCertificate] = [] - - for index in 0.. [Data] { - return certificates.map { SecCertificateCopyData($0) as Data } - } - - // MARK: - Private - Public Key Extraction - - private static func publicKeys(for trust: SecTrust) -> [SecKey] { - var publicKeys: [SecKey] = [] - - for index in 0.. SecKey? { - var publicKey: SecKey? - - let policy = SecPolicyCreateBasicX509() - var trust: SecTrust? - let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust) - - if let trust = trust, trustCreationStatus == errSecSuccess { - publicKey = SecTrustCopyPublicKey(trust) - } - - return publicKey - } -} diff --git a/Example/Pods/Alamofire/Source/SessionDelegate.swift b/Example/Pods/Alamofire/Source/SessionDelegate.swift deleted file mode 100644 index d38c253..0000000 --- a/Example/Pods/Alamofire/Source/SessionDelegate.swift +++ /dev/null @@ -1,719 +0,0 @@ -// -// SessionDelegate.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Responsible for handling all delegate callbacks for the underlying session. -open class SessionDelegate: NSObject { - - // MARK: URLSessionDelegate Overrides - - /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didBecomeInvalidWithError:)`. - open var sessionDidBecomeInvalidWithError: ((URLSession, Error?) -> Void)? - - /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`. - open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))? - - /// Overrides all behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)` and requires the caller to call the `completionHandler`. - open var sessionDidReceiveChallengeWithCompletion: ((URLSession, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)? - - /// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`. - open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)? - - // MARK: URLSessionTaskDelegate Overrides - - /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`. - open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)? - - /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)` and - /// requires the caller to call the `completionHandler`. - open var taskWillPerformHTTPRedirectionWithCompletion: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void)? - - /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)`. - open var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))? - - /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)` and - /// requires the caller to call the `completionHandler`. - open var taskDidReceiveChallengeWithCompletion: ((URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)? - - /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)`. - open var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)? - - /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)` and - /// requires the caller to call the `completionHandler`. - open var taskNeedNewBodyStreamWithCompletion: ((URLSession, URLSessionTask, @escaping (InputStream?) -> Void) -> Void)? - - /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)`. - open var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)? - - /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didCompleteWithError:)`. - open var taskDidComplete: ((URLSession, URLSessionTask, Error?) -> Void)? - - // MARK: URLSessionDataDelegate Overrides - - /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)`. - open var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)? - - /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)` and - /// requires caller to call the `completionHandler`. - open var dataTaskDidReceiveResponseWithCompletion: ((URLSession, URLSessionDataTask, URLResponse, @escaping (URLSession.ResponseDisposition) -> Void) -> Void)? - - /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didBecome:)`. - open var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)? - - /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:)`. - open var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)? - - /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`. - open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)? - - /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)` and - /// requires caller to call the `completionHandler`. - open var dataTaskWillCacheResponseWithCompletion: ((URLSession, URLSessionDataTask, CachedURLResponse, @escaping (CachedURLResponse?) -> Void) -> Void)? - - // MARK: URLSessionDownloadDelegate Overrides - - /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didFinishDownloadingTo:)`. - open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)? - - /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`. - open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)? - - /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)`. - open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)? - - // MARK: URLSessionStreamDelegate Overrides - -#if !os(watchOS) - - /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:readClosedFor:)`. - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open var streamTaskReadClosed: ((URLSession, URLSessionStreamTask) -> Void)? { - get { - return _streamTaskReadClosed as? (URLSession, URLSessionStreamTask) -> Void - } - set { - _streamTaskReadClosed = newValue - } - } - - /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:writeClosedFor:)`. - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open var streamTaskWriteClosed: ((URLSession, URLSessionStreamTask) -> Void)? { - get { - return _streamTaskWriteClosed as? (URLSession, URLSessionStreamTask) -> Void - } - set { - _streamTaskWriteClosed = newValue - } - } - - /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:betterRouteDiscoveredFor:)`. - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open var streamTaskBetterRouteDiscovered: ((URLSession, URLSessionStreamTask) -> Void)? { - get { - return _streamTaskBetterRouteDiscovered as? (URLSession, URLSessionStreamTask) -> Void - } - set { - _streamTaskBetterRouteDiscovered = newValue - } - } - - /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:streamTask:didBecome:outputStream:)`. - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open var streamTaskDidBecomeInputAndOutputStreams: ((URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void)? { - get { - return _streamTaskDidBecomeInputStream as? (URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void - } - set { - _streamTaskDidBecomeInputStream = newValue - } - } - - var _streamTaskReadClosed: Any? - var _streamTaskWriteClosed: Any? - var _streamTaskBetterRouteDiscovered: Any? - var _streamTaskDidBecomeInputStream: Any? - -#endif - - // MARK: Properties - - var retrier: RequestRetrier? - weak var sessionManager: SessionManager? - - private var requests: [Int: Request] = [:] - private let lock = NSLock() - - /// Access the task delegate for the specified task in a thread-safe manner. - open subscript(task: URLSessionTask) -> Request? { - get { - lock.lock() ; defer { lock.unlock() } - return requests[task.taskIdentifier] - } - set { - lock.lock() ; defer { lock.unlock() } - requests[task.taskIdentifier] = newValue - } - } - - // MARK: Lifecycle - - /// Initializes the `SessionDelegate` instance. - /// - /// - returns: The new `SessionDelegate` instance. - public override init() { - super.init() - } - - // MARK: NSObject Overrides - - /// Returns a `Bool` indicating whether the `SessionDelegate` implements or inherits a method that can respond - /// to a specified message. - /// - /// - parameter selector: A selector that identifies a message. - /// - /// - returns: `true` if the receiver implements or inherits a method that can respond to selector, otherwise `false`. - open override func responds(to selector: Selector) -> Bool { - #if !os(macOS) - if selector == #selector(URLSessionDelegate.urlSessionDidFinishEvents(forBackgroundURLSession:)) { - return sessionDidFinishEventsForBackgroundURLSession != nil - } - #endif - - #if !os(watchOS) - if #available(iOS 9.0, macOS 10.11, tvOS 9.0, *) { - switch selector { - case #selector(URLSessionStreamDelegate.urlSession(_:readClosedFor:)): - return streamTaskReadClosed != nil - case #selector(URLSessionStreamDelegate.urlSession(_:writeClosedFor:)): - return streamTaskWriteClosed != nil - case #selector(URLSessionStreamDelegate.urlSession(_:betterRouteDiscoveredFor:)): - return streamTaskBetterRouteDiscovered != nil - case #selector(URLSessionStreamDelegate.urlSession(_:streamTask:didBecome:outputStream:)): - return streamTaskDidBecomeInputAndOutputStreams != nil - default: - break - } - } - #endif - - switch selector { - case #selector(URLSessionDelegate.urlSession(_:didBecomeInvalidWithError:)): - return sessionDidBecomeInvalidWithError != nil - case #selector(URLSessionDelegate.urlSession(_:didReceive:completionHandler:)): - return (sessionDidReceiveChallenge != nil || sessionDidReceiveChallengeWithCompletion != nil) - case #selector(URLSessionTaskDelegate.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)): - return (taskWillPerformHTTPRedirection != nil || taskWillPerformHTTPRedirectionWithCompletion != nil) - case #selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:completionHandler:)): - return (dataTaskDidReceiveResponse != nil || dataTaskDidReceiveResponseWithCompletion != nil) - default: - return type(of: self).instancesRespond(to: selector) - } - } -} - -// MARK: - URLSessionDelegate - -extension SessionDelegate: URLSessionDelegate { - /// Tells the delegate that the session has been invalidated. - /// - /// - parameter session: The session object that was invalidated. - /// - parameter error: The error that caused invalidation, or nil if the invalidation was explicit. - open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) { - sessionDidBecomeInvalidWithError?(session, error) - } - - /// Requests credentials from the delegate in response to a session-level authentication request from the - /// remote server. - /// - /// - parameter session: The session containing the task that requested authentication. - /// - parameter challenge: An object that contains the request for authentication. - /// - parameter completionHandler: A handler that your delegate method must call providing the disposition - /// and credential. - open func urlSession( - _ session: URLSession, - didReceive challenge: URLAuthenticationChallenge, - completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) - { - guard sessionDidReceiveChallengeWithCompletion == nil else { - sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler) - return - } - - var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling - var credential: URLCredential? - - if let sessionDidReceiveChallenge = sessionDidReceiveChallenge { - (disposition, credential) = sessionDidReceiveChallenge(session, challenge) - } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { - let host = challenge.protectionSpace.host - - if - let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host), - let serverTrust = challenge.protectionSpace.serverTrust - { - if serverTrustPolicy.evaluate(serverTrust, forHost: host) { - disposition = .useCredential - credential = URLCredential(trust: serverTrust) - } else { - disposition = .cancelAuthenticationChallenge - } - } - } - - completionHandler(disposition, credential) - } - -#if !os(macOS) - - /// Tells the delegate that all messages enqueued for a session have been delivered. - /// - /// - parameter session: The session that no longer has any outstanding requests. - open func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) { - sessionDidFinishEventsForBackgroundURLSession?(session) - } - -#endif -} - -// MARK: - URLSessionTaskDelegate - -extension SessionDelegate: URLSessionTaskDelegate { - /// Tells the delegate that the remote server requested an HTTP redirect. - /// - /// - parameter session: The session containing the task whose request resulted in a redirect. - /// - parameter task: The task whose request resulted in a redirect. - /// - parameter response: An object containing the server’s response to the original request. - /// - parameter request: A URL request object filled out with the new location. - /// - parameter completionHandler: A closure that your handler should call with either the value of the request - /// parameter, a modified URL request object, or NULL to refuse the redirect and - /// return the body of the redirect response. - open func urlSession( - _ session: URLSession, - task: URLSessionTask, - willPerformHTTPRedirection response: HTTPURLResponse, - newRequest request: URLRequest, - completionHandler: @escaping (URLRequest?) -> Void) - { - guard taskWillPerformHTTPRedirectionWithCompletion == nil else { - taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler) - return - } - - var redirectRequest: URLRequest? = request - - if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection { - redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request) - } - - completionHandler(redirectRequest) - } - - /// Requests credentials from the delegate in response to an authentication request from the remote server. - /// - /// - parameter session: The session containing the task whose request requires authentication. - /// - parameter task: The task whose request requires authentication. - /// - parameter challenge: An object that contains the request for authentication. - /// - parameter completionHandler: A handler that your delegate method must call providing the disposition - /// and credential. - open func urlSession( - _ session: URLSession, - task: URLSessionTask, - didReceive challenge: URLAuthenticationChallenge, - completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) - { - guard taskDidReceiveChallengeWithCompletion == nil else { - taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler) - return - } - - if let taskDidReceiveChallenge = taskDidReceiveChallenge { - let result = taskDidReceiveChallenge(session, task, challenge) - completionHandler(result.0, result.1) - } else if let delegate = self[task]?.delegate { - delegate.urlSession( - session, - task: task, - didReceive: challenge, - completionHandler: completionHandler - ) - } else { - urlSession(session, didReceive: challenge, completionHandler: completionHandler) - } - } - - /// Tells the delegate when a task requires a new request body stream to send to the remote server. - /// - /// - parameter session: The session containing the task that needs a new body stream. - /// - parameter task: The task that needs a new body stream. - /// - parameter completionHandler: A completion handler that your delegate method should call with the new body stream. - open func urlSession( - _ session: URLSession, - task: URLSessionTask, - needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) - { - guard taskNeedNewBodyStreamWithCompletion == nil else { - taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler) - return - } - - if let taskNeedNewBodyStream = taskNeedNewBodyStream { - completionHandler(taskNeedNewBodyStream(session, task)) - } else if let delegate = self[task]?.delegate { - delegate.urlSession(session, task: task, needNewBodyStream: completionHandler) - } - } - - /// Periodically informs the delegate of the progress of sending body content to the server. - /// - /// - parameter session: The session containing the data task. - /// - parameter task: The data task. - /// - parameter bytesSent: The number of bytes sent since the last time this delegate method was called. - /// - parameter totalBytesSent: The total number of bytes sent so far. - /// - parameter totalBytesExpectedToSend: The expected length of the body data. - open func urlSession( - _ session: URLSession, - task: URLSessionTask, - didSendBodyData bytesSent: Int64, - totalBytesSent: Int64, - totalBytesExpectedToSend: Int64) - { - if let taskDidSendBodyData = taskDidSendBodyData { - taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend) - } else if let delegate = self[task]?.delegate as? UploadTaskDelegate { - delegate.URLSession( - session, - task: task, - didSendBodyData: bytesSent, - totalBytesSent: totalBytesSent, - totalBytesExpectedToSend: totalBytesExpectedToSend - ) - } - } - -#if !os(watchOS) - - /// Tells the delegate that the session finished collecting metrics for the task. - /// - /// - parameter session: The session collecting the metrics. - /// - parameter task: The task whose metrics have been collected. - /// - parameter metrics: The collected metrics. - @available(iOS 10.0, macOS 10.12, tvOS 10.0, *) - @objc(URLSession:task:didFinishCollectingMetrics:) - open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) { - self[task]?.delegate.metrics = metrics - } - -#endif - - /// Tells the delegate that the task finished transferring data. - /// - /// - parameter session: The session containing the task whose request finished transferring data. - /// - parameter task: The task whose request finished transferring data. - /// - parameter error: If an error occurred, an error object indicating how the transfer failed, otherwise nil. - open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { - /// Executed after it is determined that the request is not going to be retried - let completeTask: (URLSession, URLSessionTask, Error?) -> Void = { [weak self] session, task, error in - guard let strongSelf = self else { return } - - strongSelf.taskDidComplete?(session, task, error) - - strongSelf[task]?.delegate.urlSession(session, task: task, didCompleteWithError: error) - - NotificationCenter.default.post( - name: Notification.Name.Task.DidComplete, - object: strongSelf, - userInfo: [Notification.Key.Task: task] - ) - - strongSelf[task] = nil - } - - guard let request = self[task], let sessionManager = sessionManager else { - completeTask(session, task, error) - return - } - - // Run all validations on the request before checking if an error occurred - request.validations.forEach { $0() } - - // Determine whether an error has occurred - var error: Error? = error - - if request.delegate.error != nil { - error = request.delegate.error - } - - /// If an error occurred and the retrier is set, asynchronously ask the retrier if the request - /// should be retried. Otherwise, complete the task by notifying the task delegate. - if let retrier = retrier, let error = error { - retrier.should(sessionManager, retry: request, with: error) { [weak self] shouldRetry, timeDelay in - guard shouldRetry else { completeTask(session, task, error) ; return } - - DispatchQueue.utility.after(timeDelay) { [weak self] in - guard let strongSelf = self else { return } - - let retrySucceeded = strongSelf.sessionManager?.retry(request) ?? false - - if retrySucceeded, let task = request.task { - strongSelf[task] = request - return - } else { - completeTask(session, task, error) - } - } - } - } else { - completeTask(session, task, error) - } - } -} - -// MARK: - URLSessionDataDelegate - -extension SessionDelegate: URLSessionDataDelegate { - /// Tells the delegate that the data task received the initial reply (headers) from the server. - /// - /// - parameter session: The session containing the data task that received an initial reply. - /// - parameter dataTask: The data task that received an initial reply. - /// - parameter response: A URL response object populated with headers. - /// - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a - /// constant to indicate whether the transfer should continue as a data task or - /// should become a download task. - open func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - didReceive response: URLResponse, - completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) - { - guard dataTaskDidReceiveResponseWithCompletion == nil else { - dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler) - return - } - - var disposition: URLSession.ResponseDisposition = .allow - - if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse { - disposition = dataTaskDidReceiveResponse(session, dataTask, response) - } - - completionHandler(disposition) - } - - /// Tells the delegate that the data task was changed to a download task. - /// - /// - parameter session: The session containing the task that was replaced by a download task. - /// - parameter dataTask: The data task that was replaced by a download task. - /// - parameter downloadTask: The new download task that replaced the data task. - open func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - didBecome downloadTask: URLSessionDownloadTask) - { - if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask { - dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask) - } else { - self[downloadTask]?.delegate = DownloadTaskDelegate(task: downloadTask) - } - } - - /// Tells the delegate that the data task has received some of the expected data. - /// - /// - parameter session: The session containing the data task that provided data. - /// - parameter dataTask: The data task that provided data. - /// - parameter data: A data object containing the transferred data. - open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) { - if let dataTaskDidReceiveData = dataTaskDidReceiveData { - dataTaskDidReceiveData(session, dataTask, data) - } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate { - delegate.urlSession(session, dataTask: dataTask, didReceive: data) - } - } - - /// Asks the delegate whether the data (or upload) task should store the response in the cache. - /// - /// - parameter session: The session containing the data (or upload) task. - /// - parameter dataTask: The data (or upload) task. - /// - parameter proposedResponse: The default caching behavior. This behavior is determined based on the current - /// caching policy and the values of certain received headers, such as the Pragma - /// and Cache-Control headers. - /// - parameter completionHandler: A block that your handler must call, providing either the original proposed - /// response, a modified version of that response, or NULL to prevent caching the - /// response. If your delegate implements this method, it must call this completion - /// handler; otherwise, your app leaks memory. - open func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - willCacheResponse proposedResponse: CachedURLResponse, - completionHandler: @escaping (CachedURLResponse?) -> Void) - { - guard dataTaskWillCacheResponseWithCompletion == nil else { - dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler) - return - } - - if let dataTaskWillCacheResponse = dataTaskWillCacheResponse { - completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse)) - } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate { - delegate.urlSession( - session, - dataTask: dataTask, - willCacheResponse: proposedResponse, - completionHandler: completionHandler - ) - } else { - completionHandler(proposedResponse) - } - } -} - -// MARK: - URLSessionDownloadDelegate - -extension SessionDelegate: URLSessionDownloadDelegate { - /// Tells the delegate that a download task has finished downloading. - /// - /// - parameter session: The session containing the download task that finished. - /// - parameter downloadTask: The download task that finished. - /// - parameter location: A file URL for the temporary file. Because the file is temporary, you must either - /// open the file for reading or move it to a permanent location in your app’s sandbox - /// container directory before returning from this delegate method. - open func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didFinishDownloadingTo location: URL) - { - if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL { - downloadTaskDidFinishDownloadingToURL(session, downloadTask, location) - } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate { - delegate.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location) - } - } - - /// Periodically informs the delegate about the download’s progress. - /// - /// - parameter session: The session containing the download task. - /// - parameter downloadTask: The download task. - /// - parameter bytesWritten: The number of bytes transferred since the last time this delegate - /// method was called. - /// - parameter totalBytesWritten: The total number of bytes transferred so far. - /// - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length - /// header. If this header was not provided, the value is - /// `NSURLSessionTransferSizeUnknown`. - open func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didWriteData bytesWritten: Int64, - totalBytesWritten: Int64, - totalBytesExpectedToWrite: Int64) - { - if let downloadTaskDidWriteData = downloadTaskDidWriteData { - downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) - } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate { - delegate.urlSession( - session, - downloadTask: downloadTask, - didWriteData: bytesWritten, - totalBytesWritten: totalBytesWritten, - totalBytesExpectedToWrite: totalBytesExpectedToWrite - ) - } - } - - /// Tells the delegate that the download task has resumed downloading. - /// - /// - parameter session: The session containing the download task that finished. - /// - parameter downloadTask: The download task that resumed. See explanation in the discussion. - /// - parameter fileOffset: If the file's cache policy or last modified date prevents reuse of the - /// existing content, then this value is zero. Otherwise, this value is an - /// integer representing the number of bytes on disk that do not need to be - /// retrieved again. - /// - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header. - /// If this header was not provided, the value is NSURLSessionTransferSizeUnknown. - open func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didResumeAtOffset fileOffset: Int64, - expectedTotalBytes: Int64) - { - if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset { - downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes) - } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate { - delegate.urlSession( - session, - downloadTask: downloadTask, - didResumeAtOffset: fileOffset, - expectedTotalBytes: expectedTotalBytes - ) - } - } -} - -// MARK: - URLSessionStreamDelegate - -#if !os(watchOS) - -@available(iOS 9.0, macOS 10.11, tvOS 9.0, *) -extension SessionDelegate: URLSessionStreamDelegate { - /// Tells the delegate that the read side of the connection has been closed. - /// - /// - parameter session: The session. - /// - parameter streamTask: The stream task. - open func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) { - streamTaskReadClosed?(session, streamTask) - } - - /// Tells the delegate that the write side of the connection has been closed. - /// - /// - parameter session: The session. - /// - parameter streamTask: The stream task. - open func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) { - streamTaskWriteClosed?(session, streamTask) - } - - /// Tells the delegate that the system has determined that a better route to the host is available. - /// - /// - parameter session: The session. - /// - parameter streamTask: The stream task. - open func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) { - streamTaskBetterRouteDiscovered?(session, streamTask) - } - - /// Tells the delegate that the stream task has been completed and provides the unopened stream objects. - /// - /// - parameter session: The session. - /// - parameter streamTask: The stream task. - /// - parameter inputStream: The new input stream. - /// - parameter outputStream: The new output stream. - open func urlSession( - _ session: URLSession, - streamTask: URLSessionStreamTask, - didBecome inputStream: InputStream, - outputStream: OutputStream) - { - streamTaskDidBecomeInputAndOutputStreams?(session, streamTask, inputStream, outputStream) - } -} - -#endif diff --git a/Example/Pods/Alamofire/Source/SessionManager.swift b/Example/Pods/Alamofire/Source/SessionManager.swift deleted file mode 100644 index 9bd8b54..0000000 --- a/Example/Pods/Alamofire/Source/SessionManager.swift +++ /dev/null @@ -1,891 +0,0 @@ -// -// SessionManager.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`. -open class SessionManager { - - // MARK: - Helper Types - - /// Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as - /// associated values. - /// - /// - Success: Represents a successful `MultipartFormData` encoding and contains the new `UploadRequest` along with - /// streaming information. - /// - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding - /// error. - public enum MultipartFormDataEncodingResult { - case success(request: UploadRequest, streamingFromDisk: Bool, streamFileURL: URL?) - case failure(Error) - } - - // MARK: - Properties - - /// A default instance of `SessionManager`, used by top-level Alamofire request methods, and suitable for use - /// directly for any ad hoc requests. - open static let `default`: SessionManager = { - let configuration = URLSessionConfiguration.default - configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders - - return SessionManager(configuration: configuration) - }() - - /// Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers. - open static let defaultHTTPHeaders: HTTPHeaders = { - // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3 - let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5" - - // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5 - let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { index, languageCode in - let quality = 1.0 - (Double(index) * 0.1) - return "\(languageCode);q=\(quality)" - }.joined(separator: ", ") - - // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3 - // Example: `iOS Example/1.0 (org.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0` - let userAgent: String = { - if let info = Bundle.main.infoDictionary { - let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown" - let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown" - let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown" - let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown" - - let osNameVersion: String = { - let version = ProcessInfo.processInfo.operatingSystemVersion - let versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)" - - let osName: String = { - #if os(iOS) - return "iOS" - #elseif os(watchOS) - return "watchOS" - #elseif os(tvOS) - return "tvOS" - #elseif os(macOS) - return "OS X" - #elseif os(Linux) - return "Linux" - #else - return "Unknown" - #endif - }() - - return "\(osName) \(versionString)" - }() - - let alamofireVersion: String = { - guard - let afInfo = Bundle(for: SessionManager.self).infoDictionary, - let build = afInfo["CFBundleShortVersionString"] - else { return "Unknown" } - - return "Alamofire/\(build)" - }() - - return "\(executable)/\(appVersion) (\(bundle); build:\(appBuild); \(osNameVersion)) \(alamofireVersion)" - } - - return "Alamofire" - }() - - return [ - "Accept-Encoding": acceptEncoding, - "Accept-Language": acceptLanguage, - "User-Agent": userAgent - ] - }() - - /// Default memory threshold used when encoding `MultipartFormData` in bytes. - open static let multipartFormDataEncodingMemoryThreshold: UInt64 = 10_000_000 - - /// The underlying session. - open let session: URLSession - - /// The session delegate handling all the task and session delegate callbacks. - open let delegate: SessionDelegate - - /// Whether to start requests immediately after being constructed. `true` by default. - open var startRequestsImmediately: Bool = true - - /// The request adapter called each time a new request is created. - open var adapter: RequestAdapter? - - /// The request retrier called each time a request encounters an error to determine whether to retry the request. - open var retrier: RequestRetrier? { - get { return delegate.retrier } - set { delegate.retrier = newValue } - } - - /// The background completion handler closure provided by the UIApplicationDelegate - /// `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background - /// completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation - /// will automatically call the handler. - /// - /// If you need to handle your own events before the handler is called, then you need to override the - /// SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished. - /// - /// `nil` by default. - open var backgroundCompletionHandler: (() -> Void)? - - let queue = DispatchQueue(label: "org.alamofire.session-manager." + UUID().uuidString) - - // MARK: - Lifecycle - - /// Creates an instance with the specified `configuration`, `delegate` and `serverTrustPolicyManager`. - /// - /// - parameter configuration: The configuration used to construct the managed session. - /// `URLSessionConfiguration.default` by default. - /// - parameter delegate: The delegate used when initializing the session. `SessionDelegate()` by - /// default. - /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust - /// challenges. `nil` by default. - /// - /// - returns: The new `SessionManager` instance. - public init( - configuration: URLSessionConfiguration = URLSessionConfiguration.default, - delegate: SessionDelegate = SessionDelegate(), - serverTrustPolicyManager: ServerTrustPolicyManager? = nil) - { - self.delegate = delegate - self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil) - - commonInit(serverTrustPolicyManager: serverTrustPolicyManager) - } - - /// Creates an instance with the specified `session`, `delegate` and `serverTrustPolicyManager`. - /// - /// - parameter session: The URL session. - /// - parameter delegate: The delegate of the URL session. Must equal the URL session's delegate. - /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust - /// challenges. `nil` by default. - /// - /// - returns: The new `SessionManager` instance if the URL session's delegate matches; `nil` otherwise. - public init?( - session: URLSession, - delegate: SessionDelegate, - serverTrustPolicyManager: ServerTrustPolicyManager? = nil) - { - guard delegate === session.delegate else { return nil } - - self.delegate = delegate - self.session = session - - commonInit(serverTrustPolicyManager: serverTrustPolicyManager) - } - - private func commonInit(serverTrustPolicyManager: ServerTrustPolicyManager?) { - session.serverTrustPolicyManager = serverTrustPolicyManager - - delegate.sessionManager = self - - delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in - guard let strongSelf = self else { return } - DispatchQueue.main.async { strongSelf.backgroundCompletionHandler?() } - } - } - - deinit { - session.invalidateAndCancel() - } - - // MARK: - Data Request - - /// Creates a `DataRequest` to retrieve the contents of the specified `url`, `method`, `parameters`, `encoding` - /// and `headers`. - /// - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.get` by default. - /// - parameter parameters: The parameters. `nil` by default. - /// - parameter encoding: The parameter encoding. `URLEncoding.default` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - /// - returns: The created `DataRequest`. - @discardableResult - open func request( - _ url: URLConvertible, - method: HTTPMethod = .get, - parameters: Parameters? = nil, - encoding: ParameterEncoding = URLEncoding.default, - headers: HTTPHeaders? = nil) - -> DataRequest - { - var originalRequest: URLRequest? - - do { - originalRequest = try URLRequest(url: url, method: method, headers: headers) - let encodedURLRequest = try encoding.encode(originalRequest!, with: parameters) - return request(encodedURLRequest) - } catch { - return request(originalRequest, failedWith: error) - } - } - - /// Creates a `DataRequest` to retrieve the contents of a URL based on the specified `urlRequest`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter urlRequest: The URL request. - /// - /// - returns: The created `DataRequest`. - open func request(_ urlRequest: URLRequestConvertible) -> DataRequest { - var originalRequest: URLRequest? - - do { - originalRequest = try urlRequest.asURLRequest() - let originalTask = DataRequest.Requestable(urlRequest: originalRequest!) - - let task = try originalTask.task(session: session, adapter: adapter, queue: queue) - let request = DataRequest(session: session, requestTask: .data(originalTask, task)) - - delegate[task] = request - - if startRequestsImmediately { request.resume() } - - return request - } catch { - return request(originalRequest, failedWith: error) - } - } - - // MARK: Private - Request Implementation - - private func request(_ urlRequest: URLRequest?, failedWith error: Error) -> DataRequest { - var requestTask: Request.RequestTask = .data(nil, nil) - - if let urlRequest = urlRequest { - let originalTask = DataRequest.Requestable(urlRequest: urlRequest) - requestTask = .data(originalTask, nil) - } - - let underlyingError = error.underlyingAdaptError ?? error - let request = DataRequest(session: session, requestTask: requestTask, error: underlyingError) - - if let retrier = retrier, error is AdaptError { - allowRetrier(retrier, toRetry: request, with: underlyingError) - } else { - if startRequestsImmediately { request.resume() } - } - - return request - } - - // MARK: - Download Request - - // MARK: URL Request - - /// Creates a `DownloadRequest` to retrieve the contents the specified `url`, `method`, `parameters`, `encoding`, - /// `headers` and save them to the `destination`. - /// - /// If `destination` is not specified, the contents will remain in the temporary location determined by the - /// underlying URL session. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.get` by default. - /// - parameter parameters: The parameters. `nil` by default. - /// - parameter encoding: The parameter encoding. `URLEncoding.default` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. - /// - /// - returns: The created `DownloadRequest`. - @discardableResult - open func download( - _ url: URLConvertible, - method: HTTPMethod = .get, - parameters: Parameters? = nil, - encoding: ParameterEncoding = URLEncoding.default, - headers: HTTPHeaders? = nil, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest - { - do { - let urlRequest = try URLRequest(url: url, method: method, headers: headers) - let encodedURLRequest = try encoding.encode(urlRequest, with: parameters) - return download(encodedURLRequest, to: destination) - } catch { - return download(nil, to: destination, failedWith: error) - } - } - - /// Creates a `DownloadRequest` to retrieve the contents of a URL based on the specified `urlRequest` and save - /// them to the `destination`. - /// - /// If `destination` is not specified, the contents will remain in the temporary location determined by the - /// underlying URL session. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter urlRequest: The URL request - /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. - /// - /// - returns: The created `DownloadRequest`. - @discardableResult - open func download( - _ urlRequest: URLRequestConvertible, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest - { - do { - let urlRequest = try urlRequest.asURLRequest() - return download(.request(urlRequest), to: destination) - } catch { - return download(nil, to: destination, failedWith: error) - } - } - - // MARK: Resume Data - - /// Creates a `DownloadRequest` from the `resumeData` produced from a previous request cancellation to retrieve - /// the contents of the original request and save them to the `destination`. - /// - /// If `destination` is not specified, the contents will remain in the temporary location determined by the - /// underlying URL session. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken - /// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the - /// data is written incorrectly and will always fail to resume the download. For more information about the bug and - /// possible workarounds, please refer to the following Stack Overflow post: - /// - /// - http://stackoverflow.com/a/39347461/1342462 - /// - /// - parameter resumeData: The resume data. This is an opaque data blob produced by `URLSessionDownloadTask` - /// when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for - /// additional information. - /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default. - /// - /// - returns: The created `DownloadRequest`. - @discardableResult - open func download( - resumingWith resumeData: Data, - to destination: DownloadRequest.DownloadFileDestination? = nil) - -> DownloadRequest - { - return download(.resumeData(resumeData), to: destination) - } - - // MARK: Private - Download Implementation - - private func download( - _ downloadable: DownloadRequest.Downloadable, - to destination: DownloadRequest.DownloadFileDestination?) - -> DownloadRequest - { - do { - let task = try downloadable.task(session: session, adapter: adapter, queue: queue) - let download = DownloadRequest(session: session, requestTask: .download(downloadable, task)) - - download.downloadDelegate.destination = destination - - delegate[task] = download - - if startRequestsImmediately { download.resume() } - - return download - } catch { - return download(downloadable, to: destination, failedWith: error) - } - } - - private func download( - _ downloadable: DownloadRequest.Downloadable?, - to destination: DownloadRequest.DownloadFileDestination?, - failedWith error: Error) - -> DownloadRequest - { - var downloadTask: Request.RequestTask = .download(nil, nil) - - if let downloadable = downloadable { - downloadTask = .download(downloadable, nil) - } - - let underlyingError = error.underlyingAdaptError ?? error - - let download = DownloadRequest(session: session, requestTask: downloadTask, error: underlyingError) - download.downloadDelegate.destination = destination - - if let retrier = retrier, error is AdaptError { - allowRetrier(retrier, toRetry: download, with: underlyingError) - } else { - if startRequestsImmediately { download.resume() } - } - - return download - } - - // MARK: - Upload Request - - // MARK: File - - /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `file`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter file: The file to upload. - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.post` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload( - _ fileURL: URL, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest - { - do { - let urlRequest = try URLRequest(url: url, method: method, headers: headers) - return upload(fileURL, with: urlRequest) - } catch { - return upload(nil, failedWith: error) - } - } - - /// Creates a `UploadRequest` from the specified `urlRequest` for uploading the `file`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter file: The file to upload. - /// - parameter urlRequest: The URL request. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest { - do { - let urlRequest = try urlRequest.asURLRequest() - return upload(.file(fileURL, urlRequest)) - } catch { - return upload(nil, failedWith: error) - } - } - - // MARK: Data - - /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `data`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter data: The data to upload. - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.post` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload( - _ data: Data, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest - { - do { - let urlRequest = try URLRequest(url: url, method: method, headers: headers) - return upload(data, with: urlRequest) - } catch { - return upload(nil, failedWith: error) - } - } - - /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `data`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter data: The data to upload. - /// - parameter urlRequest: The URL request. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest { - do { - let urlRequest = try urlRequest.asURLRequest() - return upload(.data(data, urlRequest)) - } catch { - return upload(nil, failedWith: error) - } - } - - // MARK: InputStream - - /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `stream`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter stream: The stream to upload. - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.post` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload( - _ stream: InputStream, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil) - -> UploadRequest - { - do { - let urlRequest = try URLRequest(url: url, method: method, headers: headers) - return upload(stream, with: urlRequest) - } catch { - return upload(nil, failedWith: error) - } - } - - /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `stream`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter stream: The stream to upload. - /// - parameter urlRequest: The URL request. - /// - /// - returns: The created `UploadRequest`. - @discardableResult - open func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest { - do { - let urlRequest = try urlRequest.asURLRequest() - return upload(.stream(stream, urlRequest)) - } catch { - return upload(nil, failedWith: error) - } - } - - // MARK: MultipartFormData - - /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new - /// `UploadRequest` using the `url`, `method` and `headers`. - /// - /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative - /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most - /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to - /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory - /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be - /// used for larger payloads such as video content. - /// - /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory - /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, - /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk - /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding - /// technique was used. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. - /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. - /// `multipartFormDataEncodingMemoryThreshold` by default. - /// - parameter url: The URL. - /// - parameter method: The HTTP method. `.post` by default. - /// - parameter headers: The HTTP headers. `nil` by default. - /// - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. - open func upload( - multipartFormData: @escaping (MultipartFormData) -> Void, - usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold, - to url: URLConvertible, - method: HTTPMethod = .post, - headers: HTTPHeaders? = nil, - encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?) - { - do { - let urlRequest = try URLRequest(url: url, method: method, headers: headers) - - return upload( - multipartFormData: multipartFormData, - usingThreshold: encodingMemoryThreshold, - with: urlRequest, - encodingCompletion: encodingCompletion - ) - } catch { - DispatchQueue.main.async { encodingCompletion?(.failure(error)) } - } - } - - /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new - /// `UploadRequest` using the `urlRequest`. - /// - /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative - /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most - /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to - /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory - /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be - /// used for larger payloads such as video content. - /// - /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory - /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, - /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk - /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding - /// technique was used. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter multipartFormData: The closure used to append body parts to the `MultipartFormData`. - /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes. - /// `multipartFormDataEncodingMemoryThreshold` by default. - /// - parameter urlRequest: The URL request. - /// - parameter encodingCompletion: The closure called when the `MultipartFormData` encoding is complete. - open func upload( - multipartFormData: @escaping (MultipartFormData) -> Void, - usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold, - with urlRequest: URLRequestConvertible, - encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?) - { - DispatchQueue.global(qos: .utility).async { - let formData = MultipartFormData() - multipartFormData(formData) - - var tempFileURL: URL? - - do { - var urlRequestWithContentType = try urlRequest.asURLRequest() - urlRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type") - - let isBackgroundSession = self.session.configuration.identifier != nil - - if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession { - let data = try formData.encode() - - let encodingResult = MultipartFormDataEncodingResult.success( - request: self.upload(data, with: urlRequestWithContentType), - streamingFromDisk: false, - streamFileURL: nil - ) - - DispatchQueue.main.async { encodingCompletion?(encodingResult) } - } else { - let fileManager = FileManager.default - let tempDirectoryURL = URL(fileURLWithPath: NSTemporaryDirectory()) - let directoryURL = tempDirectoryURL.appendingPathComponent("org.alamofire.manager/multipart.form.data") - let fileName = UUID().uuidString - let fileURL = directoryURL.appendingPathComponent(fileName) - - tempFileURL = fileURL - - var directoryError: Error? - - // Create directory inside serial queue to ensure two threads don't do this in parallel - self.queue.sync { - do { - try fileManager.createDirectory(at: directoryURL, withIntermediateDirectories: true, attributes: nil) - } catch { - directoryError = error - } - } - - if let directoryError = directoryError { throw directoryError } - - try formData.writeEncodedData(to: fileURL) - - let upload = self.upload(fileURL, with: urlRequestWithContentType) - - // Cleanup the temp file once the upload is complete - upload.delegate.queue.addOperation { - do { - try FileManager.default.removeItem(at: fileURL) - } catch { - // No-op - } - } - - DispatchQueue.main.async { - let encodingResult = MultipartFormDataEncodingResult.success( - request: upload, - streamingFromDisk: true, - streamFileURL: fileURL - ) - - encodingCompletion?(encodingResult) - } - } - } catch { - // Cleanup the temp file in the event that the multipart form data encoding failed - if let tempFileURL = tempFileURL { - do { - try FileManager.default.removeItem(at: tempFileURL) - } catch { - // No-op - } - } - - DispatchQueue.main.async { encodingCompletion?(.failure(error)) } - } - } - } - - // MARK: Private - Upload Implementation - - private func upload(_ uploadable: UploadRequest.Uploadable) -> UploadRequest { - do { - let task = try uploadable.task(session: session, adapter: adapter, queue: queue) - let upload = UploadRequest(session: session, requestTask: .upload(uploadable, task)) - - if case let .stream(inputStream, _) = uploadable { - upload.delegate.taskNeedNewBodyStream = { _, _ in inputStream } - } - - delegate[task] = upload - - if startRequestsImmediately { upload.resume() } - - return upload - } catch { - return upload(uploadable, failedWith: error) - } - } - - private func upload(_ uploadable: UploadRequest.Uploadable?, failedWith error: Error) -> UploadRequest { - var uploadTask: Request.RequestTask = .upload(nil, nil) - - if let uploadable = uploadable { - uploadTask = .upload(uploadable, nil) - } - - let underlyingError = error.underlyingAdaptError ?? error - let upload = UploadRequest(session: session, requestTask: uploadTask, error: underlyingError) - - if let retrier = retrier, error is AdaptError { - allowRetrier(retrier, toRetry: upload, with: underlyingError) - } else { - if startRequestsImmediately { upload.resume() } - } - - return upload - } - -#if !os(watchOS) - - // MARK: - Stream Request - - // MARK: Hostname and Port - - /// Creates a `StreamRequest` for bidirectional streaming using the `hostname` and `port`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter hostName: The hostname of the server to connect to. - /// - parameter port: The port of the server to connect to. - /// - /// - returns: The created `StreamRequest`. - @discardableResult - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open func stream(withHostName hostName: String, port: Int) -> StreamRequest { - return stream(.stream(hostName: hostName, port: port)) - } - - // MARK: NetService - - /// Creates a `StreamRequest` for bidirectional streaming using the `netService`. - /// - /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - /// - /// - parameter netService: The net service used to identify the endpoint. - /// - /// - returns: The created `StreamRequest`. - @discardableResult - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - open func stream(with netService: NetService) -> StreamRequest { - return stream(.netService(netService)) - } - - // MARK: Private - Stream Implementation - - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - private func stream(_ streamable: StreamRequest.Streamable) -> StreamRequest { - do { - let task = try streamable.task(session: session, adapter: adapter, queue: queue) - let request = StreamRequest(session: session, requestTask: .stream(streamable, task)) - - delegate[task] = request - - if startRequestsImmediately { request.resume() } - - return request - } catch { - return stream(failedWith: error) - } - } - - @available(iOS 9.0, macOS 10.11, tvOS 9.0, *) - private func stream(failedWith error: Error) -> StreamRequest { - let stream = StreamRequest(session: session, requestTask: .stream(nil, nil), error: error) - if startRequestsImmediately { stream.resume() } - return stream - } - -#endif - - // MARK: - Internal - Retry Request - - func retry(_ request: Request) -> Bool { - guard let originalTask = request.originalTask else { return false } - - do { - let task = try originalTask.task(session: session, adapter: adapter, queue: queue) - - request.delegate.task = task // resets all task delegate data - - request.retryCount += 1 - request.startTime = CFAbsoluteTimeGetCurrent() - request.endTime = nil - - task.resume() - - return true - } catch { - request.delegate.error = error.underlyingAdaptError ?? error - return false - } - } - - private func allowRetrier(_ retrier: RequestRetrier, toRetry request: Request, with error: Error) { - DispatchQueue.utility.async { [weak self] in - guard let strongSelf = self else { return } - - retrier.should(strongSelf, retry: request, with: error) { shouldRetry, timeDelay in - guard let strongSelf = self else { return } - - guard shouldRetry else { - if strongSelf.startRequestsImmediately { request.resume() } - return - } - - DispatchQueue.utility.after(timeDelay) { - guard let strongSelf = self else { return } - - let retrySucceeded = strongSelf.retry(request) - - if retrySucceeded, let task = request.task { - strongSelf.delegate[task] = request - } else { - if strongSelf.startRequestsImmediately { request.resume() } - } - } - } - } - } -} diff --git a/Example/Pods/Alamofire/Source/TaskDelegate.swift b/Example/Pods/Alamofire/Source/TaskDelegate.swift deleted file mode 100644 index 0607758..0000000 --- a/Example/Pods/Alamofire/Source/TaskDelegate.swift +++ /dev/null @@ -1,466 +0,0 @@ -// -// TaskDelegate.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// The task delegate is responsible for handling all delegate callbacks for the underlying task as well as -/// executing all operations attached to the serial operation queue upon task completion. -open class TaskDelegate: NSObject { - - // MARK: Properties - - /// The serial operation queue used to execute all operations after the task completes. - open let queue: OperationQueue - - /// The data returned by the server. - public var data: Data? { return nil } - - /// The error generated throughout the lifecyle of the task. - public var error: Error? - - var task: URLSessionTask? { - set { - taskLock.lock(); defer { taskLock.unlock() } - _task = newValue - } - get { - taskLock.lock(); defer { taskLock.unlock() } - return _task - } - } - - var initialResponseTime: CFAbsoluteTime? - var credential: URLCredential? - var metrics: AnyObject? // URLSessionTaskMetrics - - private var _task: URLSessionTask? { - didSet { reset() } - } - - private let taskLock = NSLock() - - // MARK: Lifecycle - - init(task: URLSessionTask?) { - _task = task - - self.queue = { - let operationQueue = OperationQueue() - - operationQueue.maxConcurrentOperationCount = 1 - operationQueue.isSuspended = true - operationQueue.qualityOfService = .utility - - return operationQueue - }() - } - - func reset() { - error = nil - initialResponseTime = nil - } - - // MARK: URLSessionTaskDelegate - - var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)? - var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))? - var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)? - var taskDidCompleteWithError: ((URLSession, URLSessionTask, Error?) -> Void)? - - @objc(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:) - func urlSession( - _ session: URLSession, - task: URLSessionTask, - willPerformHTTPRedirection response: HTTPURLResponse, - newRequest request: URLRequest, - completionHandler: @escaping (URLRequest?) -> Void) - { - var redirectRequest: URLRequest? = request - - if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection { - redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request) - } - - completionHandler(redirectRequest) - } - - @objc(URLSession:task:didReceiveChallenge:completionHandler:) - func urlSession( - _ session: URLSession, - task: URLSessionTask, - didReceive challenge: URLAuthenticationChallenge, - completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) - { - var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling - var credential: URLCredential? - - if let taskDidReceiveChallenge = taskDidReceiveChallenge { - (disposition, credential) = taskDidReceiveChallenge(session, task, challenge) - } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { - let host = challenge.protectionSpace.host - - if - let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host), - let serverTrust = challenge.protectionSpace.serverTrust - { - if serverTrustPolicy.evaluate(serverTrust, forHost: host) { - disposition = .useCredential - credential = URLCredential(trust: serverTrust) - } else { - disposition = .cancelAuthenticationChallenge - } - } - } else { - if challenge.previousFailureCount > 0 { - disposition = .rejectProtectionSpace - } else { - credential = self.credential ?? session.configuration.urlCredentialStorage?.defaultCredential(for: challenge.protectionSpace) - - if credential != nil { - disposition = .useCredential - } - } - } - - completionHandler(disposition, credential) - } - - @objc(URLSession:task:needNewBodyStream:) - func urlSession( - _ session: URLSession, - task: URLSessionTask, - needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) - { - var bodyStream: InputStream? - - if let taskNeedNewBodyStream = taskNeedNewBodyStream { - bodyStream = taskNeedNewBodyStream(session, task) - } - - completionHandler(bodyStream) - } - - @objc(URLSession:task:didCompleteWithError:) - func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { - if let taskDidCompleteWithError = taskDidCompleteWithError { - taskDidCompleteWithError(session, task, error) - } else { - if let error = error { - if self.error == nil { self.error = error } - - if - let downloadDelegate = self as? DownloadTaskDelegate, - let resumeData = (error as NSError).userInfo[NSURLSessionDownloadTaskResumeData] as? Data - { - downloadDelegate.resumeData = resumeData - } - } - - queue.isSuspended = false - } - } -} - -// MARK: - - -class DataTaskDelegate: TaskDelegate, URLSessionDataDelegate { - - // MARK: Properties - - var dataTask: URLSessionDataTask { return task as! URLSessionDataTask } - - override var data: Data? { - if dataStream != nil { - return nil - } else { - return mutableData - } - } - - var progress: Progress - var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)? - - var dataStream: ((_ data: Data) -> Void)? - - private var totalBytesReceived: Int64 = 0 - private var mutableData: Data - - private var expectedContentLength: Int64? - - // MARK: Lifecycle - - override init(task: URLSessionTask?) { - mutableData = Data() - progress = Progress(totalUnitCount: 0) - - super.init(task: task) - } - - override func reset() { - super.reset() - - progress = Progress(totalUnitCount: 0) - totalBytesReceived = 0 - mutableData = Data() - expectedContentLength = nil - } - - // MARK: URLSessionDataDelegate - - var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)? - var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)? - var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)? - var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)? - - func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - didReceive response: URLResponse, - completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) - { - var disposition: URLSession.ResponseDisposition = .allow - - expectedContentLength = response.expectedContentLength - - if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse { - disposition = dataTaskDidReceiveResponse(session, dataTask, response) - } - - completionHandler(disposition) - } - - func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - didBecome downloadTask: URLSessionDownloadTask) - { - dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask) - } - - func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) { - if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() } - - if let dataTaskDidReceiveData = dataTaskDidReceiveData { - dataTaskDidReceiveData(session, dataTask, data) - } else { - if let dataStream = dataStream { - dataStream(data) - } else { - mutableData.append(data) - } - - let bytesReceived = Int64(data.count) - totalBytesReceived += bytesReceived - let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown - - progress.totalUnitCount = totalBytesExpected - progress.completedUnitCount = totalBytesReceived - - if let progressHandler = progressHandler { - progressHandler.queue.async { progressHandler.closure(self.progress) } - } - } - } - - func urlSession( - _ session: URLSession, - dataTask: URLSessionDataTask, - willCacheResponse proposedResponse: CachedURLResponse, - completionHandler: @escaping (CachedURLResponse?) -> Void) - { - var cachedResponse: CachedURLResponse? = proposedResponse - - if let dataTaskWillCacheResponse = dataTaskWillCacheResponse { - cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse) - } - - completionHandler(cachedResponse) - } -} - -// MARK: - - -class DownloadTaskDelegate: TaskDelegate, URLSessionDownloadDelegate { - - // MARK: Properties - - var downloadTask: URLSessionDownloadTask { return task as! URLSessionDownloadTask } - - var progress: Progress - var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)? - - var resumeData: Data? - override var data: Data? { return resumeData } - - var destination: DownloadRequest.DownloadFileDestination? - - var temporaryURL: URL? - var destinationURL: URL? - - var fileURL: URL? { return destination != nil ? destinationURL : temporaryURL } - - // MARK: Lifecycle - - override init(task: URLSessionTask?) { - progress = Progress(totalUnitCount: 0) - super.init(task: task) - } - - override func reset() { - super.reset() - - progress = Progress(totalUnitCount: 0) - resumeData = nil - } - - // MARK: URLSessionDownloadDelegate - - var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> URL)? - var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)? - var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)? - - func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didFinishDownloadingTo location: URL) - { - temporaryURL = location - - guard - let destination = destination, - let response = downloadTask.response as? HTTPURLResponse - else { return } - - let result = destination(location, response) - let destinationURL = result.destinationURL - let options = result.options - - self.destinationURL = destinationURL - - do { - if options.contains(.removePreviousFile), FileManager.default.fileExists(atPath: destinationURL.path) { - try FileManager.default.removeItem(at: destinationURL) - } - - if options.contains(.createIntermediateDirectories) { - let directory = destinationURL.deletingLastPathComponent() - try FileManager.default.createDirectory(at: directory, withIntermediateDirectories: true) - } - - try FileManager.default.moveItem(at: location, to: destinationURL) - } catch { - self.error = error - } - } - - func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didWriteData bytesWritten: Int64, - totalBytesWritten: Int64, - totalBytesExpectedToWrite: Int64) - { - if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() } - - if let downloadTaskDidWriteData = downloadTaskDidWriteData { - downloadTaskDidWriteData( - session, - downloadTask, - bytesWritten, - totalBytesWritten, - totalBytesExpectedToWrite - ) - } else { - progress.totalUnitCount = totalBytesExpectedToWrite - progress.completedUnitCount = totalBytesWritten - - if let progressHandler = progressHandler { - progressHandler.queue.async { progressHandler.closure(self.progress) } - } - } - } - - func urlSession( - _ session: URLSession, - downloadTask: URLSessionDownloadTask, - didResumeAtOffset fileOffset: Int64, - expectedTotalBytes: Int64) - { - if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset { - downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes) - } else { - progress.totalUnitCount = expectedTotalBytes - progress.completedUnitCount = fileOffset - } - } -} - -// MARK: - - -class UploadTaskDelegate: DataTaskDelegate { - - // MARK: Properties - - var uploadTask: URLSessionUploadTask { return task as! URLSessionUploadTask } - - var uploadProgress: Progress - var uploadProgressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)? - - // MARK: Lifecycle - - override init(task: URLSessionTask?) { - uploadProgress = Progress(totalUnitCount: 0) - super.init(task: task) - } - - override func reset() { - super.reset() - uploadProgress = Progress(totalUnitCount: 0) - } - - // MARK: URLSessionTaskDelegate - - var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)? - - func URLSession( - _ session: URLSession, - task: URLSessionTask, - didSendBodyData bytesSent: Int64, - totalBytesSent: Int64, - totalBytesExpectedToSend: Int64) - { - if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() } - - if let taskDidSendBodyData = taskDidSendBodyData { - taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend) - } else { - uploadProgress.totalUnitCount = totalBytesExpectedToSend - uploadProgress.completedUnitCount = totalBytesSent - - if let uploadProgressHandler = uploadProgressHandler { - uploadProgressHandler.queue.async { uploadProgressHandler.closure(self.uploadProgress) } - } - } - } -} diff --git a/Example/Pods/Alamofire/Source/Timeline.swift b/Example/Pods/Alamofire/Source/Timeline.swift deleted file mode 100644 index c5dabd1..0000000 --- a/Example/Pods/Alamofire/Source/Timeline.swift +++ /dev/null @@ -1,136 +0,0 @@ -// -// Timeline.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`. -public struct Timeline { - /// The time the request was initialized. - public let requestStartTime: CFAbsoluteTime - - /// The time the first bytes were received from or sent to the server. - public let initialResponseTime: CFAbsoluteTime - - /// The time when the request was completed. - public let requestCompletedTime: CFAbsoluteTime - - /// The time when the response serialization was completed. - public let serializationCompletedTime: CFAbsoluteTime - - /// The time interval in seconds from the time the request started to the initial response from the server. - public let latency: TimeInterval - - /// The time interval in seconds from the time the request started to the time the request completed. - public let requestDuration: TimeInterval - - /// The time interval in seconds from the time the request completed to the time response serialization completed. - public let serializationDuration: TimeInterval - - /// The time interval in seconds from the time the request started to the time response serialization completed. - public let totalDuration: TimeInterval - - /// Creates a new `Timeline` instance with the specified request times. - /// - /// - parameter requestStartTime: The time the request was initialized. Defaults to `0.0`. - /// - parameter initialResponseTime: The time the first bytes were received from or sent to the server. - /// Defaults to `0.0`. - /// - parameter requestCompletedTime: The time when the request was completed. Defaults to `0.0`. - /// - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults - /// to `0.0`. - /// - /// - returns: The new `Timeline` instance. - public init( - requestStartTime: CFAbsoluteTime = 0.0, - initialResponseTime: CFAbsoluteTime = 0.0, - requestCompletedTime: CFAbsoluteTime = 0.0, - serializationCompletedTime: CFAbsoluteTime = 0.0) - { - self.requestStartTime = requestStartTime - self.initialResponseTime = initialResponseTime - self.requestCompletedTime = requestCompletedTime - self.serializationCompletedTime = serializationCompletedTime - - self.latency = initialResponseTime - requestStartTime - self.requestDuration = requestCompletedTime - requestStartTime - self.serializationDuration = serializationCompletedTime - requestCompletedTime - self.totalDuration = serializationCompletedTime - requestStartTime - } -} - -// MARK: - CustomStringConvertible - -extension Timeline: CustomStringConvertible { - /// The textual representation used when written to an output stream, which includes the latency, the request - /// duration and the total duration. - public var description: String { - let latency = String(format: "%.3f", self.latency) - let requestDuration = String(format: "%.3f", self.requestDuration) - let serializationDuration = String(format: "%.3f", self.serializationDuration) - let totalDuration = String(format: "%.3f", self.totalDuration) - - // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is - // fixed, we should move back to string interpolation by reverting commit 7d4a43b1. - let timings = [ - "\"Latency\": " + latency + " secs", - "\"Request Duration\": " + requestDuration + " secs", - "\"Serialization Duration\": " + serializationDuration + " secs", - "\"Total Duration\": " + totalDuration + " secs" - ] - - return "Timeline: { " + timings.joined(separator: ", ") + " }" - } -} - -// MARK: - CustomDebugStringConvertible - -extension Timeline: CustomDebugStringConvertible { - /// The textual representation used when written to an output stream, which includes the request start time, the - /// initial response time, the request completed time, the serialization completed time, the latency, the request - /// duration and the total duration. - public var debugDescription: String { - let requestStartTime = String(format: "%.3f", self.requestStartTime) - let initialResponseTime = String(format: "%.3f", self.initialResponseTime) - let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime) - let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime) - let latency = String(format: "%.3f", self.latency) - let requestDuration = String(format: "%.3f", self.requestDuration) - let serializationDuration = String(format: "%.3f", self.serializationDuration) - let totalDuration = String(format: "%.3f", self.totalDuration) - - // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is - // fixed, we should move back to string interpolation by reverting commit 7d4a43b1. - let timings = [ - "\"Request Start Time\": " + requestStartTime, - "\"Initial Response Time\": " + initialResponseTime, - "\"Request Completed Time\": " + requestCompletedTime, - "\"Serialization Completed Time\": " + serializationCompletedTime, - "\"Latency\": " + latency + " secs", - "\"Request Duration\": " + requestDuration + " secs", - "\"Serialization Duration\": " + serializationDuration + " secs", - "\"Total Duration\": " + totalDuration + " secs" - ] - - return "Timeline: { " + timings.joined(separator: ", ") + " }" - } -} diff --git a/Example/Pods/Alamofire/Source/Validation.swift b/Example/Pods/Alamofire/Source/Validation.swift deleted file mode 100644 index 989ac20..0000000 --- a/Example/Pods/Alamofire/Source/Validation.swift +++ /dev/null @@ -1,315 +0,0 @@ -// -// Validation.swift -// -// Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import Foundation - -extension Request { - - // MARK: Helper Types - - fileprivate typealias ErrorReason = AFError.ResponseValidationFailureReason - - /// Used to represent whether validation was successful or encountered an error resulting in a failure. - /// - /// - success: The validation was successful. - /// - failure: The validation failed encountering the provided error. - public enum ValidationResult { - case success - case failure(Error) - } - - fileprivate struct MIMEType { - let type: String - let subtype: String - - var isWildcard: Bool { return type == "*" && subtype == "*" } - - init?(_ string: String) { - let components: [String] = { - let stripped = string.trimmingCharacters(in: .whitespacesAndNewlines) - - #if swift(>=3.2) - let split = stripped[..<(stripped.range(of: ";")?.lowerBound ?? stripped.endIndex)] - #else - let split = stripped.substring(to: stripped.range(of: ";")?.lowerBound ?? stripped.endIndex) - #endif - - return split.components(separatedBy: "/") - }() - - if let type = components.first, let subtype = components.last { - self.type = type - self.subtype = subtype - } else { - return nil - } - } - - func matches(_ mime: MIMEType) -> Bool { - switch (type, subtype) { - case (mime.type, mime.subtype), (mime.type, "*"), ("*", mime.subtype), ("*", "*"): - return true - default: - return false - } - } - } - - // MARK: Properties - - fileprivate var acceptableStatusCodes: [Int] { return Array(200..<300) } - - fileprivate var acceptableContentTypes: [String] { - if let accept = request?.value(forHTTPHeaderField: "Accept") { - return accept.components(separatedBy: ",") - } - - return ["*/*"] - } - - // MARK: Status Code - - fileprivate func validate( - statusCode acceptableStatusCodes: S, - response: HTTPURLResponse) - -> ValidationResult - where S.Iterator.Element == Int - { - if acceptableStatusCodes.contains(response.statusCode) { - return .success - } else { - let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode) - return .failure(AFError.responseValidationFailed(reason: reason)) - } - } - - // MARK: Content Type - - fileprivate func validate( - contentType acceptableContentTypes: S, - response: HTTPURLResponse, - data: Data?) - -> ValidationResult - where S.Iterator.Element == String - { - guard let data = data, data.count > 0 else { return .success } - - guard - let responseContentType = response.mimeType, - let responseMIMEType = MIMEType(responseContentType) - else { - for contentType in acceptableContentTypes { - if let mimeType = MIMEType(contentType), mimeType.isWildcard { - return .success - } - } - - let error: AFError = { - let reason: ErrorReason = .missingContentType(acceptableContentTypes: Array(acceptableContentTypes)) - return AFError.responseValidationFailed(reason: reason) - }() - - return .failure(error) - } - - for contentType in acceptableContentTypes { - if let acceptableMIMEType = MIMEType(contentType), acceptableMIMEType.matches(responseMIMEType) { - return .success - } - } - - let error: AFError = { - let reason: ErrorReason = .unacceptableContentType( - acceptableContentTypes: Array(acceptableContentTypes), - responseContentType: responseContentType - ) - - return AFError.responseValidationFailed(reason: reason) - }() - - return .failure(error) - } -} - -// MARK: - - -extension DataRequest { - /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the - /// request was valid. - public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult - - /// Validates the request, using the specified closure. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter validation: A closure to validate the request. - /// - /// - returns: The request. - @discardableResult - public func validate(_ validation: @escaping Validation) -> Self { - let validationExecution: () -> Void = { [unowned self] in - if - let response = self.response, - self.delegate.error == nil, - case let .failure(error) = validation(self.request, response, self.delegate.data) - { - self.delegate.error = error - } - } - - validations.append(validationExecution) - - return self - } - - /// Validates that the response has a status code in the specified sequence. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter range: The range of acceptable status codes. - /// - /// - returns: The request. - @discardableResult - public func validate(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int { - return validate { [unowned self] _, response, _ in - return self.validate(statusCode: acceptableStatusCodes, response: response) - } - } - - /// Validates that the response has a content type in the specified sequence. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes. - /// - /// - returns: The request. - @discardableResult - public func validate(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String { - return validate { [unowned self] _, response, data in - return self.validate(contentType: acceptableContentTypes, response: response, data: data) - } - } - - /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content - /// type matches any specified in the Accept HTTP header field. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - returns: The request. - @discardableResult - public func validate() -> Self { - return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes) - } -} - -// MARK: - - -extension DownloadRequest { - /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a - /// destination URL, and returns whether the request was valid. - public typealias Validation = ( - _ request: URLRequest?, - _ response: HTTPURLResponse, - _ temporaryURL: URL?, - _ destinationURL: URL?) - -> ValidationResult - - /// Validates the request, using the specified closure. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter validation: A closure to validate the request. - /// - /// - returns: The request. - @discardableResult - public func validate(_ validation: @escaping Validation) -> Self { - let validationExecution: () -> Void = { [unowned self] in - let request = self.request - let temporaryURL = self.downloadDelegate.temporaryURL - let destinationURL = self.downloadDelegate.destinationURL - - if - let response = self.response, - self.delegate.error == nil, - case let .failure(error) = validation(request, response, temporaryURL, destinationURL) - { - self.delegate.error = error - } - } - - validations.append(validationExecution) - - return self - } - - /// Validates that the response has a status code in the specified sequence. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter range: The range of acceptable status codes. - /// - /// - returns: The request. - @discardableResult - public func validate(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int { - return validate { [unowned self] _, response, _, _ in - return self.validate(statusCode: acceptableStatusCodes, response: response) - } - } - - /// Validates that the response has a content type in the specified sequence. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes. - /// - /// - returns: The request. - @discardableResult - public func validate(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String { - return validate { [unowned self] _, response, _, _ in - let fileURL = self.downloadDelegate.fileURL - - guard let validFileURL = fileURL else { - return .failure(AFError.responseValidationFailed(reason: .dataFileNil)) - } - - do { - let data = try Data(contentsOf: validFileURL) - return self.validate(contentType: acceptableContentTypes, response: response, data: data) - } catch { - return .failure(AFError.responseValidationFailed(reason: .dataFileReadFailed(at: validFileURL))) - } - } - } - - /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content - /// type matches any specified in the Accept HTTP header field. - /// - /// If validation fails, subsequent calls to response handlers will have an associated error. - /// - /// - returns: The request. - @discardableResult - public func validate() -> Self { - return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes) - } -} diff --git a/Example/Pods/Local Podspecs/AmazonS3RequestManager.podspec.json b/Example/Pods/Local Podspecs/AmazonS3RequestManager.podspec.json deleted file mode 100644 index f016a0e..0000000 --- a/Example/Pods/Local Podspecs/AmazonS3RequestManager.podspec.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "AmazonS3RequestManager", - "version": "1.2.0", - "license": "MIT", - "summary": "A Alamofire based request manager that serializes requests to the AWS S3 (Amazon Simple Storage Solution). Based on AFAmazonS3Manager", - "homepage": "https://github.com/AnthonyMDev/AmazonS3RequestManager", - "social_media_url": "http://twitter.com/AnthonyMDev", - "authors": { - "Anthony Miller": "AnthonyMDev@gmail.com" - }, - "source": { - "git": "https://github.com/AnthonyMDev/AmazonS3RequestManager.git", - "tag": "1.2.0" - }, - "ios": { - "frameworks": "MobileCoreServices" - }, - "tvos": { - "frameworks": "MobileCoreServices" - }, - "osx": { - "frameworks": "CoreServices" - }, - "platforms": { - "ios": "8.0", - "tvos": "10.1", - "osx": "10.10" - }, - "source_files": "Source/*.{h,m,swift}", - "requires_arc": true, - "dependencies": { - "Alamofire": [ - "~> 4.5" - ], - "SWXMLHash": [ - "~> 4.2" - ] - } -} diff --git a/Example/Pods/Local Podspecs/Nimble.podspec.json b/Example/Pods/Local Podspecs/Nimble.podspec.json deleted file mode 100644 index a5be130..0000000 --- a/Example/Pods/Local Podspecs/Nimble.podspec.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "Nimble", - "version": "5.1.1", - "summary": "A Matcher Framework for Swift and Objective-C", - "description": "Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar.", - "homepage": "https://github.com/Quick/Nimble", - "license": { - "type": "Apache 2.0", - "file": "LICENSE" - }, - "authors": "Quick Contributors", - "platforms": { - "ios": "8.0", - "osx": "10.10", - "tvos": "9.0" - }, - "source": { - "git": "https://github.com/Quick/Nimble.git", - "tag": "v5.1.1" - }, - "source_files": "Sources/**/*.{swift,h,m,c}", - "osx": { - "exclude_files": [ - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift" - ] - }, - "ios": { - "exclude_files": [ - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift" - ] - }, - "tvos": { - "exclude_files": [ - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift", - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.m", - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift", - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift", - "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.{h,c}", - "Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift", - "Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.m" - ], - "private_header_files": "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.h" - }, - "private_header_files": "Sources/NimbleObjectiveC/CurrentTestCaseTracker.h", - "exclude_files": "Sources/Nimble/Adapters/NonObjectiveC/*.swift", - "weak_frameworks": "XCTest", - "requires_arc": true, - "compiler_flags": "-DPRODUCT_NAME=Nimble/Nimble", - "pod_target_xcconfig": { - "ENABLE_BITCODE": "NO", - "OTHER_LDFLAGS": "-weak-lswiftXCTest", - "FRAMEWORK_SEARCH_PATHS": "$(inherited) \"$(PLATFORM_DIR)/Developer/Library/Frameworks\"" - } -} diff --git a/Example/Pods/Local Podspecs/Quick.podspec.json b/Example/Pods/Local Podspecs/Quick.podspec.json deleted file mode 100644 index 37e7440..0000000 --- a/Example/Pods/Local Podspecs/Quick.podspec.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "Quick", - "version": "0.9.3", - "summary": "The Swift (and Objective-C) testing framework.", - "description": "Quick is a behavior-driven development framework for Swift and Objective-C. Inspired by RSpec, Specta, and Ginkgo.", - "homepage": "https://github.com/Quick/Quick", - "license": { - "type": "Apache 2.0", - "file": "LICENSE" - }, - "authors": "Quick Contributors", - "platforms": { - "ios": "7.0", - "osx": "10.9", - "tvos": "9.0" - }, - "source": { - "git": "https://github.com/Quick/Quick.git", - "tag": "v0.9.3" - }, - "source_files": "Sources/**/*.{swift,h,m}", - "public_header_files": [ - "Sources/QuickObjectiveC/Configuration/QuickConfiguration.h", - "Sources/QuickObjectiveC/DSL/QCKDSL.h", - "Sources/QuickObjectiveC/Quick.h", - "Sources/QuickObjectiveC/QuickSpec.h" - ], - "exclude_files": [ - "Sources/Quick/Configuration/QuickConfiguration.swift", - "Sources/Quick/QuickSpec.swift", - "Sources/Quick/QuickMain.swift" - ], - "frameworks": "XCTest", - "requires_arc": true, - "user_target_xcconfig": { - "FRAMEWORK_SEARCH_PATHS": "$(PLATFORM_DIR)/Developer/Library/Frameworks" - }, - "pod_target_xcconfig": { - "ENABLE_BITCODE": "NO" - } -} diff --git a/Example/Pods/Local Podspecs/SWXMLHash.podspec.json b/Example/Pods/Local Podspecs/SWXMLHash.podspec.json deleted file mode 100644 index c165278..0000000 --- a/Example/Pods/Local Podspecs/SWXMLHash.podspec.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "SWXMLHash", - "version": "2.5.0", - "summary": "Simple XML parsing in Swift", - "homepage": "https://github.com/drmohundro/SWXMLHash", - "license": { - "type": "MIT" - }, - "authors": { - "David Mohundro": "david@mohundro.com" - }, - "requires_arc": true, - "platforms": { - "osx": "10.9", - "ios": "8.0", - "watchos": "2.0", - "tvos": "9.0" - }, - "source": { - "git": "https://github.com/drmohundro/SWXMLHash.git", - "tag": "2.5.0" - }, - "source_files": "Source/*.swift" -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index f6da252..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,31 +0,0 @@ -PODS: - - Alamofire (4.5.1) - - AmazonS3RequestManager (1.2.0): - - Alamofire (~> 4.5) - - SWXMLHash (~> 4.2) - - Nimble (7.0.2) - - Nocilla (0.11.0) - - Quick (1.2.0) - - SWXMLHash (4.2.3) - -DEPENDENCIES: - - AmazonS3RequestManager (from `../`) - - Nimble - - Nocilla (~> 0.10) - - Quick - -EXTERNAL SOURCES: - AmazonS3RequestManager: - :path: ../ - -SPEC CHECKSUMS: - Alamofire: 2d95912bf4c34f164fdfc335872e8c312acaea4a - AmazonS3RequestManager: 0205b197a0daedb029d4c0c502ecb07376e1bb2d - Nimble: bfe1f814edabba69ff145cb1283e04ed636a67f2 - Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c - Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08 - SWXMLHash: 6ab10e1cb4567d88cd3634be0bf331a7839945dd - -PODFILE CHECKSUM: 5a93563cdbfbff414350e4c3a44380e03ca61e1c - -COCOAPODS: 1.3.1 diff --git a/Example/Pods/Nimble/LICENSE b/Example/Pods/Nimble/LICENSE deleted file mode 100644 index 82b84bf..0000000 --- a/Example/Pods/Nimble/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -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. diff --git a/Example/Pods/Nimble/README.md b/Example/Pods/Nimble/README.md deleted file mode 100644 index a190ac6..0000000 --- a/Example/Pods/Nimble/README.md +++ /dev/null @@ -1,1764 +0,0 @@ -# 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) -[![Platforms](https://img.shields.io/cocoapods/p/Nimble.svg)](https://cocoapods.org/pods/Nimble) - -Use Nimble to express the expected outcomes of Swift -or Objective-C expressions. Inspired by -[Cedar](https://github.com/pivotal/cedar). - -```swift -// Swift -expect(1 + 1).to(equal(2)) -expect(1.2).to(beCloseTo(1.1, within: 0.1)) -expect(3) > 2 -expect("seahorse").to(contain("sea")) -expect(["Atlantic", "Pacific"]).toNot(contain("Mississippi")) -expect(ocean.isClean).toEventually(beTruthy()) -``` - -# How to Use Nimble - - - -**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* - -- [Some Background: Expressing Outcomes Using Assertions in XCTest](#some-background-expressing-outcomes-using-assertions-in-xctest) -- [Nimble: Expectations Using `expect(...).to`](#nimble-expectations-using-expectto) - - [Custom Failure Messages](#custom-failure-messages) - - [Type 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) - - [Using Nimble without XCTest](#using-nimble-without-xctest) - - - -# Some Background: Expressing Outcomes Using Assertions in XCTest - -Apple's Xcode includes the XCTest framework, which provides -assertion macros to test whether code behaves properly. -For example, to assert that `1 + 1 = 2`, XCTest has you write: - -```swift -// Swift - -XCTAssertEqual(1 + 1, 2, "expected one plus one to equal two") -``` - -Or, in Objective-C: - -```objc -// Objective-C - -XCTAssertEqual(1 + 1, 2, @"expected one plus one to equal two"); -``` - -XCTest assertions have a couple of drawbacks: - -1. **Not enough macros.** There's no easy way to assert that a string - contains a particular substring, or that a number is less than or - equal to another. -2. **It's hard to write asynchronous tests.** XCTest forces you to write - a lot of boilerplate code. - -Nimble addresses these concerns. - -# Nimble: Expectations Using `expect(...).to` - -Nimble allows you to express expectations using a natural, -easily understood language: - -```swift -// Swift - -import Nimble - -expect(seagull.squawk).to(equal("Squee!")) -``` - -```objc -// Objective-C - -@import Nimble; - -expect(seagull.squawk).to(equal(@"Squee!")); -``` - -> The `expect` function autocompletes to include `file:` and `line:`, - but these parameters are optional. Use the default values to have - Xcode highlight the correct line when an expectation is not met. - -To perform the opposite expectation--to assert something is *not* -equal--use `toNot` or `notTo`: - -```swift -// Swift - -import Nimble - -expect(seagull.squawk).toNot(equal("Oh, hello there!")) -expect(seagull.squawk).notTo(equal("Oh, hello there!")) -``` - -```objc -// Objective-C - -@import Nimble; - -expect(seagull.squawk).toNot(equal(@"Oh, hello there!")); -expect(seagull.squawk).notTo(equal(@"Oh, hello there!")); -``` - -## Custom Failure Messages - -Would you like to add more information to the test's failure messages? Use the `description` optional argument to add your own text: - -```swift -// Swift - -expect(1 + 1).to(equal(3)) -// failed - expected to equal <3>, got <2> - -expect(1 + 1).to(equal(3), description: "Make sure libKindergartenMath is loaded") -// failed - Make sure libKindergartenMath is loaded -// expected to equal <3>, got <2> -``` - -Or the *WithDescription version in Objective-C: - -```objc -// Objective-C - -@import Nimble; - -expect(@(1+1)).to(equal(@3)); -// failed - expected to equal <3.0000>, got <2.0000> - -expect(@(1+1)).toWithDescription(equal(@3), @"Make sure libKindergartenMath is loaded"); -// failed - Make sure libKindergartenMath is loaded -// expected to equal <3.0000>, got <2.0000> -``` - -## Type 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 3.0 and later - -DispatchQueue.main.async { - ocean.add("dolphins") - ocean.add("whales") -} -expect(ocean).toEventually(contain("dolphins", "whales")) -``` - - -```swift -// Swift 2.3 and earlier - -dispatch_async(dispatch_get_main_queue()) { - ocean.add("dolphins") - ocean.add("whales") -} -expect(ocean).toEventually(contain("dolphins", "whales")) -``` - - -```objc -// Objective-C - -dispatch_async(dispatch_get_main_queue(), ^{ - [ocean add:@"dolphins"]; - [ocean add:@"whales"]; -}); -expect(ocean).toEventually(contain(@"dolphins", @"whales")); -``` - -Note: toEventually triggers its polls on the main thread. Blocking the main -thread will cause Nimble to stop the run loop. This can cause test pollution -for whatever incomplete code that was running on the main thread. Blocking the -main thread can be caused by blocking IO, calls to sleep(), deadlocks, and -synchronous IPC. - -In the above example, `ocean` is constantly re-evaluated. If it ever -contains dolphins and whales, the expectation passes. If `ocean` still -doesn't contain them, even after being continuously re-evaluated for one -whole second, the expectation fails. - -Sometimes it takes more than a second for a value to update. In those -cases, use the `timeout` parameter: - -```swift -// Swift - -// Waits three seconds for ocean to contain "starfish": -expect(ocean).toEventually(contain("starfish"), timeout: 3) - -// 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 Option-x to get ≈ on a U.S. keyboard) - -The former version uses the default delta of 0.0001. Here is yet another way to do this: - -```swift -// Swift - -expect(actual) ≈ expected ± delta -expect(actual) == expected ± delta - -``` -(Type Option-Shift-= to get ± on a U.S. keyboard) - -If you are comparing arrays of floating point numbers, you'll find the following useful: - -```swift -// Swift - -expect([0.0, 2.0]) ≈ [0.0001, 2.0001] -expect([0.0, 2.0]).to(beCloseTo([0.1, 2.1], within: 0.1)) - -``` - -> Values given to the `beCloseTo` matcher must be coercable into a - `Double`. - -## Types/Classes - -```swift -// Swift - -// Passes if 'instance' is an instance of 'aClass': -expect(instance).to(beAnInstanceOf(aClass)) - -// Passes if 'instance' is an instance of 'aClass' or any of its subclasses: -expect(instance).to(beAKindOf(aClass)) -``` - -```objc -// Objective-C - -// Passes if 'instance' is an instance of 'aClass': -expect(instance).to(beAnInstanceOf(aClass)); - -// Passes if 'instance' is an instance of 'aClass' or any of its subclasses: -expect(instance).to(beAKindOf(aClass)); -``` - -> Instances must be Objective-C objects: subclasses of `NSObject`, - or Swift objects bridged to Objective-C with the `@objc` prefix. - -For example, to assert that `dolphin` is a kind of `Mammal`: - -```swift -// Swift - -expect(dolphin).to(beAKindOf(Mammal)) -``` - -```objc -// Objective-C - -expect(dolphin).to(beAKindOf([Mammal class])); -``` - -> `beAnInstanceOf` uses the `-[NSObject isMemberOfClass:]` method to - test membership. `beAKindOf` uses `-[NSObject isKindOfClass:]`. - -## Truthiness - -```swift -// Passes if 'actual' is not nil, true, or an object with a boolean value of true: -expect(actual).to(beTruthy()) - -// Passes if 'actual' is only true (not nil or an object conforming to 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 - -If you're using Swift 2.0 or newer, you can use the `throwError` matcher to check if an error is thrown. - -Note: -The following code sample references the `Swift.Error` protocol. -This is `Swift.ErrorProtocol` in versions of Swift prior to version 3.0. - -```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 * __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(expectedValue: T?) -> Predicate { - // Can be shortened to: - // Predicate { actual in ... } - // - // But shown with types here for clarity. - return Predicate { (actual: Expression) 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 , got " -case expectedActualValueTo(/* message: */ String) - -// Allows any free-form message -// eg - "" -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() -> Predicate { - // 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 { - 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(_ expectedValue: T?) -> Predicate { - 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 , got " -case expectedActualValueTo(/* message: */ String) - -// Allows any free-form message -// eg - "" -case fail(/* message: */ String) - -// Emits standard error message with a custom actual value instead of the default. -// eg - "expected to , got " -case expectedCustomValueTo(/* message: */ String, /* actual: */ String) - -// Emits standard error message without mentioning the actual value -// eg - "expected to " -case expectedTo(/* message: */ String, /* actual: */ 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 (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 \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 beNil() { - return [NMBObjCMatcher beNilMatcher]; -} -``` - -### Properly Handling `nil` in Objective-C Matchers - -When supporting Objective-C, make sure you handle `nil` appropriately. -Like [Cedar](https://github.com/pivotal/cedar/issues/100), -**most matchers do not match with nil**. This is to bring prevent test -writers from being surprised by `nil` values where they did not expect -them. - -Nimble provides the `beNil` matcher function for test writer that want -to make expectations on `nil` objects: - -```objc -// Objective-C - -expect(nil).to(equal(nil)); // fails -expect(nil).to(beNil()); // passes -``` - -If your matcher does not want to match with nil, you use `NonNilMatcherFunc` -and the `canMatchNil` constructor on `NMBObjCMatcher`. Using both types will -automatically generate expected value failure messages when they're nil. - -```swift - -public func beginWith(startingElement: T) -> NonNilMatcherFunc { - return NonNilMatcherFunc { actualExpression, failureMessage in - failureMessage.postfixMessage = "begin with <\(startingElement)>" - if let actualValue = actualExpression.evaluate() { - var actualGenerator = actualValue.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(startingElement: T) -> Predicate { - 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(startingElement: T) -> Predicate { - 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`) - 2. Introduce warnings on migration-path features (`.predicate`, - `Predicate`-constructors with similar arguments to old API). (Nimble - `v8.x.x`) - 3. Remove old API. (Nimble `v9.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`. - -## Using Nimble without XCTest - -Nimble is integrated with XCTest to allow it work well when used in Xcode test -bundles, however it can also be used in a standalone app. After installing -Nimble using one of the above methods, there are two additional steps required -to make this work. - -1. Create a custom assertion handler and assign an instance of it to the - global `NimbleAssertionHandler` variable. For example: - -```swift -class MyAssertionHandler : AssertionHandler { - func assert(assertion: Bool, message: FailureMessage, location: SourceLocation) { - if (!assertion) { - print("Expectation failed: \(message.stringValue)") - } - } -} -``` -```swift -// Somewhere before you use any assertions -NimbleAssertionHandler = MyAssertionHandler() -``` - -2. Add a post-build action to fix an issue with the Swift XCTest support - library being unnecessarily copied into your app - * Edit your scheme in Xcode, and navigate to Build -> Post-actions - * Click the "+" icon and select "New Run Script Action" - * Open the "Provide build settings from" dropdown and select your target - * Enter the following script contents: -``` -rm "${SWIFT_STDLIB_TOOL_DESTINATION_DIR}/libswiftXCTest.dylib" -``` - -You can now use Nimble assertions in your code and handle failures as you see -fit. diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift deleted file mode 100644 index 196ee9a..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// CwlCatchException.swift -// CwlAssertionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 SWIFT_PACKAGE -import CwlCatchExceptionSupport -#endif - -private func catchReturnTypeConverter(_ instance: T, block: () -> Void) -> T? { - // Get the type from an *instance*, instead of a receiving the type directly - return catchExceptionOfKind(T.self, block) as? T -} - -extension NSException { - public static func catchException(in block: () -> Void) -> Self? { - // Use a dummy instance of Self to provide the type - return catchReturnTypeConverter(self.init(), block: block) - } -} diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/CwlCatchException.m b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/CwlCatchException.m deleted file mode 100644 index 8cf414f..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/CwlCatchException.m +++ /dev/null @@ -1,37 +0,0 @@ -// -// CwlCatchException.m -// CwlAssertionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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" - -#if !SWIFT_PACKAGE && NON_SWIFT_PACKAGE -__attribute__((visibility("hidden"))) -#endif -NSException* catchExceptionOfKind(Class __nonnull type, __attribute__((noescape)) void (^ __nonnull inBlock)(void)) { - @try { - inBlock(); - } @catch (NSException *exception) { - if ([exception isKindOfClass:type]) { - return exception; - } else { - @throw; - } - } - return nil; -} diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/include/CwlCatchException.h b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/include/CwlCatchException.h deleted file mode 100644 index ae48c23..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/include/CwlCatchException.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// CwlCatchException.h -// CwlCatchException -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 - -//! Project version number for CwlCatchException. -FOUNDATION_EXPORT double CwlCatchExceptionVersionNumber; - -//! Project version string for CwlCatchException. -FOUNDATION_EXPORT const unsigned char CwlCatchExceptionVersionString[]; - -#if !SWIFT_PACKAGE && NON_SWIFT_PACKAGE -__attribute__((visibility("hidden"))) -#endif -NSException* __nullable catchExceptionOfKind(Class __nonnull type, __attribute__((noescape)) void (^ __nonnull inBlock)(void)); - diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m deleted file mode 100644 index 8183196..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m +++ /dev/null @@ -1,50 +0,0 @@ -// -// CwlMachBadExceptionHandler.m -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 defined(__x86_64__) - - #import "mach_excServer.h" - #import "CwlMachBadInstructionHandler.h" - - @protocol BadInstructionReply - +(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 diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h deleted file mode 100644 index 5755bfc..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// CwlMachBadExceptionHandler.h -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 -#import - -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 diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.c b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.c deleted file mode 100644 index 733c564..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.c +++ /dev/null @@ -1,537 +0,0 @@ -/* - * IDENTIFICATION: - * stub generated Sun Jan 29 19:05:29 2017 - * with a MiG generated by bootstrap_cmds-96.20.2 - * OPTIONS: - */ - -#if defined(__x86_64__) - -/* Module mach_exc */ - -#define __MIG_check__Request__mach_exc_subsystem__ 1 - -#include "mach_excServer.h" - -#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 diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.h b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.h deleted file mode 100644 index 52e53ae..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.h +++ /dev/null @@ -1,321 +0,0 @@ -#ifndef _mach_exc_server_ -#define _mach_exc_server_ - -/* Module mach_exc */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* BEGIN VOUCHER CODE */ - -#ifndef KERNEL -#if defined(__has_include) -#if __has_include() -#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() -#endif // __has_include -#endif // !KERNEL - -/* END VOUCHER CODE */ - - -/* BEGIN MIG_STRNCPY_ZEROFILL CODE */ - -#if defined(__has_include) -#if __has_include() -#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() */ -#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 -#include -#include -#include - -#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_ */ diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift deleted file mode 100644 index 91e5d4d..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift +++ /dev/null @@ -1,89 +0,0 @@ -// -// CwlBadInstructionException.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 SWIFT_PACKAGE - import CwlMachBadInstructionHandler -#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 { - #if arch(x86_64) - 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 = 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 = 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.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) - #else - fatalError("Unavailable for this CPU architecture") - #endif - } -} diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift deleted file mode 100644 index 6e84115..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift +++ /dev/null @@ -1,199 +0,0 @@ -// -// CwlCatchBadInstruction.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 SWIFT_PACKAGE - import CwlCatchException - import CwlMachBadInstructionHandler -#endif - -#if arch(x86_64) - - 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 execTypesCountTuple { - mutating func pointer(in block: (UnsafeMutablePointer) -> R) -> R { - return withUnsafeMutablePointer(to: &self) { p -> R in - return p.withMemoryRebound(to: T.self, capacity: EXC_TYPES_COUNT) { ptr -> R in - return block(ptr) - } - } - } - } - - extension request_mach_exception_raise_t { - mutating func withMsgHeaderPointer(in block: (UnsafeMutablePointer) -> 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(in block: (UnsafeMutablePointer) -> 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() - var count: mach_msg_type_number_t = 0 - var ports = execTypesCountTuple() - var behaviors = execTypesCountTuple() - var flavors = execTypesCountTuple() - var currentExceptionPort: mach_port_t = 0 - var handlerThread: pthread_t? = nil - - mutating func withUnsafeMutablePointers(in block: (UnsafeMutablePointer, UnsafeMutablePointer, UnsafeMutablePointer, UnsafeMutablePointer) -> R) -> R { - return masks.pointer { masksPtr in - return ports.pointer { portsPtr in - return behaviors.pointer { behaviorsPtr in - return flavors.pointer { flavorsPtr in - return block(masksPtr, portsPtr, behaviorsPtr, flavorsPtr) - } - } - } - } - } - } - - /// 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.size) - try kernCheck { request.withMsgHeaderPointer { requestPtr in - mach_msg(requestPtr, MACH_RCV_MSG | MACH_RCV_INTERRUPT, 0, request.Head.msgh_size, 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.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 subsequent errors (let the program crash) - reply.RetCode = KERN_FAILURE - } - - // Send the reply - try kernCheck { reply.withMsgHeaderPointer { replyPtr in - mach_msg(replyPtr, MACH_SEND_MSG, reply.Head.msgh_size, 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: () -> Void) -> BadInstructionException? { - 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) - } - - try kernCheck { context.withUnsafeMutablePointers { masksPtr, 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, context.currentExceptionPort, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, &context.count, portsPtr, behaviorsPtr, flavorsPtr) - } } - - defer { context.withUnsafeMutablePointers { masksPtr, 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, &context.count, 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 - diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift deleted file mode 100644 index eb9bc19..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift +++ /dev/null @@ -1,108 +0,0 @@ -// -// CwlCatchBadInstructionPosix.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 8/02/2016. -// Copyright © 2016 Matt Gallagher ( http://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 arch(x86_64) - - // This file is an alternative implementation to CwlCatchBadInstruction.swift that uses a SIGILL signal action and setenv/longjmp instead of a Mach exception handler and Objective-C exception raising. - // - // WARNING: - // This code is quick and dirty. It's a proof of concept for using a SIGILL handler and setjmp/longjmp where Mach exceptions and the Obj-C runtime aren't available. I ran the automated tests when I first wrote this code but I don't personally use it at all so by the time you're reading this comment, it probably broke and I didn't notice. - // Obvious limitations: - // * It doesn't work when debugging with lldb. - // * It doesn't scope correctly to the thread (it's global) - // * In violation of rules for signal handlers, it writes to the "red zone" on the stack - // * It isn't re-entrant - // * Plus all of the same caveats as the Mach exceptions version (doesn't play well with other handlers, probably leaks ARC memory, etc) - // Treat it like a loaded shotgun. Don't point it at your face. - - // This function is called from the signal handler to shut down the thread and return 1 (indicating a SIGILL was received). - private func callThreadExit() { - pthread_exit(UnsafeMutableRawPointer(bitPattern: 1)) - } - - // When called, this signal handler simulates a function call to `callThreadExit` - private func sigIllHandler(code: Int32, info: UnsafeMutablePointer<__siginfo>?, uap: UnsafeMutableRawPointer?) -> Void { - guard let context = uap?.assumingMemoryBound(to: ucontext64_t.self) else { return } - - // 1. Decrement the stack pointer - context.pointee.uc_mcontext64.pointee.__ss.__rsp -= __uint64_t(MemoryLayout.size) - - // 2. Save the old Instruction Pointer to the stack. - let rsp = context.pointee.uc_mcontext64.pointee.__ss.__rsp - if let ump = UnsafeMutablePointer<__uint64_t>(bitPattern: UInt(rsp)) { - ump.pointee = rsp - } - - // 3. Set the Instruction Pointer to the new function's address - var f: @convention(c) () -> Void = callThreadExit - withUnsafePointer(to: &f) { $0.withMemoryRebound(to: __uint64_t.self, capacity: 1) { ptr in - context.pointee.uc_mcontext64.pointee.__ss.__rip = ptr.pointee - } } - } - - /// Without Mach exceptions or the Objective-C runtime, there's nothing to put in the exception object. It's really just a boolean – either a SIGILL was caught or not. - public class BadInstructionException { - } - - /// Run the provided block. If a POSIX SIGILL is received, handle it and return a BadInstructionException (which is just an empty object in this POSIX signal version). 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 SIGILL is received, the block will be interrupted using a C `longjmp`. The risks associated with abrupt jumps apply here: most Swift functions are *not* interrupt-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 SIGILL is raised during the execution of `block` then a BadInstructionException will be returned, otherwise `nil`. - public func catchBadInstruction(block: @escaping () -> Void) -> BadInstructionException? { - // Construct the signal action - var sigActionPrev = sigaction() - let action = __sigaction_u(__sa_sigaction: sigIllHandler) - var sigActionNew = sigaction(__sigaction_u: action, sa_mask: sigset_t(), sa_flags: SA_SIGINFO) - - // Install the signal action - if sigaction(SIGILL, &sigActionNew, &sigActionPrev) != 0 { - fatalError("Sigaction error: \(errno)") - } - - defer { - // Restore the previous signal action - if sigaction(SIGILL, &sigActionPrev, nil) != 0 { - fatalError("Sigaction error: \(errno)") - } - } - - var b = block - let caught: Bool = withUnsafeMutablePointer(to: &b) { blockPtr in - // Run the block on its own thread - var handlerThread: pthread_t? = nil - let e = pthread_create(&handlerThread, nil, { arg in - (arg.assumingMemoryBound(to: (() -> Void).self).pointee)() - return nil - }, blockPtr) - precondition(e == 0, "Unable to create thread") - - // Wait for completion and get the result. It will be either `nil` or bitPattern 1 - var rawResult: UnsafeMutableRawPointer? = nil - let e2 = pthread_join(handlerThread!, &rawResult) - precondition(e2 == 0, "Thread join failed") - return Int(bitPattern: rawResult) != 0 - } - - return caught ? BadInstructionException() : nil - } - -#endif diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift deleted file mode 100644 index 8d99d5e..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift +++ /dev/null @@ -1,55 +0,0 @@ -// -// CwlDarwinDefinitions.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 Darwin - -#if arch(x86_64) - - // 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.size / MemoryLayout.size) - - public let EXC_TYPES_COUNT = 14 - public struct execTypesCountTuple { - // 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 diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h deleted file mode 100644 index f9dbedd..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// CwlPreconditionTesting.h -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 - -//! Project version number for CwlUtils. -FOUNDATION_EXPORT double CwlPreconditionTestingVersionNumber; - -//! Project version string for CwlUtils. -FOUNDATION_EXPORT const unsigned char CwlAssertingTestingVersionString[]; - -#include "CwlMachBadInstructionHandler.h" -#include "CwlCatchException.h" diff --git a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Posix/CwlPreconditionTesting.h b/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Posix/CwlPreconditionTesting.h deleted file mode 100644 index 710afae..0000000 --- a/Example/Pods/Nimble/Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Posix/CwlPreconditionTesting.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// CwlPreconditionTesting.h -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://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 - -//! Project version number for CwlUtils. -FOUNDATION_EXPORT double CwlPreconditionTestingVersionNumber; - -//! Project version string for CwlUtils. -FOUNDATION_EXPORT const unsigned char CwlAssertingTestingVersionString[]; diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift deleted file mode 100644 index 2e58fdf..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift +++ /dev/null @@ -1,17 +0,0 @@ -import Foundation - -/// Protocol for the assertion handler that Nimble uses for all expectations. -public protocol AssertionHandler { - func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) -} - -/// Global backing interface for assertions that Nimble creates. -/// Defaults to a private test handler that passes through to XCTest. -/// -/// If XCTest is not available, you must assign your own assertion handler -/// before using any matchers, otherwise Nimble will abort the program. -/// -/// @see AssertionHandler -public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in - return isXCTestAvailable() ? NimbleXCTestHandler() : NimbleXCTestUnavailableHandler() -}() diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift deleted file mode 100644 index 94a9030..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift +++ /dev/null @@ -1,19 +0,0 @@ -/// AssertionDispatcher allows multiple AssertionHandlers to receive -/// assertion messages. -/// -/// @warning Does not fully dispatch if one of the handlers raises an exception. -/// This is possible with XCTest-based assertion handlers. -/// -public class AssertionDispatcher: AssertionHandler { - let handlers: [AssertionHandler] - - public init(handlers: [AssertionHandler]) { - self.handlers = handlers - } - - public func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) { - for handler in handlers { - handler.assert(assertion, message: message, location: location) - } - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift deleted file mode 100644 index 740c392..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift +++ /dev/null @@ -1,100 +0,0 @@ -import Foundation - -/// A data structure that stores information about an assertion when -/// AssertionRecorder is set as the Nimble assertion handler. -/// -/// @see AssertionRecorder -/// @see AssertionHandler -public struct AssertionRecord: CustomStringConvertible { - /// Whether the assertion succeeded or failed - public let success: Bool - /// The failure message the assertion would display on failure. - public let message: FailureMessage - /// The source location the expectation occurred on. - public let location: SourceLocation - - public var description: String { - return "AssertionRecord { success=\(success), message='\(message.stringValue)', location=\(location) }" - } -} - -/// An AssertionHandler that silently records assertions that Nimble makes. -/// This is useful for testing failure messages for matchers. -/// -/// @see AssertionHandler -public class AssertionRecorder: AssertionHandler { - /// All the assertions that were captured by this recorder - public var assertions = [AssertionRecord]() - - public init() {} - - public func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) { - assertions.append( - AssertionRecord( - success: assertion, - message: message, - location: location)) - } -} - -/// Allows you to temporarily replace the current Nimble assertion handler with -/// the one provided for the scope of the closure. -/// -/// Once the closure finishes, then the original Nimble assertion handler is restored. -/// -/// @see AssertionHandler -public func withAssertionHandler(_ tempAssertionHandler: AssertionHandler, closure: () throws -> Void) { - let environment = NimbleEnvironment.activeInstance - let oldRecorder = environment.assertionHandler - let capturer = NMBExceptionCapture(handler: nil, finally: ({ - environment.assertionHandler = oldRecorder - })) - environment.assertionHandler = tempAssertionHandler - capturer.tryBlock { - try! closure() - } -} - -/// Captures expectations that occur in the given closure. Note that all -/// expectations will still go through to the default Nimble handler. -/// -/// This can be useful if you want to gather information about expectations -/// that occur within a closure. -/// -/// @param silently expectations are no longer send to the default Nimble -/// assertion handler when this is true. Defaults to false. -/// -/// @see gatherFailingExpectations -public func gatherExpectations(silently: Bool = false, closure: @escaping () -> 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: @escaping () -> Void) -> [AssertionRecord] { - let assertions = gatherExpectations(silently: silently, closure: closure) - return assertions.filter { assertion in - !assertion.success - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift deleted file mode 100644 index 88d9406..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift +++ /dev/null @@ -1,187 +0,0 @@ -import Foundation - -#if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - -private func from(objcPredicate: NMBPredicate) -> Predicate { - 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, failureMessage: FailureMessage) -> Bool { - return matcher.matches( - ({ try! actualExpression.evaluate() }), - failureMessage: failureMessage, - location: actualExpression.location) - } - - func doesNotMatch(_ actualExpression: Expression, failureMessage: FailureMessage) -> Bool { - return matcher.doesNotMatch( - ({ try! actualExpression.evaluate() }), - failureMessage: failureMessage, - location: actualExpression.location) - } -} - -// Equivalent to Expectation, but for Nimble's Objective-C interface -public class NMBExpectation: NSObject { - internal let _actualBlock: () -> NSObject! - internal var _negative: Bool - internal let _file: FileString - internal let _line: UInt - internal var _timeout: TimeInterval = 1.0 - - @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 { - 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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift deleted file mode 100644 index 9ba2ffa..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift +++ /dev/null @@ -1,83 +0,0 @@ -import Foundation - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - -// swiftlint:disable line_length -public typealias MatcherBlock = (_ actualExpression: Expression, _ failureMessage: FailureMessage) -> Bool -public typealias FullMatcherBlock = (_ actualExpression: Expression, _ failureMessage: FailureMessage, _ shouldNotMatch: Bool) -> Bool -// swiftlint:enable line_length - -public class NMBObjCMatcher: NSObject, NMBMatcher { - let _match: MatcherBlock - let _doesNotMatch: MatcherBlock - 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 !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 matcher(actualExpression, failureMessage, false) - }), notMatcher: ({ actualExpression, failureMessage in - return matcher(actualExpression, failureMessage, true) - })) - } - - private func canMatch(_ actualExpression: Expression, failureMessage: FailureMessage) -> Bool { - do { - if !canMatchNil { - if try actualExpression.evaluate() == nil { - failureMessage.postfixActual = " (use beNil() to match nils)" - return false - } - } - } catch let error { - failureMessage.actualValue = "an unexpected error thrown: \(error)" - return false - } - return true - } - - public func matches(_ actualBlock: @escaping () -> NSObject!, failureMessage: FailureMessage, location: SourceLocation) -> Bool { - let expr = Expression(expression: actualBlock, location: location) - let result = _match( - expr, - failureMessage) - 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 = _doesNotMatch( - expr, - failureMessage) - if self.canMatch(Expression(expression: actualBlock, location: location), failureMessage: failureMessage) { - return result - } else { - return false - } - } -} - -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift deleted file mode 100644 index e1b5432..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift +++ /dev/null @@ -1,45 +0,0 @@ -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 { - 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 - } - } - - // 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 - - init() { - let timeoutQueue: DispatchQueue - if #available(OSX 10.10, *) { - timeoutQueue = DispatchQueue.global(qos: .userInitiated) - } else { - timeoutQueue = DispatchQueue.global(priority: .high) - } - - awaiter = Awaiter( - waitLock: AssertionWaitLock(), - asyncQueue: .main, - timeoutQueue: timeoutQueue) - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift b/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift deleted file mode 100644 index 0ad8590..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift +++ /dev/null @@ -1,81 +0,0 @@ -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? - - @objc func testCaseWillStart(_ testCase: XCTestCase) { - currentTestCase = testCase - } - - @objc func testCaseDidFinish(_ testCase: XCTestCase) { - currentTestCase = nil - } -} -#endif - -func isXCTestAvailable() -> Bool { -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - // XCTest is weakly linked and so may not be present - return NSClassFromString("XCTestCase") != nil -#else - return true -#endif -} - -private func recordFailure(_ message: String, location: SourceLocation) { -#if SWIFT_PACKAGE - XCTFail("\(message)", file: location.file, line: location.line) -#else - if let testCase = CurrentTestCaseTracker.sharedInstance.currentTestCase { - #if swift(>=4) - let line = Int(location.line) - #else - let line = location.line - #endif - 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:\n\"\(message)\"\nIt occurred at: \(location.file):\(location.line)" - NSException(name: .internalInconsistencyException, reason: msg, userInfo: nil).raise() - } -#endif -} diff --git a/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift b/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift deleted file mode 100644 index a84682f..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/DSL+Wait.swift +++ /dev/null @@ -1,116 +0,0 @@ -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 (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !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 (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objc(untilFile:line:action:) - internal class func until(_ file: FileString = #file, line: UInt = #line, action: @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 (() -> 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 = 1, file: FileString = #file, line: UInt = #line, action: @escaping (@escaping () -> Void) -> Void) { - NMBWait.until(timeout: timeout, file: file, line: line, action: action) -} diff --git a/Example/Pods/Nimble/Sources/Nimble/DSL.swift b/Example/Pods/Nimble/Sources/Nimble/DSL.swift deleted file mode 100644 index e49bb0c..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/DSL.swift +++ /dev/null @@ -1,64 +0,0 @@ -import Foundation - -/// Make an expectation on a given actual value. The value given is lazily evaluated. -public func expect(_ expression: @autoclosure @escaping () throws -> T?, file: FileString = #file, line: UInt = #line) -> Expectation { - return Expectation( - expression: Expression( - expression: expression, - location: SourceLocation(file: file, line: line), - isClosure: true)) -} - -/// Make an expectation on a given actual value. The closure is lazily invoked. -public func expect(_ file: FileString = #file, line: UInt = #line, expression: @escaping () throws -> T?) -> Expectation { - return Expectation( - expression: Expression( - expression: expression, - location: SourceLocation(file: file, line: line), - isClosure: true)) -} - -/// Always fails the test with a message and a specified location. -public func fail(_ message: String, location: SourceLocation) { - let handler = NimbleEnvironment.activeInstance.assertionHandler - handler.assert(false, message: FailureMessage(stringValue: message), location: location) -} - -/// Always fails the test with a message. -public func fail(_ message: String, file: FileString = #file, line: UInt = #line) { - fail(message, location: SourceLocation(file: file, line: line)) -} - -/// Always fails the test. -public func fail(_ file: FileString = #file, line: UInt = #line) { - fail("fail() always fails", file: file, line: line) -} - -/// Like Swift's precondition(), but raises NSExceptions instead of sigaborts -internal func nimblePrecondition( - _ expr: @autoclosure() -> Bool, - _ name: @autoclosure() -> String, - _ message: @autoclosure() -> String, - file: StaticString = #file, - line: UInt = #line) { - let result = expr() - if !result { -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - let e = NSException( - name: NSExceptionName(name()), - reason: message(), - userInfo: nil) - e.raise() -#else - preconditionFailure("\(name()) - \(message())", file: file, line: line) -#endif - } -} - -internal func internalError(_ msg: String, file: FileString = #file, line: UInt = #line) -> Never { - fatalError( - "Nimble Bug Found: \(msg) at \(file):\(line).\n" + - "Please file a bug to Nimble: https://github.com/Quick/Nimble/issues with the " + - "code snippet that caused this error." - ) -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Expectation.swift b/Example/Pods/Nimble/Sources/Nimble/Expectation.swift deleted file mode 100644 index e3f616a..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Expectation.swift +++ /dev/null @@ -1,132 +0,0 @@ -import Foundation - -// Deprecated -internal func expressionMatches(_ expression: Expression, matcher: U, to: String, description: String?) -> (Bool, FailureMessage) - where U: Matcher, U.ValueType == T { - let msg = FailureMessage() - msg.userDescription = description - msg.to = to - do { - let pass = try matcher.matches(expression, failureMessage: msg) - if msg.actualValue == "" { - msg.actualValue = "<\(stringify(try expression.evaluate()))>" - } - return (pass, msg) - } catch let error { - msg.stringValue = "unexpected error thrown: <\(error)>" - return (false, msg) - } -} - -// Deprecated -internal func expressionDoesNotMatch(_ expression: Expression, 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(_ expression: Expression, _ style: ExpectationStyle, _ predicate: Predicate, 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 { - - public let 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(_ matcher: U, description: String? = nil) - where U: Matcher, U.ValueType == T { - let (pass, msg) = expressionMatches(expression, matcher: matcher, to: "to", description: description) - verify(pass, msg) - } - - /// DEPRECATED: Tests the actual value using a matcher to not match. - public func toNot(_ 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(_ 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, 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, 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, description: String? = nil) { - toNot(predicate, description: description) - } - - // see: - // - AsyncMatcherWrapper for extension - // - NMBExpectation for Objective-C interface -} diff --git a/Example/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift b/Example/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift deleted file mode 100644 index 992ee0e..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift +++ /dev/null @@ -1,262 +0,0 @@ -import Foundation - -public indirect enum ExpectationMessage { - // --- Primary Expectations --- - /// includes actual value in output ("expected to , got ") - case expectedActualValueTo(/* message: */ String) - /// uses a custom actual value string in output ("expected to , got ") - case expectedCustomValueTo(/* message: */ String, /* actual: */ String) - /// excludes actual value in output ("expected to ") - case expectedTo(/* message: */ String) - /// allows any free-form 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 (" (use beNil() to match nils)") - case appends(ExpectationMessage, /* Appended Message */ String) - - /// provides long-form multi-line explainations ("\n\n") - case details(ExpectationMessage, String) - - internal var sampleMessage: String { - let asStr = toString(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 { - 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 { - 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) - } - - // 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): - failureMessage.stringValue = msg - 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 defaultMsg = FailureMessage() - if expected != defaultMsg.expected || _stringValueOverride != nil { - return .fail(stringValue) - } - - var msg: ExpectationMessage = .fail(userDescription ?? "") - if actualValue != "" && actualValue != nil { - msg = .expectedCustomValueTo(postfixMessage, actualValue ?? "") - } else if postfixMessage != defaultMsg.postfixMessage { - if actualValue == nil { - msg = .expectedTo(postfixMessage) - } else { - msg = .expectedActualValueTo(postfixMessage) - } - } - if postfixActual != defaultMsg.postfixActual { - msg = .appends(msg, postfixActual) - } - if let m = extendedMessage { - msg = .details(msg, m) - } - return msg - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - -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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Expression.swift b/Example/Pods/Nimble/Sources/Nimble/Expression.swift deleted file mode 100644 index 5a233fd..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Expression.swift +++ /dev/null @@ -1,99 +0,0 @@ -import Foundation - -// Memoizes the given closure, only calling the passed -// closure once; even if repeat calls to the returned closure -internal func memoizedClosure(_ 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 { - internal let _expression: (Bool) throws -> T? - internal let _withoutCaching: Bool - public let location: SourceLocation - public let isClosure: Bool - - /// Creates a new expression struct. Normally, expect(...) will manage this - /// creation process. The expression is memoized. - /// - /// @param expression The closure that produces a given value. - /// @param location The source location that this closure originates from. - /// @param isClosure A bool indicating if the captured expression is a - /// closure or internally produced closure. Some matchers - /// may require closures. For example, toEventually() - /// requires an explicit closure. This gives Nimble - /// flexibility if @autoclosure behavior changes between - /// Swift versions. Nimble internals always sets this true. - public init(expression: @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(_ block: @escaping (T?) throws -> U?) -> Expression { - return Expression( - expression: ({ try block(self.evaluate()) }), - location: self.location, - isClosure: self.isClosure - ) - } - - public func evaluate() throws -> T? { - return try self._expression(_withoutCaching) - } - - public func withoutCaching() -> Expression { - return Expression( - memoizedExpression: self._expression, - location: location, - withoutCaching: true, - isClosure: isClosure - ) - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift b/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift deleted file mode 100644 index 2bc57eb..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/FailureMessage.swift +++ /dev/null @@ -1,92 +0,0 @@ -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 - } - } - - 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 - } - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift deleted file mode 100644 index 8affa62..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift +++ /dev/null @@ -1,121 +0,0 @@ -import Foundation - -public func allPass - (_ passFunc: @escaping (T?) throws -> Bool) -> Predicate - 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 - (_ passName: String, _ passFunc: @escaping (T?) throws -> Bool) -> Predicate - 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(_ elementMatcher: M) -> Predicate - where S: Sequence, M: Matcher, S.Iterator.Element == M.ValueType { - return createPredicate(elementMatcher.predicate) -} - -public func allPass(_ elementPredicate: Predicate) -> Predicate - where S: Sequence { - return createPredicate(elementPredicate) -} - -private func createPredicate(_ elementMatcher: Predicate) -> Predicate - 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -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( - ({ 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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift deleted file mode 100644 index 3cba8b0..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/AsyncMatcherWrapper.swift +++ /dev/null @@ -1,236 +0,0 @@ -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(style: ExpectationStyle, predicate: Predicate, timeout: TimeInterval, poll: TimeInterval, fnName: String) -> Predicate { - 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: return PredicateResult(status: .fail, message: lastPredicateResult!.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 - return PredicateResult(status: .fail, message: lastPredicateResult!.message.appended(message: " (timed out, but main thread was unresponsive).")) - case .incomplete: - internalError("Reached .incomplete state for toEventually(...).") - } - } -} - -// Deprecated -internal struct AsyncMatcherWrapper: Matcher - where U: Matcher, U.ValueType == T { - let fullMatcher: U - let timeoutInterval: TimeInterval - let pollInterval: TimeInterval - - init(fullMatcher: U, timeoutInterval: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval) { - self.fullMatcher = fullMatcher - self.timeoutInterval = timeoutInterval - self.pollInterval = pollInterval - } - - func matches(_ actualExpression: Expression, failureMessage: FailureMessage) -> Bool { - let uncachedExpression = actualExpression.withoutCaching() - let fnName = "expect(...).toEventually(...)" - let result = pollBlock( - pollInterval: pollInterval, - timeoutInterval: timeoutInterval, - file: actualExpression.location.file, - line: actualExpression.location.line, - fnName: fnName) { - try self.fullMatcher.matches(uncachedExpression, failureMessage: failureMessage) - } - switch result { - case let .completed(isSuccessful): return isSuccessful - case .timedOut: return false - case let .errorThrown(error): - failureMessage.stringValue = "an unexpected error thrown: <\(error)>" - return false - case let .raisedException(exception): - failureMessage.stringValue = "an unexpected exception thrown: <\(exception)>" - return false - case .blockedRunLoop: - failureMessage.postfixMessage += " (timed out, but main thread was unresponsive)." - return false - case .incomplete: - internalError("Reached .incomplete state for toEventually(...).") - } - } - - func doesNotMatch(_ actualExpression: Expression, failureMessage: FailureMessage) -> Bool { - let uncachedExpression = actualExpression.withoutCaching() - let result = pollBlock( - pollInterval: pollInterval, - timeoutInterval: timeoutInterval, - file: actualExpression.location.file, - line: actualExpression.location.line, - fnName: "expect(...).toEventuallyNot(...)") { - try self.fullMatcher.doesNotMatch(uncachedExpression, failureMessage: failureMessage) - } - switch result { - case let .completed(isSuccessful): return isSuccessful - case .timedOut: return false - case let .errorThrown(error): - failureMessage.stringValue = "an unexpected error thrown: <\(error)>" - return false - case let .raisedException(exception): - failureMessage.stringValue = "an unexpected exception thrown: <\(exception)>" - return false - case .blockedRunLoop: - failureMessage.postfixMessage += " (timed out, but main thread was unresponsive)." - return false - case .incomplete: - internalError("Reached .incomplete state for toEventuallyNot(...).") - } - } -} - -private let toEventuallyRequiresClosureError = FailureMessage( - // swiftlint:disable:next line_length - stringValue: "expect(...).toEventually(...) requires an explicit closure (eg - expect { ... }.toEventually(...) )\nSwift 1.2 @autoclosure behavior has changed in an incompatible way for Nimble to function" -) - -extension Expectation { - /// Tests the actual value using a matcher to match by checking continuously - /// at each pollInterval until the timeout is reached. - /// - /// @discussion - /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function - /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. - public func toEventually(_ predicate: Predicate, 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, 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, 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(_ 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) = expressionMatches( - expression, - matcher: AsyncMatcherWrapper( - fullMatcher: matcher, - timeoutInterval: timeout, - pollInterval: pollInterval), - to: "to eventually", - description: description - ) - verify(pass, msg) - } else { - verify(false, toEventuallyRequiresClosureError) - } - } - - /// Tests the actual value using a matcher to not match by checking - /// continuously at each pollInterval until the timeout is reached. - /// - /// @discussion - /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function - /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. - public func toEventuallyNot(_ matcher: U, timeout: 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: AsyncMatcherWrapper( - fullMatcher: matcher, - timeoutInterval: timeout, - pollInterval: pollInterval), - toNot: "to eventually not", - description: description - ) - verify(pass, msg) - } else { - verify(false, toEventuallyRequiresClosureError) - } - } - - /// Tests the actual value using a matcher to not match by checking - /// continuously at each pollInterval until the timeout is reached. - /// - /// Alias of toEventuallyNot() - /// - /// @discussion - /// This function manages the main run loop (`NSRunLoop.mainRunLoop()`) while this function - /// is executing. Any attempts to touch the run loop may cause non-deterministic behavior. - public func toNotEventually(_ matcher: U, timeout: 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) - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift deleted file mode 100644 index 5674525..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift +++ /dev/null @@ -1,68 +0,0 @@ -import Foundation - -private func matcherMessage(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(_ expectedType: T.Type) -> Predicate { - return Predicate.define { actualExpression in - let message: ExpectationMessage - - let instance = try actualExpression.evaluate() - guard let validInstance = instance else { - message = .expectedCustomValueTo(matcherMessage(forType: expectedType), "") - 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - -/// 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 { - 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), - "" - ) - } - - return PredicateResult(status: status, message: message) - } -} - -extension NMBObjCMatcher { - @objc public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - return try! beAKindOf(expected).matches(actualExpression, failureMessage: failureMessage) - } - } -} - -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift deleted file mode 100644 index 70c5661..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift +++ /dev/null @@ -1,56 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is an _exact_ instance of the given class. -public func beAnInstanceOf(_ expectedType: T.Type) -> Predicate { - 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 { - 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 = "" - } - #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - return try! beAnInstanceOf(expected).matches(actualExpression, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift deleted file mode 100644 index dfb4e28..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift +++ /dev/null @@ -1,126 +0,0 @@ -import Foundation - -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 { - 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 { - return Predicate.define { actualExpression in - return isCloseTo(try actualExpression.evaluate(), expectedValue: expectedValue, delta: delta) - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -public class NMBObjCBeCloseToMatcher: NSObject, NMBMatcher { - var _expected: NSNumber - var _delta: CDouble - 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 matcher = beCloseTo(self._expected, within: self._delta) - return try! matcher.matches(expr, failureMessage: failureMessage) - } - - @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 matcher = beCloseTo(self._expected, within: self._delta) - return try! matcher.doesNotMatch(expr, failureMessage: failureMessage) - } - - @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 - -public func ≈(lhs: Expectation<[Double]>, rhs: [Double]) { - lhs.to(beCloseTo(rhs)) -} - -public func ≈(lhs: Expectation, rhs: NMBDoubleConvertible) { - lhs.to(beCloseTo(rhs)) -} - -public func ≈(lhs: Expectation, rhs: (expected: NMBDoubleConvertible, delta: Double)) { - lhs.to(beCloseTo(rhs.expected, within: rhs.delta)) -} - -public func == (lhs: Expectation, rhs: (expected: NMBDoubleConvertible, delta: Double)) { - lhs.to(beCloseTo(rhs.expected, within: rhs.delta)) -} - -// make this higher precedence than exponents so the Doubles either end aren't pulled in -// unexpectantly -precedencegroup PlusMinusOperatorPrecedence { - higherThan: BitwiseShiftPrecedence -} - -infix operator ± : PlusMinusOperatorPrecedence -public func ±(lhs: NMBDoubleConvertible, rhs: Double) -> (expected: NMBDoubleConvertible, delta: Double) { - return (expected: lhs, delta: rhs) -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift deleted file mode 100644 index 3cbc15d..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift +++ /dev/null @@ -1,95 +0,0 @@ -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() -> Predicate { - return Predicate.simple("be empty") { actualExpression in - let actualSeq = try actualExpression.evaluate() - if actualSeq == nil { - return .fail - } - var generator = actualSeq!.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() -> Predicate { - 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 { - 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 { - 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 { - 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 { - return Predicate.simple("be empty") { actualExpression in - let actual = try actualExpression.evaluate() - return PredicateStatus(bool: actual == nil || actual!.count == 0) - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift deleted file mode 100644 index 8717f97..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift +++ /dev/null @@ -1,42 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is greater than the expected value. -public func beGreaterThan(_ expectedValue: T?) -> Predicate { - 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 - } -} - -/// A Nimble matcher that succeeds when the actual value is greater than the expected value. -public func beGreaterThan(_ expectedValue: NMBComparable?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be greater than <\(stringify(expectedValue))>" - let actualValue = try actualExpression.evaluate() - let matches = actualValue != nil - && actualValue!.NMB_compare(expectedValue) == ComparisonResult.orderedDescending - return matches - }.requireNonNil -} - -public func >(lhs: Expectation, rhs: T) { - lhs.to(beGreaterThan(rhs)) -} - -public func > (lhs: Expectation, rhs: NMBComparable?) { - lhs.to(beGreaterThan(rhs)) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let expr = actualExpression.cast { $0 as? NMBComparable } - return try! beGreaterThan(expected).matches(expr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift deleted file mode 100644 index 55d8e7b..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift +++ /dev/null @@ -1,44 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is greater than -/// or equal to the expected value. -public func beGreaterThanOrEqualTo(_ expectedValue: T?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be greater than or equal to <\(stringify(expectedValue))>" - let actualValue = try actualExpression.evaluate() - if let actual = actualValue, let expected = expectedValue { - return actual >= expected - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual value is greater than -/// or equal to the expected value. -public func beGreaterThanOrEqualTo(_ expectedValue: T?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be greater than or equal to <\(stringify(expectedValue))>" - let actualValue = try actualExpression.evaluate() - let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) != ComparisonResult.orderedAscending - return matches - }.requireNonNil -} - -public func >=(lhs: Expectation, rhs: T) { - lhs.to(beGreaterThanOrEqualTo(rhs)) -} - -public func >=(lhs: Expectation, rhs: T) { - lhs.to(beGreaterThanOrEqualTo(rhs)) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let expr = actualExpression.cast { $0 as? NMBComparable } - return try! beGreaterThanOrEqualTo(expected).matches(expr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift deleted file mode 100644 index ad19def..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift +++ /dev/null @@ -1,46 +0,0 @@ -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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - #if os(Linux) - let actual = try actualExpression.evaluate() as? AnyObject - #else - let actual = try actualExpression.evaluate() as AnyObject? - #endif - failureMessage.actualValue = "\(identityAsString(actual))" - failureMessage.postfixMessage = "be identical to \(identityAsString(expected))" - #if os(Linux) - return actual === (expected as? AnyObject) && actual !== nil - #else - return actual === (expected as AnyObject?) && actual !== nil - #endif - }.requireNonNil -} - -public func === (lhs: Expectation, rhs: Any?) { - lhs.to(beIdenticalTo(rhs)) -} -public func !== (lhs: Expectation, 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 { - return beIdenticalTo(expected) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let aExpr = actualExpression.cast { $0 as Any? } - return try! beIdenticalTo(expected).matches(aExpr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift deleted file mode 100644 index 8047efd..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift +++ /dev/null @@ -1,41 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is less than the expected value. -public func beLessThan(_ expectedValue: T?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be less than <\(stringify(expectedValue))>" - if let actual = try actualExpression.evaluate(), let expected = expectedValue { - return actual < expected - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual value is less than the expected value. -public func beLessThan(_ expectedValue: NMBComparable?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be less than <\(stringify(expectedValue))>" - let actualValue = try actualExpression.evaluate() - let matches = actualValue != nil && actualValue!.NMB_compare(expectedValue) == ComparisonResult.orderedAscending - return matches - }.requireNonNil -} - -public func <(lhs: Expectation, rhs: T) { - lhs.to(beLessThan(rhs)) -} - -public func < (lhs: Expectation, rhs: NMBComparable?) { - lhs.to(beLessThan(rhs)) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let expr = actualExpression.cast { $0 as? NMBComparable } - return try! beLessThan(expected).matches(expr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift deleted file mode 100644 index 098a852..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift +++ /dev/null @@ -1,42 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is less than -/// or equal to the expected value. -public func beLessThanOrEqualTo(_ expectedValue: T?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be less than or equal to <\(stringify(expectedValue))>" - if let actual = try actualExpression.evaluate(), let expected = expectedValue { - return actual <= expected - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual value is less than -/// or equal to the expected value. -public func beLessThanOrEqualTo(_ expectedValue: T?) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be less than or equal to <\(stringify(expectedValue))>" - let actualValue = try actualExpression.evaluate() - return actualValue != nil && actualValue!.NMB_compare(expectedValue) != ComparisonResult.orderedDescending - }.requireNonNil -} - -public func <=(lhs: Expectation, rhs: T) { - lhs.to(beLessThanOrEqualTo(rhs)) -} - -public func <=(lhs: Expectation, rhs: T) { - lhs.to(beLessThanOrEqualTo(rhs)) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil:false) { actualExpression, failureMessage in - let expr = actualExpression.cast { $0 as? NMBComparable } - return try! beLessThanOrEqualTo(expected).matches(expr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift deleted file mode 100644 index 2b18b4c..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift +++ /dev/null @@ -1,167 +0,0 @@ -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(_ matcher: Predicate, failureMessage message: ExpectationMessage) -> Predicate { - 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 { - 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 { - 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() -> Predicate { - return Predicate.simpleNilable("be truthy") { actualExpression in - let actualValue = try actualExpression.evaluate() - if let actualValue = actualValue { - // FIXME: This is a workaround to SR-2290. - // See: - // - https://bugs.swift.org/browse/SR-2290 - // - https://github.com/norio-nomura/Nimble/pull/5#issuecomment-237835873 - if let number = actualValue as? NSNumber { - return PredicateStatus(bool: number.boolValue == true) - } - - 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() -> Predicate { - return Predicate.simpleNilable("be falsy") { actualExpression in - let actualValue = try actualExpression.evaluate() - if let actualValue = actualValue { - // FIXME: This is a workaround to SR-2290. - // See: - // - https://bugs.swift.org/browse/SR-2290 - // - https://github.com/norio-nomura/Nimble/pull/5#issuecomment-237835873 - if let number = actualValue as? NSNumber { - return PredicateStatus(bool: number.boolValue == false) - } - - return PredicateStatus(bool: actualValue == (false as T)) - } - return PredicateStatus(bool: actualValue == nil) - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beTruthyMatcher() -> NMBObjCMatcher { - return NMBObjCMatcher { actualExpression, failureMessage in - let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false } - return try! beTruthy().matches(expr, failureMessage: failureMessage) - } - } - - @objc public class func beFalsyMatcher() -> NMBObjCMatcher { - return NMBObjCMatcher { actualExpression, failureMessage in - let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false } - return try! beFalsy().matches(expr, failureMessage: failureMessage) - } - } - - @objc public class func beTrueMatcher() -> NMBObjCMatcher { - return NMBObjCMatcher { actualExpression, failureMessage in - let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false } - return try! beTrue().matches(expr, failureMessage: failureMessage) - } - } - - @objc public class func beFalseMatcher() -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let expr = actualExpression.cast { ($0 as? NSNumber)?.boolValue ?? false } - return try! beFalse().matches(expr, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift deleted file mode 100644 index a22e0f4..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift +++ /dev/null @@ -1,19 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is nil. -public func beNil() -> Predicate { - return Predicate.simpleNilable("be nil") { actualExpression in - let actualValue = try actualExpression.evaluate() - return PredicateStatus(bool: actualValue == nil) - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beNilMatcher() -> NMBObjCMatcher { - return NMBObjCMatcher { actualExpression, failureMessage in - return try! beNil().matches(actualExpression, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift deleted file mode 100644 index f5bf22a..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift +++ /dev/null @@ -1,18 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is Void. -public func beVoid() -> Predicate<()> { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "be void" - let actualValue: ()? = try actualExpression.evaluate() - return actualValue != nil - } -} - -public func == (lhs: Expectation<()>, rhs: ()) { - lhs.to(beVoid()) -} - -public func != (lhs: Expectation<()>, rhs: ()) { - lhs.toNot(beVoid()) -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift deleted file mode 100644 index c2ab568..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift +++ /dev/null @@ -1,60 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual sequence's first element -/// is equal to the expected value. -public func beginWith(_ startingElement: T) -> Predicate - 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 { - 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 { - return Predicate.simple("begin with <\(startingSubstring)>") { actualExpression in - if let actual = try actualExpression.evaluate() { - let range = actual.range(of: startingSubstring) - return PredicateStatus(bool: range != nil && range!.lowerBound == actual.startIndex) - } - return .fail - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func beginWithMatcher(_ expected: Any) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let actual = try! actualExpression.evaluate() - if (actual as? String) != nil { - let expr = actualExpression.cast { $0 as? String } - return try! beginWith(expected as! String).matches(expr, failureMessage: failureMessage) - } else { - let expr = actualExpression.cast { $0 as? NMBOrderedCollection } - return try! beginWith(expected).matches(expr, failureMessage: failureMessage) - } - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift deleted file mode 100644 index f1afb72..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift +++ /dev/null @@ -1,95 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual sequence contains the expected value. -public func contain(_ items: T...) -> Predicate - where S.Iterator.Element == T { - return contain(items) -} - -public func contain(_ items: [T]) -> Predicate - where S.Iterator.Element == T { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "contain <\(arrayAsString(items))>" - if let actual = try actualExpression.evaluate() { - return items.all { - return actual.contains($0) - } - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual string contains the expected substring. -public func contain(_ substrings: String...) -> Predicate { - return contain(substrings) -} - -public func contain(_ substrings: [String]) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "contain <\(arrayAsString(substrings))>" - if let actual = try actualExpression.evaluate() { - return substrings.all { - let range = actual.range(of: $0) - return range != nil && !range!.isEmpty - } - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual string contains the expected substring. -public func contain(_ substrings: NSString...) -> Predicate { - return contain(substrings) -} - -public func contain(_ substrings: [NSString]) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "contain <\(arrayAsString(substrings))>" - if let actual = try actualExpression.evaluate() { - return substrings.all { actual.range(of: $0.description).length != 0 } - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual collection contains the expected object. -public func contain(_ items: Any?...) -> Predicate { - return contain(items) -} - -public func contain(_ items: [Any?]) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "contain <\(arrayAsString(items))>" - guard let actual = try actualExpression.evaluate() else { return false } - return items.all { item in - return item != nil && actual.contains(item!) - } - }.requireNonNil -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func containMatcher(_ expected: [NSObject]) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let location = actualExpression.location - let actualValue = try! actualExpression.evaluate() - if let value = actualValue as? NMBContainer { - let expr = Expression(expression: ({ value as NMBContainer }), location: location) - - // A straightforward cast on the array causes this to crash, so we have to cast the individual items - let expectedOptionals: [Any?] = expected.map({ $0 as Any? }) - return try! contain(expectedOptionals).matches(expr, failureMessage: failureMessage) - } else if let value = actualValue as? NSString { - let expr = Expression(expression: ({ value as String }), location: location) - return try! contain(expected as! [String]).matches(expr, failureMessage: failureMessage) - } else if actualValue != nil { - // swiftlint:disable:next line_length - failureMessage.postfixMessage = "contain <\(arrayAsString(expected))> (only works for NSArrays, NSSets, NSHashTables, and NSStrings)" - } else { - failureMessage.postfixMessage = "contain <\(arrayAsString(expected))>" - } - return false - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift deleted file mode 100644 index ae0d854..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift +++ /dev/null @@ -1,60 +0,0 @@ -import Foundation - -public func containElementSatisfying(_ predicate: @escaping ((T) -> Bool), _ predicateDescription: String = "") -> Predicate where S.Iterator.Element == T { - - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.actualValue = nil - - if predicateDescription == "" { - failureMessage.postfixMessage = "find object in collection that satisfies predicate" - } else { - failureMessage.postfixMessage = "find object in collection \(predicateDescription)" - } - - if let sequence = try actualExpression.evaluate() { - for object in sequence { - if predicate(object) { - return true - } - } - - return false - } - - return false - }.requireNonNil -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - extension NMBObjCMatcher { - @objc public class func containElementSatisfyingMatcher(_ predicate: @escaping ((NSObject) -> Bool)) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let value = try! actualExpression.evaluate() - guard let enumeration = value as? NSFastEnumeration else { - // swiftlint:disable:next line_length - failureMessage.postfixMessage = "containElementSatisfying must be provided an NSFastEnumeration object" - failureMessage.actualValue = nil - failureMessage.expected = "" - failureMessage.to = "" - return false - } - - var iterator = NSFastEnumerationIterator(enumeration) - while let item = iterator.next() { - guard let object = item as? NSObject else { - continue - } - - if predicate(object) { - return true - } - } - - failureMessage.actualValue = nil - failureMessage.postfixMessage = "" - failureMessage.to = "to find object in collection that satisfies predicate" - return false - } - } - } -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift deleted file mode 100644 index a6f9f91..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift +++ /dev/null @@ -1,72 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual sequence's last element -/// is equal to the expected value. -public func endWith(_ endingElement: T) -> Predicate - where S.Iterator.Element == T { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "end with <\(endingElement)>" - - 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 lastItem == endingElement - } - return false - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual collection's last element -/// is equal to the expected object. -public func endWith(_ endingElement: Any) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "end with <\(endingElement)>" - guard let collection = try actualExpression.evaluate() else { return false } - guard collection.count > 0 else { return false } - #if os(Linux) - guard let collectionValue = collection.object(at: collection.count - 1) as? NSObject else { - return false - } - #else - let collectionValue = collection.object(at: collection.count - 1) as AnyObject - #endif - - return collectionValue.isEqual(endingElement) - }.requireNonNil -} - -/// 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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "end with <\(endingSubstring)>" - if let collection = try actualExpression.evaluate() { - return collection.hasSuffix(endingSubstring) - } - return false - }.requireNonNil -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func endWithMatcher(_ expected: Any) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let actual = try! actualExpression.evaluate() - if (actual as? String) != nil { - let expr = actualExpression.cast { $0 as? String } - return try! endWith(expected as! String).matches(expr, failureMessage: failureMessage) - } else { - let expr = actualExpression.cast { $0 as? NMBOrderedCollection } - return try! endWith(expected).matches(expr, failureMessage: failureMessage) - } - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift deleted file mode 100644 index 9467154..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift +++ /dev/null @@ -1,220 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value is equal to the expected value. -/// Values can support equal by supporting the Equatable protocol. -/// -/// @see beCloseTo if you want to match imprecise types (eg - floats, doubles). -public func equal(_ expectedValue: T?) -> Predicate { - 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(status: PredicateStatus(bool: matches), message: msg) - } -} - -/// A Nimble matcher that succeeds when the actual value is equal to the expected value. -/// Values can support equal by supporting the Equatable protocol. -/// -/// @see beCloseTo if you want to match imprecise types (eg - floats, doubles). -public func equal(_ expectedValue: [T: C]?) -> Predicate<[T: C]> { - return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in - let actualValue = try actualExpression.evaluate() - 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( - status: PredicateStatus(bool: expectedValue! == actualValue!), - message: msg - ) - } -} - -/// A Nimble matcher that succeeds when the actual collection is equal to the expected collection. -/// Items must implement the Equatable protocol. -public func equal(_ expectedValue: [T]?) -> Predicate<[T]> { - return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in - let actualValue = try actualExpression.evaluate() - 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: expectedValue! == actualValue!, - message: msg - ) - } -} - -/// A Nimble matcher allowing comparison of collection with optional type -public func equal(_ expectedValue: [T?]) -> Predicate<[T?]> { - return Predicate.define("equal <\(stringify(expectedValue))>") { actualExpression, msg in - if let actualValue = try actualExpression.evaluate() { - let doesNotMatch = PredicateResult( - status: .doesNotMatch, - message: msg - ) - - if expectedValue.count != actualValue.count { - return doesNotMatch - } - - for (index, item) in actualValue.enumerated() { - let otherItem = expectedValue[index] - if item == nil && otherItem == nil { - continue - } else if item == nil && otherItem != nil { - return doesNotMatch - } else if item != nil && otherItem == nil { - return doesNotMatch - } else if item! != otherItem! { - return doesNotMatch - } - } - - return PredicateResult( - status: .matches, - message: msg - ) - } else { - return PredicateResult( - status: .fail, - message: msg.appendedBeNilHint() - ) - } - } -} - -/// A Nimble matcher that succeeds when the actual set is equal to the expected set. -public func equal(_ expectedValue: Set?) -> Predicate> { - return equal(expectedValue, stringify: { stringify($0) }) -} - -/// A Nimble matcher that succeeds when the actual set is equal to the expected set. -public func equal(_ expectedValue: Set?) -> Predicate> { - return equal(expectedValue, stringify: { - if let set = $0 { - return stringify(Array(set).sorted { $0 < $1 }) - } else { - return "nil" - } - }) -} - -private func equal(_ expectedValue: Set?, stringify: @escaping (Set?) -> String) -> Predicate> { - return Predicate { actualExpression in - var errorMessage: ExpectationMessage = - .expectedActualValueTo("equal <\(stringify(expectedValue))>") - - if let expectedValue = expectedValue { - if let actualValue = try actualExpression.evaluate() { - 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 - ) - } - return PredicateResult( - status: .fail, - message: errorMessage.appendedBeNilHint() - ) - } else { - return PredicateResult( - status: .fail, - message: errorMessage.appendedBeNilHint() - ) - } - } -} - -public func ==(lhs: Expectation, rhs: T?) { - lhs.to(equal(rhs)) -} - -public func !=(lhs: Expectation, rhs: T?) { - lhs.toNot(equal(rhs)) -} - -public func ==(lhs: Expectation<[T]>, rhs: [T]?) { - lhs.to(equal(rhs)) -} - -public func !=(lhs: Expectation<[T]>, rhs: [T]?) { - lhs.toNot(equal(rhs)) -} - -public func == (lhs: Expectation>, rhs: Set?) { - lhs.to(equal(rhs)) -} - -public func != (lhs: Expectation>, rhs: Set?) { - lhs.toNot(equal(rhs)) -} - -public func ==(lhs: Expectation>, rhs: Set?) { - lhs.to(equal(rhs)) -} - -public func !=(lhs: Expectation>, rhs: Set?) { - lhs.toNot(equal(rhs)) -} - -public func ==(lhs: Expectation<[T: C]>, rhs: [T: C]?) { - lhs.to(equal(rhs)) -} - -public func !=(lhs: Expectation<[T: C]>, rhs: [T: C]?) { - lhs.toNot(equal(rhs)) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func equalMatcher(_ expected: NSObject) -> NMBMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - return try! equal(expected).matches(actualExpression, failureMessage: failureMessage) - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift deleted file mode 100644 index 93335a8..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift +++ /dev/null @@ -1,59 +0,0 @@ -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(_ expectedValue: T.IndexDistance) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - if let actualValue = try actualExpression.evaluate() { - // swiftlint:disable:next line_length - failureMessage.postfixMessage = "have \(prettyCollectionType(actualValue)) with count \(stringify(expectedValue))" - let result = expectedValue == actualValue.count - failureMessage.actualValue = "\(actualValue.count)" - failureMessage.extendedMessage = "Actual Value: \(stringify(actualValue))" - return result - } else { - return false - } - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual collection's count equals -/// the expected value -public func haveCount(_ expectedValue: Int) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - if let actualValue = try actualExpression.evaluate() { - // swiftlint:disable:next line_length - failureMessage.postfixMessage = "have \(prettyCollectionType(actualValue)) with count \(stringify(expectedValue))" - let result = expectedValue == actualValue.count - failureMessage.actualValue = "\(actualValue.count)" - failureMessage.extendedMessage = "Actual Value: \(stringify(actualValue))" - return result - } else { - return false - } - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -extension NMBObjCMatcher { - @objc public class func haveCountMatcher(_ expected: NSNumber) -> NMBObjCMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let location = actualExpression.location - let actualValue = try! actualExpression.evaluate() - if let value = actualValue as? NMBCollection { - let expr = Expression(expression: ({ value as NMBCollection}), location: location) - return try! haveCount(expected.intValue).matches(expr, failureMessage: failureMessage) - } else if let actualValue = actualValue { - failureMessage.postfixMessage = "get type of NSArray, NSSet, NSDictionary, or NSHashTable" - failureMessage.actualValue = "\(String(describing: type(of: actualValue)))" - } - return false - } - } -} -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift deleted file mode 100644 index 1e5762f..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/Match.swift +++ /dev/null @@ -1,30 +0,0 @@ -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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - failureMessage.postfixMessage = "match <\(stringify(expectedValue))>" - - if let actual = try actualExpression.evaluate() { - if let regexp = expectedValue { - return actual.range(of: regexp, options: .regularExpression) != nil - } - } - - return false - }.requireNonNil -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - -extension NMBObjCMatcher { - @objc public class func matchMatcher(_ expected: NSString) -> NMBMatcher { - return NMBObjCMatcher(canMatchNil: false) { actualExpression, failureMessage in - let actual = actualExpression.cast { $0 as? String } - return try! match(expected.description).matches(actual, failureMessage: failureMessage) - } - } -} - -#endif diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift deleted file mode 100644 index 9c86fb7..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift +++ /dev/null @@ -1,58 +0,0 @@ -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(_ error: T) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - let actualError: Error? = try actualExpression.evaluate() - - setFailureMessageForError(failureMessage, postfixMessageVerb: "match", actualError: actualError, error: error) - var matches = false - if let actualError = actualError, errorMatchesExpectedError(actualError, expectedError: error) { - matches = true - } - return matches - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual expression evaluates to an -/// error from the specified case. -/// -/// Errors are tried to be compared by their implementation of Equatable, -/// otherwise they fallback to comparision by _domain and _code. -public func matchError(_ error: T) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - let actualError: Error? = try actualExpression.evaluate() - - setFailureMessageForError(failureMessage, postfixMessageVerb: "match", actualError: actualError, error: error) - - var matches = false - if let actualError = actualError as? T, error == actualError { - matches = true - } - return matches - }.requireNonNil -} - -/// A Nimble matcher that succeeds when the actual expression evaluates to an -/// error of the specified type -public func matchError(_ errorType: T.Type) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - let actualError: Error? = try actualExpression.evaluate() - - setFailureMessageForError( - failureMessage, - postfixMessageVerb: "match", - actualError: actualError, - errorType: errorType - ) - var matches = false - if actualError as? T != nil { - matches = true - } - return matches - }.requireNonNil -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift deleted file mode 100644 index abcafa9..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift +++ /dev/null @@ -1,85 +0,0 @@ -/// 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: Matcher { - public let matcher: (Expression, FailureMessage) throws -> Bool - - public init(_ matcher: @escaping (Expression, FailureMessage) throws -> Bool) { - self.matcher = matcher - } - - public func matches(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { - return try matcher(actualExpression, failureMessage) - } - - public func doesNotMatch(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { - return try !matcher(actualExpression, failureMessage) - } - - /// 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 { - 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: Matcher { - public let matcher: (Expression, FailureMessage) throws -> Bool - - public init(_ matcher: @escaping (Expression, FailureMessage) throws -> Bool) { - self.matcher = matcher - } - - public func matches(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { - let pass = try matcher(actualExpression, failureMessage) - if try attachNilErrorIfNeeded(actualExpression, failureMessage: failureMessage) { - return false - } - return pass - } - - public func doesNotMatch(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { - let pass = try !matcher(actualExpression, failureMessage) - if try attachNilErrorIfNeeded(actualExpression, failureMessage: failureMessage) { - return false - } - return pass - } - - internal func attachNilErrorIfNeeded(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool { - if try actualExpression.evaluate() == nil { - failureMessage.postfixActual = " (use beNil() to match nils)" - return true - } - return false - } - - /// 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 { - return Predicate.fromDeprecatedMatcher(self) - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift deleted file mode 100644 index fff3c77..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift +++ /dev/null @@ -1,154 +0,0 @@ -import Foundation -// `CGFloat` is in Foundation (swift-corelibs-foundation) on Linux. -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - 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, failureMessage: FailureMessage) throws -> Bool - func doesNotMatch(_ actualExpression: Expression, failureMessage: FailureMessage) throws -> Bool -} - -extension Matcher { - var predicate: Predicate { - return Predicate.fromDeprecatedMatcher(self) - } - - var toClosure: (Expression, 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -/// 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -// 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -@objc public protocol NMBComparable { - func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult -} -#else -// This should become obsolete once Corelibs Foundation adds Comparable conformance to NSNumber -public protocol NMBComparable { - func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult -} -#endif - -extension NSNumber : NMBComparable { - public func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult { - return compare(otherObject as! NSNumber) - } -} -extension NSString : NMBComparable { - public func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult { - return compare(otherObject as! String) - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift deleted file mode 100644 index 8288bb0..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift +++ /dev/null @@ -1,68 +0,0 @@ -import Foundation - -internal class NotificationCollector { - private(set) var observedNotifications: [Notification] - private let notificationCenter: NotificationCenter - #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - private var token: AnyObject? - #else - private var token: NSObjectProtocol? - #endif - - required init(notificationCenter: NotificationCenter) { - self.notificationCenter = notificationCenter - self.observedNotifications = [] - } - - func startObserving() { - self.token = self.notificationCenter.addObserver(forName: nil, object: nil, queue: nil) { [weak self] n in - // linux-swift gets confused by .append(n) - self?.observedNotifications.append(n) - } - } - - deinit { - #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - if let token = self.token { - self.notificationCenter.removeObserver(token) - } - #else - if let token = self.token as? AnyObject { - self.notificationCenter.removeObserver(token) - } - #endif - } -} - -private let mainThread = pthread_self() - -public func postNotifications( - _ notificationsMatcher: T, - fromNotificationCenter center: NotificationCenter = .default) - -> Predicate - 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.fromDeprecatedClosure { actualExpression, failureMessage in - let collectorNotificationsExpression = Expression(memoizedExpression: { _ in - return collector.observedNotifications - }, location: actualExpression.location, withoutCaching: true) - - assert(pthread_equal(mainThread, pthread_self()) != 0, "Only expecting closure to be evaluated on main thread.") - if !once { - once = true - _ = try actualExpression.evaluate() - } - - let match = try notificationsMatcher.matches(collectorNotificationsExpression, failureMessage: failureMessage) - if collector.observedNotifications.isEmpty { - failureMessage.actualValue = "no notifications" - } else { - failureMessage.actualValue = "<\(stringify(collector.observedNotifications))>" - } - return match - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift deleted file mode 100644 index e48d164..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift +++ /dev/null @@ -1,348 +0,0 @@ -// 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 { - fileprivate var matcher: (Expression) throws -> PredicateResult - - /// Constructs a predicate that knows how take a given value - public init(_ matcher: @escaping (Expression) 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) 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) throws -> PredicateResult) -> Predicate { - return Predicate { 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, ExpectationMessage) throws -> PredicateResult) -> Predicate { - return Predicate { 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, ExpectationMessage) throws -> PredicateResult) -> Predicate { - return Predicate { 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) throws -> PredicateStatus) -> Predicate { - return Predicate { 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) throws -> PredicateStatus) -> Predicate { - return Predicate { actual in - return PredicateResult(status: try matcher(actual), message: .expectedActualValueTo(msg)) - } - } -} - -// Question: Should this be exposed? It's safer to not for now and decide later. -internal 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. - var status: PredicateStatus - /// The error message that can be displayed if it does not match - 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 - internal 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, 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, 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(_ 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, 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, 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, PredicateResult) throws -> PredicateResult) -> Predicate { - 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 { - return after { actual, result in - if try actual.evaluate() == nil { - return PredicateResult( - status: .fail, - message: result.message.appendedBeNilHint() - ) - } - return result - } - } -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -public typealias PredicateBlock = (_ actualExpression: Expression) -> NMBPredicateResult - -public class NMBPredicate: NSObject { - private let predicate: PredicateBlock - - public init(predicate: @escaping PredicateBlock) { - self.predicate = predicate - } - - func satisfies(_ expression: @escaping () -> NSObject!, location: SourceLocation) -> NMBPredicateResult { - let expr = Expression(expression: expression, location: location) - return self.predicate(expr) - } -} - -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 hashValue: 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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift deleted file mode 100644 index 60553bd..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift +++ /dev/null @@ -1,198 +0,0 @@ -import Foundation - -// This matcher requires the Objective-C, and being built by Xcode rather than the Swift Package Manager -#if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var exception: NSException? - let capture = NMBExceptionCapture(handler: ({ e in - exception = e - }), finally: nil) - - capture.tryBlock { - _ = try! actualExpression.evaluate() - return - } - - setFailureMessageForException( - failureMessage, - exception: exception, - named: named, - reason: reason, - userInfo: userInfo, - closure: closure - ) - return exceptionMatchesNonNilFieldsOrClosure( - exception, - named: named, - reason: reason, - userInfo: userInfo, - closure: closure - ) - } -} - -// 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 { - internal var _name: String? - internal var _reason: String? - internal var _userInfo: NSDictionary? - internal var _block: ((NSException) -> Void)? - - internal init(name: String?, reason: String?, userInfo: NSDictionary?, block: ((NSException) -> Void)?) { - _name = name - _reason = reason - _userInfo = userInfo - _block = block - } - - @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) - - return try! raiseException( - named: _name, - reason: _reason, - userInfo: _userInfo, - closure: _block - ).matches(expr, failureMessage: failureMessage) - } - - @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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift deleted file mode 100644 index d02a0ff..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift +++ /dev/null @@ -1,109 +0,0 @@ -import Foundation - -/// A Nimble matcher that succeeds when the actual value matches with any of the matchers -/// provided in the variable list of matchers. -public func satisfyAnyOf(_ matchers: U...) -> Predicate - where U: Matcher, U.ValueType == T { - return satisfyAnyOf(matchers) -} - -/// Deprecated. Please use `satisfyAnyOf(_) -> Predicate` instead. -internal func satisfyAnyOf(_ matchers: [U]) -> Predicate - where U: Matcher, U.ValueType == T { - return NonNilMatcherFunc { actualExpression, failureMessage in - let postfixMessages = NSMutableArray() - var matches = false - for matcher in matchers { - if try matcher.matches(actualExpression, failureMessage: failureMessage) { - matches = true - } - postfixMessages.add(NSString(string: "{\(failureMessage.postfixMessage)}")) - } - - failureMessage.postfixMessage = "match one of: " + postfixMessages.componentsJoined(by: ", or ") - if let actualValue = try actualExpression.evaluate() { - failureMessage.actualValue = "\(actualValue)" - } - - return matches - }.predicate -} - -internal func satisfyAnyOf(_ predicates: [Predicate]) -> Predicate { - return Predicate { 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( - status: PredicateStatus(bool: matches), - message: msg - ) - }.requireNonNil -} - -public func || (left: Predicate, right: Predicate) -> Predicate { - return satisfyAnyOf(left, right) -} - -public func || (left: NonNilMatcherFunc, right: NonNilMatcherFunc) -> Predicate { - return satisfyAnyOf(left, right) -} - -public func || (left: MatcherFunc, right: MatcherFunc) -> Predicate { - return satisfyAnyOf(left, right) -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -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]() - for matcher in matchers { - let elementEvaluator = Predicate { 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() - // swiftlint:disable:next line_length - let success = matcher.matches({ 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 diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift deleted file mode 100644 index a530c60..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift +++ /dev/null @@ -1,56 +0,0 @@ -import Foundation - -public func throwAssertion() -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - #if arch(x86_64) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - failureMessage.postfixMessage = "throw an assertion" - failureMessage.actualValue = nil - - var succeeded = true - - 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 let error { - succeeded = false - failureMessage.postfixMessage += "; threw error instead <\(error)>" - } - } - - if !succeeded { - return false - } - - if caughtException == nil { - return false - } - - return true - #elseif SWIFT_PACKAGE - fatalError("The throwAssertion Nimble matcher does not currently support Swift CLI." + - " You can silence this error by placing the test case inside an #if !SWIFT_PACKAGE" + - " conditional statement") - #else - fatalError("The throwAssertion Nimble matcher can only run on x86_64 platforms with " + - "Objective-C (e.g. Mac, iPhone 5s or later simulators). You can silence this error " + - "by placing the test case inside an #if arch(x86_64) or (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) conditional statement") - // swiftlint:disable:previous line_length - #endif - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift deleted file mode 100644 index 872ca5c..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift +++ /dev/null @@ -1,258 +0,0 @@ -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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - failureMessage.postfixMessage = "throw any error" - if let actualError = actualError { - failureMessage.actualValue = "<\(actualError)>" - } else { - failureMessage.actualValue = "no error" - } - return actualError != nil - } -} - -/// A Nimble matcher that succeeds when the actual expression throws an -/// error of the specified type or from the specified case. -/// -/// Errors are tried to be compared by their implementation of Equatable, -/// otherwise they fallback to comparision by _domain and _code. -/// -/// Alternatively, you can pass a closure to do any arbitrary custom matching -/// to the thrown error. The closure only gets called when an error was thrown. -/// -/// nil arguments indicates that the matcher should not attempt to match against -/// that parameter. -public func throwError(_ error: T, closure: ((Error) -> Void)? = nil) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - 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.count > 0 { - matches = false - } - } - } - return matches - } -} - -/// A Nimble matcher that succeeds when the actual expression throws an -/// error of the specified type or from the specified case. -/// -/// Errors are tried to be compared by their implementation of Equatable, -/// otherwise they fallback to comparision by _domain and _code. -/// -/// Alternatively, you can pass a closure to do any arbitrary custom matching -/// to the thrown error. The closure only gets called when an error was thrown. -/// -/// nil arguments indicates that the matcher should not attempt to match against -/// that parameter. -public func throwError(_ error: T, closure: ((T) -> Void)? = nil) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - 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.count > 0 { - matches = false - } - } - } - return matches - } -} - -/// 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( - errorType: T.Type, - closure: ((T) -> Void)? = nil) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - 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.count > 0 { - 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.count > 0 { - matches = false - } - } - } - } - - return matches - } -} - -/// 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 { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - 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.count > 0 { - matches = false - } - } - return matches - } -} - -/// 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 ((T) -> Void)) -> Predicate { - return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in - - var actualError: Error? - do { - _ = try actualExpression.evaluate() - } catch let catchedError { - actualError = catchedError - } - - 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.count > 0 { - matches = false - } - } - return matches - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift b/Example/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift deleted file mode 100644 index 01369bb..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift +++ /dev/null @@ -1,37 +0,0 @@ -/** - 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 ")) - } - - switch actual() { - case .succeeded: - return PredicateResult( - bool: true, - message: .expectedCustomValueTo("succeed", "") - ) - case .failed(let reason): - return PredicateResult( - bool: false, - message: .expectedCustomValueTo("succeed", " because <\(reason)>") - ) - } - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Nimble.h b/Example/Pods/Nimble/Sources/Nimble/Nimble.h deleted file mode 100644 index bd45c5d..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Nimble.h +++ /dev/null @@ -1,9 +0,0 @@ -#import -#import "NMBExceptionCapture.h" -#import "NMBStringify.h" -#import "DSL.h" - -#import "CwlPreconditionTesting.h" - -FOUNDATION_EXPORT double NimbleVersionNumber; -FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift deleted file mode 100644 index c77a8fc..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Utils/Async.swift +++ /dev/null @@ -1,377 +0,0 @@ -import CoreFoundation -import Dispatch -import Foundation - -#if !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) - 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) - #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - let isMainThread = Thread.isMainThread - #else - let isMainThread = _CFIsMainThread() - #endif - 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.\n\n" + - "The call to\n\t\(info)\n" + - "triggered this exception because\n\t\(currentWaiter!)\n" + - "is currently managing the main run loop." - ) - currentWaiter = info - } - - func isWaitingLocked() -> Bool { - return currentWaiter != nil - } - - func releaseWaitingLock() { - currentWaiter = nil - } -} - -internal enum AwaitResult { - /// Incomplete indicates None (aka - this value hasn't been fulfilled yet) - case incomplete - /// TimedOut indicates the result reached its defined timeout limit before returning - case timedOut - /// BlockedRunLoop indicates the main runloop is too busy processing other blocks to trigger - /// the timeout code. - /// - /// This may also mean the async code waiting upon may have never actually ran within the - /// required time because other timers & sources are running on the main run loop. - case blockedRunLoop - /// The async block successfully executed and returned a given result - case completed(T) - /// When a Swift Error is thrown - case errorThrown(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 class AwaitPromise { - private(set) internal var asyncResult: AwaitResult = .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) -> 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 { - let awaiter: Awaiter - let waitLock: WaitLock - let trigger: AwaitTrigger - let promise: AwaitPromise - - internal init( - awaiter: Awaiter, - waitLock: WaitLock, - promise: AwaitPromise, - trigger: AwaitTrigger) { - self.awaiter = awaiter - self.waitLock = waitLock - self.promise = promise - self.trigger = trigger - } - - func timeout(_ timeoutInterval: 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. - #if swift(>=4.0) - trigger.timeoutSource.schedule( - deadline: DispatchTime.now() + timeoutInterval, - repeating: .never, - leeway: timeoutLeeway - ) - #else - trigger.timeoutSource.scheduleOneshot( - deadline: DispatchTime.now() + timeoutInterval, - leeway: timeoutLeeway - ) - #endif - 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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - 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 { - 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 - _ = RunLoop.current.run(mode: .defaultRunLoopMode, before: .distantFuture) - } - - 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( - file: FileString, - line: UInt, - _ closure: @escaping (@escaping (T) -> Void) throws -> Void - ) -> AwaitPromiseBuilder { - let promise = AwaitPromise() - let timeoutSource = createTimerSource(timeoutQueue) - var completionCount = 0 - let trigger = AwaitTrigger(timeoutSource: timeoutSource, actionSource: nil) { - try closure { - completionCount += 1 - if completionCount < 2 { - if promise.resolveResult(.completed($0)) { - CFRunLoopStop(CFRunLoopGetMain()) - } - } 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(_ pollInterval: TimeInterval, closure: @escaping () throws -> T?) -> AwaitPromiseBuilder { - let promise = AwaitPromise() - 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))) - #if swift(>=4.0) - asyncSource.schedule(deadline: .now(), repeating: interval, leeway: pollLeeway) - #else - asyncSource.scheduleRepeating(deadline: .now(), interval: interval, leeway: pollLeeway) - #endif - 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 { - 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 -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift deleted file mode 100644 index 074cb20..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Utils/Errors.swift +++ /dev/null @@ -1,59 +0,0 @@ -import Foundation - -// Generic - -internal func setFailureMessageForError( - _ 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( - _ 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" - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift deleted file mode 100644 index 6c5126a..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Utils/Functional.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Foundation - -extension Sequence { - internal func all(_ fn: (Iterator.Element) -> Bool) -> Bool { - for item in self { - if !fn(item) { - return false - } - } - return true - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift deleted file mode 100644 index 4e37aef..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift +++ /dev/null @@ -1,31 +0,0 @@ -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)" - } -} diff --git a/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift b/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift deleted file mode 100644 index cd6de20..0000000 --- a/Example/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift +++ /dev/null @@ -1,212 +0,0 @@ -import Foundation - -internal func identityAsString(_ value: Any?) -> String { - let anyObject: AnyObject? -#if os(Linux) - anyObject = value as? AnyObject -#else - anyObject = value as AnyObject? -#endif - if let value = anyObject { - return NSString(format: "<%p>", unsafeBitCast(value, to: Int.self)).description - } else { - return "nil" - } -} - -internal func arrayAsString(_ items: [T], joiner: String = ", ") -> String { - return items.reduce("") { accum, item in - let prefix = (accum.isEmpty ? "" : joiner) - return accum + prefix + "\(stringify(item))" - } -} - -/// A type with a customized test output text representation. -/// -/// This textual representation is produced when values will be -/// printed in test runs, and may be useful when producing -/// error messages in custom matchers. -/// -/// - SeeAlso: `CustomDebugStringConvertible` -public protocol TestOutputStringConvertible { - var testDescription: String { get } -} - -extension Double: TestOutputStringConvertible { - public var testDescription: String { - return NSNumber(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 { - #if os(Linux) - // FIXME: Swift on Linux triggers a segfault when calling NSData's hash() (last checked on 03-11-16) - return "Data" - #else - return "Data" - #endif - } -} - -/// -/// Returns a string appropriate for displaying in test output -/// from the provided value. -/// -/// - parameter value: A value that will show up in a test's output. -/// -/// - returns: The string that is returned can be -/// customized per type by conforming a type to the `TestOutputStringConvertible` -/// protocol. When stringifying a non-`TestOutputStringConvertible` type, this -/// function will return the value's debug description and then its -/// normal description if available and in that order. Otherwise it -/// will return the result of constructing a string from the value. -/// -/// - SeeAlso: `TestOutputStringConvertible` -public func stringify(_ value: T) -> String { - if let value = value as? TestOutputStringConvertible { - return value.testDescription - } - - if let value = value as? CustomDebugStringConvertible { - return value.debugDescription - } - - return String(describing: value) -} - -/// -SeeAlso: `stringify(value: T)` -public func stringify(_ value: T?) -> String { - if let unboxed = value { - return stringify(unboxed) - } - return "nil" -} - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) -@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(_ 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(_ collection: T) -> String { - return String(describing: type(of: collection)) -} diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/CurrentTestCaseTracker.h b/Example/Pods/Nimble/Sources/NimbleObjectiveC/CurrentTestCaseTracker.h deleted file mode 100644 index 5d416e4..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/CurrentTestCaseTracker.h +++ /dev/null @@ -1,9 +0,0 @@ -#import -#import - -SWIFT_CLASS("_TtC6Nimble22CurrentTestCaseTracker") -@interface CurrentTestCaseTracker : NSObject -+ (CurrentTestCaseTracker *)sharedInstance; -@end - -@interface CurrentTestCaseTracker (Register) @end diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h b/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h deleted file mode 100644 index caa3f7c..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h +++ /dev/null @@ -1,383 +0,0 @@ -#import - -@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 NMB_equal(TYPE expectedValue) { \ - return NMB_equal((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id equal(TYPE expectedValue), NMB_equal(expectedValue)); - - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_equal(__nullable id expectedValue); - - NIMBLE_SHORT_OVERLOADED(id 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 NMB_haveCount(TYPE expectedValue) { \ - return NMB_haveCount((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id haveCount(TYPE expectedValue), \ - NMB_haveCount(expectedValue)); - - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_haveCount(id expectedValue); - - NIMBLE_SHORT_OVERLOADED(id 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 NMB_beAnInstanceOf(Class expectedClass); -NIMBLE_EXPORT_INLINE id beAnInstanceOf(Class expectedClass) { - return NMB_beAnInstanceOf(expectedClass); -} - -NIMBLE_EXPORT id NMB_beAKindOf(Class expectedClass); -NIMBLE_EXPORT_INLINE id beAKindOf(Class expectedClass) { - return NMB_beAKindOf(expectedClass); -} - -NIMBLE_EXPORT id NMB_beginWith(id itemElementOrSubstring); -NIMBLE_EXPORT_INLINE id beginWith(id itemElementOrSubstring) { - return NMB_beginWith(itemElementOrSubstring); -} - -#define DEFINE_OVERLOAD(TYPE, EXPR) \ - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \ - id NMB_beGreaterThan(TYPE expectedValue) { \ - return NMB_beGreaterThan((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id beGreaterThan(TYPE expectedValue), NMB_beGreaterThan(expectedValue)); - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_beGreaterThan(NSNumber *expectedValue); - - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE - id 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 NMB_beGreaterThanOrEqualTo(TYPE expectedValue) { \ - return NMB_beGreaterThanOrEqualTo((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id beGreaterThanOrEqualTo(TYPE expectedValue), \ - NMB_beGreaterThanOrEqualTo(expectedValue)); - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue); - - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE - id 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 NMB_beIdenticalTo(id expectedInstance); -NIMBLE_SHORT(id beIdenticalTo(id expectedInstance), - NMB_beIdenticalTo(expectedInstance)); - -NIMBLE_EXPORT id NMB_be(id expectedInstance); -NIMBLE_SHORT(id be(id expectedInstance), - NMB_be(expectedInstance)); - - -#define DEFINE_OVERLOAD(TYPE, EXPR) \ - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE \ - id NMB_beLessThan(TYPE expectedValue) { \ - return NMB_beLessThan((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id beLessThan(TYPE expectedValue), \ - NMB_beLessThan(expectedValue)); - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_beLessThan(NSNumber *expectedValue); - - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE - id 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 NMB_beLessThanOrEqualTo(TYPE expectedValue) { \ - return NMB_beLessThanOrEqualTo((EXPR)); \ - } \ - NIMBLE_SHORT_OVERLOADED(id beLessThanOrEqualTo(TYPE expectedValue), \ - NMB_beLessThanOrEqualTo(expectedValue)); - - - NIMBLE_EXPORT NIMBLE_OVERLOADABLE - id NMB_beLessThanOrEqualTo(NSNumber *expectedValue); - - NIMBLE_EXPORT_INLINE NIMBLE_OVERLOADABLE - id 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 NMB_beTruthy(void); -NIMBLE_SHORT(id beTruthy(void), - NMB_beTruthy()); - -NIMBLE_EXPORT id NMB_beFalsy(void); -NIMBLE_SHORT(id beFalsy(void), - NMB_beFalsy()); - -NIMBLE_EXPORT id NMB_beTrue(void); -NIMBLE_SHORT(id beTrue(void), - NMB_beTrue()); - -NIMBLE_EXPORT id NMB_beFalse(void); -NIMBLE_SHORT(id beFalse(void), - NMB_beFalse()); - -NIMBLE_EXPORT id NMB_beNil(void); -NIMBLE_SHORT(id beNil(void), - NMB_beNil()); - -NIMBLE_EXPORT id NMB_beEmpty(void); -NIMBLE_SHORT(id beEmpty(void), - NMB_beEmpty()); - -NIMBLE_EXPORT id NMB_containWithNilTermination(id itemOrSubstring, ...) NS_REQUIRES_NIL_TERMINATION; -#define NMB_contain(...) NMB_containWithNilTermination(__VA_ARGS__, nil) -#ifndef NIMBLE_DISABLE_SHORT_SYNTAX -#define contain(...) NMB_contain(__VA_ARGS__) -#endif - -NIMBLE_EXPORT id NMB_containElementSatisfying(BOOL(^predicate)(id)); -NIMBLE_SHORT(id containElementSatisfying(BOOL(^predicate)(id)), - NMB_containElementSatisfying(predicate)); - -NIMBLE_EXPORT id NMB_endWith(id itemElementOrSubstring); -NIMBLE_SHORT(id endWith(id itemElementOrSubstring), - NMB_endWith(itemElementOrSubstring)); - -NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException(void); -NIMBLE_SHORT(NMBObjCRaiseExceptionMatcher *raiseException(void), - NMB_raiseException()); - -NIMBLE_EXPORT id NMB_match(id expectedValue); -NIMBLE_SHORT(id match(id expectedValue), - NMB_match(expectedValue)); - -NIMBLE_EXPORT id NMB_allPass(id matcher); -NIMBLE_SHORT(id allPass(id matcher), - NMB_allPass(matcher)); - -NIMBLE_EXPORT id NMB_satisfyAnyOfWithMatchers(id matchers); -#define NMB_satisfyAnyOf(...) NMB_satisfyAnyOfWithMatchers(@[__VA_ARGS__]) -#ifndef NIMBLE_DISABLE_SHORT_SYNTAX -#define satisfyAnyOf(...) NMB_satisfyAnyOf(__VA_ARGS__) -#endif - -// In order to preserve breakpoint behavior despite using macros to fill in __FILE__ and __LINE__, -// define a builder that populates __FILE__ and __LINE__, and returns a block that takes timeout -// and action arguments. See https://github.com/Quick/Quick/pull/185 for details. -typedef void (^NMBWaitUntilTimeoutBlock)(NSTimeInterval timeout, void (^action)(void (^)(void))); -typedef void (^NMBWaitUntilBlock)(void (^action)(void (^)(void))); - -NIMBLE_EXPORT void NMB_failWithMessage(NSString *msg, NSString *file, NSUInteger line); - -NIMBLE_EXPORT NMBWaitUntilTimeoutBlock NMB_waitUntilTimeoutBuilder(NSString *file, NSUInteger line); -NIMBLE_EXPORT NMBWaitUntilBlock NMB_waitUntilBuilder(NSString *file, NSUInteger line); - -NIMBLE_EXPORT void NMB_failWithMessage(NSString *msg, NSString *file, NSUInteger line); - -#define NMB_waitUntilTimeout NMB_waitUntilTimeoutBuilder(@(__FILE__), __LINE__) -#define NMB_waitUntil NMB_waitUntilBuilder(@(__FILE__), __LINE__) - -#ifndef NIMBLE_DISABLE_SHORT_SYNTAX -#define expect(...) NMB_expect(^{ 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 diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.m b/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.m deleted file mode 100644 index 5a145b8..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/DSL.m +++ /dev/null @@ -1,160 +0,0 @@ -#import -#import - -SWIFT_CLASS("_TtC6Nimble7NMBWait") -@interface NMBWait : NSObject - -+ (void)untilTimeout:(NSTimeInterval)timeout file:(NSString *)file line:(NSUInteger)line action:(void (^ _Nonnull)(void (^ _Nonnull)(void)))action; -+ (void)untilFile:(NSString *)file line:(NSUInteger)line action:(void (^ _Nonnull)(void (^ _Nonnull)(void)))action; - -@end - - -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 NMB_beAnInstanceOf(Class expectedClass) { - return [NMBObjCMatcher beAnInstanceOfMatcher:expectedClass]; -} - -NIMBLE_EXPORT id 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 NMB_beginWith(id itemElementOrSubstring) { - return [NMBObjCMatcher beginWithMatcher:itemElementOrSubstring]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_beGreaterThan(NSNumber *expectedValue) { - return [NMBObjCMatcher beGreaterThanMatcher:expectedValue]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_beGreaterThanOrEqualTo(NSNumber *expectedValue) { - return [NMBObjCMatcher beGreaterThanOrEqualToMatcher:expectedValue]; -} - -NIMBLE_EXPORT id NMB_beIdenticalTo(id expectedInstance) { - return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance]; -} - -NIMBLE_EXPORT id NMB_be(id expectedInstance) { - return [NMBObjCMatcher beIdenticalToMatcher:expectedInstance]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_beLessThan(NSNumber *expectedValue) { - return [NMBObjCMatcher beLessThanMatcher:expectedValue]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_beLessThanOrEqualTo(NSNumber *expectedValue) { - return [NMBObjCMatcher beLessThanOrEqualToMatcher:expectedValue]; -} - -NIMBLE_EXPORT id NMB_beTruthy() { - return [NMBObjCMatcher beTruthyMatcher]; -} - -NIMBLE_EXPORT id NMB_beFalsy() { - return [NMBObjCMatcher beFalsyMatcher]; -} - -NIMBLE_EXPORT id NMB_beTrue() { - return [NMBObjCMatcher beTrueMatcher]; -} - -NIMBLE_EXPORT id NMB_beFalse() { - return [NMBObjCMatcher beFalseMatcher]; -} - -NIMBLE_EXPORT id NMB_beNil() { - return [NMBObjCMatcher beNilMatcher]; -} - -NIMBLE_EXPORT id NMB_beEmpty() { - return [NMBObjCMatcher beEmptyMatcher]; -} - -NIMBLE_EXPORT id NMB_containWithNilTermination(id itemOrSubstring, ...) { - NSMutableArray *itemOrSubstringArray = [NSMutableArray array]; - - if (itemOrSubstring) { - [itemOrSubstringArray addObject:itemOrSubstring]; - - va_list args; - va_start(args, itemOrSubstring); - id next; - while ((next = va_arg(args, id))) { - [itemOrSubstringArray addObject:next]; - } - va_end(args); - } - - return [NMBObjCMatcher containMatcher:itemOrSubstringArray]; -} - -NIMBLE_EXPORT id NMB_containElementSatisfying(BOOL(^predicate)(id)) { - return [NMBObjCMatcher containElementSatisfyingMatcher:predicate]; -} - -NIMBLE_EXPORT id NMB_endWith(id itemElementOrSubstring) { - return [NMBObjCMatcher endWithMatcher:itemElementOrSubstring]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_equal(__nullable id expectedValue) { - return [NMBObjCMatcher equalMatcher:expectedValue]; -} - -NIMBLE_EXPORT NIMBLE_OVERLOADABLE id NMB_haveCount(id expectedValue) { - return [NMBObjCMatcher haveCountMatcher:expectedValue]; -} - -NIMBLE_EXPORT id NMB_match(id expectedValue) { - return [NMBObjCMatcher matchMatcher:expectedValue]; -} - -NIMBLE_EXPORT id NMB_allPass(id expectedValue) { - return [NMBObjCMatcher allPassMatcher:expectedValue]; -} - -NIMBLE_EXPORT id NMB_satisfyAnyOfWithMatchers(id matchers) { - return [NMBObjCMatcher satisfyAnyOfMatcher:matchers]; -} - -NIMBLE_EXPORT NMBObjCRaiseExceptionMatcher *NMB_raiseException() { - return [NMBObjCMatcher raiseExceptionMatcher]; -} - -NIMBLE_EXPORT NMBWaitUntilTimeoutBlock NMB_waitUntilTimeoutBuilder(NSString *file, NSUInteger line) { - return ^(NSTimeInterval timeout, void (^ _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 diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h b/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h deleted file mode 100644 index e6e0272..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@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); diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m b/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m deleted file mode 100644 index 3381047..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m +++ /dev/null @@ -1,35 +0,0 @@ -#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:(void(^ _Nonnull)(void))unsafeBlock { - @try { - unsafeBlock(); - } - @catch (NSException *exception) { - if (self.handler) { - self.handler(exception); - } - } - @finally { - if (self.finally) { - self.finally(); - } - } -} - -@end diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h b/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h deleted file mode 100644 index 7938bca..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h +++ /dev/null @@ -1,18 +0,0 @@ -@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)); diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.m b/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.m deleted file mode 100644 index 329d39a..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.m +++ /dev/null @@ -1,6 +0,0 @@ -#import "NMBStringify.h" -#import - -NSString *_Nonnull NMBStringify(id _Nullable anyObject) { - return [NMBStringer stringify:anyObject]; -} diff --git a/Example/Pods/Nimble/Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m b/Example/Pods/Nimble/Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m deleted file mode 100644 index 35f26fd..0000000 --- a/Example/Pods/Nimble/Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m +++ /dev/null @@ -1,78 +0,0 @@ -#import "CurrentTestCaseTracker.h" -#import -#import - -#pragma mark - Method Swizzling - -/// Swaps the implementations between two instance methods. -/// -/// @param class The class containing `originalSelector`. -/// @param originalSelector Original method to replace. -/// @param replacementSelector Replacement method. -void swizzleSelectors(Class class, SEL originalSelector, SEL replacementSelector) { - Method originalMethod = class_getInstanceMethod(class, originalSelector); - Method replacementMethod = class_getInstanceMethod(class, replacementSelector); - - BOOL didAddMethod = - class_addMethod(class, - originalSelector, - method_getImplementation(replacementMethod), - method_getTypeEncoding(replacementMethod)); - - if (didAddMethod) { - class_replaceMethod(class, - replacementSelector, - method_getImplementation(originalMethod), - method_getTypeEncoding(originalMethod)); - } else { - method_exchangeImplementations(originalMethod, replacementMethod); - } -} - -#pragma mark - Private - -@interface XCTestObservationCenter (Private) -- (void)_addLegacyTestObserver:(id)observer; -@end - -@implementation XCTestObservationCenter (Register) - -/// Uses objc method swizzling to register `CurrentTestCaseTracker` as a test observer. This is necessary -/// because Xcode 7.3 introduced timing issues where if a custom `XCTestObservation` is registered too early -/// it suppresses all console output (generated by `XCTestLog`), breaking any tools that depend on this output. -/// This approach waits to register our custom test observer until XCTest adds its first "legacy" observer, -/// falling back to registering after the first normal observer if this private method ever changes. -+ (void)load { - if (class_getInstanceMethod([self class], @selector(_addLegacyTestObserver:))) { - // Swizzle -_addLegacyTestObserver: - swizzleSelectors([self class], @selector(_addLegacyTestObserver:), @selector(NMB_original__addLegacyTestObserver:)); - } else { - // Swizzle -addTestObserver:, only if -_addLegacyTestObserver: is not implemented - swizzleSelectors([self class], @selector(addTestObserver:), @selector(NMB_original_addTestObserver:)); - } -} - -#pragma mark - Replacement Methods - -/// Registers `CurrentTestCaseTracker` as a test observer after `XCTestLog` has been added. -- (void)NMB_original__addLegacyTestObserver:(id)observer { - [self NMB_original__addLegacyTestObserver:observer]; - - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - [self addTestObserver:[CurrentTestCaseTracker sharedInstance]]; - }); -} - -/// Registers `CurrentTestCaseTracker` as a test observer after `XCTestLog` has been added. -/// This method is only used if `-_addLegacyTestObserver:` is not impelemented. (added in Xcode 7.3) -- (void)NMB_original_addTestObserver:(id)observer { - [self NMB_original_addTestObserver:observer]; - - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - [self NMB_original_addTestObserver:[CurrentTestCaseTracker sharedInstance]]; - }); -} - -@end diff --git a/Example/Pods/Nocilla/LICENSE b/Example/Pods/Nocilla/LICENSE deleted file mode 100644 index c996ca1..0000000 --- a/Example/Pods/Nocilla/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.h b/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.h deleted file mode 100644 index 92ebbc7..0000000 --- a/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import "LSHTTPBody.h" - -@interface NSData (Nocilla) - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.m b/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.m deleted file mode 100644 index 0572aeb..0000000 --- a/Example/Pods/Nocilla/Nocilla/Categories/NSData+Nocilla.m +++ /dev/null @@ -1,9 +0,0 @@ -#import "NSData+Nocilla.h" - -@implementation NSData (Nocilla) - -- (NSData *)data { - return self; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.h b/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.h deleted file mode 100644 index cc0df6d..0000000 --- a/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.h +++ /dev/null @@ -1,8 +0,0 @@ -#import -#import "LSHTTPBody.h" - -@interface NSString (Nocilla) - -- (NSRegularExpression *)regex; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.m b/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.m deleted file mode 100644 index be28f78..0000000 --- a/Example/Pods/Nocilla/Nocilla/Categories/NSString+Nocilla.m +++ /dev/null @@ -1,18 +0,0 @@ -#import "NSString+Nocilla.h" - -@implementation NSString (Nocilla) - -- (NSRegularExpression *)regex { - NSError *error = nil; - NSRegularExpression *regex = [[NSRegularExpression alloc] initWithPattern:self options:0 error:&error]; - if (error) { - [NSException raise:NSInvalidArgumentException format:@"Invalid regex pattern: %@\nError: %@", self, error]; - } - return regex; -} - -- (NSData *)data { - return [self dataUsingEncoding:NSUTF8StringEncoding]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.h b/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.h deleted file mode 100644 index 6a5fcb1..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import "LSHTTPRequest.h" - -@interface LSHTTPRequestDSLRepresentation : NSObject -- (id)initWithRequest:(id)request; -@end diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.m b/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.m deleted file mode 100644 index bcfbb96..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSHTTPRequestDSLRepresentation.m +++ /dev/null @@ -1,39 +0,0 @@ -#import "LSHTTPRequestDSLRepresentation.h" - -@interface LSHTTPRequestDSLRepresentation () -@property (nonatomic, strong) id request; -@end - -@implementation LSHTTPRequestDSLRepresentation -- (id)initWithRequest:(id)request { - self = [super init]; - if (self) { - _request = request; - } - return self; -} - -- (NSString *)description { - NSMutableString *result = [NSMutableString stringWithFormat:@"stubRequest(@\"%@\", @\"%@\")", self.request.method, [self.request.url absoluteString]]; - if (self.request.headers.count) { - [result appendString:@".\nwithHeaders(@{ "]; - NSMutableArray *headerElements = [NSMutableArray arrayWithCapacity:self.request.headers.count]; - - NSArray *descriptors = @[[NSSortDescriptor sortDescriptorWithKey:@"" ascending:YES]]; - NSArray * sortedHeaders = [[self.request.headers allKeys] sortedArrayUsingDescriptors:descriptors]; - - for (NSString * header in sortedHeaders) { - NSString *value = [self.request.headers objectForKey:header]; - [headerElements addObject:[NSString stringWithFormat:@"@\"%@\": @\"%@\"", header, value]]; - } - [result appendString:[headerElements componentsJoinedByString:@", "]]; - [result appendString:@" })"]; - } - if (self.request.body.length) { - NSString *escapedBody = [[NSString alloc] initWithData:self.request.body encoding:NSUTF8StringEncoding]; - escapedBody = [escapedBody stringByReplacingOccurrencesOfString:@"\"" withString:@"\\\""]; - [result appendFormat:@".\nwithBody(@\"%@\")", escapedBody]; - } - return [NSString stringWithFormat:@"%@;", result]; -} -@end diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.h b/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.h deleted file mode 100644 index d7df743..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "NSString+Matcheable.h" -#import "NSRegularExpression+Matcheable.h" -#import "NSData+Matcheable.h" - -@class LSStubRequestDSL; -@class LSStubResponseDSL; -@class LSStubRequest; - -@protocol LSHTTPBody; - -typedef LSStubRequestDSL *(^WithHeaderMethod)(NSString *, NSString *); -typedef LSStubRequestDSL *(^WithHeadersMethod)(NSDictionary *); -typedef LSStubRequestDSL *(^AndBodyMethod)(id); -typedef LSStubResponseDSL *(^AndReturnMethod)(NSInteger); -typedef LSStubResponseDSL *(^AndReturnRawResponseMethod)(NSData *rawResponseData); -typedef void (^AndFailWithErrorMethod)(NSError *error); - -@interface LSStubRequestDSL : NSObject -- (id)initWithRequest:(LSStubRequest *)request; - -@property (nonatomic, strong, readonly) WithHeaderMethod withHeader; -@property (nonatomic, strong, readonly) WithHeadersMethod withHeaders; -@property (nonatomic, strong, readonly) AndBodyMethod withBody; -@property (nonatomic, strong, readonly) AndReturnMethod andReturn; -@property (nonatomic, strong, readonly) AndReturnRawResponseMethod andReturnRawResponse; -@property (nonatomic, strong, readonly) AndFailWithErrorMethod andFailWithError; - -@end - -#ifdef __cplusplus -extern "C" { -#endif - -LSStubRequestDSL * stubRequest(NSString *method, id url); - -#ifdef __cplusplus -} -#endif diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.m b/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.m deleted file mode 100644 index 831e0c0..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSStubRequestDSL.m +++ /dev/null @@ -1,72 +0,0 @@ -#import "LSStubRequestDSL.h" -#import "LSStubResponseDSL.h" -#import "LSStubRequest.h" -#import "LSNocilla.h" - -@interface LSStubRequestDSL () -@property (nonatomic, strong) LSStubRequest *request; -@end - -@implementation LSStubRequestDSL - -- (id)initWithRequest:(LSStubRequest *)request { - self = [super init]; - if (self) { - _request = request; - } - return self; -} -- (WithHeadersMethod)withHeaders { - return ^(NSDictionary *headers) { - for (NSString *header in headers) { - NSString *value = [headers objectForKey:header]; - [self.request setHeader:header value:value]; - } - return self; - }; -} - -- (WithHeaderMethod)withHeader { - return ^(NSString * header, NSString * value) { - [self.request setHeader:header value:value]; - return self; - }; -} - -- (AndBodyMethod)withBody { - return ^(id body) { - self.request.body = body.matcher; - return self; - }; -} - -- (AndReturnMethod)andReturn { - return ^(NSInteger statusCode) { - self.request.response = [[LSStubResponse alloc] initWithStatusCode:statusCode]; - LSStubResponseDSL *responseDSL = [[LSStubResponseDSL alloc] initWithResponse:self.request.response]; - return responseDSL; - }; -} - -- (AndReturnRawResponseMethod)andReturnRawResponse { - return ^(NSData *rawResponseData) { - self.request.response = [[LSStubResponse alloc] initWithRawResponse:rawResponseData]; - LSStubResponseDSL *responseDSL = [[LSStubResponseDSL alloc] initWithResponse:self.request.response]; - return responseDSL; - }; -} - -- (AndFailWithErrorMethod)andFailWithError { - return ^(NSError *error) { - self.request.response = [[LSStubResponse alloc] initWithError:error]; - }; -} - -@end - -LSStubRequestDSL * stubRequest(NSString *method, id url) { - LSStubRequest *request = [[LSStubRequest alloc] initWithMethod:method urlMatcher:url.matcher]; - LSStubRequestDSL *dsl = [[LSStubRequestDSL alloc] initWithRequest:request]; - [[LSNocilla sharedInstance] addStubbedRequest:request]; - return dsl; -} diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.h b/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.h deleted file mode 100644 index 2ba6b66..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.h +++ /dev/null @@ -1,19 +0,0 @@ -#import - -@class LSStubResponse; -@class LSStubResponseDSL; - -@protocol LSHTTPBody; - -typedef LSStubResponseDSL *(^ResponseWithBodyMethod)(id); -typedef LSStubResponseDSL *(^ResponseWithHeaderMethod)(NSString *, NSString *); -typedef LSStubResponseDSL *(^ResponseWithHeadersMethod)(NSDictionary *); - -@interface LSStubResponseDSL : NSObject -- (id)initWithResponse:(LSStubResponse *)response; - -@property (nonatomic, strong, readonly) ResponseWithHeaderMethod withHeader; -@property (nonatomic, strong, readonly) ResponseWithHeadersMethod withHeaders; -@property (nonatomic, strong, readonly) ResponseWithBodyMethod withBody; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.m b/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.m deleted file mode 100644 index 06e9786..0000000 --- a/Example/Pods/Nocilla/Nocilla/DSL/LSStubResponseDSL.m +++ /dev/null @@ -1,40 +0,0 @@ -#import "LSStubResponseDSL.h" -#import "LSStubResponse.h" -#import "LSHTTPBody.h" - -@interface LSStubResponseDSL () -@property (nonatomic, strong) LSStubResponse *response; -@end - -@implementation LSStubResponseDSL -- (id)initWithResponse:(LSStubResponse *)response { - self = [super init]; - if (self) { - _response = response; - } - return self; -} -- (ResponseWithHeaderMethod)withHeader { - return ^(NSString * header, NSString * value) { - [self.response setHeader:header value:value]; - return self; - }; -} - -- (ResponseWithHeadersMethod)withHeaders; { - return ^(NSDictionary *headers) { - for (NSString *header in headers) { - NSString *value = [headers objectForKey:header]; - [self.response setHeader:header value:value]; - } - return self; - }; -} - -- (ResponseWithBodyMethod)withBody { - return ^(id body) { - self.response.body = [body data]; - return self; - }; -} -@end diff --git a/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.h b/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.h deleted file mode 100644 index 2f9b8ea..0000000 --- a/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.h +++ /dev/null @@ -1,8 +0,0 @@ -#import -#import "LSHTTPRequest.h" - -@interface LSHTTPRequestDiff : NSObject -@property (nonatomic, assign, readonly, getter = isEmpty) BOOL empty; - -- (id)initWithRequest:(id)oneRequest andRequest:(id)anotherRequest; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.m b/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.m deleted file mode 100644 index 413121d..0000000 --- a/Example/Pods/Nocilla/Nocilla/Diff/LSHTTPRequestDiff.m +++ /dev/null @@ -1,114 +0,0 @@ -#import "LSHTTPRequestDiff.h" - -@interface LSHTTPRequestDiff () -@property (nonatomic, strong) idoneRequest; -@property (nonatomic, strong) idanotherRequest; - -- (BOOL)isMethodDifferent; -- (BOOL)isUrlDifferent; -- (BOOL)areHeadersDifferent; -- (BOOL)isBodyDifferent; - -- (void)appendMethodDiff:(NSMutableString *)diff; -- (void)appendUrlDiff:(NSMutableString *)diff; -- (void)appendHeadersDiff:(NSMutableString *)diff; -- (void)appendBodyDiff:(NSMutableString *)diff; -@end - -@implementation LSHTTPRequestDiff -- (id)initWithRequest:(id)oneRequest andRequest:(id)anotherRequest { - self = [super init]; - if (self) { - _oneRequest = oneRequest; - _anotherRequest = anotherRequest; - } - return self; -} - -- (BOOL)isEmpty { - if ([self isMethodDifferent] || - [self isUrlDifferent] || - [self areHeadersDifferent] || - [self isBodyDifferent]) { - return NO; - } - return YES; -} - -- (NSString *)description { - NSMutableString *diff = [@"" mutableCopy]; - if ([self isMethodDifferent]) { - [self appendMethodDiff:diff]; - } - if ([self isUrlDifferent]) { - [self appendUrlDiff:diff]; - } - if([self areHeadersDifferent]) { - [self appendHeadersDiff:diff]; - } - if([self isBodyDifferent]) { - [self appendBodyDiff:diff]; - } - return [NSString stringWithString:diff]; -} - -#pragma mark - Private Methods -- (BOOL)isMethodDifferent { - return ![self.oneRequest.method isEqualToString:self.anotherRequest.method]; -} - -- (BOOL)isUrlDifferent { - return ![self.oneRequest.url isEqual:self.anotherRequest.url]; -} - -- (BOOL)areHeadersDifferent { - return ![self.oneRequest.headers isEqual:self.anotherRequest.headers]; -} - -- (BOOL)isBodyDifferent { - return (((self.oneRequest.body) && (![self.oneRequest.body isEqual:self.anotherRequest.body])) || - ((self.anotherRequest.body) && (![self.anotherRequest.body isEqual:self.oneRequest.body]))); -} - -- (void)appendMethodDiff:(NSMutableString *)diff { - [diff appendFormat:@"- Method: %@\n+ Method: %@\n", self.oneRequest.method, self.anotherRequest.method]; -} - -- (void)appendUrlDiff:(NSMutableString *)diff { - [diff appendFormat:@"- URL: %@\n+ URL: %@\n", [self.oneRequest.url absoluteString], [self.anotherRequest.url absoluteString]]; -} - -- (void)appendHeadersDiff:(NSMutableString *)diff { - [diff appendString:@" Headers:\n"]; - NSSet *headersInOneButNotInTheOther = [self.oneRequest.headers keysOfEntriesPassingTest:^BOOL(id key, id obj, BOOL *stop) { - return ![self.anotherRequest.headers objectForKey:key] || ![obj isEqual:[self.anotherRequest.headers objectForKey:key]]; - }]; - NSSet *headersInTheOtherButNotInOne = [self.anotherRequest.headers keysOfEntriesPassingTest:^BOOL(id key, id obj, BOOL *stop) { - return ![self.oneRequest.headers objectForKey:key] || ![obj isEqual:[self.oneRequest.headers objectForKey:key]]; - }]; - - NSArray *descriptors = @[[NSSortDescriptor sortDescriptorWithKey:@"" ascending:YES]]; - NSArray * sortedHeadersInOneButNotInTheOther = [headersInOneButNotInTheOther sortedArrayUsingDescriptors:descriptors]; - NSArray * sortedHeadersInTheOtherButNotInOne = [headersInTheOtherButNotInOne sortedArrayUsingDescriptors:descriptors]; - for (NSString *header in sortedHeadersInOneButNotInTheOther) { - NSString *value = [self.oneRequest.headers objectForKey:header]; - [diff appendFormat:@"-\t\"%@\": \"%@\"\n", header, value]; - - } - for (NSString *header in sortedHeadersInTheOtherButNotInOne) { - NSString *value = [self.anotherRequest.headers objectForKey:header]; - [diff appendFormat:@"+\t\"%@\": \"%@\"\n", header, value]; - } -} - -- (void)appendBodyDiff:(NSMutableString *)diff { - NSString *oneBody = [[NSString alloc] initWithData:self.oneRequest.body encoding:NSUTF8StringEncoding]; - if (oneBody.length) { - [diff appendFormat:@"- Body: \"%@\"\n", oneBody]; - } - NSString *anotherBody = [[NSString alloc] initWithData:self.anotherRequest.body encoding:NSUTF8StringEncoding]; - if (anotherBody.length) { - [diff appendFormat:@"+ Body: \"%@\"\n", anotherBody]; - } -} -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h deleted file mode 100644 index f9ef36a..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h +++ /dev/null @@ -1,8 +0,0 @@ -#import - -@interface ASIHTTPRequestStub : NSObject -- (int)stub_responseStatusCode; -- (NSData *)stub_responseData; -- (NSDictionary *)stub_responseHeaders; -- (void)stub_startRequest; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m deleted file mode 100644 index 712b4c9..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m +++ /dev/null @@ -1,52 +0,0 @@ -#import "ASIHTTPRequestStub.h" -#import "LSStubResponse.h" -#import "LSNocilla.h" -#import "LSASIHTTPRequestAdapter.h" -#import - -@interface ASIHTTPRequestStub () -@property (nonatomic, strong) LSStubResponse *stubResponse; -@end - -@interface ASIHTTPRequestStub (Private) -- (void)failWithError:(NSError *)error; -- (void)requestFinished; -- (void)markAsFinished; -@end - -static void const * ASIHTTPRequestStubResponseKey = &ASIHTTPRequestStubResponseKey; - -@implementation ASIHTTPRequestStub - -- (void)setStubResponse:(LSStubResponse *)stubResponse { - objc_setAssociatedObject(self, ASIHTTPRequestStubResponseKey, stubResponse, OBJC_ASSOCIATION_RETAIN); -} - -- (LSStubResponse *)stubResponse { - return objc_getAssociatedObject(self, ASIHTTPRequestStubResponseKey); -} - -- (int)stub_responseStatusCode { - return (int)self.stubResponse.statusCode; -} - -- (NSData *)stub_responseData { - return self.stubResponse.body; -} - -- (NSDictionary *)stub_responseHeaders { - return self.stubResponse.headers; -} - -- (void)stub_startRequest { - self.stubResponse = [[LSNocilla sharedInstance] responseForRequest:[[LSASIHTTPRequestAdapter alloc] initWithASIHTTPRequest:(id)self]]; - - if (self.stubResponse.shouldFail) { - [self failWithError:self.stubResponse.error]; - } else { - [self requestFinished]; - } - [self markAsFinished]; -} - -@end \ No newline at end of file diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h deleted file mode 100644 index 6cf7b1c..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h +++ /dev/null @@ -1,10 +0,0 @@ -#import -#import "LSHTTPRequest.h" - -@class ASIHTTPRequest; - -@interface LSASIHTTPRequestAdapter : NSObject - -- (instancetype)initWithASIHTTPRequest:(ASIHTTPRequest *)request; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m deleted file mode 100644 index 91cf791..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m +++ /dev/null @@ -1,42 +0,0 @@ -#import "LSASIHTTPRequestAdapter.h" - -@interface ASIHTTPRequest - -@property (nonatomic, strong, readonly) NSURL *url; -@property (nonatomic, strong, readonly) NSString *requestMethod; -@property (nonatomic, strong, readonly) NSDictionary *requestHeaders; -@property (nonatomic, strong, readonly) NSData *postBody; - -@end - -@interface LSASIHTTPRequestAdapter () -@property (nonatomic, strong) ASIHTTPRequest *request; -@end - -@implementation LSASIHTTPRequestAdapter - -- (instancetype)initWithASIHTTPRequest:(ASIHTTPRequest *)request { - self = [super init]; - if (self) { - _request = request; - } - return self; -} - -- (NSURL *)url { - return self.request.url; -} - -- (NSString *)method { - return self.request.requestMethod; -} - -- (NSDictionary *)headers { - return self.request.requestHeaders; -} - -- (NSData *)body { - return self.request.postBody; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h deleted file mode 100644 index 2450072..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h +++ /dev/null @@ -1,5 +0,0 @@ -#import "LSHTTPClientHook.h" - -@interface LSASIHTTPRequestHook : LSHTTPClientHook - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m b/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m deleted file mode 100644 index 1a32a47..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m +++ /dev/null @@ -1,48 +0,0 @@ -#import "LSASIHTTPRequestHook.h" -#import "ASIHTTPRequestStub.h" -#import - -@implementation LSASIHTTPRequestHook - -- (void)load { - if (!NSClassFromString(@"ASIHTTPRequest")) return; - [self swizzleASIHTTPRequest]; -} - -- (void)unload { - if (!NSClassFromString(@"ASIHTTPRequest")) return; - [self swizzleASIHTTPRequest]; -} - -#pragma mark - Internal Methods - -- (void)swizzleASIHTTPRequest { - [self swizzleASIHTTPSelector:NSSelectorFromString(@"responseStatusCode") withSelector:@selector(stub_responseStatusCode)]; - [self swizzleASIHTTPSelector:NSSelectorFromString(@"responseData") withSelector:@selector(stub_responseData)]; - [self swizzleASIHTTPSelector:NSSelectorFromString(@"responseHeaders") withSelector:@selector(stub_responseHeaders)]; - [self swizzleASIHTTPSelector:NSSelectorFromString(@"startRequest") withSelector:@selector(stub_startRequest)]; - [self addMethodToASIHTTPRequest:NSSelectorFromString(@"stubResponse")]; - [self addMethodToASIHTTPRequest:NSSelectorFromString(@"setStubResponse:")]; -} - -- (void)swizzleASIHTTPSelector:(SEL)original withSelector:(SEL)stub { - Class asiHttpRequest = NSClassFromString(@"ASIHTTPRequest"); - Method originalMethod = class_getInstanceMethod(asiHttpRequest, original); - Method stubMethod = class_getInstanceMethod([ASIHTTPRequestStub class], stub); - if (!originalMethod || !stubMethod) { - [self fail]; - } - method_exchangeImplementations(originalMethod, stubMethod); -} - -- (void)addMethodToASIHTTPRequest:(SEL)newMethod { - Method method = class_getInstanceMethod([ASIHTTPRequestStub class], newMethod); - const char *types = method_getTypeEncoding(method); - class_addMethod(NSClassFromString(@"ASIHTTPRequest"), newMethod, class_getMethodImplementation([ASIHTTPRequestStub class], newMethod), types); -} - -- (void)fail { - [NSException raise:NSInternalInconsistencyException format:@"Couldn't load ASIHTTPRequest hook."]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.h b/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.h deleted file mode 100644 index 80ddc4c..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - -@interface LSHTTPClientHook : NSObject -- (void)load; -- (void)unload; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.m b/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.m deleted file mode 100644 index 8256ca6..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/LSHTTPClientHook.m +++ /dev/null @@ -1,13 +0,0 @@ -#import "LSHTTPClientHook.h" - -@implementation LSHTTPClientHook -- (void)load { - [NSException raise:NSInternalInconsistencyException - format:@"Method '%@' not implemented. Subclass '%@' and override it", NSStringFromSelector(_cmd), NSStringFromClass([self class])]; -} - -- (void)unload { - [NSException raise:NSInternalInconsistencyException - format:@"Method '%@' not implemented. Subclass '%@' and override it", NSStringFromSelector(_cmd), NSStringFromClass([self class])]; -} -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h deleted file mode 100644 index d5a9a1f..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h +++ /dev/null @@ -1,5 +0,0 @@ -#import - -@interface LSHTTPStubURLProtocol : NSURLProtocol - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m deleted file mode 100644 index 06e925d..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m +++ /dev/null @@ -1,67 +0,0 @@ -#import "LSHTTPStubURLProtocol.h" -#import "LSNocilla.h" -#import "NSURLRequest+LSHTTPRequest.h" -#import "LSStubRequest.h" -#import "NSURLRequest+DSL.h" - -@implementation LSHTTPStubURLProtocol - -+ (BOOL)canInitWithRequest:(NSURLRequest *)request { - return [@[ @"http", @"https" ] containsObject:request.URL.scheme]; -} - -+ (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request { - return request; -} -+ (BOOL)requestIsCacheEquivalent:(NSURLRequest *)a toRequest:(NSURLRequest *)b { - return NO; -} - -- (void)startLoading { - NSURLRequest* request = [self request]; - id client = [self client]; - - LSStubResponse* stubbedResponse = [[LSNocilla sharedInstance] responseForRequest:request]; - - NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; - [cookieStorage setCookies:[NSHTTPCookie cookiesWithResponseHeaderFields:stubbedResponse.headers forURL:request.url] - forURL:request.URL mainDocumentURL:request.URL]; - - if (stubbedResponse.shouldFail) { - [client URLProtocol:self didFailWithError:stubbedResponse.error]; - } else { - NSHTTPURLResponse* urlResponse = [[NSHTTPURLResponse alloc] initWithURL:request.URL - statusCode:stubbedResponse.statusCode - HTTPVersion:nil - headerFields:stubbedResponse.headers]; - - if (stubbedResponse.statusCode < 300 || stubbedResponse.statusCode > 399 - || stubbedResponse.statusCode == 304 || stubbedResponse.statusCode == 305 ) { - NSData *body = stubbedResponse.body; - - [client URLProtocol:self didReceiveResponse:urlResponse - cacheStoragePolicy:NSURLCacheStorageNotAllowed]; - [client URLProtocol:self didLoadData:body]; - [client URLProtocolDidFinishLoading:self]; - } else { - - NSURL *newURL = [NSURL URLWithString:[stubbedResponse.headers objectForKey:@"Location"] relativeToURL:request.URL]; - NSMutableURLRequest *redirectRequest = [NSMutableURLRequest requestWithURL:newURL]; - - [redirectRequest setAllHTTPHeaderFields:[NSHTTPCookie requestHeaderFieldsWithCookies:[cookieStorage cookiesForURL:newURL]]]; - - [client URLProtocol:self - wasRedirectedToRequest:redirectRequest - redirectResponse:urlResponse]; - // According to: https://developer.apple.com/library/ios/samplecode/CustomHTTPProtocol/Listings/CustomHTTPProtocol_Core_Code_CustomHTTPProtocol_m.html - // needs to abort the original request - [client URLProtocol:self didFailWithError:[NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCancelledError userInfo:nil]]; - - } - } -} - -- (void)stopLoading { -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.h b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.h deleted file mode 100644 index abba2cb..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.h +++ /dev/null @@ -1,5 +0,0 @@ -#import "LSHTTPClientHook.h" - -@interface LSNSURLHook : LSHTTPClientHook - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.m b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.m deleted file mode 100644 index 77d7020..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/LSNSURLHook.m +++ /dev/null @@ -1,14 +0,0 @@ -#import "LSNSURLHook.h" -#import "LSHTTPStubURLProtocol.h" - -@implementation LSNSURLHook - -- (void)load { - [NSURLProtocol registerClass:[LSHTTPStubURLProtocol class]]; -} - -- (void)unload { - [NSURLProtocol unregisterClass:[LSHTTPStubURLProtocol class]]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h deleted file mode 100644 index e13dbbd..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h +++ /dev/null @@ -1,5 +0,0 @@ -#import - -@interface NSURLRequest (DSL) -- (NSString *)toNocillaDSL; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m deleted file mode 100644 index 73e249b..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m +++ /dev/null @@ -1,9 +0,0 @@ -#import "NSURLRequest+DSL.h" -#import "LSHTTPRequestDSLRepresentation.h" -#import "NSURLRequest+LSHTTPRequest.h" - -@implementation NSURLRequest (DSL) -- (NSString *)toNocillaDSL { - return [[[LSHTTPRequestDSLRepresentation alloc] initWithRequest:self] description]; -} -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h deleted file mode 100644 index 0ac96b2..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import "LSHTTPRequest.h" - -@interface NSURLRequest (LSHTTPRequest) - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m deleted file mode 100644 index a6c3007..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m +++ /dev/null @@ -1,47 +0,0 @@ -#import "NSURLRequest+LSHTTPRequest.h" - -@implementation NSURLRequest (LSHTTPRequest) - -- (NSURL*)url { - return self.URL; -} - -- (NSString *)method { - return self.HTTPMethod; -} - -- (NSDictionary *)headers { - return self.allHTTPHeaderFields; -} - -- (NSData *)body { - if (self.HTTPBodyStream) { - NSInputStream *stream = self.HTTPBodyStream; - NSMutableData *data = [NSMutableData data]; - [stream open]; - size_t bufferSize = 4096; - uint8_t *buffer = malloc(bufferSize); - if (buffer == NULL) { - [NSException raise:@"NocillaMallocFailure" format:@"Could not allocate %zu bytes to read HTTPBodyStream", bufferSize]; - } - while ([stream hasBytesAvailable]) { - NSInteger bytesRead = [stream read:buffer maxLength:bufferSize]; - if (bytesRead > 0) { - NSData *readData = [NSData dataWithBytes:buffer length:bytesRead]; - [data appendData:readData]; - } else if (bytesRead < 0) { - [NSException raise:@"NocillaStreamReadError" format:@"An error occurred while reading HTTPBodyStream (%ld)", (long)bytesRead]; - } else if (bytesRead == 0) { - break; - } - } - free(buffer); - [stream close]; - - return data; - } - - return self.HTTPBody; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h deleted file mode 100644 index aa6ec8c..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// LSNSURLSessionHook.h -// Nocilla -// -// Created by Luis Solano Bonet on 08/01/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import - -#import "LSHTTPClientHook.h" - -@interface LSNSURLSessionHook : LSHTTPClientHook - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m b/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m deleted file mode 100644 index ab584f5..0000000 --- a/Example/Pods/Nocilla/Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// LSNSURLSessionHook.m -// Nocilla -// -// Created by Luis Solano Bonet on 08/01/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import "LSNSURLSessionHook.h" -#import "LSHTTPStubURLProtocol.h" -#import - -@implementation LSNSURLSessionHook - -- (void)load { - Class cls = NSClassFromString(@"__NSCFURLSessionConfiguration") ?: NSClassFromString(@"NSURLSessionConfiguration"); - [self swizzleSelector:@selector(protocolClasses) fromClass:cls toClass:[self class]]; -} - -- (void)unload { - Class cls = NSClassFromString(@"__NSCFURLSessionConfiguration") ?: NSClassFromString(@"NSURLSessionConfiguration"); - [self swizzleSelector:@selector(protocolClasses) fromClass:cls toClass:[self class]]; -} - -- (void)swizzleSelector:(SEL)selector fromClass:(Class)original toClass:(Class)stub { - - Method originalMethod = class_getInstanceMethod(original, selector); - Method stubMethod = class_getInstanceMethod(stub, selector); - if (!originalMethod || !stubMethod) { - [NSException raise:NSInternalInconsistencyException format:@"Couldn't load NSURLSession hook."]; - } - method_exchangeImplementations(originalMethod, stubMethod); -} - -- (NSArray *)protocolClasses { - return @[[LSHTTPStubURLProtocol class]]; -} - - -@end diff --git a/Example/Pods/Nocilla/Nocilla/LSNocilla.h b/Example/Pods/Nocilla/Nocilla/LSNocilla.h deleted file mode 100644 index aa85901..0000000 --- a/Example/Pods/Nocilla/Nocilla/LSNocilla.h +++ /dev/null @@ -1,25 +0,0 @@ -#import -#import "Nocilla.h" - -@class LSStubRequest; -@class LSStubResponse; -@class LSHTTPClientHook; -@protocol LSHTTPRequest; - -extern NSString * const LSUnexpectedRequest; - -@interface LSNocilla : NSObject -+ (LSNocilla *)sharedInstance; - -@property (nonatomic, strong, readonly) NSArray *stubbedRequests; -@property (nonatomic, assign, readonly, getter = isStarted) BOOL started; - -- (void)start; -- (void)stop; -- (void)addStubbedRequest:(LSStubRequest *)request; -- (void)clearStubs; - -- (void)registerHook:(LSHTTPClientHook *)hook; - -- (LSStubResponse *)responseForRequest:(id)request; -@end diff --git a/Example/Pods/Nocilla/Nocilla/LSNocilla.m b/Example/Pods/Nocilla/Nocilla/LSNocilla.m deleted file mode 100644 index c3e3fb3..0000000 --- a/Example/Pods/Nocilla/Nocilla/LSNocilla.m +++ /dev/null @@ -1,118 +0,0 @@ -#import "LSNocilla.h" -#import "LSNSURLHook.h" -#import "LSStubRequest.h" -#import "LSHTTPRequestDSLRepresentation.h" -#import "LSASIHTTPRequestHook.h" -#import "LSNSURLSessionHook.h" -#import "LSASIHTTPRequestHook.h" - -NSString * const LSUnexpectedRequest = @"Unexpected Request"; - -@interface LSNocilla () -@property (nonatomic, strong) NSMutableArray *mutableRequests; -@property (nonatomic, strong) NSMutableArray *hooks; -@property (nonatomic, assign, getter = isStarted) BOOL started; - -- (void)loadHooks; -- (void)unloadHooks; -@end - -static LSNocilla *sharedInstace = nil; - -@implementation LSNocilla - -+ (LSNocilla *)sharedInstance { - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - sharedInstace = [[self alloc] init]; - }); - return sharedInstace; -} - -- (id)init { - self = [super init]; - if (self) { - _mutableRequests = [NSMutableArray array]; - _hooks = [NSMutableArray array]; - [self registerHook:[[LSNSURLHook alloc] init]]; - if (NSClassFromString(@"NSURLSession") != nil) { - [self registerHook:[[LSNSURLSessionHook alloc] init]]; - } - [self registerHook:[[LSASIHTTPRequestHook alloc] init]]; - } - return self; -} - -- (NSArray *)stubbedRequests { - return [NSArray arrayWithArray:self.mutableRequests]; -} - -- (void)start { - if (!self.isStarted){ - [self loadHooks]; - self.started = YES; - } -} - -- (void)stop { - [self unloadHooks]; - [self clearStubs]; - self.started = NO; -} - -- (void)addStubbedRequest:(LSStubRequest *)request { - NSUInteger index = [self.mutableRequests indexOfObject:request]; - - if (index == NSNotFound) { - [self.mutableRequests addObject:request]; - return; - } - - [self.mutableRequests replaceObjectAtIndex:index withObject:request]; -} - -- (void)clearStubs { - [self.mutableRequests removeAllObjects]; -} - -- (LSStubResponse *)responseForRequest:(id)actualRequest { - NSArray* requests = [LSNocilla sharedInstance].stubbedRequests; - - for(LSStubRequest *someStubbedRequest in requests) { - if ([someStubbedRequest matchesRequest:actualRequest]) { - return someStubbedRequest.response; - } - } - [NSException raise:@"NocillaUnexpectedRequest" format:@"An unexpected HTTP request was fired.\n\nUse this snippet to stub the request:\n%@\n", [[[LSHTTPRequestDSLRepresentation alloc] initWithRequest:actualRequest] description]]; - - return nil; -} - -- (void)registerHook:(LSHTTPClientHook *)hook { - if (![self hookWasRegistered:hook]) { - [[self hooks] addObject:hook]; - } -} - -- (BOOL)hookWasRegistered:(LSHTTPClientHook *)aHook { - for (LSHTTPClientHook *hook in self.hooks) { - if ([hook isMemberOfClass: [aHook class]]) { - return YES; - } - } - return NO; -} -#pragma mark - Private -- (void)loadHooks { - for (LSHTTPClientHook *hook in self.hooks) { - [hook load]; - } -} - -- (void)unloadHooks { - for (LSHTTPClientHook *hook in self.hooks) { - [hook unload]; - } -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.h b/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.h deleted file mode 100644 index f935da5..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// LSDataMatcher.h -// Nocilla -// -// Created by Luis Solano Bonet on 09/11/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import -#import "LSMatcher.h" - -@interface LSDataMatcher : LSMatcher - -- (instancetype)initWithData:(NSData *)data; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.m b/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.m deleted file mode 100644 index ed8c8d3..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSDataMatcher.m +++ /dev/null @@ -1,51 +0,0 @@ -// -// LSDataMatcher.m -// Nocilla -// -// Created by Luis Solano Bonet on 09/11/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import "LSDataMatcher.h" - -@interface LSDataMatcher () - -@property (nonatomic, copy) NSData *data; - -@end - -@implementation LSDataMatcher - -- (instancetype)initWithData:(NSData *)data { - self = [super init]; - - if (self) { - _data = data; - } - return self; -} - -- (BOOL)matchesData:(NSData *)data { - return [self.data isEqualToData:data]; -} - - -#pragma mark - Equality - -- (BOOL)isEqual:(id)object { - if (self == object) { - return YES; - } - - if (![object isKindOfClass:[LSDataMatcher class]]) { - return NO; - } - - return [self.data isEqual:((LSDataMatcher *)object).data]; -} - -- (NSUInteger)hash { - return self.data.hash; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcheable.h b/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcheable.h deleted file mode 100644 index db14c6c..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcheable.h +++ /dev/null @@ -1,9 +0,0 @@ -#import - -@class LSMatcher; - -@protocol LSMatcheable - -- (LSMatcher *)matcher; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.h b/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.h deleted file mode 100644 index bea8305..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.h +++ /dev/null @@ -1,9 +0,0 @@ -#import - -@interface LSMatcher : NSObject - -- (BOOL)matches:(NSString *)string; - -- (BOOL)matchesData:(NSData *)data; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.m b/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.m deleted file mode 100644 index 30dddde..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSMatcher.m +++ /dev/null @@ -1,24 +0,0 @@ -#import "LSMatcher.h" - -@implementation LSMatcher - -- (BOOL)matches:(NSString *)string { - @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:@"[LSMatcher matches:] is an abstract method" userInfo:nil]; -} - -- (BOOL)matchesData:(NSData *)data { - return [self matches:[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]]; -} - - -#pragma mark - Equality - -- (BOOL)isEqual:(id)object { - @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:@"[LSMatcher isEqual:] is an abstract method" userInfo:nil]; -} - -- (NSUInteger)hash { - @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:@"[LSMatcher hash] an abstract method" userInfo:nil]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.h b/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.h deleted file mode 100644 index 7111c87..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.h +++ /dev/null @@ -1,7 +0,0 @@ -#import "LSMatcher.h" - -@interface LSRegexMatcher : LSMatcher - -- (instancetype)initWithRegex:(NSRegularExpression *)regex; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.m b/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.m deleted file mode 100644 index b59b3c8..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSRegexMatcher.m +++ /dev/null @@ -1,40 +0,0 @@ -#import "LSRegexMatcher.h" - -@interface LSRegexMatcher () -@property (nonatomic, strong) NSRegularExpression *regex; -@end - -@implementation LSRegexMatcher - -- (instancetype)initWithRegex:(NSRegularExpression *)regex { - self = [super init]; - if (self) { - _regex = regex; - } - return self; -} - -- (BOOL)matches:(NSString *)string { - return [self.regex numberOfMatchesInString:string options:0 range:NSMakeRange(0, string.length)] > 0; -} - - -#pragma mark - Equality - -- (BOOL)isEqual:(id)object { - if (self == object) { - return YES; - } - - if (![object isKindOfClass:[LSRegexMatcher class]]) { - return NO; - } - - return [self.regex isEqual:((LSRegexMatcher *)object).regex]; -} - -- (NSUInteger)hash { - return self.regex.hash; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.h b/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.h deleted file mode 100644 index 56af212..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.h +++ /dev/null @@ -1,8 +0,0 @@ -#import -#import "LSMatcher.h" - -@interface LSStringMatcher : LSMatcher - -- (instancetype)initWithString:(NSString *)string; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.m b/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.m deleted file mode 100644 index 8f90526..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/LSStringMatcher.m +++ /dev/null @@ -1,42 +0,0 @@ -#import "LSStringMatcher.h" - -@interface LSStringMatcher () - -@property (nonatomic, copy) NSString *string; - -@end - -@implementation LSStringMatcher - -- (instancetype)initWithString:(NSString *)string { - self = [super init]; - if (self) { - _string = string; - } - return self; -} - -- (BOOL)matches:(NSString *)string { - return [self.string isEqualToString:string]; -} - - -#pragma mark - Equality - -- (BOOL)isEqual:(id)object { - if (self == object) { - return YES; - } - - if (![object isKindOfClass:[LSStringMatcher class]]) { - return NO; - } - - return [self.string isEqualToString:((LSStringMatcher *)object).string]; -} - -- (NSUInteger)hash { - return self.string.hash; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.h b/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.h deleted file mode 100644 index c3dfef9..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// NSData+Matcheable.h -// Nocilla -// -// Created by Luis Solano Bonet on 09/11/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import -#import "LSMatcheable.h" - -@interface NSData (Matcheable) - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.m b/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.m deleted file mode 100644 index ab454bc..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSData+Matcheable.m +++ /dev/null @@ -1,18 +0,0 @@ -// -// NSData+Matcheable.m -// Nocilla -// -// Created by Luis Solano Bonet on 09/11/14. -// Copyright (c) 2014 Luis Solano Bonet. All rights reserved. -// - -#import "NSData+Matcheable.h" -#import "LSDataMatcher.h" - -@implementation NSData (Matcheable) - -- (LSMatcher *)matcher { - return [[LSDataMatcher alloc] initWithData:self]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.h b/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.h deleted file mode 100644 index 9d9717f..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import "LSMatcheable.h" - -@interface NSRegularExpression (Matcheable) - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.m b/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.m deleted file mode 100644 index 39792c5..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSRegularExpression+Matcheable.m +++ /dev/null @@ -1,10 +0,0 @@ -#import "NSRegularExpression+Matcheable.h" -#import "LSRegexMatcher.h" - -@implementation NSRegularExpression (Matcheable) - -- (LSMatcher *)matcher { - return [[LSRegexMatcher alloc] initWithRegex:self]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.h b/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.h deleted file mode 100644 index ca63ec7..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import "LSMatcheable.h" - -@interface NSString (Matcheable) - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.m b/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.m deleted file mode 100644 index 67809e0..0000000 --- a/Example/Pods/Nocilla/Nocilla/Matchers/NSString+Matcheable.m +++ /dev/null @@ -1,10 +0,0 @@ -#import "NSString+Matcheable.h" -#import "LSStringMatcher.h" - -@implementation NSString (Matcheable) - -- (LSMatcher *)matcher { - return [[LSStringMatcher alloc] initWithString:self]; -} - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPBody.h b/Example/Pods/Nocilla/Nocilla/Model/LSHTTPBody.h deleted file mode 100644 index 8c26687..0000000 --- a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPBody.h +++ /dev/null @@ -1,5 +0,0 @@ -#import - -@protocol LSHTTPBody -- (NSData *)data; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPRequest.h b/Example/Pods/Nocilla/Nocilla/Model/LSHTTPRequest.h deleted file mode 100644 index f0e7966..0000000 --- a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPRequest.h +++ /dev/null @@ -1,10 +0,0 @@ -#import - -@protocol LSHTTPRequest - -@property (nonatomic, strong, readonly) NSURL *url; -@property (nonatomic, strong, readonly) NSString *method; -@property (nonatomic, strong, readonly) NSDictionary *headers; -@property (nonatomic, strong, readonly) NSData *body; - -@end diff --git a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPResponse.h b/Example/Pods/Nocilla/Nocilla/Model/LSHTTPResponse.h deleted file mode 100644 index db643b7..0000000 --- a/Example/Pods/Nocilla/Nocilla/Model/LSHTTPResponse.h +++ /dev/null @@ -1,7 +0,0 @@ -#import - -@protocol LSHTTPResponse -@property (nonatomic, assign, readonly) NSInteger statusCode; -@property (nonatomic, strong, readonly) NSDictionary *headers; -@property (nonatomic, strong, readonly) NSData *body; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Nocilla.h b/Example/Pods/Nocilla/Nocilla/Nocilla.h deleted file mode 100644 index d9cb1ab..0000000 --- a/Example/Pods/Nocilla/Nocilla/Nocilla.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Nocilla.h -// Nocilla -// -// Created by Robert Böhnke on 26/03/15. -// Copyright (c) 2015 Luis Solano Bonet. All rights reserved. -// - -#import - -//! Project version number for Nocilla. -FOUNDATION_EXPORT double NocillaVersionNumber; - -//! Project version string for Nocilla. -FOUNDATION_EXPORT const unsigned char NocillaVersionString[]; - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import diff --git a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.h b/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.h deleted file mode 100644 index 4a2cfe3..0000000 --- a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.h +++ /dev/null @@ -1,24 +0,0 @@ -#import -#import "LSStubResponse.h" -#import "LSHTTPRequest.h" - - -@class LSMatcher; -@class LSStubRequest; -@class LSStubResponse; - -@interface LSStubRequest : NSObject -@property (nonatomic, strong, readonly) NSString *method; -@property (nonatomic, strong, readonly) LSMatcher *urlMatcher; -@property (nonatomic, strong, readonly) NSDictionary *headers; -@property (nonatomic, strong, readwrite) LSMatcher *body; - -@property (nonatomic, strong) LSStubResponse *response; - -- (instancetype)initWithMethod:(NSString *)method url:(NSString *)url; -- (instancetype)initWithMethod:(NSString *)method urlMatcher:(LSMatcher *)urlMatcher; - -- (void)setHeader:(NSString *)header value:(NSString *)value; - -- (BOOL)matchesRequest:(id)request; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.m b/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.m deleted file mode 100644 index 1c29769..0000000 --- a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubRequest.m +++ /dev/null @@ -1,130 +0,0 @@ -#import "LSStubRequest.h" -#import "LSMatcher.h" -#import "NSString+Matcheable.h" - -@interface LSStubRequest () -@property (nonatomic, strong, readwrite) NSString *method; -@property (nonatomic, strong, readwrite) LSMatcher *urlMatcher; -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableHeaders; - --(BOOL)matchesMethod:(id)request; --(BOOL)matchesURL:(id)request; --(BOOL)matchesHeaders:(id)request; --(BOOL)matchesBody:(id)request; -@end - -@implementation LSStubRequest - -- (instancetype)initWithMethod:(NSString *)method url:(NSString *)url { - return [self initWithMethod:method urlMatcher:[url matcher]]; -} - -- (instancetype)initWithMethod:(NSString *)method urlMatcher:(LSMatcher *)urlMatcher; { - self = [super init]; - if (self) { - self.method = method; - self.urlMatcher = urlMatcher; - self.mutableHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -- (void)setHeader:(NSString *)header value:(NSString *)value { - [self.mutableHeaders setValue:value forKey:header]; -} - -- (NSDictionary *)headers { - return [NSDictionary dictionaryWithDictionary:self.mutableHeaders];; -} - -- (NSString *)description { - return [NSString stringWithFormat:@"StubRequest:\nMethod: %@\nURL: %@\nHeaders: %@\nBody: %@\nResponse: %@", - self.method, - self.urlMatcher, - self.headers, - self.body, - self.response]; -} - -- (LSStubResponse *)response { - if (!_response) { - _response = [[LSStubResponse alloc] initDefaultResponse]; - } - return _response; - -} - -- (BOOL)matchesRequest:(id)request { - if ([self matchesMethod:request] - && [self matchesURL:request] - && [self matchesHeaders:request] - && [self matchesBody:request] - ) { - return YES; - } - return NO; -} - --(BOOL)matchesMethod:(id)request { - if (!self.method || [self.method isEqualToString:request.method]) { - return YES; - } - return NO; -} - --(BOOL)matchesURL:(id)request { - return [self.urlMatcher matches:[request.url absoluteString]]; -} - --(BOOL)matchesHeaders:(id)request { - for (NSString *header in self.headers) { - if (![[request.headers objectForKey:header] isEqualToString:[self.headers objectForKey:header]]) { - return NO; - } - } - return YES; -} - --(BOOL)matchesBody:(id)request { - NSData *reqBody = request.body; - if (!self.body || [self.body matchesData:reqBody]) { - return YES; - } - return NO; -} - - -#pragma mark - Equality - -- (BOOL)isEqual:(id)object { - if (self == object) { - return YES; - } - - if (![object isKindOfClass:[LSStubRequest class]]) { - return NO; - } - - return [self isEqualToStubRequest:object]; -} - -- (BOOL)isEqualToStubRequest:(LSStubRequest *)stubRequest { - if (!stubRequest) { - return NO; - } - - BOOL methodEqual = [self.method isEqualToString:stubRequest.method]; - BOOL urlMatcherEqual = [self.urlMatcher isEqual:stubRequest.urlMatcher]; - BOOL headersEqual = [self.headers isEqual:stubRequest.headers]; - BOOL bodyEqual = (self.body == nil && stubRequest.body == nil) || [self.body isEqual:stubRequest.body]; - - return methodEqual && urlMatcherEqual && headersEqual && bodyEqual; -} - -- (NSUInteger)hash { - return self.method.hash ^ self.urlMatcher.hash ^ self.headers.hash ^ self.body.hash; -} - -@end - - diff --git a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.h b/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.h deleted file mode 100644 index d0461db..0000000 --- a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.h +++ /dev/null @@ -1,18 +0,0 @@ -#import -#import "LSHTTPResponse.h" - -@interface LSStubResponse : NSObject - -@property (nonatomic, assign, readonly) NSInteger statusCode; -@property (nonatomic, strong) NSData *body; -@property (nonatomic, strong, readonly) NSDictionary *headers; - -@property (nonatomic, assign, readonly) BOOL shouldFail; -@property (nonatomic, strong, readonly) NSError *error; - -- (id)initWithError:(NSError *)error; -- (id)initWithStatusCode:(NSInteger)statusCode; -- (id)initWithRawResponse:(NSData *)rawResponseData; -- (id)initDefaultResponse; -- (void)setHeader:(NSString *)header value:(NSString *)value; -@end diff --git a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.m b/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.m deleted file mode 100644 index 06f67c7..0000000 --- a/Example/Pods/Nocilla/Nocilla/Stubs/LSStubResponse.m +++ /dev/null @@ -1,81 +0,0 @@ -#import "LSStubResponse.h" - -@interface LSStubResponse () -@property (nonatomic, assign, readwrite) NSInteger statusCode; -@property (nonatomic, strong) NSMutableDictionary *mutableHeaders; -@property (nonatomic, assign) UInt64 offset; -@property (nonatomic, assign, getter = isDone) BOOL done; -@property (nonatomic, assign) BOOL shouldFail; -@property (nonatomic, strong) NSError *error; -@end - -@implementation LSStubResponse - -#pragma Initializers -- (id)initDefaultResponse { - self = [super init]; - if (self) { - self.shouldFail = NO; - - self.statusCode = 200; - self.mutableHeaders = [NSMutableDictionary dictionary]; - self.body = [@"" dataUsingEncoding:NSUTF8StringEncoding]; - } - return self; -} - - -- (id)initWithError:(NSError *)error { - self = [super init]; - if (self) { - self.shouldFail = YES; - self.error = error; - } - return self; -} - --(id)initWithStatusCode:(NSInteger)statusCode { - self = [super init]; - if (self) { - self.shouldFail = NO; - self.statusCode = statusCode; - self.mutableHeaders = [NSMutableDictionary dictionary]; - self.body = [@"" dataUsingEncoding:NSUTF8StringEncoding]; - } - return self; -} - -- (id)initWithRawResponse:(NSData *)rawResponseData { - self = [self initDefaultResponse]; - if (self) { - CFHTTPMessageRef httpMessage = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, FALSE); - if (httpMessage) { - CFHTTPMessageAppendBytes(httpMessage, [rawResponseData bytes], [rawResponseData length]); - - self.body = rawResponseData; // By default - - if (CFHTTPMessageIsHeaderComplete(httpMessage)) { - self.statusCode = (NSInteger)CFHTTPMessageGetResponseStatusCode(httpMessage); - self.mutableHeaders = [NSMutableDictionary dictionaryWithDictionary:(__bridge_transfer NSDictionary *)CFHTTPMessageCopyAllHeaderFields(httpMessage)]; - self.body = (__bridge_transfer NSData *)CFHTTPMessageCopyBody(httpMessage); - } - CFRelease(httpMessage); - } - } - return self; -} - -- (void)setHeader:(NSString *)header value:(NSString *)value { - [self.mutableHeaders setValue:value forKey:header]; -} -- (NSDictionary *)headers { - return [NSDictionary dictionaryWithDictionary:self.mutableHeaders]; -} - -- (NSString *)description { - return [NSString stringWithFormat:@"StubRequest:\nStatus Code: %ld\nHeaders: %@\nBody: %@", - (long)self.statusCode, - self.mutableHeaders, - self.body]; -} -@end diff --git a/Example/Pods/Nocilla/README.md b/Example/Pods/Nocilla/README.md deleted file mode 100644 index 4a9f47e..0000000 --- a/Example/Pods/Nocilla/README.md +++ /dev/null @@ -1,213 +0,0 @@ -# Nocilla [![CI Status](http://img.shields.io/travis/luisobo/Nocilla.svg?style=flat&branch=master)](https://travis-ci.org/luisobo/Nocilla)[![Version](https://img.shields.io/cocoapods/v/Nocilla.svg?style=flat)](http://cocoadocs.org/docsets/Nocilla)[![License](https://img.shields.io/cocoapods/l/Nocilla.svg?style=flat)](http://cocoadocs.org/docsets/Nocilla)[![Platform](https://img.shields.io/cocoapods/p/Nocilla.svg?style=flat)](http://cocoadocs.org/docsets/Nocilla) - -Stunning HTTP stubbing for iOS and OS X. Testing HTTP requests has never been easier. - -This library was inspired by [WebMock](https://github.com/bblimke/webmock) and it's using [this approach](http://www.infinite-loop.dk/blog/2011/09/using-nsurlprotocol-for-injecting-test-data/) to stub the requests. - -## Features -* Stub HTTP and HTTPS requests in your unit tests. -* Supports NSURLConnection, NSURLSession and ASIHTTPRequest. -* Awesome DSL that will improve the readability and maintainability of your tests. -* Match requests with regular expressions. -* Stub requests with errors. -* Tested. -* Fast. -* Extendable to support more HTTP libraries. - -## Installation -### As a [CocoaPod](http://cocoapods.org/) -Just add this to your Podfile -```ruby -pod 'Nocilla' -``` - -### Other approaches -* You should be able to add Nocilla to you source tree. If you are using git, consider using a `git submodule` - -## Usage -_Yes, the following code is valid Objective-C, or at least, it should be_ - -The following examples are described using [Kiwi](https://github.com/kiwi-bdd/Kiwi) - -### Common parts -Until Nocilla can hook directly into Kiwi, you will have to include the following snippet in the specs you want to use Nocilla: - -```objc -#import "Kiwi.h" -#import "Nocilla.h" -SPEC_BEGIN(ExampleSpec) -beforeAll(^{ - [[LSNocilla sharedInstance] start]; -}); -afterAll(^{ - [[LSNocilla sharedInstance] stop]; -}); -afterEach(^{ - [[LSNocilla sharedInstance] clearStubs]; -}); - -it(@"should do something", ^{ - // Stub here! -}); -SPEC_END -``` - -### Stubbing requests -#### Stubbing a simple request -It will return the default response, which is a 200 and an empty body. - -```objc -stubRequest(@"GET", @"http://www.google.com"); -``` - -#### Stubbing requests with regular expressions -```objc -stubRequest(@"GET", @"^http://(.*?)\\.example\\.com/v1/dogs\\.json".regex); -``` - - -#### Stubbing a request with a particular header - -```objc -stubRequest(@"GET", @"https://api.example.com"). -withHeader(@"Accept", @"application/json"); -``` - -#### Stubbing a request with multiple headers - -Using the `withHeaders` method makes sense with the Objective-C literals, but it accepts an NSDictionary. - -```objc -stubRequest(@"GET", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}); -``` - -#### Stubbing a request with a particular body - -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}). -withBody(@"{\"name\":\"foo\"}"); -``` - -You can also use `NSData` for the request body: - -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}). -withBody([@"foo" dataUsingEncoding:NSUTF8StringEncoding]); -``` - -It even works with regular expressions! - -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}). -withBody(@"^The body start with this".regex); -``` - -#### Returning a specific status code -```objc -stubRequest(@"GET", @"http://www.google.com").andReturn(404); -``` - -#### Returning a specific status code and header -The same approch here, you can use `withHeader` or `withHeaders` - -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -andReturn(201). -withHeaders(@{@"Content-Type": @"application/json"}); -``` - -#### Returning a specific status code, headers and body -```objc -stubRequest(@"GET", @"https://api.example.com/dogs.json"). -andReturn(201). -withHeaders(@{@"Content-Type": @"application/json"}). -withBody(@"{\"ok\":true}"); -``` - -You can also use `NSData` for the response body: - -```objc -stubRequest(@"GET", @"https://api.example.com/dogs.json"). -andReturn(201). -withHeaders(@{@"Content-Type": @"application/json"}). -withBody([@"bar" dataUsingEncoding:NSUTF8StringEncoding]); -``` - -#### Returning raw responses recorded with `curl -is` -`curl -is http://api.example.com/dogs.json > /tmp/example_curl_-is_output.txt` - -```objc -stubRequest(@"GET", @"https://api.example.com/dogs.json"). -andReturnRawResponse([NSData dataWithContentsOfFile:@"/tmp/example_curl_-is_output.txt"]); -``` - -#### All together -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}). -withBody(@"{\"name\":\"foo\"}"). -andReturn(201). -withHeaders(@{@"Content-Type": @"application/json"}). -withBody(@"{\"ok\":true}"); -``` - -#### Making a request fail -This will call the failure handler (callback, delegate... whatever your HTTP client uses) with the specified error. - -```objc -stubRequest(@"POST", @"https://api.example.com/dogs.json"). -withHeaders(@{@"Accept": @"application/json", @"X-CUSTOM-HEADER": @"abcf2fbc6abgf"}). -withBody(@"{\"name\":\"foo\"}"). -andFailWithError([NSError errorWithDomain:@"foo" code:123 userInfo:nil]); -``` - -#### Replacing a request stub - -If you need to change the response of a single request, simply re-stub the request: - -```objc -stubRequest(@"POST", @"https://api.example.com/authorize/"). -andReturn(401); - -// Some test expectation... - -stubRequest(@"POST", @"https://api.example.com/authorize/"). -andReturn(200); -``` - -### Unexpected requests -If some request is made but it wasn't stubbed, Nocilla won't let that request hit the real world. In that case your test should fail. -At this moment Nocilla will raise an exception with a meaningful message about the error and how to solve it, including a snippet of code on how to stub the unexpected request. - -### Testing asynchronous requests -When testing asynchrounous requests your request will be sent on a different thread from the one on which your test is executed. It is important to keep this in mind, and design your test in such a way that is has enough time to finish. For instance ```tearDown()``` when using ```XCTest``` and ```afterEach()``` when using [Quick](https://github.com/Quick/Quick) and [Nimble](https://github.com/Quick/Nimble) will cause the request never to complete. - - -## Who uses Nocilla. - -### Submit a PR to add your company here! - -- [MessageBird](https://www.messagebird.com) -- [Groupon](http://www.groupon.com) -- [Pixable](http://www.pixable.com) -- [Jackthreads](https://www.jackthreads.com) -- [ShopKeep](http://www.shopkeep.com) -- [Venmo](https://www.venmo.com) -- [Lighthouse](http://www.lighthouselabs.co.uk) -- [GE Digital](http://www.ge.com/digital/) - -## Other alternatives -* [ILTesting](https://github.com/InfiniteLoopDK/ILTesting) -* [OHHTTPStubs](https://github.com/AliSoftware/OHHTTPStubs) - -## Contributing - -1. Fork it -2. Create your feature branch -3. Commit your changes -4. Push to the branch -5. Create new Pull Request diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index cb1a79f..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,5648 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 00BE54DA8109121EB52B87CA23DBBC8E /* AdapterProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC7ABD159A1D780F60931EE2101C6D61 /* AdapterProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 02A441F239AEAB7BD37B918F2407EE3B /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = FC72602A1377186FF0D4A0A81EFDB5D7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 03D07E2BF08D9F1D2DD35F601B870D03 /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 593052BDEE40F715B96366D865F39B7B /* MultipartFormData.swift */; }; - 03E68027E719A7612DC1A2A15541C09A /* Behavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F6C07F8DBBCFE2C0DEA69990C496729 /* Behavior.swift */; }; - 04375CD02837D2F0F7BFE5BE0CB5AB25 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 626D577F2D06C28999349834FFB94D38 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 058640372546CD2896B2B6E331A736B3 /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1984628ABB498E97C6BDA627CC31D2CC /* AFError.swift */; }; - 05BB8EB564A245DE3491F9BEDBCCC0B5 /* BeAnInstanceOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F9014F4E5C76AA2CD11C788677B117E /* BeAnInstanceOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 05BEE52CD09D0853C45F11E4288E5F37 /* BeIdenticalTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0BE24135C167F8CD3FB4F865C102F367 /* BeIdenticalTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 067F9CC0465AFFFF9607A7F1E4A5C669 /* SatisfyAnyOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5A03CD3AD6A5CE49D7F2474A4D8B3E2 /* SatisfyAnyOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 068E52EDCE169FB018C684BF8A64D816 /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BCE9C48D5B8CC5C7A2941035B378A41 /* Match.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 06A7195891478BDFAE56B033FD7EA2F3 /* QuickSpecBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4508965A41FDBBF039911F15E2BF50 /* QuickSpecBase.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 06BFFB56086A680986EAF9A144AE9EEE /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 92B74AA509EBDEDAD8DF7DBB562D7BAB /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 06CB8377118DB67F69C7829968B205EE /* Nocilla-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0293B27886C300CBA93090C2994CDA18 /* Nocilla-tvOS-dummy.m */; }; - 06CD2889F77D1F3974252A70EB8571EB /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BE99C6D204B49692652ACD9B6686A8 /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 0756B2710F147D558644D06331C6E32E /* Expectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AE9DE8FEA994B1D4B38283CEFD8AB19 /* Expectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 082B7D85E3290BA96A1C315FE39E48E6 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 72C62CCF34D1616F3AD4866C33AB6E6D /* LSRegexMatcher.m */; }; - 08BF56F2B8324E2E804B2467EAAC356B /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E33956AD24200C8553F2AC1353B82C1D /* TaskDelegate.swift */; }; - 08F96323B00908E0F0E39E89FE210063 /* ExampleGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7298A17E23B68D354E54B9D51705056 /* ExampleGroup.swift */; }; - 099297A0628BAC20F1F9F7C7E2D1552B /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FCDC514B2A2E71F6E608E60CDC2BB89 /* Notifications.swift */; }; - 09B88C311BC65703ECCEDEB79524E44F /* ExpectationMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D12BE302FD1C8BF480690BFC64A2DC4 /* ExpectationMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 0A576638DBEFDE0238D081DF2B178215 /* ThrowError.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3A9F7E155713F2D7E5EFC2AA387FACD /* ThrowError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 0A5AA28D219310E8F616DB834A7542EE /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF4D886068A4BBACF81B462027047AFB /* DispatchQueue+Alamofire.swift */; }; - 0C350DEADF564743E23D1C75AA6B8DC5 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 720499F0FBF0FD6F25E59FBA9B95ADCD /* Alamofire.framework */; }; - 0C54BEFD167DF8C845FE485CEBD0224D /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = E3D093EFE101AD6125AE00C80D2A9D7F /* XCTestSuite+QuickTestSuiteBuilder.m */; }; - 0CA956C3360CA0BB053A7732ADAFD99D /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = 220396527CB76DF11086C8C22671D09C /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0D1F6AB5E03799B88A5894D716C74277 /* ToSucceed.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A45B68AE909113BCFCE60234F60EF /* ToSucceed.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 0DEB558768484AE6105C09326464A51D /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE6F2DC28B4AE6EA7960C66662B5BDF /* CwlMachBadInstructionHandler.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 10B0B7D5AD0572F937B87E04B9179CE0 /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 599F3B561A61F37596098345EB25FB7F /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 1122A064D293AE4D7D5257CA27D1AD4D /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 31DE3F6BA9B18139FCB5F61ED5A33788 /* LSASIHTTPRequestHook.m */; }; - 117C8D8DA5B939ED5A47C899461D8F4B /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = EA9D26C503ACCF38073DCCC40601B905 /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 1183785D6555151E39304EDFFF34C6C4 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 72C62CCF34D1616F3AD4866C33AB6E6D /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 1229E00373EA36BEEF415C65CB451774 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = A16614A9F28022BD2B76FE7B6CA36307 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 127B2D6309F5609122086652927332B3 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 720499F0FBF0FD6F25E59FBA9B95ADCD /* Alamofire.framework */; }; - 131FC213D46D2473BC9386D9FF52A29C /* mach_excServer.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A194C1B488EF636BDE18D8211C8E74 /* mach_excServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 13B03633C76FF90D62F27381F4FEFB26 /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = FB556FA33E6FA5EAEED0919EE4966F35 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 151B6392A609AEDEDCD9B6C97555BAEF /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8601BB99956B69F7B9D49F6BD3D7FE2F /* Configuration.swift */; }; - 15F68D8EA7934D7192FF32626C2E71A9 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 626D577F2D06C28999349834FFB94D38 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 16CBB158080470E8E08E9D4711B78B77 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = A0799F7C0814C8757CADC6B5B0086CBF /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 1774F87EE9595BDB42745837BE5CF332 /* NimbleEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19A978D266D4216FF3CF884FCEF55196 /* NimbleEnvironment.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 185D415C90B42666C0DEE9EC3A945264 /* URL+FileName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F1FAD10BEED584F9A8A6AF780BF1375 /* URL+FileName.swift */; }; - 1861842D5FEB3CFDC0EC7079521ECE00 /* SuiteHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64E413128F6AE916E110F989B3E1AD93 /* SuiteHooks.swift */; }; - 188F638AEA8D6F61354969F71B6D890E /* SWXMLHash-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 68F61102E667C28A29117333976A69DC /* SWXMLHash-macOS-dummy.m */; }; - 18C620A48CCF634446D1137B646BE2A7 /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = FB556FA33E6FA5EAEED0919EE4966F35 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 191E19D350BC3006BBD29EBACF247C58 /* Equal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25E033C4A6550EC0975DF77734D3C1B5 /* Equal.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 197E6E47A5F983142462B6DBB511BC54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - 199AD84926F2A223E451748FE5A32555 /* MatcherProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37DC659575A58A79C4BD5702B03196B7 /* MatcherProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 19A6290370D1709EF934F3600F71CAB5 /* CurrentTestCaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = F1491A454F97CC459375D0FC717D25BB /* CurrentTestCaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; }; - 19AC5E9D22B0058BD2BA0944BBBEC6A8 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 94205463BD4FB9CF37A94FAAE777FEEC /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 19EAA1E774CD03B1C95F97A5D4A7E1B6 /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 396A0B4A6A663ED0E9E19084AE3618E9 /* Region.swift */; }; - 19F7C5B1890105C2308D2994EBE1A00F /* SourceLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C64DD1E10DBBD93CA4AD51658EF268 /* SourceLocation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 1A04415D046DEC18153B5A6C58B468B4 /* Behavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F6C07F8DBBCFE2C0DEA69990C496729 /* Behavior.swift */; }; - 1AC3D7E433BD28823F8AF6BD5F38EEE5 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C4D1501A51599D56D2135A43DE2BC2 /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 1C6CD614C594B019D627FEAB8525ACDA /* EndWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D5FEA8B77D0C524A2DF7A4DEFA053C2 /* EndWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 1C6F9C908ECB906DC2B798AFE7906ED4 /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BCE9C48D5B8CC5C7A2941035B378A41 /* Match.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 1CA644DB07F179A646B29C062FA36508 /* Pods-OSX-Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 104CAEF8A88FDCCE2611B725C1BDC67B /* Pods-OSX-Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1CB069FB056CF04BAAD8C0CE268AC775 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = E3D093EFE101AD6125AE00C80D2A9D7F /* XCTestSuite+QuickTestSuiteBuilder.m */; }; - 1D7585C0DACFB37FF37653F9BD61D8E1 /* NimbleXCTestHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A48EF1AB15E05F9FDDD9730ED14A271C /* NimbleXCTestHandler.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 1D900702AD1980DB193889B244C4F486 /* AllPass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 347B442FA7C73B1BD02535E842180B2B /* AllPass.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 1DDA91B5A8FBB17BC00F77E2689BCE40 /* ErrorUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AF92EF1D336D809C8967E33A3DBBE77 /* ErrorUtility.swift */; }; - 1E418DEF10F432DFBDCD7561AE9ADC56 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 94205463BD4FB9CF37A94FAAE777FEEC /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1EF8002011CC209C1621B4FAEC32AC5D /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 88F1C73FBC9ADC9CEB387C0F8B35DFFB /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1F490B04F2D7D8984F02CED0459747E0 /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = CE23092BDBACED7264315C88A1B500BE /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 1FBDAC14B2B3994C90F2E973E42D8C24 /* World+DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE3776918756C6A139DE5485B8737C1D /* World+DSL.swift */; }; - 2009AA318B6385B5867C7FD1E18E4079 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5725FA8CC3169EC3A58AB423B6FF9DFF /* Alamofire.swift */; }; - 209881596E6B413B680F0DDA0AA3E68C /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = 98C571D42D03C2E4146640E1E4F9480D /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 20ACE6D8D9037D62AFDE07C84C63DD96 /* QuickTestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 897A7256964C25D8E77D77E7DDF2EFE5 /* QuickTestSuite.swift */; }; - 214F41B841DA05E253E762A5269CC671 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE6F2DC28B4AE6EA7960C66662B5BDF /* CwlMachBadInstructionHandler.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 222B061A1331EFB921D9707DBF8B2581 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F191EE7F5827A1123D262182BDD19AC4 /* LSStubResponse.m */; }; - 22517E1D6B1E3478C00D0EBBB31DD1DF /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 626D577F2D06C28999349834FFB94D38 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 22E488DF681D47C1E9437230796611A1 /* Callsite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20B9F633555EB1B7B0B12958B03039AF /* Callsite.swift */; }; - 2313182C0F19D8091562B87873CAF447 /* NSString+C99ExtendedIdentifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0744CA4EBB1EF1B0E7E6D71A6772786E /* NSString+C99ExtendedIdentifier.swift */; }; - 2333337E19795A54EAE2319D4584DAD6 /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 28042B939DBCA4438D2A5D39E79BAC8F /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 238D8B4E92F355F497C6A63E4FE3F588 /* ThrowError.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3A9F7E155713F2D7E5EFC2AA387FACD /* ThrowError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 239CA1442A89DC03DF4B9B85B9614976 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - 23C23E594F9FD67F1183B2E6DD264F2D /* Stringers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BE9B8CD4FD5379583D34194A009FC2C /* Stringers.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 2498A10D6C9EE202B526968A04ADA8B0 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 24FF43EDD5AF85C670851EFA3B1FEF3C /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = DEA7367F6D03265830EA5CC304D066AE /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 252FFE6C99670DA91D1E5E941D709F1E /* BeginWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5539ABE3B53EF4E42A4CAC3B17361610 /* BeginWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 2534F54EA6EDDF3C5A51B03F7928C507 /* AssertionRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2858710DAB0151065DC4C242BF67E796 /* AssertionRecorder.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 2707B4E375DE71C3A5D39C545EA7AED6 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 27608E2BA4501932F4072B26BB8387BE /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 92B74AA509EBDEDAD8DF7DBB562D7BAB /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 2765FFA4A69498AD33FEF3DA44067EAD /* NMBExceptionCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = E0948FEA225C24408E479AED035B87BA /* NMBExceptionCapture.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 277D539822F216D32F92BB21D9E393BE /* Quick.h in Headers */ = {isa = PBXBuildFile; fileRef = F3AA845E3D305CCCB38250E9C8BCE300 /* Quick.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 278787F821C997D2B6375560FF658165 /* BeNil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E14AE43C6480D73607D378C73DD6B53 /* BeNil.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 286F3AB0CECD9DF69805AC8691CC1082 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE457B55977F86AD850F6DEBE3290D0 /* Expression.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 29563E581C50753801C2BD34435DB608 /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF4D886068A4BBACF81B462027047AFB /* DispatchQueue+Alamofire.swift */; }; - 2A5061E6C4E646D9C1DC342BA24D5CC5 /* HaveCount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17904BC74E998B5C46180248259A4CD7 /* HaveCount.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 2A5E79DA2F18F520DD26B4959DD4003E /* Nimble.h in Headers */ = {isa = PBXBuildFile; fileRef = D9361EF74BC7D66E8B37861C91A1E569 /* Nimble.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2AB4DF190088E2A53319FBF4B9917A50 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03A937F80447A817C69C055DC3D29CA8 /* CFNetwork.framework */; }; - 2B566272DEEB5BBC7027475BEF910E18 /* Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = D91D4D0DAAA22B4BE9D1505DC3069178 /* Async.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 2BB1D0FCD86C090E18E82F610C73A778 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB2ECAD3F9878B017CD3866A2FE23D9A /* Filter.swift */; }; - 2BC98DD68BABEEFD1E6825A529B74D6E /* QuickSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 061A375616D399845D5CF066833E8E1D /* QuickSpec.m */; }; - 2CDE03810BA79F24B20785CD5CDB1E08 /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = B03AB1EBF4A85A79B651957E2935EDE8 /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 2CE0939239CE7E003EABC740D3894CED /* Alamofire-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0342420EE8A591002801BD5EFA20E603 /* Alamofire-iOS-dummy.m */; }; - 2D60B9B9BB53E38012D7142F3AF823A8 /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = FC72602A1377186FF0D4A0A81EFDB5D7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 2DE0516AB5B2FAF811D811A7F2C99D44 /* Quick-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C182759AAA74E613DC1BB5B6AA396A44 /* Quick-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2E8D6ECEC8C1B65BFBB0E713774F20CB /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CC9AA21DF0ED2F6415CF222092AD888 /* NetworkReachabilityManager.swift */; }; - 2EADC8F90E3461749C0EBEC619F5D02A /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 6DA7D009B2B94912722762B10E255141 /* LSMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2F82AFEB4BAE9CCA3E7BABF34FE05554 /* Predicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0C0CB6BC7299E19F98D832DF5708DB0 /* Predicate.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 30A479DC79E399C0373D8FB81D85C744 /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4947D0114F1754456DF09DB938AD3B8C /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 314486549B89F236CD78D67B4EB9F8CB /* Quick-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 555E5020ACD4B02D2353C493EEE328C6 /* Quick-iOS-dummy.m */; }; - 3149557B0FFD0ED2271FB5FA4DE64E85 /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4947D0114F1754456DF09DB938AD3B8C /* LSASIHTTPRequestAdapter.m */; }; - 31C79705C74EDB5A56D67D2545595566 /* NMBStringify.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A5AADDB9F07C215FFF3317010DDD8CB /* NMBStringify.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 31EAE377F0B7EC5EDD3D1DD8E010B6AE /* Pods-OSX-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B18A33A798C07C455E1DCF5B6E44BAD2 /* Pods-OSX-Tests-dummy.m */; }; - 31F66D9756FA0E1410F5AF0972F16151 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = E5BD06EC75E75C67138B2F8A4250C923 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3334F1537FADC123368C843ACE586E78 /* ExampleGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7298A17E23B68D354E54B9D51705056 /* ExampleGroup.swift */; }; - 336FCADD69A1886CE7FD997064C53B22 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = FED63E3D352B01716FF59FB410EE1E02 /* ParameterEncoding.swift */; }; - 33957CD33AC87717E02361FCB662DCD3 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = E5BD06EC75E75C67138B2F8A4250C923 /* NSData+Nocilla.m */; }; - 342E656CCFFACB3AEE556A5F8A26E446 /* Quick-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CA8B6F9AC2B74860AF454AFB8E05D3AD /* Quick-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3437D427C6D4D4C616F33B67D19A3ED4 /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4947D0114F1754456DF09DB938AD3B8C /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 345B8576EE86F27D6EED670BB74C0110 /* FailureMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 550FC621794900BD91783F04D0AC2659 /* FailureMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 359F00BC69089F5C674CF117477BCCDB /* CwlCatchException.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E8B4131546A67DE41E864AA0693AC98 /* CwlCatchException.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 35D56BAC9FC2987C3A088AC9443AFCD2 /* AmazonS3SignatureHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 467E3EC74E16D72066005D6C9042608A /* AmazonS3SignatureHelpers.m */; }; - 36DD0868A1139A76A5882A21CA124887 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = A16614A9F28022BD2B76FE7B6CA36307 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3861CE8F4EBDDB948E88C6468D7BD290 /* CurrentTestCaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = F1491A454F97CC459375D0FC717D25BB /* CurrentTestCaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; }; - 3900766EEE5E662E72DAFCBC8A0FE48C /* Closures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FB4E41E9C588ABF8FC17D88B8C686CC /* Closures.swift */; }; - 3A16C6BA5763FB9C1E1CEAAFA32862A8 /* mach_excServer.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A194C1B488EF636BDE18D8211C8E74 /* mach_excServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3A2A5ED32F8F788E0EA78D680376F718 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - 3B671B4A5DFBB03846C31159503D232E /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 6AA7758FF331ABD4FC6D3110726602EC /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3BC7055D0CAFF87DFF453F8DB166E0D8 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8601BB99956B69F7B9D49F6BD3D7FE2F /* Configuration.swift */; }; - 3C11FCBAC70115CD97CC97CDCC5B0BB3 /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = E6CD996A8A20D305F6C0243EC03A0990 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3D4A4C7C6EFA44FBAE9255D2916B3395 /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = B03AB1EBF4A85A79B651957E2935EDE8 /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3E05B0017E42ECA2B688899FE822AF95 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 5AE0317E89425911D98C376DADABE9A2 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3E4C433B41080942771B9D7560A5EE6C /* BeginWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5539ABE3B53EF4E42A4CAC3B17361610 /* BeginWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 3F32F2A21D9A7C2FF5D210D1A1229C57 /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 4737C50C93165034E11ED367CED29B8B /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 3F4500FF478E2D46762A835A3246E477 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 3F59506B554D05B69979D1F1D402EB7A /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = F19A78F96592DA94917F3F0823712ABA /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3FC7CC3B96246D4F825C6C8279CEC5DA /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5725FA8CC3169EC3A58AB423B6FF9DFF /* Alamofire.swift */; }; - 401FDE6EBE82B52DA19FC1D97B1E89FB /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E601E8412E744C594B52E2D650B4E0F /* SessionManager.swift */; }; - 40714AED839EB2D7A66072C1E8464B6F /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A9FC90F34F33C21861521943FF70C48 /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 407C9AC8C1420DA97FD95DA13D639F26 /* ErrorUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AF92EF1D336D809C8967E33A3DBBE77 /* ErrorUtility.swift */; }; - 40919C1DF4A4133FC9D96C97CAF6BAC6 /* QuickSelectedTestSuiteBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC8704F55DFFF2C0E20D16475615C890 /* QuickSelectedTestSuiteBuilder.swift */; }; - 411171C8094CFB108026E257C32BCABA /* BeGreaterThanOrEqualTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = E50799A77095B8AC641C744262E81F0E /* BeGreaterThanOrEqualTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 411C68E366E3B19A7DA1BE9344CD4D6D /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4B225031EAB44A29764105674ADB3AB /* MobileCoreServices.framework */; }; - 41399A1E3D3BB00E5C3796A136800BB2 /* Alamofire-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A8A6643FD73581A7A0E981E68E2EB08 /* Alamofire-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4181753AC5E7161B76F6DBC8C4ADC70D /* QuickConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 7F3E9FBDA7CA432A7F7A921116C3E579 /* QuickConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 41BB1F445EF46F10C7B3A7894E2AE332 /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 05E882104E13582E89684450D5143DF9 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 422CFBCFF02CE0A89CED5F3D19BFEC54 /* EndWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D5FEA8B77D0C524A2DF7A4DEFA053C2 /* EndWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 42E5C49BB24CA8E3CA26322648205C66 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B4846300414818477FE3AD17B113AA8 /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 438DEF97EFCDAA21DE33D07259FE03BC /* World+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = E3C57FE4DD15C20F3718DD89F49D39B8 /* World+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 44E60F710DDBCD28F52296426213078E /* PostNotification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 210C3034221AABB580FAA984BC87B530 /* PostNotification.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 44E86C2362768FABA67930515F4B054E /* SWXMLHash.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACBCBEB158DE1CD35D309E8C15A51F91 /* SWXMLHash.swift */; }; - 45B48F6630BEAABF4A289BF39AAB055C /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1BD6D5108F95FF742160D80DEDB28C4 /* ResponseSerialization.swift */; }; - 461E25DF516A0709139F6A5432091C47 /* MatchError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F43CE04DAA2F75D9954CA9E088330F9 /* MatchError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 467B6399A75C64F3D23726A6AEE23195 /* QuickTestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 897A7256964C25D8E77D77E7DDF2EFE5 /* QuickTestSuite.swift */; }; - 47419678DCAF26316DB8E184513EC6FC /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = E129F0BFE7CC753A63AA30F332584D69 /* Example.swift */; }; - 477F487CA35C840A13FDC338DD2A9B55 /* ExpectationMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D12BE302FD1C8BF480690BFC64A2DC4 /* ExpectationMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 478FF73E5E7A4CD0BE5E64F54C5BB5AA /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = B4D8836A764279D73C1CB542D3F56CA7 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 483EA00B0B0A537C2EEDCE8F53E6DB1B /* BeLessThanOrEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FC060CEAEF5E277DDE4F0A4010E9352 /* BeLessThanOrEqual.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 484DD8C2CA86DB0180477AABC4647682 /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = C40DD9944AD29DB08347641DBA7A9C4C /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 48AEBA468DE6310325B3D27C1F54236D /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC6FBAE26F3783A39D3CB8D8045D8EC9 /* DSL.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 48B87F4D28E8726A86D3D526AD39204D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - 48DDD46799A50A93B9AC4FC841C2CD1F /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = E13F0A679B4FAD646857BED7F8182C28 /* Response.swift */; }; - 48E5D8501172C564BA4AAA583E7E3557 /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 6DA7D009B2B94912722762B10E255141 /* LSMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 49113F1B4704BD052134A0CFC2B80113 /* Nimble-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D4C439E9F36D1DFE3EE555337C527EC6 /* Nimble-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 49408F4221B8F4625995ACE8C4566854 /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = E129F0BFE7CC753A63AA30F332584D69 /* Example.swift */; }; - 49CD0B8637B40C6EB83A237777D00B71 /* QCKDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = AFE750E3A4986CA72E410EE1185EBBFC /* QCKDSL.m */; }; - 49F117B01ECBF4035CF9E1398B19A590 /* Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = D91D4D0DAAA22B4BE9D1505DC3069178 /* Async.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4A59CED6B185C120B7FF3998BBBB5054 /* Quick-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B51C663B5E5D85BE81C59A84B347EE1 /* Quick-tvOS-dummy.m */; }; - 4A720AD3161876844E206F17AB4C0C41 /* Nimble-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0947DEF4E871503954F4C6D97496B609 /* Nimble-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4AA90034CB7081883338405307C25B82 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99301605FFE57ED6E421E6F8490039F8 /* SessionDelegate.swift */; }; - 4AD9400617A3C3E3E9FB8FAE8FDEF6EE /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = B27B95DE0D94AD0F052E8F1BACDEA8B4 /* Timeline.swift */; }; - 4ADD178644AD55A7D1E9F716437903BD /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB2ECAD3F9878B017CD3866A2FE23D9A /* Filter.swift */; }; - 4B080A2A14CF570CFC6EA00810E27E81 /* SourceLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C64DD1E10DBBD93CA4AD51658EF268 /* SourceLocation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4B1868708B50CD219FCDEDF785A7B2BC /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E33956AD24200C8553F2AC1353B82C1D /* TaskDelegate.swift */; }; - 4B2EF64FBA487DC1FA37CBE14374CAA3 /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A9FC90F34F33C21861521943FF70C48 /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 4BC7F20F6653A341CE4BEB7B3A37AD42 /* Callsite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20B9F633555EB1B7B0B12958B03039AF /* Callsite.swift */; }; - 4C456D703A6FCDB091204788A538A03E /* AssertionDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6C4A8CDE6609C5D374F7B5DBAC3FE55 /* AssertionDispatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4D6C8D9B49BCCD191D28F410282E9598 /* Equal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25E033C4A6550EC0975DF77734D3C1B5 /* Equal.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4E0B0D53F2E822DF8B53CCA674CBB216 /* AmazonS3RequestManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF211D3FA50971D49A494E3DDDEEDDD /* AmazonS3RequestManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4E6D7E229A7A30EEC447EF2FC73E80F9 /* DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = D5BCFE8D32D23FFB339A20ABD24AB7C7 /* DSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4F03372BFF2459679CE0F7272A2789B4 /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7637520918B775614738B01618C14B93 /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 4F1C0C5D836B698638F95AC7B326FCAC /* BeNil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E14AE43C6480D73607D378C73DD6B53 /* BeNil.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4F3C83EA4E9B03E03CFFA09F16963682 /* SWXMLHash-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A2B9BB05C7EE8DDEE29601A17F359CF /* SWXMLHash-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4F59DF2176A950DDB5B65B4E70282790 /* NMBExceptionCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = E0948FEA225C24408E479AED035B87BA /* NMBExceptionCapture.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 4F6A6775013C8396ECB4C69D1B202434 /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 88F1C73FBC9ADC9CEB387C0F8B35DFFB /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4F77ECBDA04D4B969E84879C948DB092 /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = CE23092BDBACED7264315C88A1B500BE /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 501EAB5CE7E649F52018BE8B1075D116 /* ThrowError.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3A9F7E155713F2D7E5EFC2AA387FACD /* ThrowError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5036C0AD06371DAC50A7D31424FBE120 /* CwlCatchException.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E8B4131546A67DE41E864AA0693AC98 /* CwlCatchException.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 50B3936BD92D0A8416184D4BDE0C0AE2 /* Alamofire-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A1C154BDEC8AF64E45412E0F8A2994D /* Alamofire-tvOS-dummy.m */; }; - 50B47BD4EE316F5F029209BDF9F37819 /* BeGreaterThanOrEqualTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = E50799A77095B8AC641C744262E81F0E /* BeGreaterThanOrEqualTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 51470CA10C897DCAC3C8A8585385EEB5 /* ExampleHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = B774C137D416989B3477E8D7F675E38E /* ExampleHooks.swift */; }; - 51803A132B3FB554FE554232A88425ED /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = DEA7367F6D03265830EA5CC304D066AE /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 5181EBCE39F696572467DA6EE0E59593 /* NMBStringify.h in Headers */ = {isa = PBXBuildFile; fileRef = 685FC01EE4C35664C36D1B37121B7301 /* NMBStringify.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 51DCD3B103612A917C0BB6ED9E423E49 /* AmazonS3RequestManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF211D3FA50971D49A494E3DDDEEDDD /* AmazonS3RequestManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 526BF546EE39FFF5F9F508068ADDB613 /* BeLessThanOrEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FC060CEAEF5E277DDE4F0A4010E9352 /* BeLessThanOrEqual.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 535EDE20BC619CB288C157F6116FB432 /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A31658290511B52E34C72FB7800B544 /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 53A2CCE7BFCC36D1707B659076EDABB8 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 5135D92C3270DE4B0C062DDF4255089F /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 53A30D266B77FE9D5B17F4456350F430 /* NMBObjCMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70626B8451FB260C3BA359FB2F5A804C /* NMBObjCMatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 543C184414156162826597BE10FEC479 /* BeGreaterThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 273BC1774E85D8F4F340F58B7D9231A1 /* BeGreaterThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 548902D6166462ED2E60F0294780A622 /* CwlCatchBadInstruction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46D65BDA8360B79BE277F9DF4A6F6BBE /* CwlCatchBadInstruction.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 551123AED1236E0D10D1F6A7954D2C88 /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 593052BDEE40F715B96366D865F39B7B /* MultipartFormData.swift */; }; - 55EADD8571AD5CD509447AAD2E042BA4 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = EA9D26C503ACCF38073DCCC40601B905 /* LSNSURLSessionHook.m */; }; - 569FFBCAF88DEE29B6A62AC17CEE4430 /* AssertionRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2858710DAB0151065DC4C242BF67E796 /* AssertionRecorder.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 56C55602E0137B6E5C90988055648DA8 /* QuickConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 7F3E9FBDA7CA432A7F7A921116C3E579 /* QuickConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 57A677980FCDEFA2C8E1F8B17D5C4B41 /* Pods-iOS-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 62044F7F9ED8456AC6465C61EC06176B /* Pods-iOS-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 57BAA03C652C2C775E42AE776B1B23C6 /* DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = D5BCFE8D32D23FFB339A20ABD24AB7C7 /* DSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5816F2CA2F0E50038666D588E937D8C2 /* AmazonS3SignatureHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 8ACD08E74DBA1258EE98B6517ABF6EEB /* AmazonS3SignatureHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5819C72B6A933289591AF5E380AA981E /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = E01683F2C04FCD4553F69E2C22B68EC5 /* ServerTrustPolicy.swift */; }; - 589E6201A17C6297DC659BD9715FCBF0 /* mach_excServer.c in Sources */ = {isa = PBXBuildFile; fileRef = 4A047F4881ED0044FC7E0592146AC311 /* mach_excServer.c */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 58D1B137C8C8588E46FE06D5EE05B60C /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99301605FFE57ED6E421E6F8490039F8 /* SessionDelegate.swift */; }; - 58E7206DE034533776421CA811266806 /* BeLogical.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCF8A8D6ABB1C089C88A576ED79108F1 /* BeLogical.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 59AC8769FCFB30B9C109A4BF4C61CD68 /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = B0CAB0CC97B535FF971E15BA373227C9 /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5A177465726A596F7C8587E99ACCE7DB /* SWXMLHash-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9409EB6460040D272C24C68E404415D2 /* SWXMLHash-tvOS-dummy.m */; }; - 5A47B7573AEEB9D8F612E6B38C913E39 /* ExampleMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CA4259DC2D2F1950F3F9D5FFD0BDE0B /* ExampleMetadata.swift */; }; - 5B2A5AE02FFC08712771EFFFB5336D96 /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 2167E0C62C0FB16AD21B6A1AF14CD731 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5B3B623A16AF0920E5340BC216055243 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C4D1501A51599D56D2135A43DE2BC2 /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5C182A7294672F0E4D3055C621077D29 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - 5C2657468F0F01343BF1FD9CD285737A /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 396A0B4A6A663ED0E9E19084AE3618E9 /* Region.swift */; }; - 5C70DDBCE0B40F7DA26D2AFA3AF68EF8 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = A0799F7C0814C8757CADC6B5B0086CBF /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 5C710F6ACD82840D3AF99D63EB6054FE /* ToSucceed.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A45B68AE909113BCFCE60234F60EF /* ToSucceed.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5D4EE1E78B02776D155E2EAD743A596E /* AmazonS3RequestManager-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EF36FD0422256ADBBC3DC10785FC5735 /* AmazonS3RequestManager-iOS-dummy.m */; }; - 5DF116EA39A8EB315EA65160D6BB9DF0 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99301605FFE57ED6E421E6F8490039F8 /* SessionDelegate.swift */; }; - 5ECFE10531AF51215A41D5B626C5385C /* Functional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2562984F3998C40EF3152A8967288059 /* Functional.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5EF42CBD241EBCEA10F61128D8A26C74 /* AssertionDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6C4A8CDE6609C5D374F7B5DBAC3FE55 /* AssertionDispatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5F080FFDB80F68087AE7A7DE60E0C6EB /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7637520918B775614738B01618C14B93 /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5F152B903A7F1FDA2021BD296DCA6F71 /* mach_excServer.c in Sources */ = {isa = PBXBuildFile; fileRef = 4A047F4881ED0044FC7E0592146AC311 /* mach_excServer.c */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5F2C6422BA974C05C11EDD269B447348 /* AssertionRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2858710DAB0151065DC4C242BF67E796 /* AssertionRecorder.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 5FB9B3B5C400107D494F697EDEA805B5 /* ResponseObjects.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5FE5CDC4012239BD1465B188D0142C7 /* ResponseObjects.swift */; }; - 5FBEC82A256EE1A6C47B3A8684AEDBC8 /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = D1FFEF86C5CC88665055EC07B339F3BA /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 605BC3EF978D30084DBFE6AA5FD0DFE9 /* BeCloseTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBC12BAF80DDA57BC18DB77F11FE3936 /* BeCloseTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6091AE5C71506F37AED050DD0688951A /* World.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBBDCB3D9DB3029FAC996F6E7B318DD9 /* World.swift */; }; - 60E718C7805BADA8B6F09057D0D0C41A /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = E13F0A679B4FAD646857BED7F8182C28 /* Response.swift */; }; - 610017AA401B43AB241D006B9C3D708C /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1984628ABB498E97C6BDA627CC31D2CC /* AFError.swift */; }; - 611D41B235BA320ADD3AECBF63201D74 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = F19A78F96592DA94917F3F0823712ABA /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6148B973D33B85B5978A0EE86CB6D3F6 /* BeNil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E14AE43C6480D73607D378C73DD6B53 /* BeNil.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 620A86F27A9F55BAC3DE71A78DFE2105 /* QuickConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = C7DB5AA272425136778830221D45D96F /* QuickConfiguration.m */; }; - 637C699F0EABDF2AC3BB4E461C34CDEB /* SWXMLHash+TypeConversion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7498E5FCB507E88E66186528D21533E7 /* SWXMLHash+TypeConversion.swift */; }; - 63A74A04F82847131F4699A97B2C0BA1 /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = B4D8836A764279D73C1CB542D3F56CA7 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 64554D4F5C2E95AB6AB214888D1BE5F0 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = E01683F2C04FCD4553F69E2C22B68EC5 /* ServerTrustPolicy.swift */; }; - 64D4E7845D3981EFD534739C4F5161B4 /* World+DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE3776918756C6A139DE5485B8737C1D /* World+DSL.swift */; }; - 6511669BF7C3D24E36928AD9433437AA /* ExpectationMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D12BE302FD1C8BF480690BFC64A2DC4 /* ExpectationMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6551F41CC27F02670686FDAA7A6097E8 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB2ECAD3F9878B017CD3866A2FE23D9A /* Filter.swift */; }; - 655D1F4B5BEE3AA219F4AA0CB97F388C /* QuickSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 81ACDC9340193ABF6127FD7A80B55B5E /* QuickSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 65B5CA4229D695D6BA22C960D9FBDAD2 /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = C40DD9944AD29DB08347641DBA7A9C4C /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 65F9A8C579701BC93E989AF45039B5ED /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A9FC90F34F33C21861521943FF70C48 /* LSNSURLHook.m */; }; - 6613F830F0AE0613B70D2E9378EBAA9F /* AsyncMatcherWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53E9518268307D06291C19B5BE8DC426 /* AsyncMatcherWrapper.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 663D3FEC91D38CF59AE2707944CB22CB /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E601E8412E744C594B52E2D650B4E0F /* SessionManager.swift */; }; - 66405939D096D2709CAE495F912C89E4 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F191EE7F5827A1123D262182BDD19AC4 /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 66C7AA79800FFB0B196088D2F677F1B8 /* ContainElementSatisfying.swift in Sources */ = {isa = PBXBuildFile; fileRef = 542402ADDCA30CF2A332CE3A3E2B0F38 /* ContainElementSatisfying.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6860861A47AA82CC477B92927DD35F51 /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 6AA7758FF331ABD4FC6D3110726602EC /* NSURLRequest+DSL.m */; }; - 68DC685367ECBBB95316250BB3FB28B2 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01D80EF7BEB5A8B03D53E76A1E5E289 /* MobileCoreServices.framework */; }; - 69D1C2B5F8F1F65F3E7BDC80CDB6BADD /* Quick-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 52C4C9AEF80B4D0589E1AA86FEB8068A /* Quick-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 69F77B4BA951F4DEA13B3D1811A653BC /* Pods-TVOS-Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7D44352109AC12EE3009C30A104CC8FC /* Pods-TVOS-Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6A152EE64B702CEA91833CE46891E284 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FCDC514B2A2E71F6E608E60CDC2BB89 /* Notifications.swift */; }; - 6B681D47455AFEAA28E0C91CB10645AA /* CurrentTestCaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = F1491A454F97CC459375D0FC717D25BB /* CurrentTestCaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; }; - 6BC12BC8658D2919FB5761081A4041C8 /* BeLessThanOrEqual.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FC060CEAEF5E277DDE4F0A4010E9352 /* BeLessThanOrEqual.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6BDD061389B0E735290345D5C9B54260 /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E5311386DBC6E0084ECBC86B8D9CE1E7 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 6C160BD7DA7A3D26CDFB8C4AC00CC673 /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = D1FFEF86C5CC88665055EC07B339F3BA /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 6C6DDAF84DB4F3DC6431CE6379EDA558 /* ErrorUtility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AF92EF1D336D809C8967E33A3DBBE77 /* ErrorUtility.swift */; }; - 6CEECCF4D266E130B62D9CAC266C2903 /* Nocilla-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B27DCE886EF5A60A739A68ABE437279 /* Nocilla-iOS-dummy.m */; }; - 6D194543D0217AA99D556F9D921CC39F /* NimbleEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19A978D266D4216FF3CF884FCEF55196 /* NimbleEnvironment.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6E89511F0AF9ABA06D5396F62499C448 /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = 98C571D42D03C2E4146640E1E4F9480D /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 6EC0CFE012E36E308CA8B4CA5398FD46 /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E7373D2C8982912F7588DAD4D919DBE1 /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 6F2E3F60F07D6605B2FE6B1C3ECA0420 /* DSL+Wait.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66E3133E2003FD98E2CF2E3E0A40A42B /* DSL+Wait.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 6FE9016B97A656CCAB8ACC48D6AD1714 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 70374120CE7ABC22C190A133EF3FC5F1 /* CwlBadInstructionException.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD91965F24014622F5DD346AB15668CC /* CwlBadInstructionException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 703932EF779A74C0FAE64785346A0A3E /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5725FA8CC3169EC3A58AB423B6FF9DFF /* Alamofire.swift */; }; - 70463BC82581D721549610459F2A899F /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = A16614A9F28022BD2B76FE7B6CA36307 /* LSHTTPRequestDiff.m */; }; - 7056FFDD05633B6791828C0557F86118 /* BeEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46605D6A2A1855C3DEBA5B54308E9CC6 /* BeEmpty.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 707C584FE4646A59F03605AA84355DA1 /* QuickSelectedTestSuiteBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC8704F55DFFF2C0E20D16475615C890 /* QuickSelectedTestSuiteBuilder.swift */; }; - 70C4D947E1FF846E015933075FA7A125 /* CwlCatchBadInstruction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46D65BDA8360B79BE277F9DF4A6F6BBE /* CwlCatchBadInstruction.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 70F5EA689C2DB180C6D797175DBF5F60 /* RaisesException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E1B8F0B017D292AD7390B348C8BB5F8 /* RaisesException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 70FA44C06379E10F7F819A38AC12E748 /* MatcherProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37DC659575A58A79C4BD5702B03196B7 /* MatcherProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 711FCDA1A6E2537824BB3EC1C1CA834C /* Callsite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20B9F633555EB1B7B0B12958B03039AF /* Callsite.swift */; }; - 712FB89D50D2B3A23006F5137593478D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - 717A5DD9D614BD9B19CFB288CBA787A5 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = F76B29ADEDA7D125BB7592D0C2DE1AAA /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 719575818476FF63E66DB5A09556DA67 /* Pods-iOS-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A46544ADD0691D7BB7122696390B2CFB /* Pods-iOS-Tests-dummy.m */; }; - 71D8F9D00E3BCF85951F4983D7972353 /* BeGreaterThanOrEqualTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = E50799A77095B8AC641C744262E81F0E /* BeGreaterThanOrEqualTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7249DA948B359B0C7D1ABE003F2CB49E /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 385E4FEC694EFE98A1F194D7460C1616 /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 726A7B4796E3373859DC9CE737060962 /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF4D886068A4BBACF81B462027047AFB /* DispatchQueue+Alamofire.swift */; }; - 72EB3391B982EB702F8A9D663B763F56 /* BeAKindOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E563BD8A923A6CCFA21DD507FE6B65E /* BeAKindOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7324928B97D88F4CAC7ADA4CEE02E563 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = E16F561EFAC3131F47C928BEFB6D8356 /* ResponseSerialization.swift */; }; - 732A61BD6544993C862D83C7FFF7D3B1 /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 94BAB839B9033E95E6171B7F94AAA89B /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 73BA2BCDAE51A4B248FF575E8F35B082 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 5135D92C3270DE4B0C062DDF4255089F /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 746FB56DAEBDC43B8DD754EE43D8CBB3 /* NMBExceptionCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D3816C7A6206BCD78CCCBB1FEB311C8 /* NMBExceptionCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 752F751C6BA5D8F6548A46E21D8E0429 /* NMBStringify.h in Headers */ = {isa = PBXBuildFile; fileRef = 685FC01EE4C35664C36D1B37121B7301 /* NMBStringify.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 75439F835D41872808E96A57D1C00BF5 /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = CB3614CCF320F1138D63A44D554D8250 /* NSRegularExpression+Matcheable.m */; }; - 7591CE375927E7AD3DB6CF2938B87624 /* mach_excServer.c in Sources */ = {isa = PBXBuildFile; fileRef = 4A047F4881ED0044FC7E0592146AC311 /* mach_excServer.c */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 759CD77BB5901A7AF7C088F5B5990D88 /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = E129F0BFE7CC753A63AA30F332584D69 /* Example.swift */; }; - 763BCA097744BA41EA8CFC46A37FED46 /* World.h in Headers */ = {isa = PBXBuildFile; fileRef = C3F7BEA62755185B8E5BFFC76E613617 /* World.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 7704224B1D4F3E1952851D43A9B165CF /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FCDC514B2A2E71F6E608E60CDC2BB89 /* Notifications.swift */; }; - 796DB5F4025D2FA221715BCFEC5FB83B /* CwlBadInstructionException.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD91965F24014622F5DD346AB15668CC /* CwlBadInstructionException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 79925473D5E09952E5D55828F3E52B88 /* DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = D5BCFE8D32D23FFB339A20ABD24AB7C7 /* DSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 79A09016928E0B71FA01E791B1DF76D5 /* BeCloseTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBC12BAF80DDA57BC18DB77F11FE3936 /* BeCloseTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 79FCD87DA3E0EF6C6B9D20DFA6CB8932 /* QuickSelectedTestSuiteBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC8704F55DFFF2C0E20D16475615C890 /* QuickSelectedTestSuiteBuilder.swift */; }; - 7A16CD013E8FE6DD7F7A7DA56FAA720B /* ThrowAssertion.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB67F31E8C96DEA45F10BDB0E2A2F6BD /* ThrowAssertion.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7A2B2F2B7C3C1C5AB60E066B787D15D5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - 7AD440C4F0B442BB0291B7E803D7B897 /* ExampleGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7298A17E23B68D354E54B9D51705056 /* ExampleGroup.swift */; }; - 7B2BEBA6135C137D900C8597F678D8D8 /* RaisesException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E1B8F0B017D292AD7390B348C8BB5F8 /* RaisesException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7BA18EA41D39E9A20DDBE4C07009A825 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = B27B95DE0D94AD0F052E8F1BACDEA8B4 /* Timeline.swift */; }; - 7BA2BE6AD0E49C516004C99A8BC852E9 /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = C40DD9944AD29DB08347641DBA7A9C4C /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 7C44628B173F4654A16FABFC45A1B6EA /* QCKDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D65151355EA88A928D0CD9E70D31699 /* QCKDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7CBAF81CBE1EF4B57261E85DC87079C4 /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A380B93164292F7D4F1BAD8DC081540 /* NSData+Matcheable.m */; }; - 7D66B87E65EBC20470DCBFCF1D21FE00 /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = AB12231666B730D50B9B5243DA0626D3 /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7E688F7966950FA3F8EECD076789B963 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E7927F0E217FF4FFF789000096ACC3D /* NSURLRequest+LSHTTPRequest.m */; }; - 7E82EC4234124231200C8C90450D38D1 /* HaveCount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17904BC74E998B5C46180248259A4CD7 /* HaveCount.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7EE4A381324DCFF3AC238745082CA20C /* Pods-TVOS-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AA0BEA3EBD51D2D93B4B082E60967D04 /* Pods-TVOS-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7F2B82E0102216E367BDA06425C0A2B2 /* DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = C3BA8DEF79A3BA83CDE345448C39A6DF /* DSL.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7F3E91DE89AE4BA3AA7F871B14F228B9 /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC6FBAE26F3783A39D3CB8D8045D8EC9 /* DSL.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 7F4934911FA1648595C9BE57F569938C /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 31DE3F6BA9B18139FCB5F61ED5A33788 /* LSASIHTTPRequestHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 7F6062E1DCA5FF152D61FE50F30088D9 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF6B7A8F0A6D94B18BEFFDF4C6DD9C80 /* CFNetwork.framework */; }; - 803F2A4F8BBD5AA8B4B081C7E0E772D3 /* S3Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89FF8E8A5648BF32BDF3282DE9753EE7 /* S3Error.swift */; }; - 8041F350ED92D78B548DE5F8F84BB2EF /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = F25766B5B800B241614F4024B6299ABE /* DSL.swift */; }; - 80F9F6D0890BDAC0B5099FCF71681539 /* BeAnInstanceOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F9014F4E5C76AA2CD11C788677B117E /* BeAnInstanceOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8113B2E28B51B3B8E4859AB108944618 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 409108AEA28DF9238FA170F3FFB87A26 /* CoreServices.framework */; }; - 827BF036AD9C799D02B31DF1C9A4BED7 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CC9AA21DF0ED2F6415CF222092AD888 /* NetworkReachabilityManager.swift */; }; - 82F443CFA97C7EF5EAB2B1EBAA1DD92B /* S3Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89FF8E8A5648BF32BDF3282DE9753EE7 /* S3Error.swift */; }; - 83B12887E8186C3FA94A19B404C80B0D /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = A57AE5129D4B5C2F5B16CFB073FAFF2A /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 83F493C9AAAD8A251BA1510CB90A0ADE /* Nimble-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EA9D7D45363671AA03F05A071E416666 /* Nimble-iOS-dummy.m */; }; - 847DB548A2895A814F06FC3969B2AF34 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37752996D5C7032073C0E3E90FB631FD /* Result.swift */; }; - 848960821AF814B1216BA6E4F617255C /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E2C4A52EB7AB25346152146016E1B21 /* XCTest.framework */; }; - 853166F4864469A4FE74AA02A35AF5BA /* AllPass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 347B442FA7C73B1BD02535E842180B2B /* AllPass.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 85463EB15C59DEFB011D1A9545008440 /* NMBStringify.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A5AADDB9F07C215FFF3317010DDD8CB /* NMBStringify.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 864B26556EF7FD29A6AF4835D9858F54 /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 599F3B561A61F37596098345EB25FB7F /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 8657097AFA90DCD9811266ABD14689E1 /* BeAnInstanceOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F9014F4E5C76AA2CD11C788677B117E /* BeAnInstanceOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8667F8B014F46127DD1069F2844EB2BA /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 02CC38812F3BE537161ECEB4272B387C /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 867716CBF40F59A3E18B34908275B568 /* NMBExpectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B89CBF60DB79B1E0D055F0E029FEBC0 /* NMBExpectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 86FE678B323CA00AB1CE87814327E209 /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 94BAB839B9033E95E6171B7F94AAA89B /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 870DF401D97E33416CE735787DC5A771 /* SuiteHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64E413128F6AE916E110F989B3E1AD93 /* SuiteHooks.swift */; }; - 872AACC9B677CA6D8F2F84B3793BCA93 /* World+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = E3C57FE4DD15C20F3718DD89F49D39B8 /* World+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 872F7AC14358D05D22E692CB801524FB /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4C90EC877456E8FAA2B7EF0A612992 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 87581FCE70EB2C9FFCE9788A9738A78B /* BeGreaterThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 273BC1774E85D8F4F340F58B7D9231A1 /* BeGreaterThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 87F49E9EC6419824E6D12AB444960572 /* NMBObjCMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70626B8451FB260C3BA359FB2F5A804C /* NMBObjCMatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 889D3946FD25C615B3C2A026BB8B3B78 /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 385E4FEC694EFE98A1F194D7460C1616 /* LSDataMatcher.m */; }; - 88ED072CCB1785DF12D726F94A626A6B /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = FC72602A1377186FF0D4A0A81EFDB5D7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 89105D0C52EF9B5E0811E3F4EAF7A398 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E7927F0E217FF4FFF789000096ACC3D /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 89339CC18AB111FD916BCEE911AB2F7A /* ContainElementSatisfying.swift in Sources */ = {isa = PBXBuildFile; fileRef = 542402ADDCA30CF2A332CE3A3E2B0F38 /* ContainElementSatisfying.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 893CBE4CBBB4326A39A880878DC55021 /* Quick-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C944839833A19CB1EAAEA429F3BBD0CC /* Quick-macOS-dummy.m */; }; - 89DD1BFD2889EF4E48A12AD03A7679DD /* QCKDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = AFE750E3A4986CA72E410EE1185EBBFC /* QCKDSL.m */; }; - 89F7996C6F1CE561129529EEA5013C60 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - 8A4802ACDD8E12C475F3D8F2F94805E3 /* XCTestObservationCenter+Register.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E1B5E559E521D84EA9880F00D62DA7 /* XCTestObservationCenter+Register.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8A89CCD7170296B0D97BD0E478D0C7A3 /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 2167E0C62C0FB16AD21B6A1AF14CD731 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8AB83DCB24995E583507924C2C799A7E /* FailureMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 550FC621794900BD91783F04D0AC2659 /* FailureMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8AD7321EA9CD83C891E9BDD6551F41C3 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = EA9D26C503ACCF38073DCCC40601B905 /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 8AFE84ECBA2AB9467A4E309FA2AD21E6 /* QuickConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = C7DB5AA272425136778830221D45D96F /* QuickConfiguration.m */; }; - 8B64B8D647EB890D53F9561ACB2FF2B0 /* AdapterProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC7ABD159A1D780F60931EE2101C6D61 /* AdapterProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8B6DF6B04B803DBEDC5303ACD899ABA6 /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E8F9C8301E4537A3757BE5F2A33605 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 8BCA7AC03B70BD485553D604815B260B /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 599F3B561A61F37596098345EB25FB7F /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 8C4A00FC1336BC96D74F78C33869AD57 /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = 98C571D42D03C2E4146640E1E4F9480D /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 8C5C832A068C4910D434C55FB76CD687 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = FED63E3D352B01716FF59FB410EE1E02 /* ParameterEncoding.swift */; }; - 8CE9D6A4F64B737A94D0E87FC2EF6470 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2454311447A420E7285EC09C8315151A /* XCTest.framework */; }; - 8CF791D27EC89F2B827323654DE903CF /* URL+FileName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F1FAD10BEED584F9A8A6AF780BF1375 /* URL+FileName.swift */; }; - 8D996618A02C9476C3D7A6283791CD59 /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4C90EC877456E8FAA2B7EF0A612992 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8D9F626F5C9BD4333C75A436253BD4F0 /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 31DE3F6BA9B18139FCB5F61ED5A33788 /* LSASIHTTPRequestHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 8DE3C3414634F31408ACB0B80D1E1DEC /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E7373D2C8982912F7588DAD4D919DBE1 /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 8DE6C7D13A3FE7F74E5BAF0DACD9E364 /* CwlCatchBadInstructionPOSIX.swift in Sources */ = {isa = PBXBuildFile; fileRef = 445BB18A45524C8157B69A107C29322F /* CwlCatchBadInstructionPOSIX.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 8EA1665DBDF093BFDCD46DAC3F63BEE6 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 8FA936C50C1CD7B4EC196B167BA04B61 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37752996D5C7032073C0E3E90FB631FD /* Result.swift */; }; - 9006781F399C427556FA7FA13096865C /* Functional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2562984F3998C40EF3152A8967288059 /* Functional.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 903D780E8E61260FB101E01E4F3029FE /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = CD839F7E0745D0688CC16D2E722BD037 /* ASIHTTPRequestStub.m */; }; - 910DB2BAA50A4C87107CDEA182124043 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - 91682D5ED70E332CC47E51FF4F042AFE /* NSString+C99ExtendedIdentifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0744CA4EBB1EF1B0E7E6D71A6772786E /* NSString+C99ExtendedIdentifier.swift */; }; - 91A9F452B0E0DF21A3D4B1DABF91EE44 /* NSBundle+CurrentTestBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6D3D09323FED375CEB08AD503FD0228 /* NSBundle+CurrentTestBundle.swift */; }; - 92861B0F536CC88F2D48D88C5C01E149 /* BeAKindOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E563BD8A923A6CCFA21DD507FE6B65E /* BeAKindOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 92DBAA34EF1DD3C7D6221F212C8D133F /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 28042B939DBCA4438D2A5D39E79BAC8F /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9331B8428BE780E24D484029BE69B0CE /* ExampleHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = B774C137D416989B3477E8D7F675E38E /* ExampleHooks.swift */; }; - 93AB78A25ABB3F9B5F3617279033D9C1 /* QuickSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 061A375616D399845D5CF066833E8E1D /* QuickSpec.m */; }; - 93C9D1992E579F9AA7EE656293D2B9F2 /* SatisfyAnyOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5A03CD3AD6A5CE49D7F2474A4D8B3E2 /* SatisfyAnyOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 940DAD3F09CC8AC3EFAB11B9D33802AB /* AmazonS3SignatureHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 467E3EC74E16D72066005D6C9042608A /* AmazonS3SignatureHelpers.m */; }; - 94811769F3E2CAEEA4CD5114C2E8C4A0 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = A0799F7C0814C8757CADC6B5B0086CBF /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 94CD8C03E731C42A04AAC6A2A9D24629 /* AsyncMatcherWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53E9518268307D06291C19B5BE8DC426 /* AsyncMatcherWrapper.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 94EEED84A885B6306B7B331B8566E23A /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C674C0A01E8FEB14CDD4D7673B90636 /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 94F98BBB8C168371BE5D3E3005D39338 /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E8F9C8301E4537A3757BE5F2A33605 /* NSString+Matcheable.m */; }; - 9501CC0AE27D9D317120A074977DD2F5 /* ExampleMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CA4259DC2D2F1950F3F9D5FFD0BDE0B /* ExampleMetadata.swift */; }; - 959ACEE9CE4A78D0644F6F78B9FDE8CF /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - 95F91597941D01990616BEE39213F9C9 /* BeLessThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E06A3ED79A283F6DFA9987BC1E0DCC7 /* BeLessThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 960B6003CF411EA4A3AAB187C8B0615B /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 6AA7758FF331ABD4FC6D3110726602EC /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 960D243BE52F052AAB1A85DAF8777469 /* Expectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AE9DE8FEA994B1D4B38283CEFD8AB19 /* Expectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 965F4AAD60FEE040E92BB5D2E0E42588 /* Stringers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BE9B8CD4FD5379583D34194A009FC2C /* Stringers.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 96AD3CE92FCC114693170305245017F1 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = F76B29ADEDA7D125BB7592D0C2DE1AAA /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 972E812399D2869AA3407D73BE4CC1BF /* ThrowAssertion.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB67F31E8C96DEA45F10BDB0E2A2F6BD /* ThrowAssertion.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 97DE05EA865E98ECC392A4CAEB2CFD43 /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = D1FFEF86C5CC88665055EC07B339F3BA /* LSHTTPRequestDSLRepresentation.m */; }; - 98041469D425A9F36C4196254D981482 /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 94BAB839B9033E95E6171B7F94AAA89B /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 98383450DEE47DA54FF0C22E42B26594 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = F19A78F96592DA94917F3F0823712ABA /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 985D548B8535BCC8D4942C30CE7002F4 /* BeEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46605D6A2A1855C3DEBA5B54308E9CC6 /* BeEmpty.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 9885795303EA04A55BFB1FF030395E01 /* Nimble-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 179E3B712C24F813A2E713550099D529 /* Nimble-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 99B0D7EFC04F7CAF0B91EB51B8F21FBD /* SWXMLHash.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76866E62C6139298F9F1B9B85D1A4C56 /* SWXMLHash.framework */; }; - 99C43991765C0DF8928747E71E1E7FD1 /* Nocilla-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 77D4C1361B0F4E07D3D7C36BE3C1C93B /* Nocilla-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9AD7112734777D912FFBADBD23554819 /* Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = D91D4D0DAAA22B4BE9D1505DC3069178 /* Async.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 9B003B3A21EA92F86B526F15BA5C28F0 /* QuickSpecBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 7286040D516C66D5DAC114D97C699A1D /* QuickSpecBase.m */; }; - 9B3784AAD046219F03E43AF4E1A54307 /* HooksPhase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FC62BD7BD367904917FCBCBC670C0A7 /* HooksPhase.swift */; }; - 9B997A840F9E417E9CA147A1EDAA076C /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48656BE34896C4D9A027D37CA8AADE8E /* XCTest.framework */; }; - 9C1D127E93D1FD094AE3C3E5C05CE7D1 /* AllPass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 347B442FA7C73B1BD02535E842180B2B /* AllPass.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 9C2D70F1E462CE75FB1475AD53A6249F /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EFBF321EFB8237415C293DBEEFDFF20 /* Request.swift */; }; - 9C814DD6A9DE1D6C2075149D43AECE94 /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = B0CAB0CC97B535FF971E15BA373227C9 /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 9C824E93FC2DA0DA1BB0C502FC36A91D /* SWXMLHash.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76866E62C6139298F9F1B9B85D1A4C56 /* SWXMLHash.framework */; }; - 9CBE0645B9C420F0D52FEE83508C9D7E /* World+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = E3C57FE4DD15C20F3718DD89F49D39B8 /* World+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 9CE86558CE78DF2968426244446ED1A6 /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E5311386DBC6E0084ECBC86B8D9CE1E7 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 9D353BC16BD3C235C0F75118DE72DA97 /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 6DA7D009B2B94912722762B10E255141 /* LSMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9DAAF9CC64B673F599AA565DFEDB5E49 /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = CD839F7E0745D0688CC16D2E722BD037 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 9DBB60B6FC09451EAC7066C8030B4EFD /* Nocilla-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 36C8A1EA119847A8803B5463A25868C0 /* Nocilla-macOS-dummy.m */; }; - 9ECD0D292479F2F1B1C659C3BC8EF3C4 /* SWXMLHash-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 194027471E76A63369E91C6ABF5D4CD0 /* SWXMLHash-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9EE03D9FB1228C8972C1617C86C8CE37 /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = B4D8836A764279D73C1CB542D3F56CA7 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 9F8384AB853F5123FDB6BE466492E1E0 /* Expectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AE9DE8FEA994B1D4B38283CEFD8AB19 /* Expectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - 9F9509B7A2230450845A2604418EF06D /* AmazonS3SignatureHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 8ACD08E74DBA1258EE98B6517ABF6EEB /* AmazonS3SignatureHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9FBA337846CC419298BAD5005A00512E /* Behavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F6C07F8DBBCFE2C0DEA69990C496729 /* Behavior.swift */; }; - 9FBB81877ACEBA4D849978F40A2AD64F /* ExampleHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = B774C137D416989B3477E8D7F675E38E /* ExampleHooks.swift */; }; - A07BBB97FF332B7FE27B3F7CC015CDC4 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = E01683F2C04FCD4553F69E2C22B68EC5 /* ServerTrustPolicy.swift */; }; - A0DFE087E8102DAC9ED2E08D6A61EBF1 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1BD6D5108F95FF742160D80DEDB28C4 /* ResponseSerialization.swift */; }; - A119098E18FFFAE5B8562FC4E6E82BF2 /* BeAKindOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E563BD8A923A6CCFA21DD507FE6B65E /* BeAKindOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A14C9E4441828577931916CC64FA09CB /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = F25766B5B800B241614F4024B6299ABE /* DSL.swift */; }; - A1BA28434ABC4D98872C9064A24AA18B /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67A354864093F95E596281E8DD3F27AD /* Validation.swift */; }; - A2198698F7B50995723ECEFB8788104B /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37752996D5C7032073C0E3E90FB631FD /* Result.swift */; }; - A227787EC80FFC23F9CCCECAF3865EB8 /* Stringers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BE9B8CD4FD5379583D34194A009FC2C /* Stringers.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A22A7A272483A9E351EA359D61F1A583 /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 05E882104E13582E89684450D5143DF9 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; - A2630AED7BE09D172B35C67370A8FB46 /* NMBObjCMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70626B8451FB260C3BA359FB2F5A804C /* NMBObjCMatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A266BAAE9654EDEEBA8D3ADF3E67F5D6 /* CwlCatchException.h in Headers */ = {isa = PBXBuildFile; fileRef = 084CD56CD96D6FF25ADE0A5D10BDD0FE /* CwlCatchException.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A2D7E4F8049E0B6C78A4D70A8552047E /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BE99C6D204B49692652ACD9B6686A8 /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A365CC2AEBC179394CA0F54837669F09 /* BeVoid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2879F8BE240E84AA4A5C60B46E498E2B /* BeVoid.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A3E681F9BF293325A23313EA9CD08D94 /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = F25766B5B800B241614F4024B6299ABE /* DSL.swift */; }; - A3E816BC35BD53931980C7C0115D3005 /* Nimble-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 06A6042E15FF8CFE2656DB3A29E5ED3B /* Nimble-tvOS-dummy.m */; }; - A40195490D4A7D4F9D72C3BA7FECB52E /* NSBundle+CurrentTestBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6D3D09323FED375CEB08AD503FD0228 /* NSBundle+CurrentTestBundle.swift */; }; - A430452AD7AB25E3F3AC78EBDFEDF58C /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = B03AB1EBF4A85A79B651957E2935EDE8 /* LSHTTPClientHook.m */; }; - A48882518E571DA5D2EBAB6919833FDC /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A31658290511B52E34C72FB7800B544 /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A51BB738FBB2A1FCF15F7ADBD5EF9062 /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = E6CD996A8A20D305F6C0243EC03A0990 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A51D91E8432BDA1A4998E510AA1A65D3 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EFBF321EFB8237415C293DBEEFDFF20 /* Request.swift */; }; - A59F2F4010038EAEC38B95153FE69CD3 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D382E7DEB540151D9C77BC27D8A5269 /* Errors.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A6E8BA1A4937574B44780A3D1F5217BD /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = ECA167A845EFB19E2300FFE175E0E9F3 /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A738543832C736CB09A3C7783F0F575C /* Equal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25E033C4A6550EC0975DF77734D3C1B5 /* Equal.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A8C163E1E42D826FDD9817BEC92E155C /* Contain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2906EBB38A7B8E19D95D599D3B143F4F /* Contain.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A8EC5AD9EB6244C71F5ACEE7F190BDBA /* MatchError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F43CE04DAA2F75D9954CA9E088330F9 /* MatchError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - A9851B43856460860FD49171060AEF0F /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = CB3614CCF320F1138D63A44D554D8250 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A9B5B97407D8EEE9AF9EC3B42F36BC4F /* ResponseObjects.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5FE5CDC4012239BD1465B188D0142C7 /* ResponseObjects.swift */; }; - A9F865046BCD50D82F21FC0CBDC46077 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = FED63E3D352B01716FF59FB410EE1E02 /* ParameterEncoding.swift */; }; - AA041E92F277284D031918C813AC0F4B /* Contain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2906EBB38A7B8E19D95D599D3B143F4F /* Contain.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AA2825BE4E5061F5B75B58518DB519C6 /* XCTestObservationCenter+Register.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E1B5E559E521D84EA9880F00D62DA7 /* XCTestObservationCenter+Register.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AA92FC1BFE20D55AC87B2C7421F04C4C /* BeLessThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E06A3ED79A283F6DFA9987BC1E0DCC7 /* BeLessThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AB1779CAA4A632FC02AEF0DB76DF8D6A /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE457B55977F86AD850F6DEBE3290D0 /* Expression.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - ABB296AAD9EEF7DFECFD8A4DD651DD16 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - ABFE9C066F3A679A892BF82D1020E38F /* Closures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FB4E41E9C588ABF8FC17D88B8C686CC /* Closures.swift */; }; - AC6313F16F9CA2EDF29C33FCFCE47B88 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = F76B29ADEDA7D125BB7592D0C2DE1AAA /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AC76C166A92ADBE300B7B563BF4A9CE2 /* SWXMLHash-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 604CF4D0C5C17F9CD11DFEDF87611028 /* SWXMLHash-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AC7D27B5737D1495AC3E74F18DF1DA22 /* AmazonS3SignatureHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 467E3EC74E16D72066005D6C9042608A /* AmazonS3SignatureHelpers.m */; }; - ACD5A0A4E99B875781B9DBFB2BE7414B /* NSString+C99ExtendedIdentifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0744CA4EBB1EF1B0E7E6D71A6772786E /* NSString+C99ExtendedIdentifier.swift */; }; - AD186B213EF080281EF6B81D4826F63B /* SourceLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C64DD1E10DBBD93CA4AD51658EF268 /* SourceLocation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AD20D4A874A681F1F20F40D43C574C55 /* BeVoid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2879F8BE240E84AA4A5C60B46E498E2B /* BeVoid.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AD48BA7038F8C565204F03974E150D70 /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = AB12231666B730D50B9B5243DA0626D3 /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AD7DF24D7DDF2B30463CF8EBEAE27C1D /* SWXMLHash+TypeConversion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7498E5FCB507E88E66186528D21533E7 /* SWXMLHash+TypeConversion.swift */; }; - ADB0811351D06465E723CEE6BF0E5DE3 /* Alamofire-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 84452B23B72DCDD2F6AB5888D6E24265 /* Alamofire-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - ADC263DB937A29331921AC1F877F1417 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 94205463BD4FB9CF37A94FAAE777FEEC /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - ADC4B624F2FE27052ADCA29C9812C846 /* BeCloseTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBC12BAF80DDA57BC18DB77F11FE3936 /* BeCloseTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - ADED74E9E9D2A0344441B6A5EB88974D /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 172B538AF2420B6374291BB308B93399 /* CFNetwork.framework */; }; - AE9629763AD59208B253C7F374FD7AB2 /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 396A0B4A6A663ED0E9E19084AE3618E9 /* Region.swift */; }; - AF0E25E590D7D1E524A84865584520EC /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = ECA167A845EFB19E2300FFE175E0E9F3 /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - AF2454B02FD0ED80CF82E94A7991FCEA /* ResponseObjects.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5FE5CDC4012239BD1465B188D0142C7 /* ResponseObjects.swift */; }; - AF33F78E734A43ED1762325ECC922EE7 /* CwlDarwinDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7471B7D1AFC91631BBC95356F6265023 /* CwlDarwinDefinitions.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - AFCAA5AF6489BD2247A4A25BB13FA489 /* MatchError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F43CE04DAA2F75D9954CA9E088330F9 /* MatchError.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B000C74D86173EE70FDEA965E629F61B /* QuickTestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 897A7256964C25D8E77D77E7DDF2EFE5 /* QuickTestSuite.swift */; }; - B051C3D265F88794F75D9D8B4EBC055D /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 04B757BFBA79C583DED47C10EBBF1756 /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - B0ED219041EC3399FB223978AE713474 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 5AE0317E89425911D98C376DADABE9A2 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B151EA62AC579D972270CE7F4F3C0917 /* S3Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89FF8E8A5648BF32BDF3282DE9753EE7 /* S3Error.swift */; }; - B181B89BDBF4A2DE089BD1C4401C848C /* AmazonS3RequestManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7207F992F5DF1D5EB1BB2F6A1BDFDB /* AmazonS3RequestManager.swift */; }; - B26884A8714A6764BDECD727B685AF21 /* Nimble-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D21CAA96FFA13C8275101FF4F62323E /* Nimble-macOS-dummy.m */; }; - B2A5A39F8E654683B65771065A6A53E2 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = B27B95DE0D94AD0F052E8F1BACDEA8B4 /* Timeline.swift */; }; - B2DC7B2990CF5B44923B76A5B0C687C6 /* FailureMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 550FC621794900BD91783F04D0AC2659 /* FailureMessage.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B3103E3E7D2EE80561CA9E0079EC7918 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - B3152F32233BA3AF47A4E14D2F401052 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - B339CDFB78D2B308DA0B09AF824C5112 /* NMBExpectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B89CBF60DB79B1E0D055F0E029FEBC0 /* NMBExpectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B4760E9170FE77C7E6FC506660BDBAD8 /* NSBundle+CurrentTestBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6D3D09323FED375CEB08AD503FD0228 /* NSBundle+CurrentTestBundle.swift */; }; - B514388AFAA0FEDA1AEE4314FA0E3F28 /* Predicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0C0CB6BC7299E19F98D832DF5708DB0 /* Predicate.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B569EFEC9F3E15152EDE800730836548 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 5AE0317E89425911D98C376DADABE9A2 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B5BAB4B899BD4763BBCC6D95D6AF0EC7 /* QuickSpecBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 7286040D516C66D5DAC114D97C699A1D /* QuickSpecBase.m */; }; - B5C721100E970371D876E8E62319C7D5 /* AmazonS3RequestManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7207F992F5DF1D5EB1BB2F6A1BDFDB /* AmazonS3RequestManager.swift */; }; - B5C788DAA2A4B80F6A97F9A231522A60 /* Alamofire-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A83FF86615A11A9F5EBC7823E8BD38D6 /* Alamofire-macOS-dummy.m */; }; - B62CC93F0C0F94026D67803FB1A27303 /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 54E1F53A2205B92260430FB9A3B43D4E /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - B682A5022E0C5D6F6C004A0A4654A5A6 /* Pods-OSX-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 780D9522FA84578B2E9FB8EE81B0A5DA /* Pods-OSX-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B696699A2399D57FBB5BFA6A18AE296B /* DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC6FBAE26F3783A39D3CB8D8045D8EC9 /* DSL.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B76CE0F0C973F1D0E1C7D42C3B181A2A /* SatisfyAnyOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5A03CD3AD6A5CE49D7F2474A4D8B3E2 /* SatisfyAnyOf.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - B9D4E4A35B95788AD61F64D550826424 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EFBF321EFB8237415C293DBEEFDFF20 /* Request.swift */; }; - B9F0CD5BEBC36148280A2FFD988BD245 /* DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = C3BA8DEF79A3BA83CDE345448C39A6DF /* DSL.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - BA99E45069695231ED5824632225C69F /* Closures.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FB4E41E9C588ABF8FC17D88B8C686CC /* Closures.swift */; }; - BB075634CED80C22EB508DEC6970629D /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E8F9C8301E4537A3757BE5F2A33605 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - BB856A82DEAFB8159200E369A7DF1B4E /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE6F2DC28B4AE6EA7960C66662B5BDF /* CwlMachBadInstructionHandler.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - BBD09F27EDCA9DBC22C5A16395B08A58 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 80C4D1501A51599D56D2135A43DE2BC2 /* LSHTTPStubURLProtocol.m */; }; - BC31E0D8787F35B95665B67DE15ACF16 /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = CE23092BDBACED7264315C88A1B500BE /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; - BC9882745BE8E53BC080884814ADA002 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - BCDC4B3CE853CC3DD2D93739B367BB86 /* QCKDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D65151355EA88A928D0CD9E70D31699 /* QCKDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BD37686168C1075CC4FBC8BB22EABD50 /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E7373D2C8982912F7588DAD4D919DBE1 /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - BD4C9C4CAE0BA400CC1634925F0EEBF3 /* QuickConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 7F3E9FBDA7CA432A7F7A921116C3E579 /* QuickConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BD81C01C84DA41B08E891A0A676750B3 /* Predicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0C0CB6BC7299E19F98D832DF5708DB0 /* Predicate.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - BD9A4F10D32BA0858708B60C97AC7EC1 /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E601E8412E744C594B52E2D650B4E0F /* SessionManager.swift */; }; - BDC702B77200C1C9E8D2EFC296A8EBFB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - BE16ECFD8A3BDBDC67776165DEE519CB /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 04B757BFBA79C583DED47C10EBBF1756 /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - BE26C56776AE0912589DC6F4B7CFB688 /* SuiteHooks.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64E413128F6AE916E110F989B3E1AD93 /* SuiteHooks.swift */; }; - BE5CCAE76DABE614EE3A4641341F42E5 /* NMBStringify.h in Headers */ = {isa = PBXBuildFile; fileRef = 685FC01EE4C35664C36D1B37121B7301 /* NMBStringify.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BED2DBD12E4E23E13674E750B02028CC /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = DEA7367F6D03265830EA5CC304D066AE /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - BF18C663CBE122E96A0D79ADC10084B5 /* BeginWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5539ABE3B53EF4E42A4CAC3B17361610 /* BeginWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - BFE0F57E6EFAB86ECDC80BD20B8C9EA9 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = A57AE5129D4B5C2F5B16CFB073FAFF2A /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C079E5C4F2C9F3AC3D130D563C262C3F /* ThrowAssertion.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB67F31E8C96DEA45F10BDB0E2A2F6BD /* ThrowAssertion.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - C08E9F09701B2FF36088560A0BA4233B /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CC9AA21DF0ED2F6415CF222092AD888 /* NetworkReachabilityManager.swift */; }; - C0EA97C1AB22907FE98D490C42A29E93 /* NimbleXCTestHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A48EF1AB15E05F9FDDD9730ED14A271C /* NimbleXCTestHandler.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - C107213C13B656227159F72A5CB077C4 /* NMBExceptionCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D3816C7A6206BCD78CCCBB1FEB311C8 /* NMBExceptionCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C1B6380336F074B024DDC78D739D2228 /* DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = C3BA8DEF79A3BA83CDE345448C39A6DF /* DSL.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - C2DF08641DB026C1B5DE68FD9216E1BD /* SWXMLHash+TypeConversion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7498E5FCB507E88E66186528D21533E7 /* SWXMLHash+TypeConversion.swift */; }; - C32892698E24608531ACA5B696BD32DF /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = E5311386DBC6E0084ECBC86B8D9CE1E7 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - C3A57F3E55015BBF02E05E68CDEE9738 /* Pods-OSX-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D80CCB3359F46DBC6B9E9F16779B19E4 /* Pods-OSX-Example-dummy.m */; }; - C4612BFD4DDC81BD14DC5679F4EE564F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - C4E3000F51247AEEBEF81224DD5B5425 /* Quick.h in Headers */ = {isa = PBXBuildFile; fileRef = F3AA845E3D305CCCB38250E9C8BCE300 /* Quick.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C610D491F70DF4EBBCCAF8720EBBAAFB /* ExampleMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CA4259DC2D2F1950F3F9D5FFD0BDE0B /* ExampleMetadata.swift */; }; - C734A2391A8A126E3B4FF49C57E38F3B /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4C90EC877456E8FAA2B7EF0A612992 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C75CA55DF5A2769211721753FE800023 /* HooksPhase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FC62BD7BD367904917FCBCBC670C0A7 /* HooksPhase.swift */; }; - C7A06B4299A2987D0C0332A4F200D085 /* ACL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4942C33638BF64FD9C1BC0F26FC39EBF /* ACL.swift */; }; - C82D0F43CC8559E8CD21DA90782A2FAE /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = CB3614CCF320F1138D63A44D554D8250 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - C8D04CF40FFF4B4D007189006B77A380 /* NimbleXCTestHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A48EF1AB15E05F9FDDD9730ED14A271C /* NimbleXCTestHandler.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - C94E8EF2A029DE51A01CE19F29C90A18 /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 05E882104E13582E89684450D5143DF9 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; - C9AEB7F60C1FE9D70F3B9D6CD4F745DA /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67A354864093F95E596281E8DD3F27AD /* Validation.swift */; }; - C9D45AD9FDD7B79CFB9CE0CDAAA126CD /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D382E7DEB540151D9C77BC27D8A5269 /* Errors.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - CA81D50DE3F976A016FC49D704097D16 /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 2167E0C62C0FB16AD21B6A1AF14CD731 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - CAD417DEFE850377FBFD993BCEE99FE3 /* Nocilla-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 70085EFA2C1EC59A05AA4AACF3D9DD15 /* Nocilla-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - CB711BB22D2FE45A2B1E2BDE8B3B2E0F /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 54E1F53A2205B92260430FB9A3B43D4E /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - CBBF312E17DE7CD009167454909CBA1A /* URL+FileName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F1FAD10BEED584F9A8A6AF780BF1375 /* URL+FileName.swift */; }; - CCBFA5C6DDC7FC765616F63186C2EACF /* SWXMLHash.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACBCBEB158DE1CD35D309E8C15A51F91 /* SWXMLHash.swift */; }; - CD1463225132271A721ACB4BFDA3DF67 /* BeEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46605D6A2A1855C3DEBA5B54308E9CC6 /* BeEmpty.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - CF3F5DF35C4A367805AF3843D3BEC76C /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = E16F561EFAC3131F47C928BEFB6D8356 /* ResponseSerialization.swift */; }; - CF3FFDDD009D53E4A3194E596D1033C5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */; }; - CFA601EBFF680D4B89AEA5C43465443A /* BeLogical.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCF8A8D6ABB1C089C88A576ED79108F1 /* BeLogical.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - CFB3358D198FE8EAE0C9A0A58F391486 /* AmazonS3RequestManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF211D3FA50971D49A494E3DDDEEDDD /* AmazonS3RequestManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D03E464DD30980C2BE60CE971B7146BD /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = B0CAB0CC97B535FF971E15BA373227C9 /* LSStubRequest.m */; }; - D044F3FDE53839198C40856ACB2E6C87 /* SWXMLHash.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76866E62C6139298F9F1B9B85D1A4C56 /* SWXMLHash.framework */; }; - D1122F4BBBEA0444BFB4AF85C9EED55F /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7637520918B775614738B01618C14B93 /* LSStringMatcher.m */; }; - D12FE8DAF6E01159473C8D7E151BD58B /* Functional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2562984F3998C40EF3152A8967288059 /* Functional.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D18713C4C12C2F93C3C777E80149C480 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 5135D92C3270DE4B0C062DDF4255089F /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; - D188C9215BF0A72E664CA340201E1394 /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 4737C50C93165034E11ED367CED29B8B /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - D1B63F5C0725258FCF82D75B6C98868E /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67A354864093F95E596281E8DD3F27AD /* Validation.swift */; }; - D2D0EBC3447EA677DD29FD44B81B87C5 /* NimbleEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19A978D266D4216FF3CF884FCEF55196 /* NimbleEnvironment.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D3E7298434C4518595B6BE7A6445BF1E /* HaveCount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17904BC74E998B5C46180248259A4CD7 /* HaveCount.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D3F99019B31DD28743A9D4790238364F /* RaisesException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E1B8F0B017D292AD7390B348C8BB5F8 /* RaisesException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D4460281FA63889CDBF4E214885183E9 /* XCTestObservationCenter+Register.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E1B5E559E521D84EA9880F00D62DA7 /* XCTestObservationCenter+Register.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D485A34365225985BF9917134DEDA82C /* CwlDarwinDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7471B7D1AFC91631BBC95356F6265023 /* CwlDarwinDefinitions.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D4CBC1D8C5478515850312B82B05783D /* Match.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BCE9C48D5B8CC5C7A2941035B378A41 /* Match.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D4F5429EE809634D82CEADFF16F95D36 /* Pods-iOS-Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9CBBBD547A361658B6DCC61D4F2EDAAC /* Pods-iOS-Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D54DE52E0F4BA89E14D4DE12EAD43AAC /* NMBExceptionCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = E0948FEA225C24408E479AED035B87BA /* NMBExceptionCapture.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D57D26251296A2864C9B5EED8F2F9D4E /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A31658290511B52E34C72FB7800B544 /* LSStubRequestDSL.m */; }; - D603D6F82FD63542EE8B9990DA8AACF6 /* EndWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D5FEA8B77D0C524A2DF7A4DEFA053C2 /* EndWith.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D68DC3EC737227DF76CAA3ED1DAD57B4 /* Pods-TVOS-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5071E2E5567563DA1DC7BCB6D0D47CC2 /* Pods-TVOS-Example-dummy.m */; }; - D6A4EE1939C572C647C612FFBF5BC54B /* QuickSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 061A375616D399845D5CF066833E8E1D /* QuickSpec.m */; }; - D6BC2C8EAB361D9474411E8DEE9C87D7 /* DSL+Wait.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66E3133E2003FD98E2CF2E3E0A40A42B /* DSL+Wait.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D6C95B9A9D8092281C5FA48DF50ED4FA /* QuickSpecBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4508965A41FDBBF039911F15E2BF50 /* QuickSpecBase.h */; settings = {ATTRIBUTES = (Project, ); }; }; - D6E9DE5820A40B8BEA66DA27D531CB1D /* NMBExceptionCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D3816C7A6206BCD78CCCBB1FEB311C8 /* NMBExceptionCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D6F10F27E3C306B7607251E4058DB05B /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = E13F0A679B4FAD646857BED7F8182C28 /* Response.swift */; }; - D77C7F75279CEA773282B639DCFC182F /* World.h in Headers */ = {isa = PBXBuildFile; fileRef = C3F7BEA62755185B8E5BFFC76E613617 /* World.h */; settings = {ATTRIBUTES = (Project, ); }; }; - D7CE7A5C3BB9E83C0FAACFB5C48748C9 /* MatcherProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37DC659575A58A79C4BD5702B03196B7 /* MatcherProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D7FF1BB10BDF719EE05F4BFC193C56A3 /* AmazonS3RequestManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E7207F992F5DF1D5EB1BB2F6A1BDFDB /* AmazonS3RequestManager.swift */; }; - D9001CEEB8F9347B9D5091A26D3B2C7B /* MatcherFunc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ACF95D5383D73F19CBB1DFBAC8276C /* MatcherFunc.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - D98AAEE09F26FB07744A9C0B05310055 /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BE99C6D204B49692652ACD9B6686A8 /* LSStubResponseDSL.m */; }; - DA1E34E4DA771EA5F26A61307C1B2265 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = E5BD06EC75E75C67138B2F8A4250C923 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - DB1026C67B8A2A95745F0CAC623E08A0 /* QCKDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = AFE750E3A4986CA72E410EE1185EBBFC /* QCKDSL.m */; }; - DB6015FCC1313EA2EA5C62FECC85E9EF /* Quick.h in Headers */ = {isa = PBXBuildFile; fileRef = F3AA845E3D305CCCB38250E9C8BCE300 /* Quick.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DB89A1C094546B20B67A0E9426331942 /* BeVoid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2879F8BE240E84AA4A5C60B46E498E2B /* BeVoid.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - DC4F1713A1A63C49AD15910358447FBC /* CwlCatchException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58417EEBFDA6B88B6A95D79D390071D4 /* CwlCatchException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - DE63BE9B8D72F17D4098F37ABDDCD4AF /* CwlCatchException.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58417EEBFDA6B88B6A95D79D390071D4 /* CwlCatchException.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - DE6724C911AB42D8E12E9C7FCCEB9BBC /* World.h in Headers */ = {isa = PBXBuildFile; fileRef = C3F7BEA62755185B8E5BFFC76E613617 /* World.h */; settings = {ATTRIBUTES = (Project, ); }; }; - DED3AC124C0E0631B46D46E85CCF0AFF /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 385E4FEC694EFE98A1F194D7460C1616 /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - DEFBBA2911BE239A0FA02BA443D3CD99 /* QuickSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 81ACDC9340193ABF6127FD7A80B55B5E /* QuickSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DF1ABAF482464F6EF9BEEC1B907E2DAF /* PostNotification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 210C3034221AABB580FAA984BC87B530 /* PostNotification.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - DF6CF60C65A45CBFE03EA1BC0DD6D70B /* ACL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4942C33638BF64FD9C1BC0F26FC39EBF /* ACL.swift */; }; - E0455D4A3441DA8B8947ABBBE76A88DA /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 02CC38812F3BE537161ECEB4272B387C /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - E10C17233B0A02B24A8D2C2295425328 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F191EE7F5827A1123D262182BDD19AC4 /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - E16F2D15C01A8960E0D7F248C4148C8E /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B4846300414818477FE3AD17B113AA8 /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E23A23DC69BCD5057E74E9C7E6CDA77B /* World+DSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE3776918756C6A139DE5485B8737C1D /* World+DSL.swift */; }; - E2EC4A7B37E5193E4F14159F96F56697 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE457B55977F86AD850F6DEBE3290D0 /* Expression.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E3A0E0D0FFC60E58EFFB8BCC0B9FE036 /* AmazonS3SignatureHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 8ACD08E74DBA1258EE98B6517ABF6EEB /* AmazonS3SignatureHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E3BDD72C6AC49D6F154408DCB67E8080 /* BeIdenticalTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0BE24135C167F8CD3FB4F865C102F367 /* BeIdenticalTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E3F8D590C59D0B849EC5B6E8889E4EDD /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = ECA167A845EFB19E2300FFE175E0E9F3 /* NSString+Nocilla.m */; }; - E44A26EB9B62C6BDA15393BF84C81612 /* AssertionDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6C4A8CDE6609C5D374F7B5DBAC3FE55 /* AssertionDispatcher.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E503C88D402ABBD06C5A6FD288012366 /* Nimble.h in Headers */ = {isa = PBXBuildFile; fileRef = D9361EF74BC7D66E8B37861C91A1E569 /* Nimble.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E576F12E46D254567A7F97BF3DD43FA8 /* MatcherFunc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ACF95D5383D73F19CBB1DFBAC8276C /* MatcherFunc.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E59DA686925CCB4590ECDC65C200D9F1 /* BeIdenticalTo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0BE24135C167F8CD3FB4F865C102F367 /* BeIdenticalTo.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E5B71EFD872626032206303C0C9849A1 /* HooksPhase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FC62BD7BD367904917FCBCBC670C0A7 /* HooksPhase.swift */; }; - E608A6B842A592EB3EB07BF864071214 /* AmazonS3RequestSerializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF4445DA6C4498B6E7829162CF1AA207 /* AmazonS3RequestSerializer.swift */; }; - E63FE54F07003C8EAC4751863E180A8F /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = CD839F7E0745D0688CC16D2E722BD037 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - E65E319284C5D5B1516E03941F1F10F6 /* World.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBBDCB3D9DB3029FAC996F6E7B318DD9 /* World.swift */; }; - E6F238214E5A93A2F2ACBEF436B71470 /* DSL+Wait.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66E3133E2003FD98E2CF2E3E0A40A42B /* DSL+Wait.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - E79613ABDA878B00296A69DFE3EBB3DD /* World.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBBDCB3D9DB3029FAC996F6E7B318DD9 /* World.swift */; }; - E810BD7FC7113C29A20E1C25223ECCA0 /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1984628ABB498E97C6BDA627CC31D2CC /* AFError.swift */; }; - E87AB1E404C96F0E1935B3DB065CF599 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8601BB99956B69F7B9D49F6BD3D7FE2F /* Configuration.swift */; }; - E93B7922714E0E8958152014784FF16D /* QCKDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D65151355EA88A928D0CD9E70D31699 /* QCKDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E9A803B47BE2E183F6580E53ADD230FC /* QuickSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = 81ACDC9340193ABF6127FD7A80B55B5E /* QuickSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EA99650EA713A7F9B118A7E973061B78 /* AmazonS3RequestSerializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF4445DA6C4498B6E7829162CF1AA207 /* AmazonS3RequestSerializer.swift */; }; - EB31FE34975529ED73567B7F6C3EA551 /* Alamofire-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D2F71EBFB615E21B3351400A6EC2F44E /* Alamofire-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EC7269CA2B2E91DAE9F9F0D255BC2830 /* BeLessThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E06A3ED79A283F6DFA9987BC1E0DCC7 /* BeLessThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - ED1D36FDEC233118C27090E75051C7A3 /* AmazonS3RequestManager-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DFC0D0E7D27597E2BB65B021A187E8FA /* AmazonS3RequestManager-macOS-dummy.m */; }; - ED5BBDDB1F6CBEA0522140DFD91A8CC1 /* AmazonS3RequestManager-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 472D3115639114BBC0AB80A02890BCCE /* AmazonS3RequestManager-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - ED69432E447A74034215CAF70335FFD0 /* QuickConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = C7DB5AA272425136778830221D45D96F /* QuickConfiguration.m */; }; - ED7031EB319B46561556D4A05907B501 /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 28042B939DBCA4438D2A5D39E79BAC8F /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EDAC6E9698476BAB78B913C192509469 /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E33956AD24200C8553F2AC1353B82C1D /* TaskDelegate.swift */; }; - EE7664E19D4AD6E2F98B87BF0D3A7A58 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */; }; - EEB39D1A4C003AF001BEBB7F3948FE2D /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = E16F561EFAC3131F47C928BEFB6D8356 /* ResponseSerialization.swift */; }; - EF817FDD6D3ADFC08751336DC5271A45 /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = FB556FA33E6FA5EAEED0919EE4966F35 /* LSMatcher.m */; }; - EFEC5A72631C0F20245B7412B0982382 /* Pods-iOS-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A3F5FCB1B77B6C92D5453D251E5C804 /* Pods-iOS-Example-dummy.m */; }; - EFFA6F5AC5CB5D0CBFDE9FC572952EE3 /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 54E1F53A2205B92260430FB9A3B43D4E /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - F048D9F65533B0C6D5B6045D0521993F /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A380B93164292F7D4F1BAD8DC081540 /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - F187721FC200782A97510ED9FCFB8082 /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 02CC38812F3BE537161ECEB4272B387C /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - F19D828C018D2CDFA058B5FC0BA420EE /* NMBStringify.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A5AADDB9F07C215FFF3317010DDD8CB /* NMBStringify.m */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F1D1AAAE21CB436A86250591987E9379 /* SWXMLHash-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9E60BDDDDA0DAD9C6B776C712CAB3DC0 /* SWXMLHash-iOS-dummy.m */; }; - F1D6F488C44740FC0813468DE9525E31 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B4846300414818477FE3AD17B113AA8 /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F2654BEE4E64BAB8F8B96C597EECE05F /* PostNotification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 210C3034221AABB580FAA984BC87B530 /* PostNotification.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F28574D3D058666A28B8B82D2BB33D75 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */; }; - F28EF0A8F651843B222C94DA8883D6EC /* QuickSpecBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 7286040D516C66D5DAC114D97C699A1D /* QuickSpecBase.m */; }; - F2B6383D9D228C2D909961E63A2BED09 /* BeLogical.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCF8A8D6ABB1C089C88A576ED79108F1 /* BeLogical.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F3AC6C7119A35B51A5D87CF403F6CE58 /* Nocilla-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E59DBDB06E28C80777125BB195F1B710 /* Nocilla-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3E7B1CD3DF1B0C8B656B24FDD7A2803 /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C674C0A01E8FEB14CDD4D7673B90636 /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - F429F5B6AD73A7B16A2DE87FE8545B03 /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 92B74AA509EBDEDAD8DF7DBB562D7BAB /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - F45A7AC84AF0A3628169F0431DA03C62 /* AmazonS3RequestManager-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4830489F4C118825807F15BC6EDB37FB /* AmazonS3RequestManager-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F479B0802664C8BB3461EE9780479592 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 720499F0FBF0FD6F25E59FBA9B95ADCD /* Alamofire.framework */; }; - F48019B2FDB093007A8730323521ADCA /* ContainElementSatisfying.swift in Sources */ = {isa = PBXBuildFile; fileRef = 542402ADDCA30CF2A332CE3A3E2B0F38 /* ContainElementSatisfying.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F4A21AFF55A54755BED30D9DDB62A13C /* mach_excServer.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A194C1B488EF636BDE18D8211C8E74 /* mach_excServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F4BA231BC21F44C1F2CB27DFCC4084C2 /* ToSucceed.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A45B68AE909113BCFCE60234F60EF /* ToSucceed.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F4E11E069374A916ED0F27F0786A9E3D /* MatcherFunc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31ACF95D5383D73F19CBB1DFBAC8276C /* MatcherFunc.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F5057E28987771FADB064B3A830717CE /* AmazonS3RequestSerializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF4445DA6C4498B6E7829162CF1AA207 /* AmazonS3RequestSerializer.swift */; }; - F54C30D840681214FF9DE71C1FDEDBC8 /* BeGreaterThan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 273BC1774E85D8F4F340F58B7D9231A1 /* BeGreaterThan.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F5BAA282C7CB87E55E0B85E06B45DE8F /* Pods-TVOS-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E5D33D30DF64254F53714735488B8B64 /* Pods-TVOS-Tests-dummy.m */; }; - F6C4E3E193A59006454338A5EE888C74 /* NMBExpectation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3B89CBF60DB79B1E0D055F0E029FEBC0 /* NMBExpectation.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F6E28071BAA5115BB1EAE1C9463CF9B1 /* AsyncMatcherWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53E9518268307D06291C19B5BE8DC426 /* AsyncMatcherWrapper.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F70C04EECE9445372D94C8725945771A /* AmazonS3RequestManager-tvOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BF7F61BE3AC7844DA07F21E56EACD34B /* AmazonS3RequestManager-tvOS-dummy.m */; }; - F7ED7FE054700F4EC491B484E6DBDCC6 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 72C62CCF34D1616F3AD4866C33AB6E6D /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - F81CDA831B8EEA3B2563A17A1B780845 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = A57AE5129D4B5C2F5B16CFB073FAFF2A /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F8CF190D2F4D9BAE15F3969A5B7522AB /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C674C0A01E8FEB14CDD4D7673B90636 /* LSNocilla.m */; }; - F8FD3E9EF210B2758A587A2EE1CBF8A8 /* Contain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2906EBB38A7B8E19D95D599D3B143F4F /* Contain.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - F9544C87AA1FDFE62C914EA6D88085A3 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1BD6D5108F95FF742160D80DEDB28C4 /* ResponseSerialization.swift */; }; - F96B9EEF993998083F5F70F96C4B33EC /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = E6CD996A8A20D305F6C0243EC03A0990 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FA3555F5FA8DE10836B982ACC1E1D342 /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 88F1C73FBC9ADC9CEB387C0F8B35DFFB /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FA4BC948024EC94AB6CE19DA6FD713E5 /* SWXMLHash.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACBCBEB158DE1CD35D309E8C15A51F91 /* SWXMLHash.swift */; }; - FB399E4226A2D46C99189A14F1C5A305 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = E3D093EFE101AD6125AE00C80D2A9D7F /* XCTestSuite+QuickTestSuiteBuilder.m */; }; - FB7EAEAE6CF1DAA5D2284F28A30601CB /* Nimble.h in Headers */ = {isa = PBXBuildFile; fileRef = D9361EF74BC7D66E8B37861C91A1E569 /* Nimble.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FBD06C6244AAFCC2045EB12E8651C8F8 /* AdapterProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC7ABD159A1D780F60931EE2101C6D61 /* AdapterProtocols.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - FC21D142691110BE88594B7CAEA8963B /* QuickSpecBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4508965A41FDBBF039911F15E2BF50 /* QuickSpecBase.h */; settings = {ATTRIBUTES = (Project, ); }; }; - FC4F860A07E6E443F4BB24B758FEB800 /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A380B93164292F7D4F1BAD8DC081540 /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - FC66693CDF03E88413168EBCE8B51388 /* AmazonS3RequestManager-tvOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D1D95551DBA782F3F819201B0304E3C6 /* AmazonS3RequestManager-tvOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FC9D9D77D889D3249E31B9B990283D2A /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 593052BDEE40F715B96366D865F39B7B /* MultipartFormData.swift */; }; - FD2EB6BEE5D37BEA691E782E8A1B6E3A /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D382E7DEB540151D9C77BC27D8A5269 /* Errors.swift */; settings = {COMPILER_FLAGS = "-DPRODUCT_NAME=Nimble/Nimble"; }; }; - FEABE29212C4DE9BCD031DCF2C8B4974 /* ACL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4942C33638BF64FD9C1BC0F26FC39EBF /* ACL.swift */; }; - FEEBCAA2546CDBC87C4470A95B050267 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E7927F0E217FF4FFF789000096ACC3D /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - FF647328B0EAD328EBCACC2D242105DD /* CwlCatchException.h in Headers */ = {isa = PBXBuildFile; fileRef = 084CD56CD96D6FF25ADE0A5D10BDD0FE /* CwlCatchException.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FFB507E58195B1AC40FE1A6DF02058A2 /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 4737C50C93165034E11ED367CED29B8B /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - FFDEA8EB0333AF36CC99EDF685501B2D /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 04B757BFBA79C583DED47C10EBBF1756 /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 0970D4DE905D9EB2EDE7446B281EBA86 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = DA63B20CF2DF7455F18B5BC16AA9EA4F; - remoteInfo = "Nimble-iOS"; - }; - 0996375108D9219AA4514E2E77D7DF33 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 2EE038F5397038B4351149E90BDCCDF5; - remoteInfo = "AmazonS3RequestManager-iOS"; - }; - 0A3053FCC44325C9509A4C696C307EF1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 55A6E35DCF582231E3E894E880C83BCE; - remoteInfo = "Nocilla-tvOS"; - }; - 0B181DE7CB24DF196421C02AD5DF797F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C00234E1C0819EDB117E6576D14C8E06; - remoteInfo = "SWXMLHash-tvOS"; - }; - 2678B1ED7065320EB3019145C8EEB3FA /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 2EE038F5397038B4351149E90BDCCDF5; - remoteInfo = "AmazonS3RequestManager-iOS"; - }; - 43440B2B99DAAEAB42776D0DE3D9EDC6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 474758DFDBE0964B11C6FBB0EFE82E77; - remoteInfo = "Nocilla-macOS"; - }; - 4499EA7C7D093CFAF19198F9D5A80E04 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4FE31931C38E2CC5FD80952F34526F8F; - remoteInfo = "SWXMLHash-iOS"; - }; - 488D730E312846FD54C33519CA456400 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = E831E8BBC0B0C6BEE70128A27FE433A0; - remoteInfo = "AmazonS3RequestManager-tvOS"; - }; - 48DDE9E8928026BD201ABB58765828F2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4EE9FCD7827464F4F7CE797FC8F4B31E; - remoteInfo = "Quick-tvOS"; - }; - 4C2607EB831D29F5EC09EEA814FB9DEF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 5C00FBDCB450BF1448A534747453A668; - remoteInfo = "Nocilla-iOS"; - }; - 5BDDFDF0F1558BEB3ECF453AE42C4D29 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = DDFB3E6E32F37907B6342145E621589C; - remoteInfo = "Nimble-tvOS"; - }; - 63EA9EEFFB539FFB88B97127E7EBE206 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4D8199C20C1BE5F5BCDBC8F8CB4BF089; - remoteInfo = "Alamofire-iOS"; - }; - 6763E954FD3CAFD001A8565247AB2C48 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C30CA9F56E2EF0FAD67B8D807EF0054F; - remoteInfo = "SWXMLHash-macOS"; - }; - 6F270BB8B356D38064FD142503BC8052 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4414095BAA7001D309114F655E471B41; - remoteInfo = "Nimble-macOS"; - }; - 76AD24770D771B3C612EFDA60D21165C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1861C7EA81F002CCFE28A2C6488B9DF6; - remoteInfo = "Alamofire-tvOS"; - }; - 786E2AD8E0A7F2F998C3683E7E27D1B1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = E831E8BBC0B0C6BEE70128A27FE433A0; - remoteInfo = "AmazonS3RequestManager-tvOS"; - }; - 7EAE9798E87BE38F1112837AAEC2267D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4D8199C20C1BE5F5BCDBC8F8CB4BF089; - remoteInfo = "Alamofire-iOS"; - }; - 8137FDBF16C269A2018EC0E71187D23C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EBD776E5B80991F9D73F48B37AA35FC0; - remoteInfo = "Quick-macOS"; - }; - 8511B4BEE0B4C314464448DAFEF5288D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4F00983C00EE7C5BB553C19E5A7AB1ED; - remoteInfo = "AmazonS3RequestManager-macOS"; - }; - 95198A19E00F1D916AE03615A6D184DD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C30CA9F56E2EF0FAD67B8D807EF0054F; - remoteInfo = "SWXMLHash-macOS"; - }; - 9B06BF986A08255F6EF76BA8942CAA0E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C00234E1C0819EDB117E6576D14C8E06; - remoteInfo = "SWXMLHash-tvOS"; - }; - 9D0E11EFF528A3E45E0FDA71EFCDDB61 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4D8199C20C1BE5F5BCDBC8F8CB4BF089; - remoteInfo = "Alamofire-iOS"; - }; - B51950B65B6C37E92312593E0A838DFE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9C711AA0E0FC9B2F227E8D3153064ED8; - remoteInfo = "Alamofire-macOS"; - }; - B7F053CAD543AE7B1539DB983ABE97E9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4FE31931C38E2CC5FD80952F34526F8F; - remoteInfo = "SWXMLHash-iOS"; - }; - B8BD764EFF4026B0A14711C6A430E2A7 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9C711AA0E0FC9B2F227E8D3153064ED8; - remoteInfo = "Alamofire-macOS"; - }; - C19AAC9A4CE66EBD4C33378264DEA179 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9C711AA0E0FC9B2F227E8D3153064ED8; - remoteInfo = "Alamofire-macOS"; - }; - CC1C6105C7816CBCC2203DC5756C085A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4FE31931C38E2CC5FD80952F34526F8F; - remoteInfo = "SWXMLHash-iOS"; - }; - D0B4E82CE44F75E31D8341A19D24AAE2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4F00983C00EE7C5BB553C19E5A7AB1ED; - remoteInfo = "AmazonS3RequestManager-macOS"; - }; - DFDC1125A89815BCF0836310D53A3C44 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C30CA9F56E2EF0FAD67B8D807EF0054F; - remoteInfo = "SWXMLHash-macOS"; - }; - F1F825373A77D6C92A5859355F43D32E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1861C7EA81F002CCFE28A2C6488B9DF6; - remoteInfo = "Alamofire-tvOS"; - }; - F8BF7C415F39457E2653611645D8DECF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = B8C68B924D5B3A7973ACD069D1468A15; - remoteInfo = "Quick-iOS"; - }; - F987C61C0E27708B8BBFD0335D6AB80B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1861C7EA81F002CCFE28A2C6488B9DF6; - remoteInfo = "Alamofire-tvOS"; - }; - FAD5ED3CA3E765A9D740E22AC0AEF8A8 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = C00234E1C0819EDB117E6576D14C8E06; - remoteInfo = "SWXMLHash-tvOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 004FE381BE75918FFED33A223132444B /* Pods-iOS-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS-Example.release.xcconfig"; sourceTree = ""; }; - 01AA63965F132F889AC447B2E0DBFC01 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0293B27886C300CBA93090C2994CDA18 /* Nocilla-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Nocilla-tvOS-dummy.m"; path = "../Nocilla-tvOS/Nocilla-tvOS-dummy.m"; sourceTree = ""; }; - 02CC38812F3BE537161ECEB4272B387C /* LSStubRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequest.h; path = Nocilla/Stubs/LSStubRequest.h; sourceTree = ""; }; - 0342420EE8A591002801BD5EFA20E603 /* Alamofire-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-iOS-dummy.m"; sourceTree = ""; }; - 03A937F80447A817C69C055DC3D29CA8 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.2.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - 03C62B28A6BB4ADC3495831139EA4179 /* Pods-OSX-Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OSX-Tests-frameworks.sh"; sourceTree = ""; }; - 043D166C47081DB7E9EE10FABEF2581F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 04B757BFBA79C583DED47C10EBBF1756 /* LSHTTPResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPResponse.h; path = Nocilla/Model/LSHTTPResponse.h; sourceTree = ""; }; - 05E882104E13582E89684450D5143DF9 /* LSASIHTTPRequestAdapter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestAdapter.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.h; sourceTree = ""; }; - 061A375616D399845D5CF066833E8E1D /* QuickSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickSpec.m; path = Sources/QuickObjectiveC/QuickSpec.m; sourceTree = ""; }; - 06A6042E15FF8CFE2656DB3A29E5ED3B /* Nimble-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Nimble-tvOS-dummy.m"; path = "../Nimble-tvOS/Nimble-tvOS-dummy.m"; sourceTree = ""; }; - 0744CA4EBB1EF1B0E7E6D71A6772786E /* NSString+C99ExtendedIdentifier.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSString+C99ExtendedIdentifier.swift"; path = "Sources/Quick/NSString+C99ExtendedIdentifier.swift"; sourceTree = ""; }; - 084472B1794D39A9E264EEF9AD67F88D /* AmazonS3RequestManager-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AmazonS3RequestManager-iOS-prefix.pch"; sourceTree = ""; }; - 084CD56CD96D6FF25ADE0A5D10BDD0FE /* CwlCatchException.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlCatchException.h; path = Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/include/CwlCatchException.h; sourceTree = ""; }; - 0947DEF4E871503954F4C6D97496B609 /* Nimble-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nimble-macOS-umbrella.h"; path = "../Nimble-macOS/Nimble-macOS-umbrella.h"; sourceTree = ""; }; - 0BE24135C167F8CD3FB4F865C102F367 /* BeIdenticalTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeIdenticalTo.swift; path = Sources/Nimble/Matchers/BeIdenticalTo.swift; sourceTree = ""; }; - 0C6147F9953A4BA8F746D619981A1DFA /* Alamofire-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Alamofire-iOS.xcconfig"; sourceTree = ""; }; - 0D382E7DEB540151D9C77BC27D8A5269 /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = Sources/Nimble/Utils/Errors.swift; sourceTree = ""; }; - 0E7207F992F5DF1D5EB1BB2F6A1BDFDB /* AmazonS3RequestManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AmazonS3RequestManager.swift; path = Source/AmazonS3RequestManager.swift; sourceTree = ""; }; - 0F43CE04DAA2F75D9954CA9E088330F9 /* MatchError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatchError.swift; path = Sources/Nimble/Matchers/MatchError.swift; sourceTree = ""; }; - 104CAEF8A88FDCCE2611B725C1BDC67B /* Pods-OSX-Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OSX-Tests-umbrella.h"; sourceTree = ""; }; - 104EF76D46ECD597FD2F2D63497AF482 /* Pods-OSX-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OSX-Tests-acknowledgements.markdown"; sourceTree = ""; }; - 12FD694346380ABCAF21E1F675E9E995 /* Pods-iOS-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iOS-Example-frameworks.sh"; sourceTree = ""; }; - 13D50677E5081AAF79097C317287C3F7 /* Pods_TVOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TVOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 172B538AF2420B6374291BB308B93399 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - 17904BC74E998B5C46180248259A4CD7 /* HaveCount.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HaveCount.swift; path = Sources/Nimble/Matchers/HaveCount.swift; sourceTree = ""; }; - 179E3B712C24F813A2E713550099D529 /* Nimble-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nimble-tvOS-umbrella.h"; path = "../Nimble-tvOS/Nimble-tvOS-umbrella.h"; sourceTree = ""; }; - 18C551B0208BC4D47FFD9DAC9D194046 /* Pods-iOS-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS-Example.debug.xcconfig"; sourceTree = ""; }; - 194027471E76A63369E91C6ABF5D4CD0 /* SWXMLHash-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "SWXMLHash-macOS-umbrella.h"; path = "../SWXMLHash-macOS/SWXMLHash-macOS-umbrella.h"; sourceTree = ""; }; - 1984628ABB498E97C6BDA627CC31D2CC /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = ""; }; - 19A978D266D4216FF3CF884FCEF55196 /* NimbleEnvironment.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleEnvironment.swift; path = Sources/Nimble/Adapters/NimbleEnvironment.swift; sourceTree = ""; }; - 1A063AAE1470A8E665B21620B7EAF9A3 /* Pods-OSX-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OSX-Tests.debug.xcconfig"; sourceTree = ""; }; - 1A65AAC6885A89E7FADD43D5A93859C1 /* AmazonS3RequestManager-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "AmazonS3RequestManager-macOS.modulemap"; path = "../AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap"; sourceTree = ""; }; - 1B7670B173206FBF38E55C8CD660CC57 /* Nocilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nocilla.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 1B87A0A29BB1BA597714F6B17E285E35 /* Pods-TVOS-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TVOS-Tests.debug.xcconfig"; sourceTree = ""; }; - 1BB040B172DFA966CBB9870FF42C6115 /* Pods-TVOS-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TVOS-Example-acknowledgements.plist"; sourceTree = ""; }; - 1BE9B8CD4FD5379583D34194A009FC2C /* Stringers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stringers.swift; path = Sources/Nimble/Utils/Stringers.swift; sourceTree = ""; }; - 1C575DA6E397F9E787CF4624829146E0 /* AmazonS3RequestManager-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AmazonS3RequestManager-macOS-prefix.pch"; path = "../AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch"; sourceTree = ""; }; - 1CF3426668174979F1D18921A8A2337E /* Nocilla-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-iOS-prefix.pch"; sourceTree = ""; }; - 1D33DCF4D5D1C9F5A207DC41CDDB4BAC /* AmazonS3RequestManager-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "AmazonS3RequestManager-tvOS.xcconfig"; path = "../AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.xcconfig"; sourceTree = ""; }; - 1DF59FFD22EB431045F0F7B4117D4BB7 /* Pods_OSX_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OSX_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 1E8B4131546A67DE41E864AA0693AC98 /* CwlCatchException.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CwlCatchException.m; path = Sources/Lib/CwlPreconditionTesting/CwlCatchExceptionSupport/CwlCatchException.m; sourceTree = ""; }; - 1EF0603F32DCFC51FC2D2A793E0D7B31 /* Pods-iOS-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-iOS-Tests-acknowledgements.markdown"; sourceTree = ""; }; - 1F0E6C9E5A570AC4F0DCC46C636C9EDC /* Pods-iOS-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-iOS-Example-acknowledgements.markdown"; sourceTree = ""; }; - 1F1FAD10BEED584F9A8A6AF780BF1375 /* URL+FileName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URL+FileName.swift"; path = "Sources/Quick/URL+FileName.swift"; sourceTree = ""; }; - 20B9F633555EB1B7B0B12958B03039AF /* Callsite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Callsite.swift; path = Sources/Quick/Callsite.swift; sourceTree = ""; }; - 210C3034221AABB580FAA984BC87B530 /* PostNotification.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PostNotification.swift; path = Sources/Nimble/Matchers/PostNotification.swift; sourceTree = ""; }; - 2167E0C62C0FB16AD21B6A1AF14CD731 /* NSData+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Nocilla.h"; path = "Nocilla/Categories/NSData+Nocilla.h"; sourceTree = ""; }; - 220396527CB76DF11086C8C22671D09C /* CwlPreconditionTesting.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlPreconditionTesting.h; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Posix/CwlPreconditionTesting.h; sourceTree = ""; }; - 239AF178C10FE697CA667E650F79DE7B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../SWXMLHash-tvOS/Info.plist"; sourceTree = ""; }; - 2454311447A420E7285EC09C8315151A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.2.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 2546BA7ABB080E2A9CFED86963986201 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Alamofire-tvOS/Info.plist"; sourceTree = ""; }; - 2562984F3998C40EF3152A8967288059 /* Functional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Functional.swift; path = Sources/Nimble/Utils/Functional.swift; sourceTree = ""; }; - 25CC3D50FC604442A2F3CDB85A94E213 /* Pods-TVOS-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TVOS-Tests-acknowledgements.plist"; sourceTree = ""; }; - 25E033C4A6550EC0975DF77734D3C1B5 /* Equal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Equal.swift; path = Sources/Nimble/Matchers/Equal.swift; sourceTree = ""; }; - 273BC1774E85D8F4F340F58B7D9231A1 /* BeGreaterThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThan.swift; path = Sources/Nimble/Matchers/BeGreaterThan.swift; sourceTree = ""; }; - 28042B939DBCA4438D2A5D39E79BAC8F /* CwlMachBadInstructionHandler.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlMachBadInstructionHandler.h; path = Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h; sourceTree = ""; }; - 285201F4BC160FDE232077436E1AF267 /* SWXMLHash.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SWXMLHash.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2858710DAB0151065DC4C242BF67E796 /* AssertionRecorder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionRecorder.swift; path = Sources/Nimble/Adapters/AssertionRecorder.swift; sourceTree = ""; }; - 2879F8BE240E84AA4A5C60B46E498E2B /* BeVoid.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeVoid.swift; path = Sources/Nimble/Matchers/BeVoid.swift; sourceTree = ""; }; - 28B4744A63B395829DBCEC81C08A138E /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2906EBB38A7B8E19D95D599D3B143F4F /* Contain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Contain.swift; path = Sources/Nimble/Matchers/Contain.swift; sourceTree = ""; }; - 2A2B9BB05C7EE8DDEE29601A17F359CF /* SWXMLHash-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SWXMLHash-iOS-umbrella.h"; sourceTree = ""; }; - 2A3F5FCB1B77B6C92D5453D251E5C804 /* Pods-iOS-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-iOS-Example-dummy.m"; sourceTree = ""; }; - 2A3FFD865587C3F6B7E40A4897AEA6EF /* Pods-iOS-Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-iOS-Tests.modulemap"; sourceTree = ""; }; - 2AB96230C7875D75460D76E627EFE4C8 /* Nimble-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nimble-tvOS-prefix.pch"; path = "../Nimble-tvOS/Nimble-tvOS-prefix.pch"; sourceTree = ""; }; - 2B12E22E3CB7A83BE570834F9049281D /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2B2BA3130ED276C97DCD51EBEC64D08D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 2BCE9C48D5B8CC5C7A2941035B378A41 /* Match.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Match.swift; path = Sources/Nimble/Matchers/Match.swift; sourceTree = ""; }; - 2DBCE7F464B65BA789C87DF340A8EE0D /* Pods-OSX-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OSX-Example-resources.sh"; sourceTree = ""; }; - 2DF58ECAB29E2ECD6D16D918616F460D /* Pods-iOS-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS-Tests.release.xcconfig"; sourceTree = ""; }; - 2DFFDC0C24983112E45BB40142076221 /* Pods-TVOS-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TVOS-Tests.release.xcconfig"; sourceTree = ""; }; - 2E06A3ED79A283F6DFA9987BC1E0DCC7 /* BeLessThan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThan.swift; path = Sources/Nimble/Matchers/BeLessThan.swift; sourceTree = ""; }; - 2E1B8F0B017D292AD7390B348C8BB5F8 /* RaisesException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RaisesException.swift; path = Sources/Nimble/Matchers/RaisesException.swift; sourceTree = ""; }; - 2E7EE7E00D1A39CE49EEAA5EC27433A1 /* Alamofire-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Alamofire-iOS.modulemap"; sourceTree = ""; }; - 308DE25D2ED5B1EFDCEF641ED75F0C6B /* Pods-TVOS-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TVOS-Example.modulemap"; sourceTree = ""; }; - 30FB5DBD21FCCB1C62B442BAD52F0A6E /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 31ACF95D5383D73F19CBB1DFBAC8276C /* MatcherFunc.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherFunc.swift; path = Sources/Nimble/Matchers/MatcherFunc.swift; sourceTree = ""; }; - 31DE3F6BA9B18139FCB5F61ED5A33788 /* LSASIHTTPRequestHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestHook.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m; sourceTree = ""; }; - 323747D18933A35D8E6950071584D1C1 /* Pods-iOS-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-iOS-Tests.debug.xcconfig"; sourceTree = ""; }; - 33944FB69FAC35553940F13A2EEC4641 /* AmazonS3RequestManager-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "AmazonS3RequestManager-iOS.xcconfig"; sourceTree = ""; }; - 3428401159CE9A1F0C3C3DE868558DC0 /* Pods-OSX-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OSX-Tests-resources.sh"; sourceTree = ""; }; - 347B442FA7C73B1BD02535E842180B2B /* AllPass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AllPass.swift; path = Sources/Nimble/Matchers/AllPass.swift; sourceTree = ""; }; - 369CB18607EAADA100B6F93D14D623E2 /* SWXMLHash.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SWXMLHash.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 36C8A1EA119847A8803B5463A25868C0 /* Nocilla-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Nocilla-macOS-dummy.m"; path = "../Nocilla-macOS/Nocilla-macOS-dummy.m"; sourceTree = ""; }; - 37752996D5C7032073C0E3E90FB631FD /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = ""; }; - 37DC659575A58A79C4BD5702B03196B7 /* MatcherProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MatcherProtocols.swift; path = Sources/Nimble/Matchers/MatcherProtocols.swift; sourceTree = ""; }; - 385E4FEC694EFE98A1F194D7460C1616 /* LSDataMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSDataMatcher.m; path = Nocilla/Matchers/LSDataMatcher.m; sourceTree = ""; }; - 393AFECF0C1E6ABAF01D779A7FEE0585 /* AmazonS3RequestManager-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "AmazonS3RequestManager-macOS.xcconfig"; path = "../AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.xcconfig"; sourceTree = ""; }; - 396A0B4A6A663ED0E9E19084AE3618E9 /* Region.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Region.swift; path = Source/Region.swift; sourceTree = ""; }; - 3A604D8B4F109D6BA2638B517761D578 /* Nocilla-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Nocilla-macOS.modulemap"; path = "../Nocilla-macOS/Nocilla-macOS.modulemap"; sourceTree = ""; }; - 3AE0648A16BBF37441F4C1605152A541 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Quick-tvOS/Info.plist"; sourceTree = ""; }; - 3AE6F2DC28B4AE6EA7960C66662B5BDF /* CwlMachBadInstructionHandler.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CwlMachBadInstructionHandler.m; path = Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m; sourceTree = ""; }; - 3AF789DA1EEADBEC38BA1426007846E4 /* SWXMLHash-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "SWXMLHash-macOS.xcconfig"; path = "../SWXMLHash-macOS/SWXMLHash-macOS.xcconfig"; sourceTree = ""; }; - 3B89CBF60DB79B1E0D055F0E029FEBC0 /* NMBExpectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBExpectation.swift; path = Sources/Nimble/Adapters/NMBExpectation.swift; sourceTree = ""; }; - 3C4BE6F53ADB19FF81445334A3DA6354 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3D21CAA96FFA13C8275101FF4F62323E /* Nimble-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Nimble-macOS-dummy.m"; path = "../Nimble-macOS/Nimble-macOS-dummy.m"; sourceTree = ""; }; - 3E7927F0E217FF4FFF789000096ACC3D /* NSURLRequest+LSHTTPRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+LSHTTPRequest.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m"; sourceTree = ""; }; - 3F6C07F8DBBCFE2C0DEA69990C496729 /* Behavior.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Behavior.swift; path = Sources/Quick/Behavior.swift; sourceTree = ""; }; - 409108AEA28DF9238FA170F3FFB87A26 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreServices.framework; sourceTree = DEVELOPER_DIR; }; - 41E1B5E559E521D84EA9880F00D62DA7 /* XCTestObservationCenter+Register.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestObservationCenter+Register.m"; path = "Sources/NimbleObjectiveC/XCTestObservationCenter+Register.m"; sourceTree = ""; }; - 41E8F9C8301E4537A3757BE5F2A33605 /* NSString+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Matcheable.m"; path = "Nocilla/Matchers/NSString+Matcheable.m"; sourceTree = ""; }; - 4393C25F244CBE29E945B6012FA56A30 /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 445BB18A45524C8157B69A107C29322F /* CwlCatchBadInstructionPOSIX.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlCatchBadInstructionPOSIX.swift; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift; sourceTree = ""; }; - 45C64DD1E10DBBD93CA4AD51658EF268 /* SourceLocation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SourceLocation.swift; path = Sources/Nimble/Utils/SourceLocation.swift; sourceTree = ""; }; - 46605D6A2A1855C3DEBA5B54308E9CC6 /* BeEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeEmpty.swift; path = Sources/Nimble/Matchers/BeEmpty.swift; sourceTree = ""; }; - 467E3EC74E16D72066005D6C9042608A /* AmazonS3SignatureHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AmazonS3SignatureHelpers.m; path = Source/AmazonS3SignatureHelpers.m; sourceTree = ""; }; - 469371E672C40404F4B4618A7AE5E92A /* Pods_TVOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TVOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 46D65BDA8360B79BE277F9DF4A6F6BBE /* CwlCatchBadInstruction.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlCatchBadInstruction.swift; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift; sourceTree = ""; }; - 472D3115639114BBC0AB80A02890BCCE /* AmazonS3RequestManager-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AmazonS3RequestManager-macOS-umbrella.h"; path = "../AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-umbrella.h"; sourceTree = ""; }; - 4737C50C93165034E11ED367CED29B8B /* LSNSURLHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLHook.h; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.h; sourceTree = ""; }; - 4830489F4C118825807F15BC6EDB37FB /* AmazonS3RequestManager-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AmazonS3RequestManager-iOS-umbrella.h"; sourceTree = ""; }; - 48656BE34896C4D9A027D37CA8AADE8E /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 4942C33638BF64FD9C1BC0F26FC39EBF /* ACL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ACL.swift; path = Source/ACL.swift; sourceTree = ""; }; - 4947D0114F1754456DF09DB938AD3B8C /* LSASIHTTPRequestAdapter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestAdapter.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m; sourceTree = ""; }; - 4A047F4881ED0044FC7E0592146AC311 /* mach_excServer.c */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.c; name = mach_excServer.c; path = Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.c; sourceTree = ""; }; - 4A380B93164292F7D4F1BAD8DC081540 /* NSData+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Matcheable.m"; path = "Nocilla/Matchers/NSData+Matcheable.m"; sourceTree = ""; }; - 4A9FC90F34F33C21861521943FF70C48 /* LSNSURLHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLHook.m; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.m; sourceTree = ""; }; - 4C1657F198EBA31A5EDB61A41FBB6388 /* Nocilla-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nocilla-tvOS-prefix.pch"; path = "../Nocilla-tvOS/Nocilla-tvOS-prefix.pch"; sourceTree = ""; }; - 4D3816C7A6206BCD78CCCBB1FEB311C8 /* NMBExceptionCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBExceptionCapture.h; path = Sources/NimbleObjectiveC/NMBExceptionCapture.h; sourceTree = ""; }; - 4D5FEA8B77D0C524A2DF7A4DEFA053C2 /* EndWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EndWith.swift; path = Sources/Nimble/Matchers/EndWith.swift; sourceTree = ""; }; - 4E96DFA3D79031BEF0A71316DD36070D /* SWXMLHash-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "SWXMLHash-iOS.xcconfig"; sourceTree = ""; }; - 4FC62BD7BD367904917FCBCBC670C0A7 /* HooksPhase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HooksPhase.swift; path = Sources/Quick/Hooks/HooksPhase.swift; sourceTree = ""; }; - 50546B588AE11CF4349D34605F0B6137 /* Nocilla-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Nocilla-iOS.modulemap"; sourceTree = ""; }; - 5071E2E5567563DA1DC7BCB6D0D47CC2 /* Pods-TVOS-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TVOS-Example-dummy.m"; sourceTree = ""; }; - 5135D92C3270DE4B0C062DDF4255089F /* LSHTTPRequestDSLRepresentation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDSLRepresentation.h; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.h; sourceTree = ""; }; - 52C4C9AEF80B4D0589E1AA86FEB8068A /* Quick-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Quick-macOS-umbrella.h"; path = "../Quick-macOS/Quick-macOS-umbrella.h"; sourceTree = ""; }; - 53E9518268307D06291C19B5BE8DC426 /* AsyncMatcherWrapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncMatcherWrapper.swift; path = Sources/Nimble/Matchers/AsyncMatcherWrapper.swift; sourceTree = ""; }; - 542402ADDCA30CF2A332CE3A3E2B0F38 /* ContainElementSatisfying.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ContainElementSatisfying.swift; path = Sources/Nimble/Matchers/ContainElementSatisfying.swift; sourceTree = ""; }; - 54E1F53A2205B92260430FB9A3B43D4E /* NSURLRequest+LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+LSHTTPRequest.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.h"; sourceTree = ""; }; - 550FC621794900BD91783F04D0AC2659 /* FailureMessage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FailureMessage.swift; path = Sources/Nimble/FailureMessage.swift; sourceTree = ""; }; - 5539ABE3B53EF4E42A4CAC3B17361610 /* BeginWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeginWith.swift; path = Sources/Nimble/Matchers/BeginWith.swift; sourceTree = ""; }; - 555E5020ACD4B02D2353C493EEE328C6 /* Quick-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Quick-iOS-dummy.m"; sourceTree = ""; }; - 55BE99C6D204B49692652ACD9B6686A8 /* LSStubResponseDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponseDSL.m; path = Nocilla/DSL/LSStubResponseDSL.m; sourceTree = ""; }; - 571DCD7364503950B709EC4D4CDB0FF2 /* Pods-iOS-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-iOS-Example.modulemap"; sourceTree = ""; }; - 5725FA8CC3169EC3A58AB423B6FF9DFF /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = ""; }; - 5758240BE09FECC0C924B38588712C98 /* Alamofire-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Alamofire-macOS.modulemap"; path = "../Alamofire-macOS/Alamofire-macOS.modulemap"; sourceTree = ""; }; - 58417EEBFDA6B88B6A95D79D390071D4 /* CwlCatchException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlCatchException.swift; path = Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift; sourceTree = ""; }; - 593052BDEE40F715B96366D865F39B7B /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = ""; }; - 599F3B561A61F37596098345EB25FB7F /* LSNSURLSessionHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLSessionHook.h; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h; sourceTree = ""; }; - 5A9EDBB9DCE68AFD86DAF5131F0E49AD /* AmazonS3RequestManager-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AmazonS3RequestManager-tvOS-prefix.pch"; path = "../AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch"; sourceTree = ""; }; - 5AE0317E89425911D98C376DADABE9A2 /* Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nocilla.h; path = Nocilla/Nocilla.h; sourceTree = ""; }; - 5CA4259DC2D2F1950F3F9D5FFD0BDE0B /* ExampleMetadata.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleMetadata.swift; path = Sources/Quick/ExampleMetadata.swift; sourceTree = ""; }; - 5DD473688B922BBF4D0F886589309F14 /* Nimble-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Nimble-iOS.modulemap"; sourceTree = ""; }; - 5DDC184CC130C8DDE8E6650612208199 /* Nimble-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Nimble-tvOS.xcconfig"; path = "../Nimble-tvOS/Nimble-tvOS.xcconfig"; sourceTree = ""; }; - 5DE85BBF22C89E59C41CAB3C2F27141A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Nimble-tvOS/Info.plist"; sourceTree = ""; }; - 5E14AE43C6480D73607D378C73DD6B53 /* BeNil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeNil.swift; path = Sources/Nimble/Matchers/BeNil.swift; sourceTree = ""; }; - 5E601E8412E744C594B52E2D650B4E0F /* SessionManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionManager.swift; path = Source/SessionManager.swift; sourceTree = ""; }; - 5EAAA6A6E4542CE4A58867910F6AC452 /* SWXMLHash-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "SWXMLHash-iOS.modulemap"; sourceTree = ""; }; - 5F9014F4E5C76AA2CD11C788677B117E /* BeAnInstanceOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAnInstanceOf.swift; path = Sources/Nimble/Matchers/BeAnInstanceOf.swift; sourceTree = ""; }; - 604CF4D0C5C17F9CD11DFEDF87611028 /* SWXMLHash-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "SWXMLHash-tvOS-umbrella.h"; path = "../SWXMLHash-tvOS/SWXMLHash-tvOS-umbrella.h"; sourceTree = ""; }; - 62044F7F9ED8456AC6465C61EC06176B /* Pods-iOS-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-iOS-Example-umbrella.h"; sourceTree = ""; }; - 626D577F2D06C28999349834FFB94D38 /* LSNocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNocilla.h; path = Nocilla/LSNocilla.h; sourceTree = ""; }; - 633A8BF948292DE3BD8ACA9D67CEC01F /* Alamofire-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Alamofire-macOS-prefix.pch"; path = "../Alamofire-macOS/Alamofire-macOS-prefix.pch"; sourceTree = ""; }; - 64E413128F6AE916E110F989B3E1AD93 /* SuiteHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SuiteHooks.swift; path = Sources/Quick/Hooks/SuiteHooks.swift; sourceTree = ""; }; - 66E3133E2003FD98E2CF2E3E0A40A42B /* DSL+Wait.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DSL+Wait.swift"; path = "Sources/Nimble/DSL+Wait.swift"; sourceTree = ""; }; - 67A354864093F95E596281E8DD3F27AD /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = ""; }; - 67BC498F30909879EF3EDA7275DC936E /* Pods-OSX-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OSX-Example.release.xcconfig"; sourceTree = ""; }; - 67EA3F126267676718521AF5B5228396 /* Pods-TVOS-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TVOS-Example-frameworks.sh"; sourceTree = ""; }; - 685FC01EE4C35664C36D1B37121B7301 /* NMBStringify.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = NMBStringify.h; path = Sources/NimbleObjectiveC/NMBStringify.h; sourceTree = ""; }; - 68820CF7E358777100BFB01BFE73AAF5 /* Pods-iOS-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iOS-Example-acknowledgements.plist"; sourceTree = ""; }; - 68F61102E667C28A29117333976A69DC /* SWXMLHash-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "SWXMLHash-macOS-dummy.m"; path = "../SWXMLHash-macOS/SWXMLHash-macOS-dummy.m"; sourceTree = ""; }; - 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; - 6AA7758FF331ABD4FC6D3110726602EC /* NSURLRequest+DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+DSL.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m"; sourceTree = ""; }; - 6AFCFD749C933783157C1B7F67A8E38E /* AmazonS3RequestManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AmazonS3RequestManager.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 6B27DCE886EF5A60A739A68ABE437279 /* Nocilla-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nocilla-iOS-dummy.m"; sourceTree = ""; }; - 6C674C0A01E8FEB14CDD4D7673B90636 /* LSNocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNocilla.m; path = Nocilla/LSNocilla.m; sourceTree = ""; }; - 6D12BE302FD1C8BF480690BFC64A2DC4 /* ExpectationMessage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpectationMessage.swift; path = Sources/Nimble/ExpectationMessage.swift; sourceTree = ""; }; - 6D65151355EA88A928D0CD9E70D31699 /* QCKDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QCKDSL.h; path = Sources/QuickObjectiveC/DSL/QCKDSL.h; sourceTree = ""; }; - 6D7F93CFE48FEBF0C1DEF73DC451F76F /* SWXMLHash-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "SWXMLHash-macOS.modulemap"; path = "../SWXMLHash-macOS/SWXMLHash-macOS.modulemap"; sourceTree = ""; }; - 6DA7D009B2B94912722762B10E255141 /* LSMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcher.h; path = Nocilla/Matchers/LSMatcher.h; sourceTree = ""; }; - 6E397F1F83B043EC5FB727D4A96483E2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../AmazonS3RequestManager-macOS/Info.plist"; sourceTree = ""; }; - 6E4C90EC877456E8FAA2B7EF0A612992 /* LSHTTPBody.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPBody.h; path = Nocilla/Model/LSHTTPBody.h; sourceTree = ""; }; - 6ECCE5F2B3FEF7D07A6276193CEF5D35 /* Pods-TVOS-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TVOS-Tests-resources.sh"; sourceTree = ""; }; - 6FC060CEAEF5E277DDE4F0A4010E9352 /* BeLessThanOrEqual.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLessThanOrEqual.swift; path = Sources/Nimble/Matchers/BeLessThanOrEqual.swift; sourceTree = ""; }; - 70085EFA2C1EC59A05AA4AACF3D9DD15 /* Nocilla-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-iOS-umbrella.h"; sourceTree = ""; }; - 70626B8451FB260C3BA359FB2F5A804C /* NMBObjCMatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NMBObjCMatcher.swift; path = Sources/Nimble/Adapters/NMBObjCMatcher.swift; sourceTree = ""; }; - 7189698AF9AD17D3D62306AEF7816E2F /* Nimble-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nimble-macOS-prefix.pch"; path = "../Nimble-macOS/Nimble-macOS-prefix.pch"; sourceTree = ""; }; - 71F13EB510905143FC6A610CC72B9D21 /* Alamofire-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Alamofire-tvOS-prefix.pch"; path = "../Alamofire-tvOS/Alamofire-tvOS-prefix.pch"; sourceTree = ""; }; - 720499F0FBF0FD6F25E59FBA9B95ADCD /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7286040D516C66D5DAC114D97C699A1D /* QuickSpecBase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickSpecBase.m; path = Sources/QuickSpecBase/QuickSpecBase.m; sourceTree = ""; }; - 72C62CCF34D1616F3AD4866C33AB6E6D /* LSRegexMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSRegexMatcher.m; path = Nocilla/Matchers/LSRegexMatcher.m; sourceTree = ""; }; - 7343DA38704165DC842BA181733570B2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7471B7D1AFC91631BBC95356F6265023 /* CwlDarwinDefinitions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlDarwinDefinitions.swift; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift; sourceTree = ""; }; - 7498E5FCB507E88E66186528D21533E7 /* SWXMLHash+TypeConversion.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SWXMLHash+TypeConversion.swift"; path = "Source/SWXMLHash+TypeConversion.swift"; sourceTree = ""; }; - 760CDDDA61B175ECB4D5FB5016E06CFF /* Pods-iOS-Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iOS-Tests-frameworks.sh"; sourceTree = ""; }; - 7637520918B775614738B01618C14B93 /* LSStringMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStringMatcher.m; path = Nocilla/Matchers/LSStringMatcher.m; sourceTree = ""; }; - 76866E62C6139298F9F1B9B85D1A4C56 /* SWXMLHash.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SWXMLHash.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7699B39AD488392CC8BA68A4E686BB65 /* SWXMLHash-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "SWXMLHash-macOS-prefix.pch"; path = "../SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch"; sourceTree = ""; }; - 77D4C1361B0F4E07D3D7C36BE3C1C93B /* Nocilla-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nocilla-tvOS-umbrella.h"; path = "../Nocilla-tvOS/Nocilla-tvOS-umbrella.h"; sourceTree = ""; }; - 780D9522FA84578B2E9FB8EE81B0A5DA /* Pods-OSX-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OSX-Example-umbrella.h"; sourceTree = ""; }; - 79F7455BED92196EC00556BDE7031BCD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7A31658290511B52E34C72FB7800B544 /* LSStubRequestDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequestDSL.m; path = Nocilla/DSL/LSStubRequestDSL.m; sourceTree = ""; }; - 7B51C663B5E5D85BE81C59A84B347EE1 /* Quick-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Quick-tvOS-dummy.m"; path = "../Quick-tvOS/Quick-tvOS-dummy.m"; sourceTree = ""; }; - 7D44352109AC12EE3009C30A104CC8FC /* Pods-TVOS-Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TVOS-Tests-umbrella.h"; sourceTree = ""; }; - 7E2C4A52EB7AB25346152146016E1B21 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 7E4508965A41FDBBF039911F15E2BF50 /* QuickSpecBase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickSpecBase.h; path = Sources/QuickSpecBase/include/QuickSpecBase.h; sourceTree = ""; }; - 7E4DEEA724E668EA365FD981B6A559F4 /* Pods-TVOS-Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TVOS-Tests-frameworks.sh"; sourceTree = ""; }; - 7F3E9FBDA7CA432A7F7A921116C3E579 /* QuickConfiguration.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickConfiguration.h; path = Sources/QuickObjectiveC/Configuration/QuickConfiguration.h; sourceTree = ""; }; - 7FB4E41E9C588ABF8FC17D88B8C686CC /* Closures.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Closures.swift; path = Sources/Quick/Hooks/Closures.swift; sourceTree = ""; }; - 80311BF81E375E1116C84AB88BFFBFA0 /* Pods_iOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 80C4D1501A51599D56D2135A43DE2BC2 /* LSHTTPStubURLProtocol.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPStubURLProtocol.m; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m; sourceTree = ""; }; - 81ACDC9340193ABF6127FD7A80B55B5E /* QuickSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = QuickSpec.h; path = Sources/QuickObjectiveC/QuickSpec.h; sourceTree = ""; }; - 83CD17442B31BE86A055BF2FD788C774 /* Pods_iOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 84452B23B72DCDD2F6AB5888D6E24265 /* Alamofire-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Alamofire-tvOS-umbrella.h"; path = "../Alamofire-tvOS/Alamofire-tvOS-umbrella.h"; sourceTree = ""; }; - 849A45B68AE909113BCFCE60234F60EF /* ToSucceed.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToSucceed.swift; path = Sources/Nimble/Matchers/ToSucceed.swift; sourceTree = ""; }; - 85614CD7AA6DD40AB204848EA3122F3F /* Nocilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nocilla.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8601BB99956B69F7B9D49F6BD3D7FE2F /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = Sources/Quick/Configuration/Configuration.swift; sourceTree = ""; }; - 875F6956A573A90B8E1F42FF2BE4247D /* Pods-TVOS-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TVOS-Example-resources.sh"; sourceTree = ""; }; - 88F1C73FBC9ADC9CEB387C0F8B35DFFB /* NSData+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Matcheable.h"; path = "Nocilla/Matchers/NSData+Matcheable.h"; sourceTree = ""; }; - 897A7256964C25D8E77D77E7DDF2EFE5 /* QuickTestSuite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickTestSuite.swift; path = Sources/Quick/QuickTestSuite.swift; sourceTree = ""; }; - 89A238EE25F740EE53FE5D2F4CE86CA1 /* Quick-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Quick-tvOS-prefix.pch"; path = "../Quick-tvOS/Quick-tvOS-prefix.pch"; sourceTree = ""; }; - 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 89FF8E8A5648BF32BDF3282DE9753EE7 /* S3Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = S3Error.swift; path = Source/S3Error.swift; sourceTree = ""; }; - 8A5AADDB9F07C215FFF3317010DDD8CB /* NMBStringify.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBStringify.m; path = Sources/NimbleObjectiveC/NMBStringify.m; sourceTree = ""; }; - 8A8A6643FD73581A7A0E981E68E2EB08 /* Alamofire-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-iOS-umbrella.h"; sourceTree = ""; }; - 8ACD08E74DBA1258EE98B6517ABF6EEB /* AmazonS3SignatureHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AmazonS3SignatureHelpers.h; path = Source/AmazonS3SignatureHelpers.h; sourceTree = ""; }; - 8AF92EF1D336D809C8967E33A3DBBE77 /* ErrorUtility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ErrorUtility.swift; path = Sources/Quick/ErrorUtility.swift; sourceTree = ""; }; - 8B4846300414818477FE3AD17B113AA8 /* LSMatcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcheable.h; path = Nocilla/Matchers/LSMatcheable.h; sourceTree = ""; }; - 8BEB4213EC9363060FA22060A540FE7A /* Pods-TVOS-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TVOS-Tests-acknowledgements.markdown"; sourceTree = ""; }; - 8C0610E4FAB8E8F73058DB1AB196FEFE /* Quick-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Quick-macOS.xcconfig"; path = "../Quick-macOS/Quick-macOS.xcconfig"; sourceTree = ""; }; - 8D2D9395FFF968ED9F163C0FD25C64E6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Nimble-macOS/Info.plist"; sourceTree = ""; }; - 8DA2C218197DC796576E6BDB01CF1978 /* SWXMLHash.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SWXMLHash.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8E563BD8A923A6CCFA21DD507FE6B65E /* BeAKindOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeAKindOf.swift; path = Sources/Nimble/Matchers/BeAKindOf.swift; sourceTree = ""; }; - 8F30B0EC4E2190CBDFA7ECC5D3A06718 /* Pods-OSX-Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-OSX-Tests.modulemap"; sourceTree = ""; }; - 8FF5CA15744DF76AF846A49E2DDED71F /* SWXMLHash-tvOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "SWXMLHash-tvOS-prefix.pch"; path = "../SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch"; sourceTree = ""; }; - 92B74AA509EBDEDAD8DF7DBB562D7BAB /* LSRegexMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSRegexMatcher.h; path = Nocilla/Matchers/LSRegexMatcher.h; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9409EB6460040D272C24C68E404415D2 /* SWXMLHash-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "SWXMLHash-tvOS-dummy.m"; path = "../SWXMLHash-tvOS/SWXMLHash-tvOS-dummy.m"; sourceTree = ""; }; - 9413CDD9E09734D9149EE139574CECFC /* Pods-TVOS-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TVOS-Example.debug.xcconfig"; sourceTree = ""; }; - 94205463BD4FB9CF37A94FAAE777FEEC /* NSString+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Matcheable.h"; path = "Nocilla/Matchers/NSString+Matcheable.h"; sourceTree = ""; }; - 94BAB839B9033E95E6171B7F94AAA89B /* NSURLRequest+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+DSL.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h"; sourceTree = ""; }; - 9660960A1FA1A3C9AA89963D1F4D5F1B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../AmazonS3RequestManager-tvOS/Info.plist"; sourceTree = ""; }; - 9733FBD996131A042FE6AE2DF1490085 /* Nimble-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Nimble-macOS.xcconfig"; path = "../Nimble-macOS/Nimble-macOS.xcconfig"; sourceTree = ""; }; - 974E35B67EEFB7F5B9C9FD786A9A20F4 /* Pods-TVOS-Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TVOS-Tests.modulemap"; sourceTree = ""; }; - 98C571D42D03C2E4146640E1E4F9480D /* LSHTTPRequestDiff.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDiff.h; path = Nocilla/Diff/LSHTTPRequestDiff.h; sourceTree = ""; }; - 99301605FFE57ED6E421E6F8490039F8 /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = ""; }; - 9A1C154BDEC8AF64E45412E0F8A2994D /* Alamofire-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Alamofire-tvOS-dummy.m"; path = "../Alamofire-tvOS/Alamofire-tvOS-dummy.m"; sourceTree = ""; }; - 9AE9DE8FEA994B1D4B38283CEFD8AB19 /* Expectation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expectation.swift; path = Sources/Nimble/Expectation.swift; sourceTree = ""; }; - 9AF211D3FA50971D49A494E3DDDEEDDD /* AmazonS3RequestManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AmazonS3RequestManager.h; path = Source/AmazonS3RequestManager.h; sourceTree = ""; }; - 9BB818B584F2E182ECA12FA322753BCA /* Quick-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-iOS-prefix.pch"; sourceTree = ""; }; - 9CBBBD547A361658B6DCC61D4F2EDAAC /* Pods-iOS-Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-iOS-Tests-umbrella.h"; sourceTree = ""; }; - 9CC9AA21DF0ED2F6415CF222092AD888 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = ""; }; - 9D9B7E4A3B11F9D096E5890D0EC806A3 /* Quick-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Quick-iOS.modulemap"; sourceTree = ""; }; - 9E514856AFC8D81FB86F7E4AABFE1068 /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 9E60BDDDDA0DAD9C6B776C712CAB3DC0 /* SWXMLHash-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SWXMLHash-iOS-dummy.m"; sourceTree = ""; }; - 9EFBF321EFB8237415C293DBEEFDFF20 /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = ""; }; - 9FCDC514B2A2E71F6E608E60CDC2BB89 /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = ""; }; - A01D80EF7BEB5A8B03D53E76A1E5E289 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.2.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; }; - A069BE60F31634E4E6A4B2F9E7B0E8E9 /* Quick-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Quick-iOS.xcconfig"; sourceTree = ""; }; - A07115DDE9E3A0E9DA8FC37B0121BC1B /* Pods-OSX-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OSX-Tests.release.xcconfig"; sourceTree = ""; }; - A0799F7C0814C8757CADC6B5B0086CBF /* LSHTTPClientHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPClientHook.h; path = Nocilla/Hooks/LSHTTPClientHook.h; sourceTree = ""; }; - A16614A9F28022BD2B76FE7B6CA36307 /* LSHTTPRequestDiff.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDiff.m; path = Nocilla/Diff/LSHTTPRequestDiff.m; sourceTree = ""; }; - A3A9F7E155713F2D7E5EFC2AA387FACD /* ThrowError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThrowError.swift; path = Sources/Nimble/Matchers/ThrowError.swift; sourceTree = ""; }; - A46544ADD0691D7BB7122696390B2CFB /* Pods-iOS-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-iOS-Tests-dummy.m"; sourceTree = ""; }; - A481F38047E8A51D9422AF1BA4E3B5C8 /* AmazonS3RequestManager-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "AmazonS3RequestManager-tvOS.modulemap"; path = "../AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap"; sourceTree = ""; }; - A48EF1AB15E05F9FDDD9730ED14A271C /* NimbleXCTestHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NimbleXCTestHandler.swift; path = Sources/Nimble/Adapters/NimbleXCTestHandler.swift; sourceTree = ""; }; - A4B225031EAB44A29764105674ADB3AB /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; }; - A57AE5129D4B5C2F5B16CFB073FAFF2A /* LSStubResponseDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponseDSL.h; path = Nocilla/DSL/LSStubResponseDSL.h; sourceTree = ""; }; - A5EA15627372BB5992598F8052E33C4D /* Alamofire-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Alamofire-tvOS.xcconfig"; path = "../Alamofire-tvOS/Alamofire-tvOS.xcconfig"; sourceTree = ""; }; - A5FE5CDC4012239BD1465B188D0142C7 /* ResponseObjects.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseObjects.swift; path = Source/ResponseObjects.swift; sourceTree = ""; }; - A70844C04159DBB308323DCD20211ADD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - A7298A17E23B68D354E54B9D51705056 /* ExampleGroup.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleGroup.swift; path = Sources/Quick/ExampleGroup.swift; sourceTree = ""; }; - A834DE9BD72FD0E7F0907C6D24790DF0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../SWXMLHash-macOS/Info.plist"; sourceTree = ""; }; - A83FF86615A11A9F5EBC7823E8BD38D6 /* Alamofire-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Alamofire-macOS-dummy.m"; path = "../Alamofire-macOS/Alamofire-macOS-dummy.m"; sourceTree = ""; }; - A84E97EFC967FD64D81A8E099A796538 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A8A194C1B488EF636BDE18D8211C8E74 /* mach_excServer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = mach_excServer.h; path = Sources/Lib/CwlPreconditionTesting/CwlMachBadInstructionHandler/mach_excServer.h; sourceTree = ""; }; - AA0BEA3EBD51D2D93B4B082E60967D04 /* Pods-TVOS-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TVOS-Example-umbrella.h"; sourceTree = ""; }; - AB12231666B730D50B9B5243DA0626D3 /* CwlPreconditionTesting.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CwlPreconditionTesting.h; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h; sourceTree = ""; }; - AB508827A5D5A110DBFF4C310725FA7E /* Pods-OSX-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OSX-Example-acknowledgements.markdown"; sourceTree = ""; }; - ABED110423DD74D83F959273F8149211 /* Pods-iOS-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iOS-Example-resources.sh"; sourceTree = ""; }; - ACBCBEB158DE1CD35D309E8C15A51F91 /* SWXMLHash.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SWXMLHash.swift; path = Source/SWXMLHash.swift; sourceTree = ""; }; - ADEA921FD6E391075DFD38C9A649E887 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Nocilla-macOS/Info.plist"; sourceTree = ""; }; - AFD4F71DE2A73611BE1198666A288CC2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Alamofire-macOS/Info.plist"; sourceTree = ""; }; - AFE750E3A4986CA72E410EE1185EBBFC /* QCKDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QCKDSL.m; path = Sources/QuickObjectiveC/DSL/QCKDSL.m; sourceTree = ""; }; - B03AB1EBF4A85A79B651957E2935EDE8 /* LSHTTPClientHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPClientHook.m; path = Nocilla/Hooks/LSHTTPClientHook.m; sourceTree = ""; }; - B0C0CB6BC7299E19F98D832DF5708DB0 /* Predicate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Predicate.swift; path = Sources/Nimble/Matchers/Predicate.swift; sourceTree = ""; }; - B0CAB0CC97B535FF971E15BA373227C9 /* LSStubRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequest.m; path = Nocilla/Stubs/LSStubRequest.m; sourceTree = ""; }; - B155614A1AF5522261003C197029878B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B18A33A798C07C455E1DCF5B6E44BAD2 /* Pods-OSX-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OSX-Tests-dummy.m"; sourceTree = ""; }; - B1A0E823914C20BB45553962041A97B5 /* AmazonS3RequestManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AmazonS3RequestManager.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B2675E9CE3210C6FFE4DB02D71AC2CA6 /* SWXMLHash-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "SWXMLHash-tvOS.xcconfig"; path = "../SWXMLHash-tvOS/SWXMLHash-tvOS.xcconfig"; sourceTree = ""; }; - B27B95DE0D94AD0F052E8F1BACDEA8B4 /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = ""; }; - B2DD1A6CB2246596FB3008C897DAF8EC /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B410C6B2096F9C628BAB558EC86978D2 /* Pods-OSX-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OSX-Example.debug.xcconfig"; sourceTree = ""; }; - B45497E61A04E95B8F2D1127DC130EDD /* Pods-iOS-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-iOS-Tests-acknowledgements.plist"; sourceTree = ""; }; - B4D8836A764279D73C1CB542D3F56CA7 /* LSASIHTTPRequestHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSASIHTTPRequestHook.h; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.h; sourceTree = ""; }; - B5710F607E41186CD35A8B6EAEB6B994 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6EACBD5F68A6184DB37B2B7C24444EE /* AmazonS3RequestManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AmazonS3RequestManager.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B774C137D416989B3477E8D7F675E38E /* ExampleHooks.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExampleHooks.swift; path = Sources/Quick/Hooks/ExampleHooks.swift; sourceTree = ""; }; - B87A37A478B07FD71502BA093BC5875F /* SWXMLHash-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SWXMLHash-iOS-prefix.pch"; sourceTree = ""; }; - BA325F04C49EB8D5D4C9E2E7269E5AA4 /* Pods_OSX_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OSX_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - BB090C2EB5F99C04CE31E35CE92556A8 /* Alamofire-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Alamofire-macOS.xcconfig"; path = "../Alamofire-macOS/Alamofire-macOS.xcconfig"; sourceTree = ""; }; - BB2ECAD3F9878B017CD3866A2FE23D9A /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = Sources/Quick/Filter.swift; sourceTree = ""; }; - BD5AB546A53C0C6B181A02BEAD5FDC02 /* Nocilla-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nocilla-macOS-prefix.pch"; path = "../Nocilla-macOS/Nocilla-macOS-prefix.pch"; sourceTree = ""; }; - BDEEBAB4BC4044DB6E005151BBDAB8F8 /* Pods-TVOS-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TVOS-Example-acknowledgements.markdown"; sourceTree = ""; }; - BE510D26AA1007C4E00D936EAFAF6DCD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Nocilla-tvOS/Info.plist"; sourceTree = ""; }; - BEBBDDA2D02A99BAA14E9E5DB1532FC6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = "../Quick-macOS/Info.plist"; sourceTree = ""; }; - BF7F61BE3AC7844DA07F21E56EACD34B /* AmazonS3RequestManager-tvOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "AmazonS3RequestManager-tvOS-dummy.m"; path = "../AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-dummy.m"; sourceTree = ""; }; - BF9284BD22DB022F006AC57570465023 /* Quick-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Quick-macOS.modulemap"; path = "../Quick-macOS/Quick-macOS.modulemap"; sourceTree = ""; }; - C182759AAA74E613DC1BB5B6AA396A44 /* Quick-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Quick-iOS-umbrella.h"; sourceTree = ""; }; - C2299DDFF3AA14DF5E3EC1729C183D6B /* SWXMLHash-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "SWXMLHash-tvOS.modulemap"; path = "../SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap"; sourceTree = ""; }; - C2B2AAEAC539AB8F51B4E42A58C06398 /* Quick-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Quick-macOS-prefix.pch"; path = "../Quick-macOS/Quick-macOS-prefix.pch"; sourceTree = ""; }; - C30E742835FACA563DC91D7AC9315152 /* Nocilla-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Nocilla-macOS.xcconfig"; path = "../Nocilla-macOS/Nocilla-macOS.xcconfig"; sourceTree = ""; }; - C3BA8DEF79A3BA83CDE345448C39A6DF /* DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DSL.m; path = Sources/NimbleObjectiveC/DSL.m; sourceTree = ""; }; - C3F7BEA62755185B8E5BFFC76E613617 /* World.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = World.h; path = Sources/QuickObjectiveC/World.h; sourceTree = ""; }; - C40DD9944AD29DB08347641DBA7A9C4C /* ASIHTTPRequestStub.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ASIHTTPRequestStub.h; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h; sourceTree = ""; }; - C457CF242B320DC4C4A0CC4F382E3A9A /* Nocilla-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Nocilla-tvOS.xcconfig"; path = "../Nocilla-tvOS/Nocilla-tvOS.xcconfig"; sourceTree = ""; }; - C5119E1FDF5FBE98AFCA212B303BD696 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C7DB5AA272425136778830221D45D96F /* QuickConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = QuickConfiguration.m; path = Sources/QuickObjectiveC/Configuration/QuickConfiguration.m; sourceTree = ""; }; - C8208D17D7482119C262E4C38BC53C68 /* Pods-OSX-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-OSX-Example.modulemap"; sourceTree = ""; }; - C944839833A19CB1EAAEA429F3BBD0CC /* Quick-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Quick-macOS-dummy.m"; path = "../Quick-macOS/Quick-macOS-dummy.m"; sourceTree = ""; }; - CA8B6F9AC2B74860AF454AFB8E05D3AD /* Quick-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Quick-tvOS-umbrella.h"; path = "../Quick-tvOS/Quick-tvOS-umbrella.h"; sourceTree = ""; }; - CB3614CCF320F1138D63A44D554D8250 /* NSRegularExpression+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSRegularExpression+Matcheable.m"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.m"; sourceTree = ""; }; - CBC12BAF80DDA57BC18DB77F11FE3936 /* BeCloseTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeCloseTo.swift; path = Sources/Nimble/Matchers/BeCloseTo.swift; sourceTree = ""; }; - CCF8A8D6ABB1C089C88A576ED79108F1 /* BeLogical.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeLogical.swift; path = Sources/Nimble/Matchers/BeLogical.swift; sourceTree = ""; }; - CD839F7E0745D0688CC16D2E722BD037 /* ASIHTTPRequestStub.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ASIHTTPRequestStub.m; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m; sourceTree = ""; }; - CD91965F24014622F5DD346AB15668CC /* CwlBadInstructionException.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CwlBadInstructionException.swift; path = Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift; sourceTree = ""; }; - CE23092BDBACED7264315C88A1B500BE /* LSHTTPStubURLProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPStubURLProtocol.h; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h; sourceTree = ""; }; - CE3776918756C6A139DE5485B8737C1D /* World+DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "World+DSL.swift"; path = "Sources/Quick/DSL/World+DSL.swift"; sourceTree = ""; }; - CF4D886068A4BBACF81B462027047AFB /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = ""; }; - D185EE7E6D254C226487671D6B13AA76 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D1A57A0F7B2A5303C1C2F6629A680AC9 /* Pods-TVOS-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TVOS-Example.release.xcconfig"; sourceTree = ""; }; - D1BD6D5108F95FF742160D80DEDB28C4 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; - D1D95551DBA782F3F819201B0304E3C6 /* AmazonS3RequestManager-tvOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "AmazonS3RequestManager-tvOS-umbrella.h"; path = "../AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-umbrella.h"; sourceTree = ""; }; - D1FFEF86C5CC88665055EC07B339F3BA /* LSHTTPRequestDSLRepresentation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDSLRepresentation.m; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.m; sourceTree = ""; }; - D2A1E15D681FE8636459945D6C01276D /* Alamofire-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-iOS-prefix.pch"; sourceTree = ""; }; - D2F71EBFB615E21B3351400A6EC2F44E /* Alamofire-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Alamofire-macOS-umbrella.h"; path = "../Alamofire-macOS/Alamofire-macOS-umbrella.h"; sourceTree = ""; }; - D32A4FFB8940D0DBBAF892595E286385 /* Quick-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Quick-tvOS.modulemap"; path = "../Quick-tvOS/Quick-tvOS.modulemap"; sourceTree = ""; }; - D3F4A5E2273A31E47E4115E5C6148C59 /* Nocilla-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Nocilla-iOS.xcconfig"; sourceTree = ""; }; - D4C439E9F36D1DFE3EE555337C527EC6 /* Nimble-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-iOS-umbrella.h"; sourceTree = ""; }; - D5A03CD3AD6A5CE49D7F2474A4D8B3E2 /* SatisfyAnyOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SatisfyAnyOf.swift; path = Sources/Nimble/Matchers/SatisfyAnyOf.swift; sourceTree = ""; }; - D5B0BC11F4894ED6CB9ACAA2BC1178F4 /* AmazonS3RequestManager-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "AmazonS3RequestManager-iOS.modulemap"; sourceTree = ""; }; - D5BCFE8D32D23FFB339A20ABD24AB7C7 /* DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DSL.h; path = Sources/NimbleObjectiveC/DSL.h; sourceTree = ""; }; - D80CCB3359F46DBC6B9E9F16779B19E4 /* Pods-OSX-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OSX-Example-dummy.m"; sourceTree = ""; }; - D847C0D00964381301FCA29644FD1D1C /* Nimble-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Nimble-tvOS.modulemap"; path = "../Nimble-tvOS/Nimble-tvOS.modulemap"; sourceTree = ""; }; - D91D4D0DAAA22B4BE9D1505DC3069178 /* Async.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Async.swift; path = Sources/Nimble/Utils/Async.swift; sourceTree = ""; }; - D9361EF74BC7D66E8B37861C91A1E569 /* Nimble.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nimble.h; path = Sources/Nimble/Nimble.h; sourceTree = ""; }; - DA76182F746736BFC7CB6C2AFEDDA42D /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - DC7ABD159A1D780F60931EE2101C6D61 /* AdapterProtocols.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AdapterProtocols.swift; path = Sources/Nimble/Adapters/AdapterProtocols.swift; sourceTree = ""; }; - DEA7367F6D03265830EA5CC304D066AE /* LSHTTPRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequest.h; path = Nocilla/Model/LSHTTPRequest.h; sourceTree = ""; }; - DFC0D0E7D27597E2BB65B021A187E8FA /* AmazonS3RequestManager-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "AmazonS3RequestManager-macOS-dummy.m"; path = "../AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-dummy.m"; sourceTree = ""; }; - DFE5DFF5C4B80F55340F464818C9C0E1 /* Nimble-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nimble-iOS-prefix.pch"; sourceTree = ""; }; - E01683F2C04FCD4553F69E2C22B68EC5 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = ""; }; - E0948FEA225C24408E479AED035B87BA /* NMBExceptionCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = NMBExceptionCapture.m; path = Sources/NimbleObjectiveC/NMBExceptionCapture.m; sourceTree = ""; }; - E129F0BFE7CC753A63AA30F332584D69 /* Example.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Example.swift; path = Sources/Quick/Example.swift; sourceTree = ""; }; - E13F0A679B4FAD646857BED7F8182C28 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = ""; }; - E16F561EFAC3131F47C928BEFB6D8356 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; - E33956AD24200C8553F2AC1353B82C1D /* TaskDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TaskDelegate.swift; path = Source/TaskDelegate.swift; sourceTree = ""; }; - E3C57FE4DD15C20F3718DD89F49D39B8 /* World+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "World+DSL.h"; path = "Sources/QuickObjectiveC/DSL/World+DSL.h"; sourceTree = ""; }; - E3D093EFE101AD6125AE00C80D2A9D7F /* XCTestSuite+QuickTestSuiteBuilder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestSuite+QuickTestSuiteBuilder.m"; path = "Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m"; sourceTree = ""; }; - E50799A77095B8AC641C744262E81F0E /* BeGreaterThanOrEqualTo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BeGreaterThanOrEqualTo.swift; path = Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift; sourceTree = ""; }; - E5311386DBC6E0084ECBC86B8D9CE1E7 /* LSDataMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSDataMatcher.h; path = Nocilla/Matchers/LSDataMatcher.h; sourceTree = ""; }; - E59DBDB06E28C80777125BB195F1B710 /* Nocilla-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Nocilla-macOS-umbrella.h"; path = "../Nocilla-macOS/Nocilla-macOS-umbrella.h"; sourceTree = ""; }; - E5BD06EC75E75C67138B2F8A4250C923 /* NSData+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Nocilla.m"; path = "Nocilla/Categories/NSData+Nocilla.m"; sourceTree = ""; }; - E5D33D30DF64254F53714735488B8B64 /* Pods-TVOS-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TVOS-Tests-dummy.m"; sourceTree = ""; }; - E6C4A8CDE6609C5D374F7B5DBAC3FE55 /* AssertionDispatcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AssertionDispatcher.swift; path = Sources/Nimble/Adapters/AssertionDispatcher.swift; sourceTree = ""; }; - E6CD996A8A20D305F6C0243EC03A0990 /* NSString+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Nocilla.h"; path = "Nocilla/Categories/NSString+Nocilla.h"; sourceTree = ""; }; - E7373D2C8982912F7588DAD4D919DBE1 /* LSStringMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStringMatcher.h; path = Nocilla/Matchers/LSStringMatcher.h; sourceTree = ""; }; - EA9D26C503ACCF38073DCCC40601B905 /* LSNSURLSessionHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLSessionHook.m; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m; sourceTree = ""; }; - EA9D7D45363671AA03F05A071E416666 /* Nimble-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nimble-iOS-dummy.m"; sourceTree = ""; }; - EAE457B55977F86AD850F6DEBE3290D0 /* Expression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Expression.swift; path = Sources/Nimble/Expression.swift; sourceTree = ""; }; - EB33222DA9E440D9DBF31365AAC148C9 /* Nocilla-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Nocilla-tvOS.modulemap"; path = "../Nocilla-tvOS/Nocilla-tvOS.modulemap"; sourceTree = ""; }; - EC6FBAE26F3783A39D3CB8D8045D8EC9 /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Nimble/DSL.swift; sourceTree = ""; }; - EC8704F55DFFF2C0E20D16475615C890 /* QuickSelectedTestSuiteBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = QuickSelectedTestSuiteBuilder.swift; path = Sources/Quick/QuickSelectedTestSuiteBuilder.swift; sourceTree = ""; }; - ECA167A845EFB19E2300FFE175E0E9F3 /* NSString+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Nocilla.m"; path = "Nocilla/Categories/NSString+Nocilla.m"; sourceTree = ""; }; - ED13CC56222736A1FF65650A783D9E91 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - ED20E25ADD7F387D780FE948A19CD46C /* Nimble-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Nimble-iOS.xcconfig"; sourceTree = ""; }; - EE6AFD8147106750B8A410DEC0CFDFB5 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EF36FD0422256ADBBC3DC10785FC5735 /* AmazonS3RequestManager-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AmazonS3RequestManager-iOS-dummy.m"; sourceTree = ""; }; - EF4445DA6C4498B6E7829162CF1AA207 /* AmazonS3RequestSerializer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AmazonS3RequestSerializer.swift; path = Source/AmazonS3RequestSerializer.swift; sourceTree = ""; }; - EF6B7A8F0A6D94B18BEFFDF4C6DD9C80 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - F1491A454F97CC459375D0FC717D25BB /* CurrentTestCaseTracker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CurrentTestCaseTracker.h; path = Sources/NimbleObjectiveC/CurrentTestCaseTracker.h; sourceTree = ""; }; - F191EE7F5827A1123D262182BDD19AC4 /* LSStubResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponse.m; path = Nocilla/Stubs/LSStubResponse.m; sourceTree = ""; }; - F19A78F96592DA94917F3F0823712ABA /* LSStubRequestDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequestDSL.h; path = Nocilla/DSL/LSStubRequestDSL.h; sourceTree = ""; }; - F25766B5B800B241614F4024B6299ABE /* DSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DSL.swift; path = Sources/Quick/DSL/DSL.swift; sourceTree = ""; }; - F3AA845E3D305CCCB38250E9C8BCE300 /* Quick.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Quick.h; path = Sources/QuickObjectiveC/Quick.h; sourceTree = ""; }; - F3F6ABCA24FD001E66951D022555A8F7 /* Pods-iOS-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-iOS-Tests-resources.sh"; sourceTree = ""; }; - F6D3D09323FED375CEB08AD503FD0228 /* NSBundle+CurrentTestBundle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSBundle+CurrentTestBundle.swift"; path = "Sources/Quick/NSBundle+CurrentTestBundle.swift"; sourceTree = ""; }; - F76B29ADEDA7D125BB7592D0C2DE1AAA /* NSRegularExpression+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSRegularExpression+Matcheable.h"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.h"; sourceTree = ""; }; - F98F13B203D519FBE8B2127E6CC5746B /* Nimble-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Nimble-macOS.modulemap"; path = "../Nimble-macOS/Nimble-macOS.modulemap"; sourceTree = ""; }; - F996B87A15E28292B07C7BC859EEECAD /* Alamofire-tvOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; name = "Alamofire-tvOS.modulemap"; path = "../Alamofire-tvOS/Alamofire-tvOS.modulemap"; sourceTree = ""; }; - FA3877923B2E53A55AB301709CE10B77 /* Pods-OSX-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OSX-Example-acknowledgements.plist"; sourceTree = ""; }; - FB556FA33E6FA5EAEED0919EE4966F35 /* LSMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSMatcher.m; path = Nocilla/Matchers/LSMatcher.m; sourceTree = ""; }; - FB67F31E8C96DEA45F10BDB0E2A2F6BD /* ThrowAssertion.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThrowAssertion.swift; path = Sources/Nimble/Matchers/ThrowAssertion.swift; sourceTree = ""; }; - FB8F3186CF2E683F5551EFD515B705C1 /* Nocilla.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Nocilla.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FBBDCB3D9DB3029FAC996F6E7B318DD9 /* World.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = World.swift; path = Sources/Quick/World.swift; sourceTree = ""; }; - FBC7257CCEC3FC9C0A576E48541F785F /* Quick-tvOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Quick-tvOS.xcconfig"; path = "../Quick-tvOS/Quick-tvOS.xcconfig"; sourceTree = ""; }; - FC60BEE857B759982472F6542687E8D3 /* Pods-OSX-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OSX-Example-frameworks.sh"; sourceTree = ""; }; - FC72602A1377186FF0D4A0A81EFDB5D7 /* LSStubResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponse.h; path = Nocilla/Stubs/LSStubResponse.h; sourceTree = ""; }; - FCDCEB3555F93B48573F76EAE2F5791A /* Pods-OSX-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OSX-Tests-acknowledgements.plist"; sourceTree = ""; }; - FED63E3D352B01716FF59FB410EE1E02 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 00C6876E348B4BB3F799906616BE9A5F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C4612BFD4DDC81BD14DC5679F4EE564F /* Cocoa.framework in Frameworks */, - 848960821AF814B1216BA6E4F617255C /* XCTest.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0217A6DFCF74CD3C4148DC35CEC91FCE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - F28574D3D058666A28B8B82D2BB33D75 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0DD620ACC36FDE6D038A5502079FB21C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0C350DEADF564743E23D1C75AA6B8DC5 /* Alamofire.framework in Frameworks */, - B3152F32233BA3AF47A4E14D2F401052 /* Foundation.framework in Frameworks */, - 411C68E366E3B19A7DA1BE9344CD4D6D /* MobileCoreServices.framework in Frameworks */, - D044F3FDE53839198C40856ACB2E6C87 /* SWXMLHash.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0E0A50DD708A385A858044B315121EFB /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - F479B0802664C8BB3461EE9780479592 /* Alamofire.framework in Frameworks */, - 6FE9016B97A656CCAB8ACC48D6AD1714 /* Cocoa.framework in Frameworks */, - 8113B2E28B51B3B8E4859AB108944618 /* CoreServices.framework in Frameworks */, - 9C824E93FC2DA0DA1BB0C502FC36A91D /* SWXMLHash.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 136D54C955EF35442E8B918D87E854CC /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8EA1665DBDF093BFDCD46DAC3F63BEE6 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1628A3D4ACD261BCDB79719343019841 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 7F6062E1DCA5FF152D61FE50F30088D9 /* CFNetwork.framework in Frameworks */, - 910DB2BAA50A4C87107CDEA182124043 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1E48D8587C7D1C1647D196A27498F1E9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - BC9882745BE8E53BC080884814ADA002 /* Foundation.framework in Frameworks */, - 9B997A840F9E417E9CA147A1EDAA076C /* XCTest.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 49BF4C23A728CA2DD696539CDF84F57D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B3103E3E7D2EE80561CA9E0079EC7918 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 5B2FC90D3138D8C728767FD1A067CB65 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 127B2D6309F5609122086652927332B3 /* Alamofire.framework in Frameworks */, - 5C182A7294672F0E4D3055C621077D29 /* Foundation.framework in Frameworks */, - 68DC685367ECBBB95316250BB3FB28B2 /* MobileCoreServices.framework in Frameworks */, - 99B0D7EFC04F7CAF0B91EB51B8F21FBD /* SWXMLHash.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 659C76E8170B05CCC9E89046522B4262 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 239CA1442A89DC03DF4B9B85B9614976 /* Foundation.framework in Frameworks */, - 8CE9D6A4F64B737A94D0E87FC2EF6470 /* XCTest.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 706CC42FAB78DA24103EC2E0652D9CC8 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F4500FF478E2D46762A835A3246E477 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 74C6C83D94A78E1866ACAE1E759E6200 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 89F7996C6F1CE561129529EEA5013C60 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 761753F775A07F770801B05DD57D4E4C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 197E6E47A5F983142462B6DBB511BC54 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7F9A8F48F2E22F252DD098602DB1BEE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2498A10D6C9EE202B526968A04ADA8B0 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9ABC9D0ECE12C5161058E888A27A2FB3 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ADED74E9E9D2A0344441B6A5EB88974D /* CFNetwork.framework in Frameworks */, - EE7664E19D4AD6E2F98B87BF0D3A7A58 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A2AE2B28C6CA642BB7E69A90FCD2E3C1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 959ACEE9CE4A78D0644F6F78B9FDE8CF /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A4596A768F8686618F14524F032A3E49 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - BDC702B77200C1C9E8D2EFC296A8EBFB /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A81569DBD09FF2800A16F0AE9002AFB4 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2707B4E375DE71C3A5D39C545EA7AED6 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A8D9F361DDB8C2AA8DE73A0CBA3D27F7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 48B87F4D28E8726A86D3D526AD39204D /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A99ECD5783FBA8A9C3EF63C7AB035924 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3A2A5ED32F8F788E0EA78D680376F718 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AD87FF4D340EE54A61505241A09E8B98 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2AB4DF190088E2A53319FBF4B9917A50 /* CFNetwork.framework in Frameworks */, - 712FB89D50D2B3A23006F5137593478D /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B85832ACFEEF0726D5A21D7577A6CF7D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ABB296AAD9EEF7DFECFD8A4DD651DD16 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C49B4782BB2F5A182BB3648686EE4627 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 7A2B2F2B7C3C1C5AB60E066B787D15D5 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D4433F6BBA52C9A0CE85842791CDCC71 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - CF3FFDDD009D53E4A3194E596D1033C5 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 029C75D064046D3F45DA66B8AF5D7854 /* Nocilla */ = { - isa = PBXGroup; - children = ( - C40DD9944AD29DB08347641DBA7A9C4C /* ASIHTTPRequestStub.h */, - CD839F7E0745D0688CC16D2E722BD037 /* ASIHTTPRequestStub.m */, - 05E882104E13582E89684450D5143DF9 /* LSASIHTTPRequestAdapter.h */, - 4947D0114F1754456DF09DB938AD3B8C /* LSASIHTTPRequestAdapter.m */, - B4D8836A764279D73C1CB542D3F56CA7 /* LSASIHTTPRequestHook.h */, - 31DE3F6BA9B18139FCB5F61ED5A33788 /* LSASIHTTPRequestHook.m */, - E5311386DBC6E0084ECBC86B8D9CE1E7 /* LSDataMatcher.h */, - 385E4FEC694EFE98A1F194D7460C1616 /* LSDataMatcher.m */, - 6E4C90EC877456E8FAA2B7EF0A612992 /* LSHTTPBody.h */, - A0799F7C0814C8757CADC6B5B0086CBF /* LSHTTPClientHook.h */, - B03AB1EBF4A85A79B651957E2935EDE8 /* LSHTTPClientHook.m */, - DEA7367F6D03265830EA5CC304D066AE /* LSHTTPRequest.h */, - 98C571D42D03C2E4146640E1E4F9480D /* LSHTTPRequestDiff.h */, - A16614A9F28022BD2B76FE7B6CA36307 /* LSHTTPRequestDiff.m */, - 5135D92C3270DE4B0C062DDF4255089F /* LSHTTPRequestDSLRepresentation.h */, - D1FFEF86C5CC88665055EC07B339F3BA /* LSHTTPRequestDSLRepresentation.m */, - 04B757BFBA79C583DED47C10EBBF1756 /* LSHTTPResponse.h */, - CE23092BDBACED7264315C88A1B500BE /* LSHTTPStubURLProtocol.h */, - 80C4D1501A51599D56D2135A43DE2BC2 /* LSHTTPStubURLProtocol.m */, - 8B4846300414818477FE3AD17B113AA8 /* LSMatcheable.h */, - 6DA7D009B2B94912722762B10E255141 /* LSMatcher.h */, - FB556FA33E6FA5EAEED0919EE4966F35 /* LSMatcher.m */, - 626D577F2D06C28999349834FFB94D38 /* LSNocilla.h */, - 6C674C0A01E8FEB14CDD4D7673B90636 /* LSNocilla.m */, - 4737C50C93165034E11ED367CED29B8B /* LSNSURLHook.h */, - 4A9FC90F34F33C21861521943FF70C48 /* LSNSURLHook.m */, - 599F3B561A61F37596098345EB25FB7F /* LSNSURLSessionHook.h */, - EA9D26C503ACCF38073DCCC40601B905 /* LSNSURLSessionHook.m */, - 92B74AA509EBDEDAD8DF7DBB562D7BAB /* LSRegexMatcher.h */, - 72C62CCF34D1616F3AD4866C33AB6E6D /* LSRegexMatcher.m */, - E7373D2C8982912F7588DAD4D919DBE1 /* LSStringMatcher.h */, - 7637520918B775614738B01618C14B93 /* LSStringMatcher.m */, - 02CC38812F3BE537161ECEB4272B387C /* LSStubRequest.h */, - B0CAB0CC97B535FF971E15BA373227C9 /* LSStubRequest.m */, - F19A78F96592DA94917F3F0823712ABA /* LSStubRequestDSL.h */, - 7A31658290511B52E34C72FB7800B544 /* LSStubRequestDSL.m */, - FC72602A1377186FF0D4A0A81EFDB5D7 /* LSStubResponse.h */, - F191EE7F5827A1123D262182BDD19AC4 /* LSStubResponse.m */, - A57AE5129D4B5C2F5B16CFB073FAFF2A /* LSStubResponseDSL.h */, - 55BE99C6D204B49692652ACD9B6686A8 /* LSStubResponseDSL.m */, - 5AE0317E89425911D98C376DADABE9A2 /* Nocilla.h */, - 88F1C73FBC9ADC9CEB387C0F8B35DFFB /* NSData+Matcheable.h */, - 4A380B93164292F7D4F1BAD8DC081540 /* NSData+Matcheable.m */, - 2167E0C62C0FB16AD21B6A1AF14CD731 /* NSData+Nocilla.h */, - E5BD06EC75E75C67138B2F8A4250C923 /* NSData+Nocilla.m */, - F76B29ADEDA7D125BB7592D0C2DE1AAA /* NSRegularExpression+Matcheable.h */, - CB3614CCF320F1138D63A44D554D8250 /* NSRegularExpression+Matcheable.m */, - 94205463BD4FB9CF37A94FAAE777FEEC /* NSString+Matcheable.h */, - 41E8F9C8301E4537A3757BE5F2A33605 /* NSString+Matcheable.m */, - E6CD996A8A20D305F6C0243EC03A0990 /* NSString+Nocilla.h */, - ECA167A845EFB19E2300FFE175E0E9F3 /* NSString+Nocilla.m */, - 94BAB839B9033E95E6171B7F94AAA89B /* NSURLRequest+DSL.h */, - 6AA7758FF331ABD4FC6D3110726602EC /* NSURLRequest+DSL.m */, - 54E1F53A2205B92260430FB9A3B43D4E /* NSURLRequest+LSHTTPRequest.h */, - 3E7927F0E217FF4FFF789000096ACC3D /* NSURLRequest+LSHTTPRequest.m */, - 9D11FD373E1A469AD17EDF0FE0598CCA /* Support Files */, - ); - path = Nocilla; - sourceTree = ""; - }; - 0DD9199008FBCF713EA0DF28595BDAFE /* Quick */ = { - isa = PBXGroup; - children = ( - 3F6C07F8DBBCFE2C0DEA69990C496729 /* Behavior.swift */, - 20B9F633555EB1B7B0B12958B03039AF /* Callsite.swift */, - 7FB4E41E9C588ABF8FC17D88B8C686CC /* Closures.swift */, - 8601BB99956B69F7B9D49F6BD3D7FE2F /* Configuration.swift */, - F25766B5B800B241614F4024B6299ABE /* DSL.swift */, - 8AF92EF1D336D809C8967E33A3DBBE77 /* ErrorUtility.swift */, - E129F0BFE7CC753A63AA30F332584D69 /* Example.swift */, - A7298A17E23B68D354E54B9D51705056 /* ExampleGroup.swift */, - B774C137D416989B3477E8D7F675E38E /* ExampleHooks.swift */, - 5CA4259DC2D2F1950F3F9D5FFD0BDE0B /* ExampleMetadata.swift */, - BB2ECAD3F9878B017CD3866A2FE23D9A /* Filter.swift */, - 4FC62BD7BD367904917FCBCBC670C0A7 /* HooksPhase.swift */, - F6D3D09323FED375CEB08AD503FD0228 /* NSBundle+CurrentTestBundle.swift */, - 0744CA4EBB1EF1B0E7E6D71A6772786E /* NSString+C99ExtendedIdentifier.swift */, - 6D65151355EA88A928D0CD9E70D31699 /* QCKDSL.h */, - AFE750E3A4986CA72E410EE1185EBBFC /* QCKDSL.m */, - F3AA845E3D305CCCB38250E9C8BCE300 /* Quick.h */, - 7F3E9FBDA7CA432A7F7A921116C3E579 /* QuickConfiguration.h */, - C7DB5AA272425136778830221D45D96F /* QuickConfiguration.m */, - EC8704F55DFFF2C0E20D16475615C890 /* QuickSelectedTestSuiteBuilder.swift */, - 81ACDC9340193ABF6127FD7A80B55B5E /* QuickSpec.h */, - 061A375616D399845D5CF066833E8E1D /* QuickSpec.m */, - 7E4508965A41FDBBF039911F15E2BF50 /* QuickSpecBase.h */, - 7286040D516C66D5DAC114D97C699A1D /* QuickSpecBase.m */, - 897A7256964C25D8E77D77E7DDF2EFE5 /* QuickTestSuite.swift */, - 64E413128F6AE916E110F989B3E1AD93 /* SuiteHooks.swift */, - 1F1FAD10BEED584F9A8A6AF780BF1375 /* URL+FileName.swift */, - C3F7BEA62755185B8E5BFFC76E613617 /* World.h */, - FBBDCB3D9DB3029FAC996F6E7B318DD9 /* World.swift */, - E3C57FE4DD15C20F3718DD89F49D39B8 /* World+DSL.h */, - CE3776918756C6A139DE5485B8737C1D /* World+DSL.swift */, - E3D093EFE101AD6125AE00C80D2A9D7F /* XCTestSuite+QuickTestSuiteBuilder.m */, - 91715FF8EB6AD26483D6B35E0463C80E /* Support Files */, - ); - path = Quick; - sourceTree = ""; - }; - 0E52065C0709E6210EB29675030A154A /* Support Files */ = { - isa = PBXGroup; - children = ( - 5DE85BBF22C89E59C41CAB3C2F27141A /* Info.plist */, - D185EE7E6D254C226487671D6B13AA76 /* Info.plist */, - 8D2D9395FFF968ED9F163C0FD25C64E6 /* Info.plist */, - 5DD473688B922BBF4D0F886589309F14 /* Nimble-iOS.modulemap */, - ED20E25ADD7F387D780FE948A19CD46C /* Nimble-iOS.xcconfig */, - EA9D7D45363671AA03F05A071E416666 /* Nimble-iOS-dummy.m */, - DFE5DFF5C4B80F55340F464818C9C0E1 /* Nimble-iOS-prefix.pch */, - D4C439E9F36D1DFE3EE555337C527EC6 /* Nimble-iOS-umbrella.h */, - F98F13B203D519FBE8B2127E6CC5746B /* Nimble-macOS.modulemap */, - 9733FBD996131A042FE6AE2DF1490085 /* Nimble-macOS.xcconfig */, - 3D21CAA96FFA13C8275101FF4F62323E /* Nimble-macOS-dummy.m */, - 7189698AF9AD17D3D62306AEF7816E2F /* Nimble-macOS-prefix.pch */, - 0947DEF4E871503954F4C6D97496B609 /* Nimble-macOS-umbrella.h */, - D847C0D00964381301FCA29644FD1D1C /* Nimble-tvOS.modulemap */, - 5DDC184CC130C8DDE8E6650612208199 /* Nimble-tvOS.xcconfig */, - 06A6042E15FF8CFE2656DB3A29E5ED3B /* Nimble-tvOS-dummy.m */, - 2AB96230C7875D75460D76E627EFE4C8 /* Nimble-tvOS-prefix.pch */, - 179E3B712C24F813A2E713550099D529 /* Nimble-tvOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Nimble-iOS"; - sourceTree = ""; - }; - 1865856C28B5CE5793D1E1AB0173B11C /* Development Pods */ = { - isa = PBXGroup; - children = ( - 5C18B594875FE2A106DD93C9740A8D97 /* AmazonS3RequestManager */, - ); - name = "Development Pods"; - sourceTree = ""; - }; - 26B910518C5B9609B0383DBE5D9F2CFD /* Pods-TVOS-Tests */ = { - isa = PBXGroup; - children = ( - 01AA63965F132F889AC447B2E0DBFC01 /* Info.plist */, - 974E35B67EEFB7F5B9C9FD786A9A20F4 /* Pods-TVOS-Tests.modulemap */, - 8BEB4213EC9363060FA22060A540FE7A /* Pods-TVOS-Tests-acknowledgements.markdown */, - 25CC3D50FC604442A2F3CDB85A94E213 /* Pods-TVOS-Tests-acknowledgements.plist */, - E5D33D30DF64254F53714735488B8B64 /* Pods-TVOS-Tests-dummy.m */, - 7E4DEEA724E668EA365FD981B6A559F4 /* Pods-TVOS-Tests-frameworks.sh */, - 6ECCE5F2B3FEF7D07A6276193CEF5D35 /* Pods-TVOS-Tests-resources.sh */, - 7D44352109AC12EE3009C30A104CC8FC /* Pods-TVOS-Tests-umbrella.h */, - 1B87A0A29BB1BA597714F6B17E285E35 /* Pods-TVOS-Tests.debug.xcconfig */, - 2DFFDC0C24983112E45BB40142076221 /* Pods-TVOS-Tests.release.xcconfig */, - ); - name = "Pods-TVOS-Tests"; - path = "Target Support Files/Pods-TVOS-Tests"; - sourceTree = ""; - }; - 2CE46E6FF22DAB9CFA858D0CBE57108F /* Pods-OSX-Example */ = { - isa = PBXGroup; - children = ( - A70844C04159DBB308323DCD20211ADD /* Info.plist */, - C8208D17D7482119C262E4C38BC53C68 /* Pods-OSX-Example.modulemap */, - AB508827A5D5A110DBFF4C310725FA7E /* Pods-OSX-Example-acknowledgements.markdown */, - FA3877923B2E53A55AB301709CE10B77 /* Pods-OSX-Example-acknowledgements.plist */, - D80CCB3359F46DBC6B9E9F16779B19E4 /* Pods-OSX-Example-dummy.m */, - FC60BEE857B759982472F6542687E8D3 /* Pods-OSX-Example-frameworks.sh */, - 2DBCE7F464B65BA789C87DF340A8EE0D /* Pods-OSX-Example-resources.sh */, - 780D9522FA84578B2E9FB8EE81B0A5DA /* Pods-OSX-Example-umbrella.h */, - B410C6B2096F9C628BAB558EC86978D2 /* Pods-OSX-Example.debug.xcconfig */, - 67BC498F30909879EF3EDA7275DC936E /* Pods-OSX-Example.release.xcconfig */, - ); - name = "Pods-OSX-Example"; - path = "Target Support Files/Pods-OSX-Example"; - sourceTree = ""; - }; - 3C0451BE6105C220A76D4FFC57B9230B /* Pods */ = { - isa = PBXGroup; - children = ( - 788231AC29E7226B5BC9F4EB8437B347 /* Alamofire */, - FFC59230302457233DB418D98FAF22BC /* Nimble */, - 029C75D064046D3F45DA66B8AF5D7854 /* Nocilla */, - 0DD9199008FBCF713EA0DF28595BDAFE /* Quick */, - FF23FA801BAAFB2852011C8308F04557 /* SWXMLHash */, - ); - name = Pods; - sourceTree = ""; - }; - 48FF481273D07DDCEAFD9650227B3CE0 /* Products */ = { - isa = PBXGroup; - children = ( - EE6AFD8147106750B8A410DEC0CFDFB5 /* Alamofire.framework */, - A84E97EFC967FD64D81A8E099A796538 /* Alamofire.framework */, - 2B12E22E3CB7A83BE570834F9049281D /* Alamofire.framework */, - 6AFCFD749C933783157C1B7F67A8E38E /* AmazonS3RequestManager.framework */, - B6EACBD5F68A6184DB37B2B7C24444EE /* AmazonS3RequestManager.framework */, - B1A0E823914C20BB45553962041A97B5 /* AmazonS3RequestManager.framework */, - 9E514856AFC8D81FB86F7E4AABFE1068 /* Nimble.framework */, - 30FB5DBD21FCCB1C62B442BAD52F0A6E /* Nimble.framework */, - 28B4744A63B395829DBCEC81C08A138E /* Nimble.framework */, - 1B7670B173206FBF38E55C8CD660CC57 /* Nocilla.framework */, - 85614CD7AA6DD40AB204848EA3122F3F /* Nocilla.framework */, - FB8F3186CF2E683F5551EFD515B705C1 /* Nocilla.framework */, - 80311BF81E375E1116C84AB88BFFBFA0 /* Pods_iOS_Example.framework */, - 83CD17442B31BE86A055BF2FD788C774 /* Pods_iOS_Tests.framework */, - BA325F04C49EB8D5D4C9E2E7269E5AA4 /* Pods_OSX_Example.framework */, - 1DF59FFD22EB431045F0F7B4117D4BB7 /* Pods_OSX_Tests.framework */, - 469371E672C40404F4B4618A7AE5E92A /* Pods_TVOS_Example.framework */, - 13D50677E5081AAF79097C317287C3F7 /* Pods_TVOS_Tests.framework */, - B2DD1A6CB2246596FB3008C897DAF8EC /* Quick.framework */, - 4393C25F244CBE29E945B6012FA56A30 /* Quick.framework */, - DA76182F746736BFC7CB6C2AFEDDA42D /* Quick.framework */, - 8DA2C218197DC796576E6BDB01CF1978 /* SWXMLHash.framework */, - 369CB18607EAADA100B6F93D14D623E2 /* SWXMLHash.framework */, - 285201F4BC160FDE232077436E1AF267 /* SWXMLHash.framework */, - ); - name = Products; - sourceTree = ""; - }; - 4AFD2F3355C0B38AD0ACBC18E0181418 /* OS X */ = { - isa = PBXGroup; - children = ( - 172B538AF2420B6374291BB308B93399 /* CFNetwork.framework */, - 6912FFD5492486C7AB22B4F2AFCD5A14 /* Cocoa.framework */, - 409108AEA28DF9238FA170F3FFB87A26 /* CoreServices.framework */, - 7E2C4A52EB7AB25346152146016E1B21 /* XCTest.framework */, - ); - name = "OS X"; - sourceTree = ""; - }; - 51AC440FF05847AA81F5278315BD979F /* Frameworks */ = { - isa = PBXGroup; - children = ( - 720499F0FBF0FD6F25E59FBA9B95ADCD /* Alamofire.framework */, - 76866E62C6139298F9F1B9B85D1A4C56 /* SWXMLHash.framework */, - F136EBE60CAF4446D360A4C9D6914DF5 /* iOS */, - 4AFD2F3355C0B38AD0ACBC18E0181418 /* OS X */, - 62FCC6C4C88EACA4EA411F5BE6682B23 /* tvOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - 5C18B594875FE2A106DD93C9740A8D97 /* AmazonS3RequestManager */ = { - isa = PBXGroup; - children = ( - 4942C33638BF64FD9C1BC0F26FC39EBF /* ACL.swift */, - 9AF211D3FA50971D49A494E3DDDEEDDD /* AmazonS3RequestManager.h */, - 0E7207F992F5DF1D5EB1BB2F6A1BDFDB /* AmazonS3RequestManager.swift */, - EF4445DA6C4498B6E7829162CF1AA207 /* AmazonS3RequestSerializer.swift */, - 8ACD08E74DBA1258EE98B6517ABF6EEB /* AmazonS3SignatureHelpers.h */, - 467E3EC74E16D72066005D6C9042608A /* AmazonS3SignatureHelpers.m */, - 396A0B4A6A663ED0E9E19084AE3618E9 /* Region.swift */, - A5FE5CDC4012239BD1465B188D0142C7 /* ResponseObjects.swift */, - E16F561EFAC3131F47C928BEFB6D8356 /* ResponseSerialization.swift */, - 89FF8E8A5648BF32BDF3282DE9753EE7 /* S3Error.swift */, - CDE1859DB498BCB39759D3AE4BFF4E39 /* Support Files */, - ); - name = AmazonS3RequestManager; - path = ../..; - sourceTree = ""; - }; - 62FCC6C4C88EACA4EA411F5BE6682B23 /* tvOS */ = { - isa = PBXGroup; - children = ( - 03A937F80447A817C69C055DC3D29CA8 /* CFNetwork.framework */, - 89CCAA056CCA1C796FC2FDA401A0F050 /* Foundation.framework */, - A01D80EF7BEB5A8B03D53E76A1E5E289 /* MobileCoreServices.framework */, - 2454311447A420E7285EC09C8315151A /* XCTest.framework */, - ); - name = tvOS; - sourceTree = ""; - }; - 6C1B899151BE53C6ACAE88F5DDD13801 /* Pods-OSX-Tests */ = { - isa = PBXGroup; - children = ( - B5710F607E41186CD35A8B6EAEB6B994 /* Info.plist */, - 8F30B0EC4E2190CBDFA7ECC5D3A06718 /* Pods-OSX-Tests.modulemap */, - 104EF76D46ECD597FD2F2D63497AF482 /* Pods-OSX-Tests-acknowledgements.markdown */, - FCDCEB3555F93B48573F76EAE2F5791A /* Pods-OSX-Tests-acknowledgements.plist */, - B18A33A798C07C455E1DCF5B6E44BAD2 /* Pods-OSX-Tests-dummy.m */, - 03C62B28A6BB4ADC3495831139EA4179 /* Pods-OSX-Tests-frameworks.sh */, - 3428401159CE9A1F0C3C3DE868558DC0 /* Pods-OSX-Tests-resources.sh */, - 104CAEF8A88FDCCE2611B725C1BDC67B /* Pods-OSX-Tests-umbrella.h */, - 1A063AAE1470A8E665B21620B7EAF9A3 /* Pods-OSX-Tests.debug.xcconfig */, - A07115DDE9E3A0E9DA8FC37B0121BC1B /* Pods-OSX-Tests.release.xcconfig */, - ); - name = "Pods-OSX-Tests"; - path = "Target Support Files/Pods-OSX-Tests"; - sourceTree = ""; - }; - 788231AC29E7226B5BC9F4EB8437B347 /* Alamofire */ = { - isa = PBXGroup; - children = ( - 1984628ABB498E97C6BDA627CC31D2CC /* AFError.swift */, - 5725FA8CC3169EC3A58AB423B6FF9DFF /* Alamofire.swift */, - CF4D886068A4BBACF81B462027047AFB /* DispatchQueue+Alamofire.swift */, - 593052BDEE40F715B96366D865F39B7B /* MultipartFormData.swift */, - 9CC9AA21DF0ED2F6415CF222092AD888 /* NetworkReachabilityManager.swift */, - 9FCDC514B2A2E71F6E608E60CDC2BB89 /* Notifications.swift */, - FED63E3D352B01716FF59FB410EE1E02 /* ParameterEncoding.swift */, - 9EFBF321EFB8237415C293DBEEFDFF20 /* Request.swift */, - E13F0A679B4FAD646857BED7F8182C28 /* Response.swift */, - D1BD6D5108F95FF742160D80DEDB28C4 /* ResponseSerialization.swift */, - 37752996D5C7032073C0E3E90FB631FD /* Result.swift */, - E01683F2C04FCD4553F69E2C22B68EC5 /* ServerTrustPolicy.swift */, - 99301605FFE57ED6E421E6F8490039F8 /* SessionDelegate.swift */, - 5E601E8412E744C594B52E2D650B4E0F /* SessionManager.swift */, - E33956AD24200C8553F2AC1353B82C1D /* TaskDelegate.swift */, - B27B95DE0D94AD0F052E8F1BACDEA8B4 /* Timeline.swift */, - 67A354864093F95E596281E8DD3F27AD /* Validation.swift */, - 8B117C1E4FAC6C72A28CC80D1D4678E0 /* Support Files */, - ); - path = Alamofire; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 1865856C28B5CE5793D1E1AB0173B11C /* Development Pods */, - 51AC440FF05847AA81F5278315BD979F /* Frameworks */, - 3C0451BE6105C220A76D4FFC57B9230B /* Pods */, - 48FF481273D07DDCEAFD9650227B3CE0 /* Products */, - 91DE25391963B6BC4CD63192E313FC2A /* Targets Support Files */, - ); - sourceTree = ""; - }; - 8169E5D0E6D67E3CEAD6537B9DC5F6A1 /* Pods-iOS-Tests */ = { - isa = PBXGroup; - children = ( - C5119E1FDF5FBE98AFCA212B303BD696 /* Info.plist */, - 2A3FFD865587C3F6B7E40A4897AEA6EF /* Pods-iOS-Tests.modulemap */, - 1EF0603F32DCFC51FC2D2A793E0D7B31 /* Pods-iOS-Tests-acknowledgements.markdown */, - B45497E61A04E95B8F2D1127DC130EDD /* Pods-iOS-Tests-acknowledgements.plist */, - A46544ADD0691D7BB7122696390B2CFB /* Pods-iOS-Tests-dummy.m */, - 760CDDDA61B175ECB4D5FB5016E06CFF /* Pods-iOS-Tests-frameworks.sh */, - F3F6ABCA24FD001E66951D022555A8F7 /* Pods-iOS-Tests-resources.sh */, - 9CBBBD547A361658B6DCC61D4F2EDAAC /* Pods-iOS-Tests-umbrella.h */, - 323747D18933A35D8E6950071584D1C1 /* Pods-iOS-Tests.debug.xcconfig */, - 2DF58ECAB29E2ECD6D16D918616F460D /* Pods-iOS-Tests.release.xcconfig */, - ); - name = "Pods-iOS-Tests"; - path = "Target Support Files/Pods-iOS-Tests"; - sourceTree = ""; - }; - 8B117C1E4FAC6C72A28CC80D1D4678E0 /* Support Files */ = { - isa = PBXGroup; - children = ( - 2E7EE7E00D1A39CE49EEAA5EC27433A1 /* Alamofire-iOS.modulemap */, - 0C6147F9953A4BA8F746D619981A1DFA /* Alamofire-iOS.xcconfig */, - 0342420EE8A591002801BD5EFA20E603 /* Alamofire-iOS-dummy.m */, - D2A1E15D681FE8636459945D6C01276D /* Alamofire-iOS-prefix.pch */, - 8A8A6643FD73581A7A0E981E68E2EB08 /* Alamofire-iOS-umbrella.h */, - 5758240BE09FECC0C924B38588712C98 /* Alamofire-macOS.modulemap */, - BB090C2EB5F99C04CE31E35CE92556A8 /* Alamofire-macOS.xcconfig */, - A83FF86615A11A9F5EBC7823E8BD38D6 /* Alamofire-macOS-dummy.m */, - 633A8BF948292DE3BD8ACA9D67CEC01F /* Alamofire-macOS-prefix.pch */, - D2F71EBFB615E21B3351400A6EC2F44E /* Alamofire-macOS-umbrella.h */, - F996B87A15E28292B07C7BC859EEECAD /* Alamofire-tvOS.modulemap */, - A5EA15627372BB5992598F8052E33C4D /* Alamofire-tvOS.xcconfig */, - 9A1C154BDEC8AF64E45412E0F8A2994D /* Alamofire-tvOS-dummy.m */, - 71F13EB510905143FC6A610CC72B9D21 /* Alamofire-tvOS-prefix.pch */, - 84452B23B72DCDD2F6AB5888D6E24265 /* Alamofire-tvOS-umbrella.h */, - 2546BA7ABB080E2A9CFED86963986201 /* Info.plist */, - B155614A1AF5522261003C197029878B /* Info.plist */, - AFD4F71DE2A73611BE1198666A288CC2 /* Info.plist */, - ); - name = "Support Files"; - path = "../Target Support Files/Alamofire-iOS"; - sourceTree = ""; - }; - 91715FF8EB6AD26483D6B35E0463C80E /* Support Files */ = { - isa = PBXGroup; - children = ( - 3AE0648A16BBF37441F4C1605152A541 /* Info.plist */, - 2B2BA3130ED276C97DCD51EBEC64D08D /* Info.plist */, - BEBBDDA2D02A99BAA14E9E5DB1532FC6 /* Info.plist */, - 9D9B7E4A3B11F9D096E5890D0EC806A3 /* Quick-iOS.modulemap */, - A069BE60F31634E4E6A4B2F9E7B0E8E9 /* Quick-iOS.xcconfig */, - 555E5020ACD4B02D2353C493EEE328C6 /* Quick-iOS-dummy.m */, - 9BB818B584F2E182ECA12FA322753BCA /* Quick-iOS-prefix.pch */, - C182759AAA74E613DC1BB5B6AA396A44 /* Quick-iOS-umbrella.h */, - BF9284BD22DB022F006AC57570465023 /* Quick-macOS.modulemap */, - 8C0610E4FAB8E8F73058DB1AB196FEFE /* Quick-macOS.xcconfig */, - C944839833A19CB1EAAEA429F3BBD0CC /* Quick-macOS-dummy.m */, - C2B2AAEAC539AB8F51B4E42A58C06398 /* Quick-macOS-prefix.pch */, - 52C4C9AEF80B4D0589E1AA86FEB8068A /* Quick-macOS-umbrella.h */, - D32A4FFB8940D0DBBAF892595E286385 /* Quick-tvOS.modulemap */, - FBC7257CCEC3FC9C0A576E48541F785F /* Quick-tvOS.xcconfig */, - 7B51C663B5E5D85BE81C59A84B347EE1 /* Quick-tvOS-dummy.m */, - 89A238EE25F740EE53FE5D2F4CE86CA1 /* Quick-tvOS-prefix.pch */, - CA8B6F9AC2B74860AF454AFB8E05D3AD /* Quick-tvOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Quick-iOS"; - sourceTree = ""; - }; - 91DE25391963B6BC4CD63192E313FC2A /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - B7F09D05BE195B881482E53BC08BC053 /* Pods-iOS-Example */, - 8169E5D0E6D67E3CEAD6537B9DC5F6A1 /* Pods-iOS-Tests */, - 2CE46E6FF22DAB9CFA858D0CBE57108F /* Pods-OSX-Example */, - 6C1B899151BE53C6ACAE88F5DDD13801 /* Pods-OSX-Tests */, - AD260C4561FAD89A606E7BE207712601 /* Pods-TVOS-Example */, - 26B910518C5B9609B0383DBE5D9F2CFD /* Pods-TVOS-Tests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - 9D11FD373E1A469AD17EDF0FE0598CCA /* Support Files */ = { - isa = PBXGroup; - children = ( - BE510D26AA1007C4E00D936EAFAF6DCD /* Info.plist */, - 79F7455BED92196EC00556BDE7031BCD /* Info.plist */, - ADEA921FD6E391075DFD38C9A649E887 /* Info.plist */, - 50546B588AE11CF4349D34605F0B6137 /* Nocilla-iOS.modulemap */, - D3F4A5E2273A31E47E4115E5C6148C59 /* Nocilla-iOS.xcconfig */, - 6B27DCE886EF5A60A739A68ABE437279 /* Nocilla-iOS-dummy.m */, - 1CF3426668174979F1D18921A8A2337E /* Nocilla-iOS-prefix.pch */, - 70085EFA2C1EC59A05AA4AACF3D9DD15 /* Nocilla-iOS-umbrella.h */, - 3A604D8B4F109D6BA2638B517761D578 /* Nocilla-macOS.modulemap */, - C30E742835FACA563DC91D7AC9315152 /* Nocilla-macOS.xcconfig */, - 36C8A1EA119847A8803B5463A25868C0 /* Nocilla-macOS-dummy.m */, - BD5AB546A53C0C6B181A02BEAD5FDC02 /* Nocilla-macOS-prefix.pch */, - E59DBDB06E28C80777125BB195F1B710 /* Nocilla-macOS-umbrella.h */, - EB33222DA9E440D9DBF31365AAC148C9 /* Nocilla-tvOS.modulemap */, - C457CF242B320DC4C4A0CC4F382E3A9A /* Nocilla-tvOS.xcconfig */, - 0293B27886C300CBA93090C2994CDA18 /* Nocilla-tvOS-dummy.m */, - 4C1657F198EBA31A5EDB61A41FBB6388 /* Nocilla-tvOS-prefix.pch */, - 77D4C1361B0F4E07D3D7C36BE3C1C93B /* Nocilla-tvOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Nocilla-iOS"; - sourceTree = ""; - }; - AD260C4561FAD89A606E7BE207712601 /* Pods-TVOS-Example */ = { - isa = PBXGroup; - children = ( - 043D166C47081DB7E9EE10FABEF2581F /* Info.plist */, - 308DE25D2ED5B1EFDCEF641ED75F0C6B /* Pods-TVOS-Example.modulemap */, - BDEEBAB4BC4044DB6E005151BBDAB8F8 /* Pods-TVOS-Example-acknowledgements.markdown */, - 1BB040B172DFA966CBB9870FF42C6115 /* Pods-TVOS-Example-acknowledgements.plist */, - 5071E2E5567563DA1DC7BCB6D0D47CC2 /* Pods-TVOS-Example-dummy.m */, - 67EA3F126267676718521AF5B5228396 /* Pods-TVOS-Example-frameworks.sh */, - 875F6956A573A90B8E1F42FF2BE4247D /* Pods-TVOS-Example-resources.sh */, - AA0BEA3EBD51D2D93B4B082E60967D04 /* Pods-TVOS-Example-umbrella.h */, - 9413CDD9E09734D9149EE139574CECFC /* Pods-TVOS-Example.debug.xcconfig */, - D1A57A0F7B2A5303C1C2F6629A680AC9 /* Pods-TVOS-Example.release.xcconfig */, - ); - name = "Pods-TVOS-Example"; - path = "Target Support Files/Pods-TVOS-Example"; - sourceTree = ""; - }; - B7F09D05BE195B881482E53BC08BC053 /* Pods-iOS-Example */ = { - isa = PBXGroup; - children = ( - ED13CC56222736A1FF65650A783D9E91 /* Info.plist */, - 571DCD7364503950B709EC4D4CDB0FF2 /* Pods-iOS-Example.modulemap */, - 1F0E6C9E5A570AC4F0DCC46C636C9EDC /* Pods-iOS-Example-acknowledgements.markdown */, - 68820CF7E358777100BFB01BFE73AAF5 /* Pods-iOS-Example-acknowledgements.plist */, - 2A3F5FCB1B77B6C92D5453D251E5C804 /* Pods-iOS-Example-dummy.m */, - 12FD694346380ABCAF21E1F675E9E995 /* Pods-iOS-Example-frameworks.sh */, - ABED110423DD74D83F959273F8149211 /* Pods-iOS-Example-resources.sh */, - 62044F7F9ED8456AC6465C61EC06176B /* Pods-iOS-Example-umbrella.h */, - 18C551B0208BC4D47FFD9DAC9D194046 /* Pods-iOS-Example.debug.xcconfig */, - 004FE381BE75918FFED33A223132444B /* Pods-iOS-Example.release.xcconfig */, - ); - name = "Pods-iOS-Example"; - path = "Target Support Files/Pods-iOS-Example"; - sourceTree = ""; - }; - CDE1859DB498BCB39759D3AE4BFF4E39 /* Support Files */ = { - isa = PBXGroup; - children = ( - D5B0BC11F4894ED6CB9ACAA2BC1178F4 /* AmazonS3RequestManager-iOS.modulemap */, - 33944FB69FAC35553940F13A2EEC4641 /* AmazonS3RequestManager-iOS.xcconfig */, - EF36FD0422256ADBBC3DC10785FC5735 /* AmazonS3RequestManager-iOS-dummy.m */, - 084472B1794D39A9E264EEF9AD67F88D /* AmazonS3RequestManager-iOS-prefix.pch */, - 4830489F4C118825807F15BC6EDB37FB /* AmazonS3RequestManager-iOS-umbrella.h */, - 1A65AAC6885A89E7FADD43D5A93859C1 /* AmazonS3RequestManager-macOS.modulemap */, - 393AFECF0C1E6ABAF01D779A7FEE0585 /* AmazonS3RequestManager-macOS.xcconfig */, - DFC0D0E7D27597E2BB65B021A187E8FA /* AmazonS3RequestManager-macOS-dummy.m */, - 1C575DA6E397F9E787CF4624829146E0 /* AmazonS3RequestManager-macOS-prefix.pch */, - 472D3115639114BBC0AB80A02890BCCE /* AmazonS3RequestManager-macOS-umbrella.h */, - A481F38047E8A51D9422AF1BA4E3B5C8 /* AmazonS3RequestManager-tvOS.modulemap */, - 1D33DCF4D5D1C9F5A207DC41CDDB4BAC /* AmazonS3RequestManager-tvOS.xcconfig */, - BF7F61BE3AC7844DA07F21E56EACD34B /* AmazonS3RequestManager-tvOS-dummy.m */, - 5A9EDBB9DCE68AFD86DAF5131F0E49AD /* AmazonS3RequestManager-tvOS-prefix.pch */, - D1D95551DBA782F3F819201B0304E3C6 /* AmazonS3RequestManager-tvOS-umbrella.h */, - 9660960A1FA1A3C9AA89963D1F4D5F1B /* Info.plist */, - 7343DA38704165DC842BA181733570B2 /* Info.plist */, - 6E397F1F83B043EC5FB727D4A96483E2 /* Info.plist */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/AmazonS3RequestManager-iOS"; - sourceTree = ""; - }; - F136EBE60CAF4446D360A4C9D6914DF5 /* iOS */ = { - isa = PBXGroup; - children = ( - EF6B7A8F0A6D94B18BEFFDF4C6DD9C80 /* CFNetwork.framework */, - F0E416772462416547F90E4AE39B7D28 /* Foundation.framework */, - A4B225031EAB44A29764105674ADB3AB /* MobileCoreServices.framework */, - 48656BE34896C4D9A027D37CA8AADE8E /* XCTest.framework */, - ); - name = iOS; - sourceTree = ""; - }; - F5F16BC3457723BBE8CE0C748A336C7F /* Support Files */ = { - isa = PBXGroup; - children = ( - 239AF178C10FE697CA667E650F79DE7B /* Info.plist */, - 3C4BE6F53ADB19FF81445334A3DA6354 /* Info.plist */, - A834DE9BD72FD0E7F0907C6D24790DF0 /* Info.plist */, - 5EAAA6A6E4542CE4A58867910F6AC452 /* SWXMLHash-iOS.modulemap */, - 4E96DFA3D79031BEF0A71316DD36070D /* SWXMLHash-iOS.xcconfig */, - 9E60BDDDDA0DAD9C6B776C712CAB3DC0 /* SWXMLHash-iOS-dummy.m */, - B87A37A478B07FD71502BA093BC5875F /* SWXMLHash-iOS-prefix.pch */, - 2A2B9BB05C7EE8DDEE29601A17F359CF /* SWXMLHash-iOS-umbrella.h */, - 6D7F93CFE48FEBF0C1DEF73DC451F76F /* SWXMLHash-macOS.modulemap */, - 3AF789DA1EEADBEC38BA1426007846E4 /* SWXMLHash-macOS.xcconfig */, - 68F61102E667C28A29117333976A69DC /* SWXMLHash-macOS-dummy.m */, - 7699B39AD488392CC8BA68A4E686BB65 /* SWXMLHash-macOS-prefix.pch */, - 194027471E76A63369E91C6ABF5D4CD0 /* SWXMLHash-macOS-umbrella.h */, - C2299DDFF3AA14DF5E3EC1729C183D6B /* SWXMLHash-tvOS.modulemap */, - B2675E9CE3210C6FFE4DB02D71AC2CA6 /* SWXMLHash-tvOS.xcconfig */, - 9409EB6460040D272C24C68E404415D2 /* SWXMLHash-tvOS-dummy.m */, - 8FF5CA15744DF76AF846A49E2DDED71F /* SWXMLHash-tvOS-prefix.pch */, - 604CF4D0C5C17F9CD11DFEDF87611028 /* SWXMLHash-tvOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/SWXMLHash-iOS"; - sourceTree = ""; - }; - FF23FA801BAAFB2852011C8308F04557 /* SWXMLHash */ = { - isa = PBXGroup; - children = ( - ACBCBEB158DE1CD35D309E8C15A51F91 /* SWXMLHash.swift */, - 7498E5FCB507E88E66186528D21533E7 /* SWXMLHash+TypeConversion.swift */, - F5F16BC3457723BBE8CE0C748A336C7F /* Support Files */, - ); - path = SWXMLHash; - sourceTree = ""; - }; - FFC59230302457233DB418D98FAF22BC /* Nimble */ = { - isa = PBXGroup; - children = ( - DC7ABD159A1D780F60931EE2101C6D61 /* AdapterProtocols.swift */, - 347B442FA7C73B1BD02535E842180B2B /* AllPass.swift */, - E6C4A8CDE6609C5D374F7B5DBAC3FE55 /* AssertionDispatcher.swift */, - 2858710DAB0151065DC4C242BF67E796 /* AssertionRecorder.swift */, - D91D4D0DAAA22B4BE9D1505DC3069178 /* Async.swift */, - 53E9518268307D06291C19B5BE8DC426 /* AsyncMatcherWrapper.swift */, - 8E563BD8A923A6CCFA21DD507FE6B65E /* BeAKindOf.swift */, - 5F9014F4E5C76AA2CD11C788677B117E /* BeAnInstanceOf.swift */, - CBC12BAF80DDA57BC18DB77F11FE3936 /* BeCloseTo.swift */, - 46605D6A2A1855C3DEBA5B54308E9CC6 /* BeEmpty.swift */, - 5539ABE3B53EF4E42A4CAC3B17361610 /* BeginWith.swift */, - 273BC1774E85D8F4F340F58B7D9231A1 /* BeGreaterThan.swift */, - E50799A77095B8AC641C744262E81F0E /* BeGreaterThanOrEqualTo.swift */, - 0BE24135C167F8CD3FB4F865C102F367 /* BeIdenticalTo.swift */, - 2E06A3ED79A283F6DFA9987BC1E0DCC7 /* BeLessThan.swift */, - 6FC060CEAEF5E277DDE4F0A4010E9352 /* BeLessThanOrEqual.swift */, - CCF8A8D6ABB1C089C88A576ED79108F1 /* BeLogical.swift */, - 5E14AE43C6480D73607D378C73DD6B53 /* BeNil.swift */, - 2879F8BE240E84AA4A5C60B46E498E2B /* BeVoid.swift */, - 2906EBB38A7B8E19D95D599D3B143F4F /* Contain.swift */, - 542402ADDCA30CF2A332CE3A3E2B0F38 /* ContainElementSatisfying.swift */, - F1491A454F97CC459375D0FC717D25BB /* CurrentTestCaseTracker.h */, - CD91965F24014622F5DD346AB15668CC /* CwlBadInstructionException.swift */, - 46D65BDA8360B79BE277F9DF4A6F6BBE /* CwlCatchBadInstruction.swift */, - 445BB18A45524C8157B69A107C29322F /* CwlCatchBadInstructionPOSIX.swift */, - 084CD56CD96D6FF25ADE0A5D10BDD0FE /* CwlCatchException.h */, - 1E8B4131546A67DE41E864AA0693AC98 /* CwlCatchException.m */, - 58417EEBFDA6B88B6A95D79D390071D4 /* CwlCatchException.swift */, - 7471B7D1AFC91631BBC95356F6265023 /* CwlDarwinDefinitions.swift */, - 28042B939DBCA4438D2A5D39E79BAC8F /* CwlMachBadInstructionHandler.h */, - 3AE6F2DC28B4AE6EA7960C66662B5BDF /* CwlMachBadInstructionHandler.m */, - 220396527CB76DF11086C8C22671D09C /* CwlPreconditionTesting.h */, - AB12231666B730D50B9B5243DA0626D3 /* CwlPreconditionTesting.h */, - D5BCFE8D32D23FFB339A20ABD24AB7C7 /* DSL.h */, - C3BA8DEF79A3BA83CDE345448C39A6DF /* DSL.m */, - EC6FBAE26F3783A39D3CB8D8045D8EC9 /* DSL.swift */, - 66E3133E2003FD98E2CF2E3E0A40A42B /* DSL+Wait.swift */, - 4D5FEA8B77D0C524A2DF7A4DEFA053C2 /* EndWith.swift */, - 25E033C4A6550EC0975DF77734D3C1B5 /* Equal.swift */, - 0D382E7DEB540151D9C77BC27D8A5269 /* Errors.swift */, - 9AE9DE8FEA994B1D4B38283CEFD8AB19 /* Expectation.swift */, - 6D12BE302FD1C8BF480690BFC64A2DC4 /* ExpectationMessage.swift */, - EAE457B55977F86AD850F6DEBE3290D0 /* Expression.swift */, - 550FC621794900BD91783F04D0AC2659 /* FailureMessage.swift */, - 2562984F3998C40EF3152A8967288059 /* Functional.swift */, - 17904BC74E998B5C46180248259A4CD7 /* HaveCount.swift */, - 4A047F4881ED0044FC7E0592146AC311 /* mach_excServer.c */, - A8A194C1B488EF636BDE18D8211C8E74 /* mach_excServer.h */, - 2BCE9C48D5B8CC5C7A2941035B378A41 /* Match.swift */, - 31ACF95D5383D73F19CBB1DFBAC8276C /* MatcherFunc.swift */, - 37DC659575A58A79C4BD5702B03196B7 /* MatcherProtocols.swift */, - 0F43CE04DAA2F75D9954CA9E088330F9 /* MatchError.swift */, - D9361EF74BC7D66E8B37861C91A1E569 /* Nimble.h */, - 19A978D266D4216FF3CF884FCEF55196 /* NimbleEnvironment.swift */, - A48EF1AB15E05F9FDDD9730ED14A271C /* NimbleXCTestHandler.swift */, - 4D3816C7A6206BCD78CCCBB1FEB311C8 /* NMBExceptionCapture.h */, - E0948FEA225C24408E479AED035B87BA /* NMBExceptionCapture.m */, - 3B89CBF60DB79B1E0D055F0E029FEBC0 /* NMBExpectation.swift */, - 70626B8451FB260C3BA359FB2F5A804C /* NMBObjCMatcher.swift */, - 685FC01EE4C35664C36D1B37121B7301 /* NMBStringify.h */, - 8A5AADDB9F07C215FFF3317010DDD8CB /* NMBStringify.m */, - 210C3034221AABB580FAA984BC87B530 /* PostNotification.swift */, - B0C0CB6BC7299E19F98D832DF5708DB0 /* Predicate.swift */, - 2E1B8F0B017D292AD7390B348C8BB5F8 /* RaisesException.swift */, - D5A03CD3AD6A5CE49D7F2474A4D8B3E2 /* SatisfyAnyOf.swift */, - 45C64DD1E10DBBD93CA4AD51658EF268 /* SourceLocation.swift */, - 1BE9B8CD4FD5379583D34194A009FC2C /* Stringers.swift */, - FB67F31E8C96DEA45F10BDB0E2A2F6BD /* ThrowAssertion.swift */, - A3A9F7E155713F2D7E5EFC2AA387FACD /* ThrowError.swift */, - 849A45B68AE909113BCFCE60234F60EF /* ToSucceed.swift */, - 41E1B5E559E521D84EA9880F00D62DA7 /* XCTestObservationCenter+Register.m */, - 0E52065C0709E6210EB29675030A154A /* Support Files */, - ); - path = Nimble; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 0F598B5E3BDB3F57A2456675AB884B90 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 484DD8C2CA86DB0180477AABC4647682 /* ASIHTTPRequestStub.h in Headers */, - C94E8EF2A029DE51A01CE19F29C90A18 /* LSASIHTTPRequestAdapter.h in Headers */, - 478FF73E5E7A4CD0BE5E64F54C5BB5AA /* LSASIHTTPRequestHook.h in Headers */, - C32892698E24608531ACA5B696BD32DF /* LSDataMatcher.h in Headers */, - C734A2391A8A126E3B4FF49C57E38F3B /* LSHTTPBody.h in Headers */, - 94811769F3E2CAEEA4CD5114C2E8C4A0 /* LSHTTPClientHook.h in Headers */, - BED2DBD12E4E23E13674E750B02028CC /* LSHTTPRequest.h in Headers */, - 6E89511F0AF9ABA06D5396F62499C448 /* LSHTTPRequestDiff.h in Headers */, - D18713C4C12C2F93C3C777E80149C480 /* LSHTTPRequestDSLRepresentation.h in Headers */, - B051C3D265F88794F75D9D8B4EBC055D /* LSHTTPResponse.h in Headers */, - 4F77ECBDA04D4B969E84879C948DB092 /* LSHTTPStubURLProtocol.h in Headers */, - 42E5C49BB24CA8E3CA26322648205C66 /* LSMatcheable.h in Headers */, - 48E5D8501172C564BA4AAA583E7E3557 /* LSMatcher.h in Headers */, - 22517E1D6B1E3478C00D0EBBB31DD1DF /* LSNocilla.h in Headers */, - 3F32F2A21D9A7C2FF5D210D1A1229C57 /* LSNSURLHook.h in Headers */, - 8BCA7AC03B70BD485553D604815B260B /* LSNSURLSessionHook.h in Headers */, - 06BFFB56086A680986EAF9A144AE9EEE /* LSRegexMatcher.h in Headers */, - 6EC0CFE012E36E308CA8B4CA5398FD46 /* LSStringMatcher.h in Headers */, - F187721FC200782A97510ED9FCFB8082 /* LSStubRequest.h in Headers */, - 3F59506B554D05B69979D1F1D402EB7A /* LSStubRequestDSL.h in Headers */, - 88ED072CCB1785DF12D726F94A626A6B /* LSStubResponse.h in Headers */, - F81CDA831B8EEA3B2563A17A1B780845 /* LSStubResponseDSL.h in Headers */, - CAD417DEFE850377FBFD993BCEE99FE3 /* Nocilla-iOS-umbrella.h in Headers */, - 3E05B0017E42ECA2B688899FE822AF95 /* Nocilla.h in Headers */, - 1EF8002011CC209C1621B4FAEC32AC5D /* NSData+Matcheable.h in Headers */, - 8A89CCD7170296B0D97BD0E478D0C7A3 /* NSData+Nocilla.h in Headers */, - 717A5DD9D614BD9B19CFB288CBA787A5 /* NSRegularExpression+Matcheable.h in Headers */, - 1E418DEF10F432DFBDCD7561AE9ADC56 /* NSString+Matcheable.h in Headers */, - F96B9EEF993998083F5F70F96C4B33EC /* NSString+Nocilla.h in Headers */, - 86FE678B323CA00AB1CE87814327E209 /* NSURLRequest+DSL.h in Headers */, - B62CC93F0C0F94026D67803FB1A27303 /* NSURLRequest+LSHTTPRequest.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 10CAE855BA09BBD5FEA806D643960817 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4F3C83EA4E9B03E03CFFA09F16963682 /* SWXMLHash-iOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1B87A5163ED326D36968EF1D9376F04D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 65B5CA4229D695D6BA22C960D9FBDAD2 /* ASIHTTPRequestStub.h in Headers */, - 41BB1F445EF46F10C7B3A7894E2AE332 /* LSASIHTTPRequestAdapter.h in Headers */, - 63A74A04F82847131F4699A97B2C0BA1 /* LSASIHTTPRequestHook.h in Headers */, - 9CE86558CE78DF2968426244446ED1A6 /* LSDataMatcher.h in Headers */, - 8D996618A02C9476C3D7A6283791CD59 /* LSHTTPBody.h in Headers */, - 16CBB158080470E8E08E9D4711B78B77 /* LSHTTPClientHook.h in Headers */, - 51803A132B3FB554FE554232A88425ED /* LSHTTPRequest.h in Headers */, - 8C4A00FC1336BC96D74F78C33869AD57 /* LSHTTPRequestDiff.h in Headers */, - 73BA2BCDAE51A4B248FF575E8F35B082 /* LSHTTPRequestDSLRepresentation.h in Headers */, - BE16ECFD8A3BDBDC67776165DEE519CB /* LSHTTPResponse.h in Headers */, - BC31E0D8787F35B95665B67DE15ACF16 /* LSHTTPStubURLProtocol.h in Headers */, - E16F2D15C01A8960E0D7F248C4148C8E /* LSMatcheable.h in Headers */, - 2EADC8F90E3461749C0EBEC619F5D02A /* LSMatcher.h in Headers */, - 04375CD02837D2F0F7BFE5BE0CB5AB25 /* LSNocilla.h in Headers */, - D188C9215BF0A72E664CA340201E1394 /* LSNSURLHook.h in Headers */, - 10B0B7D5AD0572F937B87E04B9179CE0 /* LSNSURLSessionHook.h in Headers */, - F429F5B6AD73A7B16A2DE87FE8545B03 /* LSRegexMatcher.h in Headers */, - BD37686168C1075CC4FBC8BB22EABD50 /* LSStringMatcher.h in Headers */, - 8667F8B014F46127DD1069F2844EB2BA /* LSStubRequest.h in Headers */, - 611D41B235BA320ADD3AECBF63201D74 /* LSStubRequestDSL.h in Headers */, - 02A441F239AEAB7BD37B918F2407EE3B /* LSStubResponse.h in Headers */, - BFE0F57E6EFAB86ECDC80BD20B8C9EA9 /* LSStubResponseDSL.h in Headers */, - 99C43991765C0DF8928747E71E1E7FD1 /* Nocilla-tvOS-umbrella.h in Headers */, - B569EFEC9F3E15152EDE800730836548 /* Nocilla.h in Headers */, - 4F6A6775013C8396ECB4C69D1B202434 /* NSData+Matcheable.h in Headers */, - 5B2A5AE02FFC08712771EFFFB5336D96 /* NSData+Nocilla.h in Headers */, - 96AD3CE92FCC114693170305245017F1 /* NSRegularExpression+Matcheable.h in Headers */, - 19AC5E9D22B0058BD2BA0944BBBEC6A8 /* NSString+Matcheable.h in Headers */, - A51BB738FBB2A1FCF15F7ADBD5EF9062 /* NSString+Nocilla.h in Headers */, - 732A61BD6544993C862D83C7FFF7D3B1 /* NSURLRequest+DSL.h in Headers */, - CB711BB22D2FE45A2B1E2BDE8B3B2E0F /* NSURLRequest+LSHTTPRequest.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 25B92E848DAC8871A78EF9775B5ABB4F /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - EB31FE34975529ED73567B7F6C3EA551 /* Alamofire-macOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3364D1731F9D3E529DD06800E84BF02B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D4F5429EE809634D82CEADFF16F95D36 /* Pods-iOS-Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 34412DDFBEC89DF1B4DBB43E00ACCC86 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - FC66693CDF03E88413168EBCE8B51388 /* AmazonS3RequestManager-tvOS-umbrella.h in Headers */, - 4E0B0D53F2E822DF8B53CCA674CBB216 /* AmazonS3RequestManager.h in Headers */, - 5816F2CA2F0E50038666D588E937D8C2 /* AmazonS3SignatureHelpers.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 38F2B9833439304DB29A1B5FC82DDA61 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 9ECD0D292479F2F1B1C659C3BC8EF3C4 /* SWXMLHash-macOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3AFC7D29B51BB9FEE61792408590AA04 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 69F77B4BA951F4DEA13B3D1811A653BC /* Pods-TVOS-Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B777914DB6176D8EB96BF6947AECA57 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 41399A1E3D3BB00E5C3796A136800BB2 /* Alamofire-iOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52534E5082D47ABD0D208A273DE008B9 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 6B681D47455AFEAA28E0C91CB10645AA /* CurrentTestCaseTracker.h in Headers */, - 2333337E19795A54EAE2319D4584DAD6 /* CwlMachBadInstructionHandler.h in Headers */, - 0CA956C3360CA0BB053A7732ADAFD99D /* CwlPreconditionTesting.h in Headers */, - 79925473D5E09952E5D55828F3E52B88 /* DSL.h in Headers */, - 131FC213D46D2473BC9386D9FF52A29C /* mach_excServer.h in Headers */, - 9885795303EA04A55BFB1FF030395E01 /* Nimble-tvOS-umbrella.h in Headers */, - FB7EAEAE6CF1DAA5D2284F28A30601CB /* Nimble.h in Headers */, - 746FB56DAEBDC43B8DD754EE43D8CBB3 /* NMBExceptionCapture.h in Headers */, - BE5CCAE76DABE614EE3A4641341F42E5 /* NMBStringify.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 56B790870E3F47E8DB14CBA94EE6B24E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7EE4A381324DCFF3AC238745082CA20C /* Pods-TVOS-Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6C55A8EB0C12F717B17BC6912B6D3BB5 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 57A677980FCDEFA2C8E1F8B17D5C4B41 /* Pods-iOS-Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 81476B6502FDE921C3984C8CA4D2F49A /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 3861CE8F4EBDDB948E88C6468D7BD290 /* CurrentTestCaseTracker.h in Headers */, - A266BAAE9654EDEEBA8D3ADF3E67F5D6 /* CwlCatchException.h in Headers */, - 92DBAA34EF1DD3C7D6221F212C8D133F /* CwlMachBadInstructionHandler.h in Headers */, - 7D66B87E65EBC20470DCBFCF1D21FE00 /* CwlPreconditionTesting.h in Headers */, - 57BAA03C652C2C775E42AE776B1B23C6 /* DSL.h in Headers */, - F4A21AFF55A54755BED30D9DDB62A13C /* mach_excServer.h in Headers */, - 4A720AD3161876844E206F17AB4C0C41 /* Nimble-macOS-umbrella.h in Headers */, - E503C88D402ABBD06C5A6FD288012366 /* Nimble.h in Headers */, - D6E9DE5820A40B8BEA66DA27D531CB1D /* NMBExceptionCapture.h in Headers */, - 5181EBCE39F696572467DA6EE0E59593 /* NMBStringify.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8451715DEA8584265F3B07AFFC395AD4 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ADB0811351D06465E723CEE6BF0E5DE3 /* Alamofire-tvOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9A4BA5A6A47F27AD7EB1920EE3355B9A /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ED5BBDDB1F6CBEA0522140DFD91A8CC1 /* AmazonS3RequestManager-macOS-umbrella.h in Headers */, - CFB3358D198FE8EAE0C9A0A58F391486 /* AmazonS3RequestManager.h in Headers */, - 9F9509B7A2230450845A2604418EF06D /* AmazonS3SignatureHelpers.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A2C932652896B835FFEFCF4CB8237FE1 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 1CA644DB07F179A646B29C062FA36508 /* Pods-OSX-Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A75B885A822B92A55C898915075DDD14 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7BA2BE6AD0E49C516004C99A8BC852E9 /* ASIHTTPRequestStub.h in Headers */, - A22A7A272483A9E351EA359D61F1A583 /* LSASIHTTPRequestAdapter.h in Headers */, - 9EE03D9FB1228C8972C1617C86C8CE37 /* LSASIHTTPRequestHook.h in Headers */, - 6BDD061389B0E735290345D5C9B54260 /* LSDataMatcher.h in Headers */, - 872F7AC14358D05D22E692CB801524FB /* LSHTTPBody.h in Headers */, - 5C70DDBCE0B40F7DA26D2AFA3AF68EF8 /* LSHTTPClientHook.h in Headers */, - 24FF43EDD5AF85C670851EFA3B1FEF3C /* LSHTTPRequest.h in Headers */, - 209881596E6B413B680F0DDA0AA3E68C /* LSHTTPRequestDiff.h in Headers */, - 53A2CCE7BFCC36D1707B659076EDABB8 /* LSHTTPRequestDSLRepresentation.h in Headers */, - FFDEA8EB0333AF36CC99EDF685501B2D /* LSHTTPResponse.h in Headers */, - 1F490B04F2D7D8984F02CED0459747E0 /* LSHTTPStubURLProtocol.h in Headers */, - F1D6F488C44740FC0813468DE9525E31 /* LSMatcheable.h in Headers */, - 9D353BC16BD3C235C0F75118DE72DA97 /* LSMatcher.h in Headers */, - 15F68D8EA7934D7192FF32626C2E71A9 /* LSNocilla.h in Headers */, - FFB507E58195B1AC40FE1A6DF02058A2 /* LSNSURLHook.h in Headers */, - 864B26556EF7FD29A6AF4835D9858F54 /* LSNSURLSessionHook.h in Headers */, - 27608E2BA4501932F4072B26BB8387BE /* LSRegexMatcher.h in Headers */, - 8DE3C3414634F31408ACB0B80D1E1DEC /* LSStringMatcher.h in Headers */, - E0455D4A3441DA8B8947ABBBE76A88DA /* LSStubRequest.h in Headers */, - 98383450DEE47DA54FF0C22E42B26594 /* LSStubRequestDSL.h in Headers */, - 2D60B9B9BB53E38012D7142F3AF823A8 /* LSStubResponse.h in Headers */, - 83B12887E8186C3FA94A19B404C80B0D /* LSStubResponseDSL.h in Headers */, - F3AC6C7119A35B51A5D87CF403F6CE58 /* Nocilla-macOS-umbrella.h in Headers */, - B0ED219041EC3399FB223978AE713474 /* Nocilla.h in Headers */, - FA3555F5FA8DE10836B982ACC1E1D342 /* NSData+Matcheable.h in Headers */, - CA81D50DE3F976A016FC49D704097D16 /* NSData+Nocilla.h in Headers */, - AC6313F16F9CA2EDF29C33FCFCE47B88 /* NSRegularExpression+Matcheable.h in Headers */, - ADC263DB937A29331921AC1F877F1417 /* NSString+Matcheable.h in Headers */, - 3C11FCBAC70115CD97CC97CDCC5B0BB3 /* NSString+Nocilla.h in Headers */, - 98041469D425A9F36C4196254D981482 /* NSURLRequest+DSL.h in Headers */, - EFFA6F5AC5CB5D0CBFDE9FC572952EE3 /* NSURLRequest+LSHTTPRequest.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6AD542927A9C91253EC70963597880D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - AC76C166A92ADBE300B7B563BF4A9CE2 /* SWXMLHash-tvOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CB4866F6003B09AD1A9ACBE05C0F465D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B682A5022E0C5D6F6C004A0A4654A5A6 /* Pods-OSX-Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CF0ADDD1EB894F133AD1D8419BAECC3E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - F45A7AC84AF0A3628169F0431DA03C62 /* AmazonS3RequestManager-iOS-umbrella.h in Headers */, - 51DCD3B103612A917C0BB6ED9E423E49 /* AmazonS3RequestManager.h in Headers */, - E3A0E0D0FFC60E58EFFB8BCC0B9FE036 /* AmazonS3SignatureHelpers.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D911A7B2BF4D4EE2F3A880831BD5CB56 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - BCDC4B3CE853CC3DD2D93739B367BB86 /* QCKDSL.h in Headers */, - 2DE0516AB5B2FAF811D811A7F2C99D44 /* Quick-iOS-umbrella.h in Headers */, - 277D539822F216D32F92BB21D9E393BE /* Quick.h in Headers */, - BD4C9C4CAE0BA400CC1634925F0EEBF3 /* QuickConfiguration.h in Headers */, - DEFBBA2911BE239A0FA02BA443D3CD99 /* QuickSpec.h in Headers */, - D6C95B9A9D8092281C5FA48DF50ED4FA /* QuickSpecBase.h in Headers */, - 872AACC9B677CA6D8F2F84B3793BCA93 /* World+DSL.h in Headers */, - 763BCA097744BA41EA8CFC46A37FED46 /* World.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D9D6EB5A35B28FA37EDAAFB383597549 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7C44628B173F4654A16FABFC45A1B6EA /* QCKDSL.h in Headers */, - 69D1C2B5F8F1F65F3E7BDC80CDB6BADD /* Quick-macOS-umbrella.h in Headers */, - C4E3000F51247AEEBEF81224DD5B5425 /* Quick.h in Headers */, - 4181753AC5E7161B76F6DBC8C4ADC70D /* QuickConfiguration.h in Headers */, - E9A803B47BE2E183F6580E53ADD230FC /* QuickSpec.h in Headers */, - 06A7195891478BDFAE56B033FD7EA2F3 /* QuickSpecBase.h in Headers */, - 438DEF97EFCDAA21DE33D07259FE03BC /* World+DSL.h in Headers */, - D77C7F75279CEA773282B639DCFC182F /* World.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DCBF3672E7BEE486D28917B0D2B91286 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 19A6290370D1709EF934F3600F71CAB5 /* CurrentTestCaseTracker.h in Headers */, - FF647328B0EAD328EBCACC2D242105DD /* CwlCatchException.h in Headers */, - ED7031EB319B46561556D4A05907B501 /* CwlMachBadInstructionHandler.h in Headers */, - AD48BA7038F8C565204F03974E150D70 /* CwlPreconditionTesting.h in Headers */, - 4E6D7E229A7A30EEC447EF2FC73E80F9 /* DSL.h in Headers */, - 3A16C6BA5763FB9C1E1CEAAFA32862A8 /* mach_excServer.h in Headers */, - 49113F1B4704BD052134A0CFC2B80113 /* Nimble-iOS-umbrella.h in Headers */, - 2A5E79DA2F18F520DD26B4959DD4003E /* Nimble.h in Headers */, - C107213C13B656227159F72A5CB077C4 /* NMBExceptionCapture.h in Headers */, - 752F751C6BA5D8F6548A46E21D8E0429 /* NMBStringify.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F694E572A1BB44C5393692EBF3E353B8 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - E93B7922714E0E8958152014784FF16D /* QCKDSL.h in Headers */, - 342E656CCFFACB3AEE556A5F8A26E446 /* Quick-tvOS-umbrella.h in Headers */, - DB6015FCC1313EA2EA5C62FECC85E9EF /* Quick.h in Headers */, - 56C55602E0137B6E5C90988055648DA8 /* QuickConfiguration.h in Headers */, - 655D1F4B5BEE3AA219F4AA0CB97F388C /* QuickSpec.h in Headers */, - FC21D142691110BE88594B7CAEA8963B /* QuickSpecBase.h in Headers */, - 9CBE0645B9C420F0D52FEE83508C9D7E /* World+DSL.h in Headers */, - DE6724C911AB42D8E12E9C7FCCEB9BBC /* World.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 1861C7EA81F002CCFE28A2C6488B9DF6 /* Alamofire-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 10892F11660397FD4DAC73837CE3AC19 /* Build configuration list for PBXNativeTarget "Alamofire-tvOS" */; - buildPhases = ( - 7E894EFAC54546197723744B3F46F7AE /* Sources */, - B85832ACFEEF0726D5A21D7577A6CF7D /* Frameworks */, - 8451715DEA8584265F3B07AFFC395AD4 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Alamofire-tvOS"; - productName = "Alamofire-tvOS"; - productReference = 2B12E22E3CB7A83BE570834F9049281D /* Alamofire.framework */; - productType = "com.apple.product-type.framework"; - }; - 2EE038F5397038B4351149E90BDCCDF5 /* AmazonS3RequestManager-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = DD831AEC89C751440D053E6C6FA3E7CF /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-iOS" */; - buildPhases = ( - 0DEA5A084449343A1D7B9DB0D17830C2 /* Sources */, - 0DD620ACC36FDE6D038A5502079FB21C /* Frameworks */, - CF0ADDD1EB894F133AD1D8419BAECC3E /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 82B897AB78C68DBCEBF889D540F763BD /* PBXTargetDependency */, - BAEA55F5B990840722D21EB40160F2F2 /* PBXTargetDependency */, - ); - name = "AmazonS3RequestManager-iOS"; - productName = "AmazonS3RequestManager-iOS"; - productReference = 6AFCFD749C933783157C1B7F67A8E38E /* AmazonS3RequestManager.framework */; - productType = "com.apple.product-type.framework"; - }; - 3CBCB6C00074BA3449880F990F484494 /* Pods-iOS-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0DAF10DA3C2BE2A4BD7D7AB1CB44BFAF /* Build configuration list for PBXNativeTarget "Pods-iOS-Tests" */; - buildPhases = ( - 122A6C03D1A29687BD85E7C88CE00619 /* Sources */, - 0217A6DFCF74CD3C4148DC35CEC91FCE /* Frameworks */, - 3364D1731F9D3E529DD06800E84BF02B /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 21414075B2E5368D78D23E491DF8F59C /* PBXTargetDependency */, - EA01DE2AE6C72EE006EC725E0130F75A /* PBXTargetDependency */, - FB127BA23D663CD30BA8373C60FD5A0F /* PBXTargetDependency */, - C290C115B86168A05A97CEE911A242EB /* PBXTargetDependency */, - D0B42C39B28835C14AC6CD4FC0249356 /* PBXTargetDependency */, - 420E6D64157C4D9A47492DA159794117 /* PBXTargetDependency */, - ); - name = "Pods-iOS-Tests"; - productName = "Pods-iOS-Tests"; - productReference = 83CD17442B31BE86A055BF2FD788C774 /* Pods_iOS_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - 4414095BAA7001D309114F655E471B41 /* Nimble-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5EFF725B7C99D72E51A1A50B95048888 /* Build configuration list for PBXNativeTarget "Nimble-macOS" */; - buildPhases = ( - A53607849735D28F881763ED84979383 /* Sources */, - 136D54C955EF35442E8B918D87E854CC /* Frameworks */, - 81476B6502FDE921C3984C8CA4D2F49A /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nimble-macOS"; - productName = "Nimble-macOS"; - productReference = 30FB5DBD21FCCB1C62B442BAD52F0A6E /* Nimble.framework */; - productType = "com.apple.product-type.framework"; - }; - 474758DFDBE0964B11C6FBB0EFE82E77 /* Nocilla-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 22BC0DEE19EDD9FC738C840C31E11CA7 /* Build configuration list for PBXNativeTarget "Nocilla-macOS" */; - buildPhases = ( - D0FFF8DAEEB0FBD70EA0665DD1D6D1B8 /* Sources */, - 9ABC9D0ECE12C5161058E888A27A2FB3 /* Frameworks */, - A75B885A822B92A55C898915075DDD14 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nocilla-macOS"; - productName = "Nocilla-macOS"; - productReference = 85614CD7AA6DD40AB204848EA3122F3F /* Nocilla.framework */; - productType = "com.apple.product-type.framework"; - }; - 4D8199C20C1BE5F5BCDBC8F8CB4BF089 /* Alamofire-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = AB92E599D179260C3F30F3C6F77933B7 /* Build configuration list for PBXNativeTarget "Alamofire-iOS" */; - buildPhases = ( - 1081308CCDA341D85FB28FDB2EB95ABE /* Sources */, - A4596A768F8686618F14524F032A3E49 /* Frameworks */, - 4B777914DB6176D8EB96BF6947AECA57 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Alamofire-iOS"; - productName = "Alamofire-iOS"; - productReference = EE6AFD8147106750B8A410DEC0CFDFB5 /* Alamofire.framework */; - productType = "com.apple.product-type.framework"; - }; - 4EE9FCD7827464F4F7CE797FC8F4B31E /* Quick-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5E14A410DECE9B7D97963F86C89E0CDA /* Build configuration list for PBXNativeTarget "Quick-tvOS" */; - buildPhases = ( - 70FC46E7DD1158A3A9DF31AC32A5C6E3 /* Sources */, - 659C76E8170B05CCC9E89046522B4262 /* Frameworks */, - F694E572A1BB44C5393692EBF3E353B8 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Quick-tvOS"; - productName = "Quick-tvOS"; - productReference = DA76182F746736BFC7CB6C2AFEDDA42D /* Quick.framework */; - productType = "com.apple.product-type.framework"; - }; - 4F00983C00EE7C5BB553C19E5A7AB1ED /* AmazonS3RequestManager-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 20EFA5187DE58C6C9B37F8B1C4B98C36 /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-macOS" */; - buildPhases = ( - DDE0402091731E80C238C231D806A432 /* Sources */, - 0E0A50DD708A385A858044B315121EFB /* Frameworks */, - 9A4BA5A6A47F27AD7EB1920EE3355B9A /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 93347566B3E7464347A940B8C4DF2FFD /* PBXTargetDependency */, - 955915D823F703C4C838C58B50BB890A /* PBXTargetDependency */, - ); - name = "AmazonS3RequestManager-macOS"; - productName = "AmazonS3RequestManager-macOS"; - productReference = B6EACBD5F68A6184DB37B2B7C24444EE /* AmazonS3RequestManager.framework */; - productType = "com.apple.product-type.framework"; - }; - 4FE31931C38E2CC5FD80952F34526F8F /* SWXMLHash-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4AB44AB6C71AE08ABC77170951B9C583 /* Build configuration list for PBXNativeTarget "SWXMLHash-iOS" */; - buildPhases = ( - 3D33C702E2CDAF43D1CCDA8661FB78EE /* Sources */, - C49B4782BB2F5A182BB3648686EE4627 /* Frameworks */, - 10CAE855BA09BBD5FEA806D643960817 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "SWXMLHash-iOS"; - productName = "SWXMLHash-iOS"; - productReference = 8DA2C218197DC796576E6BDB01CF1978 /* SWXMLHash.framework */; - productType = "com.apple.product-type.framework"; - }; - 55A6E35DCF582231E3E894E880C83BCE /* Nocilla-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 456B4D9E5617A846A259F11A300D3B6B /* Build configuration list for PBXNativeTarget "Nocilla-tvOS" */; - buildPhases = ( - 3AE05D937E5BA3518B72C76EA32C66FA /* Sources */, - AD87FF4D340EE54A61505241A09E8B98 /* Frameworks */, - 1B87A5163ED326D36968EF1D9376F04D /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nocilla-tvOS"; - productName = "Nocilla-tvOS"; - productReference = FB8F3186CF2E683F5551EFD515B705C1 /* Nocilla.framework */; - productType = "com.apple.product-type.framework"; - }; - 5C00FBDCB450BF1448A534747453A668 /* Nocilla-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3201AF147C6E20B5681BB1DC6661C6E2 /* Build configuration list for PBXNativeTarget "Nocilla-iOS" */; - buildPhases = ( - FE75E1E84D6ED8AAAF129A3F9D030E3B /* Sources */, - 1628A3D4ACD261BCDB79719343019841 /* Frameworks */, - 0F598B5E3BDB3F57A2456675AB884B90 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nocilla-iOS"; - productName = "Nocilla-iOS"; - productReference = 1B7670B173206FBF38E55C8CD660CC57 /* Nocilla.framework */; - productType = "com.apple.product-type.framework"; - }; - 637C20A2A25F1C99AB04BBA529E0AFBC /* Pods-TVOS-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 89B276DD630E3B2D0B2E3A8E92280DBC /* Build configuration list for PBXNativeTarget "Pods-TVOS-Example" */; - buildPhases = ( - 1EA563DE8F870E23EDB61BCD7B3F86BB /* Sources */, - A99ECD5783FBA8A9C3EF63C7AB035924 /* Frameworks */, - 56B790870E3F47E8DB14CBA94EE6B24E /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 0D0E8EEA5F7197B148DBDCF5DC6E3805 /* PBXTargetDependency */, - FD3E1C8D0A3E8E8D16A152939C5D6943 /* PBXTargetDependency */, - 18D272E5351193B8719C2D01E7E65F9B /* PBXTargetDependency */, - ); - name = "Pods-TVOS-Example"; - productName = "Pods-TVOS-Example"; - productReference = 469371E672C40404F4B4618A7AE5E92A /* Pods_TVOS_Example.framework */; - productType = "com.apple.product-type.framework"; - }; - 9C711AA0E0FC9B2F227E8D3153064ED8 /* Alamofire-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4DE912E3C2F29C8D188AC7BC755B64A2 /* Build configuration list for PBXNativeTarget "Alamofire-macOS" */; - buildPhases = ( - C410AC2E477D4496D3107E3C93AABEAC /* Sources */, - 7F9A8F48F2E22F252DD098602DB1BEE5 /* Frameworks */, - 25B92E848DAC8871A78EF9775B5ABB4F /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Alamofire-macOS"; - productName = "Alamofire-macOS"; - productReference = A84E97EFC967FD64D81A8E099A796538 /* Alamofire.framework */; - productType = "com.apple.product-type.framework"; - }; - B8C68B924D5B3A7973ACD069D1468A15 /* Quick-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = EA8C5C09AC0C29C1BA2F8618B12A1B36 /* Build configuration list for PBXNativeTarget "Quick-iOS" */; - buildPhases = ( - E0EA7C3B1ADCCEC6AE855C5C3690012B /* Sources */, - 1E48D8587C7D1C1647D196A27498F1E9 /* Frameworks */, - D911A7B2BF4D4EE2F3A880831BD5CB56 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Quick-iOS"; - productName = "Quick-iOS"; - productReference = B2DD1A6CB2246596FB3008C897DAF8EC /* Quick.framework */; - productType = "com.apple.product-type.framework"; - }; - C00234E1C0819EDB117E6576D14C8E06 /* SWXMLHash-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C76816A287A6FAFA15E50951EB5AACCA /* Build configuration list for PBXNativeTarget "SWXMLHash-tvOS" */; - buildPhases = ( - FF231CE47C6387A08E0E6005404710E9 /* Sources */, - D4433F6BBA52C9A0CE85842791CDCC71 /* Frameworks */, - B6AD542927A9C91253EC70963597880D /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "SWXMLHash-tvOS"; - productName = "SWXMLHash-tvOS"; - productReference = 369CB18607EAADA100B6F93D14D623E2 /* SWXMLHash.framework */; - productType = "com.apple.product-type.framework"; - }; - C30CA9F56E2EF0FAD67B8D807EF0054F /* SWXMLHash-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = F12E68B678B792C87ED0BB34174F7BBA /* Build configuration list for PBXNativeTarget "SWXMLHash-macOS" */; - buildPhases = ( - BB59A5BA7B8D89B3C7DBECB24D873E83 /* Sources */, - A81569DBD09FF2800A16F0AE9002AFB4 /* Frameworks */, - 38F2B9833439304DB29A1B5FC82DDA61 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "SWXMLHash-macOS"; - productName = "SWXMLHash-macOS"; - productReference = 285201F4BC160FDE232077436E1AF267 /* SWXMLHash.framework */; - productType = "com.apple.product-type.framework"; - }; - C80D6A6B5D196AD874D719702E1E1856 /* Pods-OSX-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0C2CC133955336E15F1DA1CC30D68144 /* Build configuration list for PBXNativeTarget "Pods-OSX-Example" */; - buildPhases = ( - 75473E9FA50DEDC9186A1CF4D76EC7CA /* Sources */, - A2AE2B28C6CA642BB7E69A90FCD2E3C1 /* Frameworks */, - CB4866F6003B09AD1A9ACBE05C0F465D /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 972DBA3BF18DB68CD171FF89FA298B77 /* PBXTargetDependency */, - B2A4AE0C333E34DD9339AC7FCA2480A7 /* PBXTargetDependency */, - EB355805DA9826012FD8FCC7D779827E /* PBXTargetDependency */, - ); - name = "Pods-OSX-Example"; - productName = "Pods-OSX-Example"; - productReference = BA325F04C49EB8D5D4C9E2E7269E5AA4 /* Pods_OSX_Example.framework */; - productType = "com.apple.product-type.framework"; - }; - DA63B20CF2DF7455F18B5BC16AA9EA4F /* Nimble-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2A68B697EFFAD670D222B7B18EDE64E0 /* Build configuration list for PBXNativeTarget "Nimble-iOS" */; - buildPhases = ( - AE02DBD61CDA42F3B7C20C5AD4270AE7 /* Sources */, - 74C6C83D94A78E1866ACAE1E759E6200 /* Frameworks */, - DCBF3672E7BEE486D28917B0D2B91286 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nimble-iOS"; - productName = "Nimble-iOS"; - productReference = 9E514856AFC8D81FB86F7E4AABFE1068 /* Nimble.framework */; - productType = "com.apple.product-type.framework"; - }; - DDFB3E6E32F37907B6342145E621589C /* Nimble-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 66566984051CC15ADEFB58B826F56DC8 /* Build configuration list for PBXNativeTarget "Nimble-tvOS" */; - buildPhases = ( - 4F7CB38C102E8E230126A6D7BB655FA8 /* Sources */, - A8D9F361DDB8C2AA8DE73A0CBA3D27F7 /* Frameworks */, - 52534E5082D47ABD0D208A273DE008B9 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Nimble-tvOS"; - productName = "Nimble-tvOS"; - productReference = 28B4744A63B395829DBCEC81C08A138E /* Nimble.framework */; - productType = "com.apple.product-type.framework"; - }; - DF38395E87F9DF2DEAFB6D0D9D8F2C83 /* Pods-OSX-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0F4053A8BB919FE7AEA62390E9A8F872 /* Build configuration list for PBXNativeTarget "Pods-OSX-Tests" */; - buildPhases = ( - 9CCB55AD26F873DA0F2FBEC3AD09F2FB /* Sources */, - 706CC42FAB78DA24103EC2E0652D9CC8 /* Frameworks */, - A2C932652896B835FFEFCF4CB8237FE1 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 5909A0BC8E27C6A3D11A4099E30D165A /* PBXTargetDependency */, - FF0D4177AA6A0CDF277CB9E0ACED826A /* PBXTargetDependency */, - 1008D289F35328BE855FD973D8337318 /* PBXTargetDependency */, - 52786894A11BE63F331CD9D37B6008FA /* PBXTargetDependency */, - 8B444B19906351156DC5EEFCF8E649CA /* PBXTargetDependency */, - 653AE7B4C434964790A87ED7B24CB0DC /* PBXTargetDependency */, - ); - name = "Pods-OSX-Tests"; - productName = "Pods-OSX-Tests"; - productReference = 1DF59FFD22EB431045F0F7B4117D4BB7 /* Pods_OSX_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - E831E8BBC0B0C6BEE70128A27FE433A0 /* AmazonS3RequestManager-tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 839B2344C450786E719D180575DC3BED /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-tvOS" */; - buildPhases = ( - 0DF635B060F755A1C19431AFC4C946ED /* Sources */, - 5B2FC90D3138D8C728767FD1A067CB65 /* Frameworks */, - 34412DDFBEC89DF1B4DBB43E00ACCC86 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 6B5AEE925EAA459A882A785A26ABAEAE /* PBXTargetDependency */, - 819A44BD1E2419421868A9B429A2B9CD /* PBXTargetDependency */, - ); - name = "AmazonS3RequestManager-tvOS"; - productName = "AmazonS3RequestManager-tvOS"; - productReference = B1A0E823914C20BB45553962041A97B5 /* AmazonS3RequestManager.framework */; - productType = "com.apple.product-type.framework"; - }; - E9A467DBA01467ABD311EA0EFBD26966 /* Pods-iOS-Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 274C08BA5879A9651C5BFD8AE3301426 /* Build configuration list for PBXNativeTarget "Pods-iOS-Example" */; - buildPhases = ( - E835CFC5EA81040F92E1B3CF174E8D0E /* Sources */, - 761753F775A07F770801B05DD57D4E4C /* Frameworks */, - 6C55A8EB0C12F717B17BC6912B6D3BB5 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 9F04F21B96E17C587CD0DE97ED5CE80F /* PBXTargetDependency */, - C5519F693A862F1DA5353D9840A1E348 /* PBXTargetDependency */, - FF587B0DDD31D40D2A5C5E4C5C02CE11 /* PBXTargetDependency */, - ); - name = "Pods-iOS-Example"; - productName = "Pods-iOS-Example"; - productReference = 80311BF81E375E1116C84AB88BFFBFA0 /* Pods_iOS_Example.framework */; - productType = "com.apple.product-type.framework"; - }; - EB8EB34BE541F53150F5737E772D33FE /* Pods-TVOS-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 77FEFE6A26FFAB851C130C7F58A10089 /* Build configuration list for PBXNativeTarget "Pods-TVOS-Tests" */; - buildPhases = ( - 29C8B19F10EAFF55005185B982E3648B /* Sources */, - 49BF4C23A728CA2DD696539CDF84F57D /* Frameworks */, - 3AFC7D29B51BB9FEE61792408590AA04 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 77A68F2DA23F9F116BA1F9726562C1A7 /* PBXTargetDependency */, - 70D0EBA76E16EF3E5FC89B7CA6C18BA5 /* PBXTargetDependency */, - DB51C61A9D29AF53BA6C5A807042371A /* PBXTargetDependency */, - 2A8047F282ED9A58B94CFDA85F5591E4 /* PBXTargetDependency */, - 1795E2CA474FA7A4B5D5812D3D267702 /* PBXTargetDependency */, - AB1D65750B1B8281A8807CDC4C8DDA2A /* PBXTargetDependency */, - ); - name = "Pods-TVOS-Tests"; - productName = "Pods-TVOS-Tests"; - productReference = 13D50677E5081AAF79097C317287C3F7 /* Pods_TVOS_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - EBD776E5B80991F9D73F48B37AA35FC0 /* Quick-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = FFA3167A7D1B04A15E3FB16099D44203 /* Build configuration list for PBXNativeTarget "Quick-macOS" */; - buildPhases = ( - 224B767907DA5D656948E2D38E53817A /* Sources */, - 00C6876E348B4BB3F799906616BE9A5F /* Frameworks */, - D9D6EB5A35B28FA37EDAAFB383597549 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Quick-macOS"; - productName = "Quick-macOS"; - productReference = 4393C25F244CBE29E945B6012FA56A30 /* Quick.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0900; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 48FF481273D07DDCEAFD9650227B3CE0 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 4D8199C20C1BE5F5BCDBC8F8CB4BF089 /* Alamofire-iOS */, - 9C711AA0E0FC9B2F227E8D3153064ED8 /* Alamofire-macOS */, - 1861C7EA81F002CCFE28A2C6488B9DF6 /* Alamofire-tvOS */, - 2EE038F5397038B4351149E90BDCCDF5 /* AmazonS3RequestManager-iOS */, - 4F00983C00EE7C5BB553C19E5A7AB1ED /* AmazonS3RequestManager-macOS */, - E831E8BBC0B0C6BEE70128A27FE433A0 /* AmazonS3RequestManager-tvOS */, - DA63B20CF2DF7455F18B5BC16AA9EA4F /* Nimble-iOS */, - 4414095BAA7001D309114F655E471B41 /* Nimble-macOS */, - DDFB3E6E32F37907B6342145E621589C /* Nimble-tvOS */, - 5C00FBDCB450BF1448A534747453A668 /* Nocilla-iOS */, - 474758DFDBE0964B11C6FBB0EFE82E77 /* Nocilla-macOS */, - 55A6E35DCF582231E3E894E880C83BCE /* Nocilla-tvOS */, - E9A467DBA01467ABD311EA0EFBD26966 /* Pods-iOS-Example */, - 3CBCB6C00074BA3449880F990F484494 /* Pods-iOS-Tests */, - C80D6A6B5D196AD874D719702E1E1856 /* Pods-OSX-Example */, - DF38395E87F9DF2DEAFB6D0D9D8F2C83 /* Pods-OSX-Tests */, - 637C20A2A25F1C99AB04BBA529E0AFBC /* Pods-TVOS-Example */, - EB8EB34BE541F53150F5737E772D33FE /* Pods-TVOS-Tests */, - B8C68B924D5B3A7973ACD069D1468A15 /* Quick-iOS */, - EBD776E5B80991F9D73F48B37AA35FC0 /* Quick-macOS */, - 4EE9FCD7827464F4F7CE797FC8F4B31E /* Quick-tvOS */, - 4FE31931C38E2CC5FD80952F34526F8F /* SWXMLHash-iOS */, - C30CA9F56E2EF0FAD67B8D807EF0054F /* SWXMLHash-macOS */, - C00234E1C0819EDB117E6576D14C8E06 /* SWXMLHash-tvOS */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 0DEA5A084449343A1D7B9DB0D17830C2 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEABE29212C4DE9BCD031DCF2C8B4974 /* ACL.swift in Sources */, - 5D4EE1E78B02776D155E2EAD743A596E /* AmazonS3RequestManager-iOS-dummy.m in Sources */, - D7FF1BB10BDF719EE05F4BFC193C56A3 /* AmazonS3RequestManager.swift in Sources */, - F5057E28987771FADB064B3A830717CE /* AmazonS3RequestSerializer.swift in Sources */, - 940DAD3F09CC8AC3EFAB11B9D33802AB /* AmazonS3SignatureHelpers.m in Sources */, - 19EAA1E774CD03B1C95F97A5D4A7E1B6 /* Region.swift in Sources */, - AF2454B02FD0ED80CF82E94A7991FCEA /* ResponseObjects.swift in Sources */, - 7324928B97D88F4CAC7ADA4CEE02E563 /* ResponseSerialization.swift in Sources */, - 82F443CFA97C7EF5EAB2B1EBAA1DD92B /* S3Error.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0DF635B060F755A1C19431AFC4C946ED /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DF6CF60C65A45CBFE03EA1BC0DD6D70B /* ACL.swift in Sources */, - F70C04EECE9445372D94C8725945771A /* AmazonS3RequestManager-tvOS-dummy.m in Sources */, - B5C721100E970371D876E8E62319C7D5 /* AmazonS3RequestManager.swift in Sources */, - EA99650EA713A7F9B118A7E973061B78 /* AmazonS3RequestSerializer.swift in Sources */, - 35D56BAC9FC2987C3A088AC9443AFCD2 /* AmazonS3SignatureHelpers.m in Sources */, - 5C2657468F0F01343BF1FD9CD285737A /* Region.swift in Sources */, - A9B5B97407D8EEE9AF9EC3B42F36BC4F /* ResponseObjects.swift in Sources */, - CF3F5DF35C4A367805AF3843D3BEC76C /* ResponseSerialization.swift in Sources */, - B151EA62AC579D972270CE7F4F3C0917 /* S3Error.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1081308CCDA341D85FB28FDB2EB95ABE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 610017AA401B43AB241D006B9C3D708C /* AFError.swift in Sources */, - 2CE0939239CE7E003EABC740D3894CED /* Alamofire-iOS-dummy.m in Sources */, - 703932EF779A74C0FAE64785346A0A3E /* Alamofire.swift in Sources */, - 29563E581C50753801C2BD34435DB608 /* DispatchQueue+Alamofire.swift in Sources */, - 03D07E2BF08D9F1D2DD35F601B870D03 /* MultipartFormData.swift in Sources */, - C08E9F09701B2FF36088560A0BA4233B /* NetworkReachabilityManager.swift in Sources */, - 099297A0628BAC20F1F9F7C7E2D1552B /* Notifications.swift in Sources */, - A9F865046BCD50D82F21FC0CBDC46077 /* ParameterEncoding.swift in Sources */, - B9D4E4A35B95788AD61F64D550826424 /* Request.swift in Sources */, - D6F10F27E3C306B7607251E4058DB05B /* Response.swift in Sources */, - F9544C87AA1FDFE62C914EA6D88085A3 /* ResponseSerialization.swift in Sources */, - 8FA936C50C1CD7B4EC196B167BA04B61 /* Result.swift in Sources */, - 5819C72B6A933289591AF5E380AA981E /* ServerTrustPolicy.swift in Sources */, - 5DF116EA39A8EB315EA65160D6BB9DF0 /* SessionDelegate.swift in Sources */, - 663D3FEC91D38CF59AE2707944CB22CB /* SessionManager.swift in Sources */, - 08BF56F2B8324E2E804B2467EAAC356B /* TaskDelegate.swift in Sources */, - 4AD9400617A3C3E3E9FB8FAE8FDEF6EE /* Timeline.swift in Sources */, - A1BA28434ABC4D98872C9064A24AA18B /* Validation.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 122A6C03D1A29687BD85E7C88CE00619 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 719575818476FF63E66DB5A09556DA67 /* Pods-iOS-Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1EA563DE8F870E23EDB61BCD7B3F86BB /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D68DC3EC737227DF76CAA3ED1DAD57B4 /* Pods-TVOS-Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 224B767907DA5D656948E2D38E53817A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1A04415D046DEC18153B5A6C58B468B4 /* Behavior.swift in Sources */, - 711FCDA1A6E2537824BB3EC1C1CA834C /* Callsite.swift in Sources */, - 3900766EEE5E662E72DAFCBC8A0FE48C /* Closures.swift in Sources */, - E87AB1E404C96F0E1935B3DB065CF599 /* Configuration.swift in Sources */, - A14C9E4441828577931916CC64FA09CB /* DSL.swift in Sources */, - 1DDA91B5A8FBB17BC00F77E2689BCE40 /* ErrorUtility.swift in Sources */, - 47419678DCAF26316DB8E184513EC6FC /* Example.swift in Sources */, - 7AD440C4F0B442BB0291B7E803D7B897 /* ExampleGroup.swift in Sources */, - 51470CA10C897DCAC3C8A8585385EEB5 /* ExampleHooks.swift in Sources */, - 9501CC0AE27D9D317120A074977DD2F5 /* ExampleMetadata.swift in Sources */, - 4ADD178644AD55A7D1E9F716437903BD /* Filter.swift in Sources */, - E5B71EFD872626032206303C0C9849A1 /* HooksPhase.swift in Sources */, - A40195490D4A7D4F9D72C3BA7FECB52E /* NSBundle+CurrentTestBundle.swift in Sources */, - 91682D5ED70E332CC47E51FF4F042AFE /* NSString+C99ExtendedIdentifier.swift in Sources */, - 89DD1BFD2889EF4E48A12AD03A7679DD /* QCKDSL.m in Sources */, - 893CBE4CBBB4326A39A880878DC55021 /* Quick-macOS-dummy.m in Sources */, - 8AFE84ECBA2AB9467A4E309FA2AD21E6 /* QuickConfiguration.m in Sources */, - 40919C1DF4A4133FC9D96C97CAF6BAC6 /* QuickSelectedTestSuiteBuilder.swift in Sources */, - D6A4EE1939C572C647C612FFBF5BC54B /* QuickSpec.m in Sources */, - B5BAB4B899BD4763BBCC6D95D6AF0EC7 /* QuickSpecBase.m in Sources */, - 467B6399A75C64F3D23726A6AEE23195 /* QuickTestSuite.swift in Sources */, - 1861842D5FEB3CFDC0EC7079521ECE00 /* SuiteHooks.swift in Sources */, - 185D415C90B42666C0DEE9EC3A945264 /* URL+FileName.swift in Sources */, - 64D4E7845D3981EFD534739C4F5161B4 /* World+DSL.swift in Sources */, - 6091AE5C71506F37AED050DD0688951A /* World.swift in Sources */, - FB399E4226A2D46C99189A14F1C5A305 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 29C8B19F10EAFF55005185B982E3648B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F5BAA282C7CB87E55E0B85E06B45DE8F /* Pods-TVOS-Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3AE05D937E5BA3518B72C76EA32C66FA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 903D780E8E61260FB101E01E4F3029FE /* ASIHTTPRequestStub.m in Sources */, - 3149557B0FFD0ED2271FB5FA4DE64E85 /* LSASIHTTPRequestAdapter.m in Sources */, - 1122A064D293AE4D7D5257CA27D1AD4D /* LSASIHTTPRequestHook.m in Sources */, - 889D3946FD25C615B3C2A026BB8B3B78 /* LSDataMatcher.m in Sources */, - A430452AD7AB25E3F3AC78EBDFEDF58C /* LSHTTPClientHook.m in Sources */, - 70463BC82581D721549610459F2A899F /* LSHTTPRequestDiff.m in Sources */, - 97DE05EA865E98ECC392A4CAEB2CFD43 /* LSHTTPRequestDSLRepresentation.m in Sources */, - BBD09F27EDCA9DBC22C5A16395B08A58 /* LSHTTPStubURLProtocol.m in Sources */, - EF817FDD6D3ADFC08751336DC5271A45 /* LSMatcher.m in Sources */, - F8CF190D2F4D9BAE15F3969A5B7522AB /* LSNocilla.m in Sources */, - 65F9A8C579701BC93E989AF45039B5ED /* LSNSURLHook.m in Sources */, - 55EADD8571AD5CD509447AAD2E042BA4 /* LSNSURLSessionHook.m in Sources */, - 082B7D85E3290BA96A1C315FE39E48E6 /* LSRegexMatcher.m in Sources */, - D1122F4BBBEA0444BFB4AF85C9EED55F /* LSStringMatcher.m in Sources */, - D03E464DD30980C2BE60CE971B7146BD /* LSStubRequest.m in Sources */, - D57D26251296A2864C9B5EED8F2F9D4E /* LSStubRequestDSL.m in Sources */, - 222B061A1331EFB921D9707DBF8B2581 /* LSStubResponse.m in Sources */, - D98AAEE09F26FB07744A9C0B05310055 /* LSStubResponseDSL.m in Sources */, - 06CB8377118DB67F69C7829968B205EE /* Nocilla-tvOS-dummy.m in Sources */, - 7CBAF81CBE1EF4B57261E85DC87079C4 /* NSData+Matcheable.m in Sources */, - 33957CD33AC87717E02361FCB662DCD3 /* NSData+Nocilla.m in Sources */, - 75439F835D41872808E96A57D1C00BF5 /* NSRegularExpression+Matcheable.m in Sources */, - 94F98BBB8C168371BE5D3E3005D39338 /* NSString+Matcheable.m in Sources */, - E3F8D590C59D0B849EC5B6E8889E4EDD /* NSString+Nocilla.m in Sources */, - 6860861A47AA82CC477B92927DD35F51 /* NSURLRequest+DSL.m in Sources */, - 7E688F7966950FA3F8EECD076789B963 /* NSURLRequest+LSHTTPRequest.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3D33C702E2CDAF43D1CCDA8661FB78EE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C2DF08641DB026C1B5DE68FD9216E1BD /* SWXMLHash+TypeConversion.swift in Sources */, - F1D1AAAE21CB436A86250591987E9379 /* SWXMLHash-iOS-dummy.m in Sources */, - FA4BC948024EC94AB6CE19DA6FD713E5 /* SWXMLHash.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4F7CB38C102E8E230126A6D7BB655FA8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 00BE54DA8109121EB52B87CA23DBBC8E /* AdapterProtocols.swift in Sources */, - 853166F4864469A4FE74AA02A35AF5BA /* AllPass.swift in Sources */, - 5EF42CBD241EBCEA10F61128D8A26C74 /* AssertionDispatcher.swift in Sources */, - 5F2C6422BA974C05C11EDD269B447348 /* AssertionRecorder.swift in Sources */, - 9AD7112734777D912FFBADBD23554819 /* Async.swift in Sources */, - 94CD8C03E731C42A04AAC6A2A9D24629 /* AsyncMatcherWrapper.swift in Sources */, - A119098E18FFFAE5B8562FC4E6E82BF2 /* BeAKindOf.swift in Sources */, - 80F9F6D0890BDAC0B5099FCF71681539 /* BeAnInstanceOf.swift in Sources */, - 605BC3EF978D30084DBFE6AA5FD0DFE9 /* BeCloseTo.swift in Sources */, - 7056FFDD05633B6791828C0557F86118 /* BeEmpty.swift in Sources */, - 3E4C433B41080942771B9D7560A5EE6C /* BeginWith.swift in Sources */, - 543C184414156162826597BE10FEC479 /* BeGreaterThan.swift in Sources */, - 71D8F9D00E3BCF85951F4983D7972353 /* BeGreaterThanOrEqualTo.swift in Sources */, - 05BEE52CD09D0853C45F11E4288E5F37 /* BeIdenticalTo.swift in Sources */, - AA92FC1BFE20D55AC87B2C7421F04C4C /* BeLessThan.swift in Sources */, - 526BF546EE39FFF5F9F508068ADDB613 /* BeLessThanOrEqual.swift in Sources */, - CFA601EBFF680D4B89AEA5C43465443A /* BeLogical.swift in Sources */, - 278787F821C997D2B6375560FF658165 /* BeNil.swift in Sources */, - DB89A1C094546B20B67A0E9426331942 /* BeVoid.swift in Sources */, - A8C163E1E42D826FDD9817BEC92E155C /* Contain.swift in Sources */, - 66C7AA79800FFB0B196088D2F677F1B8 /* ContainElementSatisfying.swift in Sources */, - 8DE6C7D13A3FE7F74E5BAF0DACD9E364 /* CwlCatchBadInstructionPOSIX.swift in Sources */, - BB856A82DEAFB8159200E369A7DF1B4E /* CwlMachBadInstructionHandler.m in Sources */, - E6F238214E5A93A2F2ACBEF436B71470 /* DSL+Wait.swift in Sources */, - C1B6380336F074B024DDC78D739D2228 /* DSL.m in Sources */, - 7F3E91DE89AE4BA3AA7F871B14F228B9 /* DSL.swift in Sources */, - D603D6F82FD63542EE8B9990DA8AACF6 /* EndWith.swift in Sources */, - 4D6C8D9B49BCCD191D28F410282E9598 /* Equal.swift in Sources */, - C9D45AD9FDD7B79CFB9CE0CDAAA126CD /* Errors.swift in Sources */, - 9F8384AB853F5123FDB6BE466492E1E0 /* Expectation.swift in Sources */, - 477F487CA35C840A13FDC338DD2A9B55 /* ExpectationMessage.swift in Sources */, - AB1779CAA4A632FC02AEF0DB76DF8D6A /* Expression.swift in Sources */, - 345B8576EE86F27D6EED670BB74C0110 /* FailureMessage.swift in Sources */, - D12FE8DAF6E01159473C8D7E151BD58B /* Functional.swift in Sources */, - D3E7298434C4518595B6BE7A6445BF1E /* HaveCount.swift in Sources */, - 5F152B903A7F1FDA2021BD296DCA6F71 /* mach_excServer.c in Sources */, - 068E52EDCE169FB018C684BF8A64D816 /* Match.swift in Sources */, - F4E11E069374A916ED0F27F0786A9E3D /* MatcherFunc.swift in Sources */, - D7CE7A5C3BB9E83C0FAACFB5C48748C9 /* MatcherProtocols.swift in Sources */, - 461E25DF516A0709139F6A5432091C47 /* MatchError.swift in Sources */, - A3E816BC35BD53931980C7C0115D3005 /* Nimble-tvOS-dummy.m in Sources */, - D2D0EBC3447EA677DD29FD44B81B87C5 /* NimbleEnvironment.swift in Sources */, - C8D04CF40FFF4B4D007189006B77A380 /* NimbleXCTestHandler.swift in Sources */, - 2765FFA4A69498AD33FEF3DA44067EAD /* NMBExceptionCapture.m in Sources */, - B339CDFB78D2B308DA0B09AF824C5112 /* NMBExpectation.swift in Sources */, - 87F49E9EC6419824E6D12AB444960572 /* NMBObjCMatcher.swift in Sources */, - F19D828C018D2CDFA058B5FC0BA420EE /* NMBStringify.m in Sources */, - DF1ABAF482464F6EF9BEEC1B907E2DAF /* PostNotification.swift in Sources */, - B514388AFAA0FEDA1AEE4314FA0E3F28 /* Predicate.swift in Sources */, - 70F5EA689C2DB180C6D797175DBF5F60 /* RaisesException.swift in Sources */, - B76CE0F0C973F1D0E1C7D42C3B181A2A /* SatisfyAnyOf.swift in Sources */, - AD186B213EF080281EF6B81D4826F63B /* SourceLocation.swift in Sources */, - 23C23E594F9FD67F1183B2E6DD264F2D /* Stringers.swift in Sources */, - C079E5C4F2C9F3AC3D130D563C262C3F /* ThrowAssertion.swift in Sources */, - 238D8B4E92F355F497C6A63E4FE3F588 /* ThrowError.swift in Sources */, - 0D1F6AB5E03799B88A5894D716C74277 /* ToSucceed.swift in Sources */, - D4460281FA63889CDBF4E214885183E9 /* XCTestObservationCenter+Register.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 70FC46E7DD1158A3A9DF31AC32A5C6E3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 03E68027E719A7612DC1A2A15541C09A /* Behavior.swift in Sources */, - 22E488DF681D47C1E9437230796611A1 /* Callsite.swift in Sources */, - BA99E45069695231ED5824632225C69F /* Closures.swift in Sources */, - 151B6392A609AEDEDCD9B6C97555BAEF /* Configuration.swift in Sources */, - A3E681F9BF293325A23313EA9CD08D94 /* DSL.swift in Sources */, - 407C9AC8C1420DA97FD95DA13D639F26 /* ErrorUtility.swift in Sources */, - 759CD77BB5901A7AF7C088F5B5990D88 /* Example.swift in Sources */, - 3334F1537FADC123368C843ACE586E78 /* ExampleGroup.swift in Sources */, - 9FBB81877ACEBA4D849978F40A2AD64F /* ExampleHooks.swift in Sources */, - 5A47B7573AEEB9D8F612E6B38C913E39 /* ExampleMetadata.swift in Sources */, - 2BB1D0FCD86C090E18E82F610C73A778 /* Filter.swift in Sources */, - 9B3784AAD046219F03E43AF4E1A54307 /* HooksPhase.swift in Sources */, - B4760E9170FE77C7E6FC506660BDBAD8 /* NSBundle+CurrentTestBundle.swift in Sources */, - ACD5A0A4E99B875781B9DBFB2BE7414B /* NSString+C99ExtendedIdentifier.swift in Sources */, - DB1026C67B8A2A95745F0CAC623E08A0 /* QCKDSL.m in Sources */, - 4A59CED6B185C120B7FF3998BBBB5054 /* Quick-tvOS-dummy.m in Sources */, - 620A86F27A9F55BAC3DE71A78DFE2105 /* QuickConfiguration.m in Sources */, - 79FCD87DA3E0EF6C6B9D20DFA6CB8932 /* QuickSelectedTestSuiteBuilder.swift in Sources */, - 2BC98DD68BABEEFD1E6825A529B74D6E /* QuickSpec.m in Sources */, - F28EF0A8F651843B222C94DA8883D6EC /* QuickSpecBase.m in Sources */, - B000C74D86173EE70FDEA965E629F61B /* QuickTestSuite.swift in Sources */, - 870DF401D97E33416CE735787DC5A771 /* SuiteHooks.swift in Sources */, - 8CF791D27EC89F2B827323654DE903CF /* URL+FileName.swift in Sources */, - E23A23DC69BCD5057E74E9C7E6CDA77B /* World+DSL.swift in Sources */, - E65E319284C5D5B1516E03941F1F10F6 /* World.swift in Sources */, - 0C54BEFD167DF8C845FE485CEBD0224D /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 75473E9FA50DEDC9186A1CF4D76EC7CA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C3A57F3E55015BBF02E05E68CDEE9738 /* Pods-OSX-Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E894EFAC54546197723744B3F46F7AE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E810BD7FC7113C29A20E1C25223ECCA0 /* AFError.swift in Sources */, - 50B3936BD92D0A8416184D4BDE0C0AE2 /* Alamofire-tvOS-dummy.m in Sources */, - 3FC7CC3B96246D4F825C6C8279CEC5DA /* Alamofire.swift in Sources */, - 726A7B4796E3373859DC9CE737060962 /* DispatchQueue+Alamofire.swift in Sources */, - FC9D9D77D889D3249E31B9B990283D2A /* MultipartFormData.swift in Sources */, - 827BF036AD9C799D02B31DF1C9A4BED7 /* NetworkReachabilityManager.swift in Sources */, - 7704224B1D4F3E1952851D43A9B165CF /* Notifications.swift in Sources */, - 8C5C832A068C4910D434C55FB76CD687 /* ParameterEncoding.swift in Sources */, - 9C2D70F1E462CE75FB1475AD53A6249F /* Request.swift in Sources */, - 60E718C7805BADA8B6F09057D0D0C41A /* Response.swift in Sources */, - 45B48F6630BEAABF4A289BF39AAB055C /* ResponseSerialization.swift in Sources */, - 847DB548A2895A814F06FC3969B2AF34 /* Result.swift in Sources */, - A07BBB97FF332B7FE27B3F7CC015CDC4 /* ServerTrustPolicy.swift in Sources */, - 4AA90034CB7081883338405307C25B82 /* SessionDelegate.swift in Sources */, - 401FDE6EBE82B52DA19FC1D97B1E89FB /* SessionManager.swift in Sources */, - 4B1868708B50CD219FCDEDF785A7B2BC /* TaskDelegate.swift in Sources */, - 7BA18EA41D39E9A20DDBE4C07009A825 /* Timeline.swift in Sources */, - C9AEB7F60C1FE9D70F3B9D6CD4F745DA /* Validation.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9CCB55AD26F873DA0F2FBEC3AD09F2FB /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 31EAE377F0B7EC5EDD3D1DD8E010B6AE /* Pods-OSX-Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A53607849735D28F881763ED84979383 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8B64B8D647EB890D53F9561ACB2FF2B0 /* AdapterProtocols.swift in Sources */, - 9C1D127E93D1FD094AE3C3E5C05CE7D1 /* AllPass.swift in Sources */, - 4C456D703A6FCDB091204788A538A03E /* AssertionDispatcher.swift in Sources */, - 2534F54EA6EDDF3C5A51B03F7928C507 /* AssertionRecorder.swift in Sources */, - 49F117B01ECBF4035CF9E1398B19A590 /* Async.swift in Sources */, - 6613F830F0AE0613B70D2E9378EBAA9F /* AsyncMatcherWrapper.swift in Sources */, - 72EB3391B982EB702F8A9D663B763F56 /* BeAKindOf.swift in Sources */, - 05BB8EB564A245DE3491F9BEDBCCC0B5 /* BeAnInstanceOf.swift in Sources */, - ADC4B624F2FE27052ADCA29C9812C846 /* BeCloseTo.swift in Sources */, - CD1463225132271A721ACB4BFDA3DF67 /* BeEmpty.swift in Sources */, - 252FFE6C99670DA91D1E5E941D709F1E /* BeginWith.swift in Sources */, - 87581FCE70EB2C9FFCE9788A9738A78B /* BeGreaterThan.swift in Sources */, - 50B47BD4EE316F5F029209BDF9F37819 /* BeGreaterThanOrEqualTo.swift in Sources */, - E3BDD72C6AC49D6F154408DCB67E8080 /* BeIdenticalTo.swift in Sources */, - 95F91597941D01990616BEE39213F9C9 /* BeLessThan.swift in Sources */, - 6BC12BC8658D2919FB5761081A4041C8 /* BeLessThanOrEqual.swift in Sources */, - 58E7206DE034533776421CA811266806 /* BeLogical.swift in Sources */, - 4F1C0C5D836B698638F95AC7B326FCAC /* BeNil.swift in Sources */, - A365CC2AEBC179394CA0F54837669F09 /* BeVoid.swift in Sources */, - F8FD3E9EF210B2758A587A2EE1CBF8A8 /* Contain.swift in Sources */, - 89339CC18AB111FD916BCEE911AB2F7A /* ContainElementSatisfying.swift in Sources */, - 70374120CE7ABC22C190A133EF3FC5F1 /* CwlBadInstructionException.swift in Sources */, - 70C4D947E1FF846E015933075FA7A125 /* CwlCatchBadInstruction.swift in Sources */, - 359F00BC69089F5C674CF117477BCCDB /* CwlCatchException.m in Sources */, - DE63BE9B8D72F17D4098F37ABDDCD4AF /* CwlCatchException.swift in Sources */, - D485A34365225985BF9917134DEDA82C /* CwlDarwinDefinitions.swift in Sources */, - 0DEB558768484AE6105C09326464A51D /* CwlMachBadInstructionHandler.m in Sources */, - D6BC2C8EAB361D9474411E8DEE9C87D7 /* DSL+Wait.swift in Sources */, - B9F0CD5BEBC36148280A2FFD988BD245 /* DSL.m in Sources */, - 48AEBA468DE6310325B3D27C1F54236D /* DSL.swift in Sources */, - 422CFBCFF02CE0A89CED5F3D19BFEC54 /* EndWith.swift in Sources */, - A738543832C736CB09A3C7783F0F575C /* Equal.swift in Sources */, - FD2EB6BEE5D37BEA691E782E8A1B6E3A /* Errors.swift in Sources */, - 960D243BE52F052AAB1A85DAF8777469 /* Expectation.swift in Sources */, - 09B88C311BC65703ECCEDEB79524E44F /* ExpectationMessage.swift in Sources */, - E2EC4A7B37E5193E4F14159F96F56697 /* Expression.swift in Sources */, - 8AB83DCB24995E583507924C2C799A7E /* FailureMessage.swift in Sources */, - 5ECFE10531AF51215A41D5B626C5385C /* Functional.swift in Sources */, - 2A5061E6C4E646D9C1DC342BA24D5CC5 /* HaveCount.swift in Sources */, - 7591CE375927E7AD3DB6CF2938B87624 /* mach_excServer.c in Sources */, - D4CBC1D8C5478515850312B82B05783D /* Match.swift in Sources */, - E576F12E46D254567A7F97BF3DD43FA8 /* MatcherFunc.swift in Sources */, - 199AD84926F2A223E451748FE5A32555 /* MatcherProtocols.swift in Sources */, - AFCAA5AF6489BD2247A4A25BB13FA489 /* MatchError.swift in Sources */, - B26884A8714A6764BDECD727B685AF21 /* Nimble-macOS-dummy.m in Sources */, - 1774F87EE9595BDB42745837BE5CF332 /* NimbleEnvironment.swift in Sources */, - C0EA97C1AB22907FE98D490C42A29E93 /* NimbleXCTestHandler.swift in Sources */, - D54DE52E0F4BA89E14D4DE12EAD43AAC /* NMBExceptionCapture.m in Sources */, - F6C4E3E193A59006454338A5EE888C74 /* NMBExpectation.swift in Sources */, - 53A30D266B77FE9D5B17F4456350F430 /* NMBObjCMatcher.swift in Sources */, - 31C79705C74EDB5A56D67D2545595566 /* NMBStringify.m in Sources */, - 44E60F710DDBCD28F52296426213078E /* PostNotification.swift in Sources */, - 2F82AFEB4BAE9CCA3E7BABF34FE05554 /* Predicate.swift in Sources */, - 7B2BEBA6135C137D900C8597F678D8D8 /* RaisesException.swift in Sources */, - 067F9CC0465AFFFF9607A7F1E4A5C669 /* SatisfyAnyOf.swift in Sources */, - 4B080A2A14CF570CFC6EA00810E27E81 /* SourceLocation.swift in Sources */, - 965F4AAD60FEE040E92BB5D2E0E42588 /* Stringers.swift in Sources */, - 972E812399D2869AA3407D73BE4CC1BF /* ThrowAssertion.swift in Sources */, - 0A576638DBEFDE0238D081DF2B178215 /* ThrowError.swift in Sources */, - 5C710F6ACD82840D3AF99D63EB6054FE /* ToSucceed.swift in Sources */, - AA2825BE4E5061F5B75B58518DB519C6 /* XCTestObservationCenter+Register.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AE02DBD61CDA42F3B7C20C5AD4270AE7 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FBD06C6244AAFCC2045EB12E8651C8F8 /* AdapterProtocols.swift in Sources */, - 1D900702AD1980DB193889B244C4F486 /* AllPass.swift in Sources */, - E44A26EB9B62C6BDA15393BF84C81612 /* AssertionDispatcher.swift in Sources */, - 569FFBCAF88DEE29B6A62AC17CEE4430 /* AssertionRecorder.swift in Sources */, - 2B566272DEEB5BBC7027475BEF910E18 /* Async.swift in Sources */, - F6E28071BAA5115BB1EAE1C9463CF9B1 /* AsyncMatcherWrapper.swift in Sources */, - 92861B0F536CC88F2D48D88C5C01E149 /* BeAKindOf.swift in Sources */, - 8657097AFA90DCD9811266ABD14689E1 /* BeAnInstanceOf.swift in Sources */, - 79A09016928E0B71FA01E791B1DF76D5 /* BeCloseTo.swift in Sources */, - 985D548B8535BCC8D4942C30CE7002F4 /* BeEmpty.swift in Sources */, - BF18C663CBE122E96A0D79ADC10084B5 /* BeginWith.swift in Sources */, - F54C30D840681214FF9DE71C1FDEDBC8 /* BeGreaterThan.swift in Sources */, - 411171C8094CFB108026E257C32BCABA /* BeGreaterThanOrEqualTo.swift in Sources */, - E59DA686925CCB4590ECDC65C200D9F1 /* BeIdenticalTo.swift in Sources */, - EC7269CA2B2E91DAE9F9F0D255BC2830 /* BeLessThan.swift in Sources */, - 483EA00B0B0A537C2EEDCE8F53E6DB1B /* BeLessThanOrEqual.swift in Sources */, - F2B6383D9D228C2D909961E63A2BED09 /* BeLogical.swift in Sources */, - 6148B973D33B85B5978A0EE86CB6D3F6 /* BeNil.swift in Sources */, - AD20D4A874A681F1F20F40D43C574C55 /* BeVoid.swift in Sources */, - AA041E92F277284D031918C813AC0F4B /* Contain.swift in Sources */, - F48019B2FDB093007A8730323521ADCA /* ContainElementSatisfying.swift in Sources */, - 796DB5F4025D2FA221715BCFEC5FB83B /* CwlBadInstructionException.swift in Sources */, - 548902D6166462ED2E60F0294780A622 /* CwlCatchBadInstruction.swift in Sources */, - 5036C0AD06371DAC50A7D31424FBE120 /* CwlCatchException.m in Sources */, - DC4F1713A1A63C49AD15910358447FBC /* CwlCatchException.swift in Sources */, - AF33F78E734A43ED1762325ECC922EE7 /* CwlDarwinDefinitions.swift in Sources */, - 214F41B841DA05E253E762A5269CC671 /* CwlMachBadInstructionHandler.m in Sources */, - 6F2E3F60F07D6605B2FE6B1C3ECA0420 /* DSL+Wait.swift in Sources */, - 7F2B82E0102216E367BDA06425C0A2B2 /* DSL.m in Sources */, - B696699A2399D57FBB5BFA6A18AE296B /* DSL.swift in Sources */, - 1C6CD614C594B019D627FEAB8525ACDA /* EndWith.swift in Sources */, - 191E19D350BC3006BBD29EBACF247C58 /* Equal.swift in Sources */, - A59F2F4010038EAEC38B95153FE69CD3 /* Errors.swift in Sources */, - 0756B2710F147D558644D06331C6E32E /* Expectation.swift in Sources */, - 6511669BF7C3D24E36928AD9433437AA /* ExpectationMessage.swift in Sources */, - 286F3AB0CECD9DF69805AC8691CC1082 /* Expression.swift in Sources */, - B2DC7B2990CF5B44923B76A5B0C687C6 /* FailureMessage.swift in Sources */, - 9006781F399C427556FA7FA13096865C /* Functional.swift in Sources */, - 7E82EC4234124231200C8C90450D38D1 /* HaveCount.swift in Sources */, - 589E6201A17C6297DC659BD9715FCBF0 /* mach_excServer.c in Sources */, - 1C6F9C908ECB906DC2B798AFE7906ED4 /* Match.swift in Sources */, - D9001CEEB8F9347B9D5091A26D3B2C7B /* MatcherFunc.swift in Sources */, - 70FA44C06379E10F7F819A38AC12E748 /* MatcherProtocols.swift in Sources */, - A8EC5AD9EB6244C71F5ACEE7F190BDBA /* MatchError.swift in Sources */, - 83F493C9AAAD8A251BA1510CB90A0ADE /* Nimble-iOS-dummy.m in Sources */, - 6D194543D0217AA99D556F9D921CC39F /* NimbleEnvironment.swift in Sources */, - 1D7585C0DACFB37FF37653F9BD61D8E1 /* NimbleXCTestHandler.swift in Sources */, - 4F59DF2176A950DDB5B65B4E70282790 /* NMBExceptionCapture.m in Sources */, - 867716CBF40F59A3E18B34908275B568 /* NMBExpectation.swift in Sources */, - A2630AED7BE09D172B35C67370A8FB46 /* NMBObjCMatcher.swift in Sources */, - 85463EB15C59DEFB011D1A9545008440 /* NMBStringify.m in Sources */, - F2654BEE4E64BAB8F8B96C597EECE05F /* PostNotification.swift in Sources */, - BD81C01C84DA41B08E891A0A676750B3 /* Predicate.swift in Sources */, - D3F99019B31DD28743A9D4790238364F /* RaisesException.swift in Sources */, - 93C9D1992E579F9AA7EE656293D2B9F2 /* SatisfyAnyOf.swift in Sources */, - 19F7C5B1890105C2308D2994EBE1A00F /* SourceLocation.swift in Sources */, - A227787EC80FFC23F9CCCECAF3865EB8 /* Stringers.swift in Sources */, - 7A16CD013E8FE6DD7F7A7DA56FAA720B /* ThrowAssertion.swift in Sources */, - 501EAB5CE7E649F52018BE8B1075D116 /* ThrowError.swift in Sources */, - F4BA231BC21F44C1F2CB27DFCC4084C2 /* ToSucceed.swift in Sources */, - 8A4802ACDD8E12C475F3D8F2F94805E3 /* XCTestObservationCenter+Register.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - BB59A5BA7B8D89B3C7DBECB24D873E83 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - AD7DF24D7DDF2B30463CF8EBEAE27C1D /* SWXMLHash+TypeConversion.swift in Sources */, - 188F638AEA8D6F61354969F71B6D890E /* SWXMLHash-macOS-dummy.m in Sources */, - CCBFA5C6DDC7FC765616F63186C2EACF /* SWXMLHash.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C410AC2E477D4496D3107E3C93AABEAC /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 058640372546CD2896B2B6E331A736B3 /* AFError.swift in Sources */, - B5C788DAA2A4B80F6A97F9A231522A60 /* Alamofire-macOS-dummy.m in Sources */, - 2009AA318B6385B5867C7FD1E18E4079 /* Alamofire.swift in Sources */, - 0A5AA28D219310E8F616DB834A7542EE /* DispatchQueue+Alamofire.swift in Sources */, - 551123AED1236E0D10D1F6A7954D2C88 /* MultipartFormData.swift in Sources */, - 2E8D6ECEC8C1B65BFBB0E713774F20CB /* NetworkReachabilityManager.swift in Sources */, - 6A152EE64B702CEA91833CE46891E284 /* Notifications.swift in Sources */, - 336FCADD69A1886CE7FD997064C53B22 /* ParameterEncoding.swift in Sources */, - A51D91E8432BDA1A4998E510AA1A65D3 /* Request.swift in Sources */, - 48DDD46799A50A93B9AC4FC841C2CD1F /* Response.swift in Sources */, - A0DFE087E8102DAC9ED2E08D6A61EBF1 /* ResponseSerialization.swift in Sources */, - A2198698F7B50995723ECEFB8788104B /* Result.swift in Sources */, - 64554D4F5C2E95AB6AB214888D1BE5F0 /* ServerTrustPolicy.swift in Sources */, - 58D1B137C8C8588E46FE06D5EE05B60C /* SessionDelegate.swift in Sources */, - BD9A4F10D32BA0858708B60C97AC7EC1 /* SessionManager.swift in Sources */, - EDAC6E9698476BAB78B913C192509469 /* TaskDelegate.swift in Sources */, - B2A5A39F8E654683B65771065A6A53E2 /* Timeline.swift in Sources */, - D1B63F5C0725258FCF82D75B6C98868E /* Validation.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D0FFF8DAEEB0FBD70EA0665DD1D6D1B8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E63FE54F07003C8EAC4751863E180A8F /* ASIHTTPRequestStub.m in Sources */, - 30A479DC79E399C0373D8FB81D85C744 /* LSASIHTTPRequestAdapter.m in Sources */, - 7F4934911FA1648595C9BE57F569938C /* LSASIHTTPRequestHook.m in Sources */, - 7249DA948B359B0C7D1ABE003F2CB49E /* LSDataMatcher.m in Sources */, - 2CDE03810BA79F24B20785CD5CDB1E08 /* LSHTTPClientHook.m in Sources */, - 1229E00373EA36BEEF415C65CB451774 /* LSHTTPRequestDiff.m in Sources */, - 5FBEC82A256EE1A6C47B3A8684AEDBC8 /* LSHTTPRequestDSLRepresentation.m in Sources */, - 5B3B623A16AF0920E5340BC216055243 /* LSHTTPStubURLProtocol.m in Sources */, - 18C620A48CCF634446D1137B646BE2A7 /* LSMatcher.m in Sources */, - 94EEED84A885B6306B7B331B8566E23A /* LSNocilla.m in Sources */, - 40714AED839EB2D7A66072C1E8464B6F /* LSNSURLHook.m in Sources */, - 8AD7321EA9CD83C891E9BDD6551F41C3 /* LSNSURLSessionHook.m in Sources */, - F7ED7FE054700F4EC491B484E6DBDCC6 /* LSRegexMatcher.m in Sources */, - 5F080FFDB80F68087AE7A7DE60E0C6EB /* LSStringMatcher.m in Sources */, - 9C814DD6A9DE1D6C2075149D43AECE94 /* LSStubRequest.m in Sources */, - A48882518E571DA5D2EBAB6919833FDC /* LSStubRequestDSL.m in Sources */, - E10C17233B0A02B24A8D2C2295425328 /* LSStubResponse.m in Sources */, - 06CD2889F77D1F3974252A70EB8571EB /* LSStubResponseDSL.m in Sources */, - 9DBB60B6FC09451EAC7066C8030B4EFD /* Nocilla-macOS-dummy.m in Sources */, - F048D9F65533B0C6D5B6045D0521993F /* NSData+Matcheable.m in Sources */, - 31F66D9756FA0E1410F5AF0972F16151 /* NSData+Nocilla.m in Sources */, - A9851B43856460860FD49171060AEF0F /* NSRegularExpression+Matcheable.m in Sources */, - BB075634CED80C22EB508DEC6970629D /* NSString+Matcheable.m in Sources */, - A6E8BA1A4937574B44780A3D1F5217BD /* NSString+Nocilla.m in Sources */, - 960B6003CF411EA4A3AAB187C8B0615B /* NSURLRequest+DSL.m in Sources */, - 89105D0C52EF9B5E0811E3F4EAF7A398 /* NSURLRequest+LSHTTPRequest.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DDE0402091731E80C238C231D806A432 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C7A06B4299A2987D0C0332A4F200D085 /* ACL.swift in Sources */, - ED1D36FDEC233118C27090E75051C7A3 /* AmazonS3RequestManager-macOS-dummy.m in Sources */, - B181B89BDBF4A2DE089BD1C4401C848C /* AmazonS3RequestManager.swift in Sources */, - E608A6B842A592EB3EB07BF864071214 /* AmazonS3RequestSerializer.swift in Sources */, - AC7D27B5737D1495AC3E74F18DF1DA22 /* AmazonS3SignatureHelpers.m in Sources */, - AE9629763AD59208B253C7F374FD7AB2 /* Region.swift in Sources */, - 5FB9B3B5C400107D494F697EDEA805B5 /* ResponseObjects.swift in Sources */, - EEB39D1A4C003AF001BEBB7F3948FE2D /* ResponseSerialization.swift in Sources */, - 803F2A4F8BBD5AA8B4B081C7E0E772D3 /* S3Error.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E0EA7C3B1ADCCEC6AE855C5C3690012B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 9FBA337846CC419298BAD5005A00512E /* Behavior.swift in Sources */, - 4BC7F20F6653A341CE4BEB7B3A37AD42 /* Callsite.swift in Sources */, - ABFE9C066F3A679A892BF82D1020E38F /* Closures.swift in Sources */, - 3BC7055D0CAFF87DFF453F8DB166E0D8 /* Configuration.swift in Sources */, - 8041F350ED92D78B548DE5F8F84BB2EF /* DSL.swift in Sources */, - 6C6DDAF84DB4F3DC6431CE6379EDA558 /* ErrorUtility.swift in Sources */, - 49408F4221B8F4625995ACE8C4566854 /* Example.swift in Sources */, - 08F96323B00908E0F0E39E89FE210063 /* ExampleGroup.swift in Sources */, - 9331B8428BE780E24D484029BE69B0CE /* ExampleHooks.swift in Sources */, - C610D491F70DF4EBBCCAF8720EBBAAFB /* ExampleMetadata.swift in Sources */, - 6551F41CC27F02670686FDAA7A6097E8 /* Filter.swift in Sources */, - C75CA55DF5A2769211721753FE800023 /* HooksPhase.swift in Sources */, - 91A9F452B0E0DF21A3D4B1DABF91EE44 /* NSBundle+CurrentTestBundle.swift in Sources */, - 2313182C0F19D8091562B87873CAF447 /* NSString+C99ExtendedIdentifier.swift in Sources */, - 49CD0B8637B40C6EB83A237777D00B71 /* QCKDSL.m in Sources */, - 314486549B89F236CD78D67B4EB9F8CB /* Quick-iOS-dummy.m in Sources */, - ED69432E447A74034215CAF70335FFD0 /* QuickConfiguration.m in Sources */, - 707C584FE4646A59F03605AA84355DA1 /* QuickSelectedTestSuiteBuilder.swift in Sources */, - 93AB78A25ABB3F9B5F3617279033D9C1 /* QuickSpec.m in Sources */, - 9B003B3A21EA92F86B526F15BA5C28F0 /* QuickSpecBase.m in Sources */, - 20ACE6D8D9037D62AFDE07C84C63DD96 /* QuickTestSuite.swift in Sources */, - BE26C56776AE0912589DC6F4B7CFB688 /* SuiteHooks.swift in Sources */, - CBBF312E17DE7CD009167454909CBA1A /* URL+FileName.swift in Sources */, - 1FBDAC14B2B3994C90F2E973E42D8C24 /* World+DSL.swift in Sources */, - E79613ABDA878B00296A69DFE3EBB3DD /* World.swift in Sources */, - 1CB069FB056CF04BAAD8C0CE268AC775 /* XCTestSuite+QuickTestSuiteBuilder.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E835CFC5EA81040F92E1B3CF174E8D0E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - EFEC5A72631C0F20245B7412B0982382 /* Pods-iOS-Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FE75E1E84D6ED8AAAF129A3F9D030E3B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 9DAAF9CC64B673F599AA565DFEDB5E49 /* ASIHTTPRequestStub.m in Sources */, - 3437D427C6D4D4C616F33B67D19A3ED4 /* LSASIHTTPRequestAdapter.m in Sources */, - 8D9F626F5C9BD4333C75A436253BD4F0 /* LSASIHTTPRequestHook.m in Sources */, - DED3AC124C0E0631B46D46E85CCF0AFF /* LSDataMatcher.m in Sources */, - 3D4A4C7C6EFA44FBAE9255D2916B3395 /* LSHTTPClientHook.m in Sources */, - 36DD0868A1139A76A5882A21CA124887 /* LSHTTPRequestDiff.m in Sources */, - 6C160BD7DA7A3D26CDFB8C4AC00CC673 /* LSHTTPRequestDSLRepresentation.m in Sources */, - 1AC3D7E433BD28823F8AF6BD5F38EEE5 /* LSHTTPStubURLProtocol.m in Sources */, - 13B03633C76FF90D62F27381F4FEFB26 /* LSMatcher.m in Sources */, - F3E7B1CD3DF1B0C8B656B24FDD7A2803 /* LSNocilla.m in Sources */, - 4B2EF64FBA487DC1FA37CBE14374CAA3 /* LSNSURLHook.m in Sources */, - 117C8D8DA5B939ED5A47C899461D8F4B /* LSNSURLSessionHook.m in Sources */, - 1183785D6555151E39304EDFFF34C6C4 /* LSRegexMatcher.m in Sources */, - 4F03372BFF2459679CE0F7272A2789B4 /* LSStringMatcher.m in Sources */, - 59AC8769FCFB30B9C109A4BF4C61CD68 /* LSStubRequest.m in Sources */, - 535EDE20BC619CB288C157F6116FB432 /* LSStubRequestDSL.m in Sources */, - 66405939D096D2709CAE495F912C89E4 /* LSStubResponse.m in Sources */, - A2D7E4F8049E0B6C78A4D70A8552047E /* LSStubResponseDSL.m in Sources */, - 6CEECCF4D266E130B62D9CAC266C2903 /* Nocilla-iOS-dummy.m in Sources */, - FC4F860A07E6E443F4BB24B758FEB800 /* NSData+Matcheable.m in Sources */, - DA1E34E4DA771EA5F26A61307C1B2265 /* NSData+Nocilla.m in Sources */, - C82D0F43CC8559E8CD21DA90782A2FAE /* NSRegularExpression+Matcheable.m in Sources */, - 8B6DF6B04B803DBEDC5303ACD899ABA6 /* NSString+Matcheable.m in Sources */, - AF0E25E590D7D1E524A84865584520EC /* NSString+Nocilla.m in Sources */, - 3B671B4A5DFBB03846C31159503D232E /* NSURLRequest+DSL.m in Sources */, - FEEBCAA2546CDBC87C4470A95B050267 /* NSURLRequest+LSHTTPRequest.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FF231CE47C6387A08E0E6005404710E9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 637C699F0EABDF2AC3BB4E461C34CDEB /* SWXMLHash+TypeConversion.swift in Sources */, - 5A177465726A596F7C8587E99ACCE7DB /* SWXMLHash-tvOS-dummy.m in Sources */, - 44E86C2362768FABA67930515F4B054E /* SWXMLHash.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 0D0E8EEA5F7197B148DBDCF5DC6E3805 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-tvOS"; - target = 1861C7EA81F002CCFE28A2C6488B9DF6 /* Alamofire-tvOS */; - targetProxy = 76AD24770D771B3C612EFDA60D21165C /* PBXContainerItemProxy */; - }; - 1008D289F35328BE855FD973D8337318 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nimble-macOS"; - target = 4414095BAA7001D309114F655E471B41 /* Nimble-macOS */; - targetProxy = 6F270BB8B356D38064FD142503BC8052 /* PBXContainerItemProxy */; - }; - 1795E2CA474FA7A4B5D5812D3D267702 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Quick-tvOS"; - target = 4EE9FCD7827464F4F7CE797FC8F4B31E /* Quick-tvOS */; - targetProxy = 48DDE9E8928026BD201ABB58765828F2 /* PBXContainerItemProxy */; - }; - 18D272E5351193B8719C2D01E7E65F9B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-tvOS"; - target = C00234E1C0819EDB117E6576D14C8E06 /* SWXMLHash-tvOS */; - targetProxy = 9B06BF986A08255F6EF76BA8942CAA0E /* PBXContainerItemProxy */; - }; - 21414075B2E5368D78D23E491DF8F59C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-iOS"; - target = 4D8199C20C1BE5F5BCDBC8F8CB4BF089 /* Alamofire-iOS */; - targetProxy = 9D0E11EFF528A3E45E0FDA71EFCDDB61 /* PBXContainerItemProxy */; - }; - 2A8047F282ED9A58B94CFDA85F5591E4 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nocilla-tvOS"; - target = 55A6E35DCF582231E3E894E880C83BCE /* Nocilla-tvOS */; - targetProxy = 0A3053FCC44325C9509A4C696C307EF1 /* PBXContainerItemProxy */; - }; - 420E6D64157C4D9A47492DA159794117 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-iOS"; - target = 4FE31931C38E2CC5FD80952F34526F8F /* SWXMLHash-iOS */; - targetProxy = CC1C6105C7816CBCC2203DC5756C085A /* PBXContainerItemProxy */; - }; - 52786894A11BE63F331CD9D37B6008FA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nocilla-macOS"; - target = 474758DFDBE0964B11C6FBB0EFE82E77 /* Nocilla-macOS */; - targetProxy = 43440B2B99DAAEAB42776D0DE3D9EDC6 /* PBXContainerItemProxy */; - }; - 5909A0BC8E27C6A3D11A4099E30D165A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-macOS"; - target = 9C711AA0E0FC9B2F227E8D3153064ED8 /* Alamofire-macOS */; - targetProxy = B51950B65B6C37E92312593E0A838DFE /* PBXContainerItemProxy */; - }; - 653AE7B4C434964790A87ED7B24CB0DC /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-macOS"; - target = C30CA9F56E2EF0FAD67B8D807EF0054F /* SWXMLHash-macOS */; - targetProxy = 6763E954FD3CAFD001A8565247AB2C48 /* PBXContainerItemProxy */; - }; - 6B5AEE925EAA459A882A785A26ABAEAE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-tvOS"; - target = 1861C7EA81F002CCFE28A2C6488B9DF6 /* Alamofire-tvOS */; - targetProxy = F1F825373A77D6C92A5859355F43D32E /* PBXContainerItemProxy */; - }; - 70D0EBA76E16EF3E5FC89B7CA6C18BA5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-tvOS"; - target = E831E8BBC0B0C6BEE70128A27FE433A0 /* AmazonS3RequestManager-tvOS */; - targetProxy = 488D730E312846FD54C33519CA456400 /* PBXContainerItemProxy */; - }; - 77A68F2DA23F9F116BA1F9726562C1A7 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-tvOS"; - target = 1861C7EA81F002CCFE28A2C6488B9DF6 /* Alamofire-tvOS */; - targetProxy = F987C61C0E27708B8BBFD0335D6AB80B /* PBXContainerItemProxy */; - }; - 819A44BD1E2419421868A9B429A2B9CD /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-tvOS"; - target = C00234E1C0819EDB117E6576D14C8E06 /* SWXMLHash-tvOS */; - targetProxy = FAD5ED3CA3E765A9D740E22AC0AEF8A8 /* PBXContainerItemProxy */; - }; - 82B897AB78C68DBCEBF889D540F763BD /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-iOS"; - target = 4D8199C20C1BE5F5BCDBC8F8CB4BF089 /* Alamofire-iOS */; - targetProxy = 7EAE9798E87BE38F1112837AAEC2267D /* PBXContainerItemProxy */; - }; - 8B444B19906351156DC5EEFCF8E649CA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Quick-macOS"; - target = EBD776E5B80991F9D73F48B37AA35FC0 /* Quick-macOS */; - targetProxy = 8137FDBF16C269A2018EC0E71187D23C /* PBXContainerItemProxy */; - }; - 93347566B3E7464347A940B8C4DF2FFD /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-macOS"; - target = 9C711AA0E0FC9B2F227E8D3153064ED8 /* Alamofire-macOS */; - targetProxy = C19AAC9A4CE66EBD4C33378264DEA179 /* PBXContainerItemProxy */; - }; - 955915D823F703C4C838C58B50BB890A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-macOS"; - target = C30CA9F56E2EF0FAD67B8D807EF0054F /* SWXMLHash-macOS */; - targetProxy = DFDC1125A89815BCF0836310D53A3C44 /* PBXContainerItemProxy */; - }; - 972DBA3BF18DB68CD171FF89FA298B77 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-macOS"; - target = 9C711AA0E0FC9B2F227E8D3153064ED8 /* Alamofire-macOS */; - targetProxy = B8BD764EFF4026B0A14711C6A430E2A7 /* PBXContainerItemProxy */; - }; - 9F04F21B96E17C587CD0DE97ED5CE80F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Alamofire-iOS"; - target = 4D8199C20C1BE5F5BCDBC8F8CB4BF089 /* Alamofire-iOS */; - targetProxy = 63EA9EEFFB539FFB88B97127E7EBE206 /* PBXContainerItemProxy */; - }; - AB1D65750B1B8281A8807CDC4C8DDA2A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-tvOS"; - target = C00234E1C0819EDB117E6576D14C8E06 /* SWXMLHash-tvOS */; - targetProxy = 0B181DE7CB24DF196421C02AD5DF797F /* PBXContainerItemProxy */; - }; - B2A4AE0C333E34DD9339AC7FCA2480A7 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-macOS"; - target = 4F00983C00EE7C5BB553C19E5A7AB1ED /* AmazonS3RequestManager-macOS */; - targetProxy = 8511B4BEE0B4C314464448DAFEF5288D /* PBXContainerItemProxy */; - }; - BAEA55F5B990840722D21EB40160F2F2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-iOS"; - target = 4FE31931C38E2CC5FD80952F34526F8F /* SWXMLHash-iOS */; - targetProxy = 4499EA7C7D093CFAF19198F9D5A80E04 /* PBXContainerItemProxy */; - }; - C290C115B86168A05A97CEE911A242EB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nocilla-iOS"; - target = 5C00FBDCB450BF1448A534747453A668 /* Nocilla-iOS */; - targetProxy = 4C2607EB831D29F5EC09EEA814FB9DEF /* PBXContainerItemProxy */; - }; - C5519F693A862F1DA5353D9840A1E348 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-iOS"; - target = 2EE038F5397038B4351149E90BDCCDF5 /* AmazonS3RequestManager-iOS */; - targetProxy = 0996375108D9219AA4514E2E77D7DF33 /* PBXContainerItemProxy */; - }; - D0B42C39B28835C14AC6CD4FC0249356 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Quick-iOS"; - target = B8C68B924D5B3A7973ACD069D1468A15 /* Quick-iOS */; - targetProxy = F8BF7C415F39457E2653611645D8DECF /* PBXContainerItemProxy */; - }; - DB51C61A9D29AF53BA6C5A807042371A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nimble-tvOS"; - target = DDFB3E6E32F37907B6342145E621589C /* Nimble-tvOS */; - targetProxy = 5BDDFDF0F1558BEB3ECF453AE42C4D29 /* PBXContainerItemProxy */; - }; - EA01DE2AE6C72EE006EC725E0130F75A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-iOS"; - target = 2EE038F5397038B4351149E90BDCCDF5 /* AmazonS3RequestManager-iOS */; - targetProxy = 2678B1ED7065320EB3019145C8EEB3FA /* PBXContainerItemProxy */; - }; - EB355805DA9826012FD8FCC7D779827E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-macOS"; - target = C30CA9F56E2EF0FAD67B8D807EF0054F /* SWXMLHash-macOS */; - targetProxy = 95198A19E00F1D916AE03615A6D184DD /* PBXContainerItemProxy */; - }; - FB127BA23D663CD30BA8373C60FD5A0F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Nimble-iOS"; - target = DA63B20CF2DF7455F18B5BC16AA9EA4F /* Nimble-iOS */; - targetProxy = 0970D4DE905D9EB2EDE7446B281EBA86 /* PBXContainerItemProxy */; - }; - FD3E1C8D0A3E8E8D16A152939C5D6943 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-tvOS"; - target = E831E8BBC0B0C6BEE70128A27FE433A0 /* AmazonS3RequestManager-tvOS */; - targetProxy = 786E2AD8E0A7F2F998C3683E7E27D1B1 /* PBXContainerItemProxy */; - }; - FF0D4177AA6A0CDF277CB9E0ACED826A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "AmazonS3RequestManager-macOS"; - target = 4F00983C00EE7C5BB553C19E5A7AB1ED /* AmazonS3RequestManager-macOS */; - targetProxy = D0B4E82CE44F75E31D8341A19D24AAE2 /* PBXContainerItemProxy */; - }; - FF587B0DDD31D40D2A5C5E4C5C02CE11 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SWXMLHash-iOS"; - target = 4FE31931C38E2CC5FD80952F34526F8F /* SWXMLHash-iOS */; - targetProxy = B7F053CAD543AE7B1539DB983ABE97E9 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 05F4682637223DFD4C236A470633A432 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 393AFECF0C1E6ABAF01D779A7FEE0585 /* AmazonS3RequestManager-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 07B6D5469468D7D94C8F77B8DEB1EFDC /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C457CF242B320DC4C4A0CC4F382E3A9A /* Nocilla-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nocilla-tvOS/Nocilla-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Nocilla-tvOS/Nocilla-tvOS.modulemap"; - PRODUCT_NAME = Nocilla; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 083202010D5524C5BCD743E7CFE1DC4E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33944FB69FAC35553940F13A2EEC4641 /* AmazonS3RequestManager-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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"; - ENABLE_TESTABILITY = YES; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-iOS/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/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 084D984DEA30F4183534D7AB01034B39 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C30E742835FACA563DC91D7AC9315152 /* Nocilla-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Nocilla-macOS/Nocilla-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MODULEMAP_FILE = "Target Support Files/Nocilla-macOS/Nocilla-macOS.modulemap"; - PRODUCT_NAME = Nocilla; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 0C05E2EB3D6D17CAD841E903DB21B5CD /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B2675E9CE3210C6FFE4DB02D71AC2CA6 /* SWXMLHash-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 14122FD4C8A4C187F00D0891226008C2 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5DDC184CC130C8DDE8E6650612208199 /* Nimble-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nimble-tvOS/Nimble-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Nimble-tvOS/Nimble-tvOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 170CFF00053B8834C58BD583ECBDD7D5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 18C551B0208BC4D47FFD9DAC9D194046 /* Pods-iOS-Example.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-iOS-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-iOS-Example/Pods-iOS-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_iOS_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 1CD8E4373C248D40E3AB7AA913CF0E4F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A069BE60F31634E4E6A4B2F9E7B0E8E9 /* Quick-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Quick-iOS/Quick-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-iOS/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-iOS/Quick-iOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 23A60E2BD3188432914749A12ECDB5F0 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4E96DFA3D79031BEF0A71316DD36070D /* SWXMLHash-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/SWXMLHash-iOS/SWXMLHash-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-iOS/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/SWXMLHash-iOS/SWXMLHash-iOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 2474CA2129C523DFBFD2A154B10CF383 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1D33DCF4D5D1C9F5A207DC41CDDB4BAC /* AmazonS3RequestManager-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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"; - ENABLE_TESTABILITY = YES; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 2D2C10214AE6A1087B5CD9DC677E2A35 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1D33DCF4D5D1C9F5A207DC41CDDB4BAC /* AmazonS3RequestManager-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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"; - ENABLE_TESTABILITY = YES; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 2F8B9A7F0A8C92F290BC4CA3873CA2CC /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A5EA15627372BB5992598F8052E33C4D /* Alamofire-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Alamofire-tvOS/Alamofire-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Alamofire-tvOS/Alamofire-tvOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 3A1F095921E60FA70BDCDAB28DBA80D6 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 67BC498F30909879EF3EDA7275DC936E /* Pods-OSX-Example.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "Target Support Files/Pods-OSX-Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MODULEMAP_FILE = "Target Support Files/Pods-OSX-Example/Pods-OSX-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_OSX_Example; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 3F3AC4F8F74447ECB91DAFA994FBD5BD /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FBC7257CCEC3FC9C0A576E48541F785F /* Quick-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Quick-tvOS/Quick-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Quick-tvOS/Quick-tvOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 40E0ED8903BDDBD8ED17D8AD0811486F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = 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_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - 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; - CODE_SIGNING_REQUIRED = NO; - 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; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SYMROOT = "${SRCROOT}/../build"; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Debug; - }; - 4B48C409E0112D20114FBBE34C69E550 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 393AFECF0C1E6ABAF01D779A7FEE0585 /* AmazonS3RequestManager-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4C87820ACB2A756BE8CF15D32598840F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A5EA15627372BB5992598F8052E33C4D /* Alamofire-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Alamofire-tvOS/Alamofire-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Alamofire-tvOS/Alamofire-tvOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4F94BBDB6E965547146F380EA5F5E1FF /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B410C6B2096F9C628BAB558EC86978D2 /* Pods-OSX-Example.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "Target Support Files/Pods-OSX-Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MODULEMAP_FILE = "Target Support Files/Pods-OSX-Example/Pods-OSX-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_OSX_Example; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4FE6F6F2E3DB583F8A15B0BA00C391B3 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0C6147F9953A4BA8F746D619981A1DFA /* Alamofire-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Alamofire-iOS/Alamofire-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-iOS/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/Alamofire-iOS/Alamofire-iOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 5D78C2CE0EBFEB2B81767DF4E24799C6 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1B87A0A29BB1BA597714F6B17E285E35 /* Pods-TVOS-Tests.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-TVOS-Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_TVOS_Tests; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 5F4BA0D4AD4F90FBE8F6F754450C3688 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3AF789DA1EEADBEC38BA1426007846E4 /* SWXMLHash-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MODULEMAP_FILE = "Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 60921331C1418E7E80E840ED65290F6C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A07115DDE9E3A0E9DA8FC37B0121BC1B /* Pods-OSX-Tests.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "Target Support Files/Pods-OSX-Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MODULEMAP_FILE = "Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_OSX_Tests; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 60CD297A5AEDBF67FBFF34B956655933 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B2675E9CE3210C6FFE4DB02D71AC2CA6 /* SWXMLHash-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 669185ABF79C150D1CF6892F325D38FA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D3F4A5E2273A31E47E4115E5C6148C59 /* Nocilla-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nocilla-iOS/Nocilla-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-iOS/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/Nocilla-iOS/Nocilla-iOS.modulemap"; - PRODUCT_NAME = Nocilla; - 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; - }; - 7480B0BCBFF5AB9DEC90DBDB0B464543 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FBC7257CCEC3FC9C0A576E48541F785F /* Quick-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Quick-tvOS/Quick-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Quick-tvOS/Quick-tvOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 79FEB9F62B8DD9EC691556089116DA3E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BB090C2EB5F99C04CE31E35CE92556A8 /* Alamofire-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Alamofire-macOS/Alamofire-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/Alamofire-macOS/Alamofire-macOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 7A7D72356F1F4225FAB7AE64F3B26F32 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DFFDC0C24983112E45BB40142076221 /* Pods-TVOS-Tests.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-TVOS-Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_TVOS_Tests; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 83B57DF0E38FC70A3FAD886C6EAE2971 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C457CF242B320DC4C4A0CC4F382E3A9A /* Nocilla-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nocilla-tvOS/Nocilla-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Nocilla-tvOS/Nocilla-tvOS.modulemap"; - PRODUCT_NAME = Nocilla; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 878AF61C74CC9914A0F13CE955A46DA3 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = ED20E25ADD7F387D780FE948A19CD46C /* Nimble-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nimble-iOS/Nimble-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-iOS/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-iOS/Nimble-iOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 8AF4955EA74F47D362919149D3CC8197 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D3F4A5E2273A31E47E4115E5C6148C59 /* Nocilla-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nocilla-iOS/Nocilla-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-iOS/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/Nocilla-iOS/Nocilla-iOS.modulemap"; - PRODUCT_NAME = Nocilla; - 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; - }; - 8B89A7AAE07A98267391FDB28E265213 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33944FB69FAC35553940F13A2EEC4641 /* AmazonS3RequestManager-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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"; - ENABLE_TESTABILITY = YES; - GCC_PREFIX_HEADER = "Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AmazonS3RequestManager-iOS/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/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.modulemap"; - PRODUCT_NAME = AmazonS3RequestManager; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 9519B329CC8E990779C6E2B1026772F7 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = ED20E25ADD7F387D780FE948A19CD46C /* Nimble-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nimble-iOS/Nimble-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-iOS/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-iOS/Nimble-iOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - A2BD540490E7B24B71C391DD960231FA /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = 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_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - 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; - CODE_SIGNING_REQUIRED = NO; - 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; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SYMROOT = "${SRCROOT}/../build"; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Release; - }; - A5AF7411829B496EE70E6960E2F7D42A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1A063AAE1470A8E665B21620B7EAF9A3 /* Pods-OSX-Tests.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "Target Support Files/Pods-OSX-Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MODULEMAP_FILE = "Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_OSX_Tests; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - A5D202D6EFEFD6649351DE93081397C8 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9733FBD996131A042FE6AE2DF1490085 /* Nimble-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Nimble-macOS/Nimble-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/Nimble-macOS/Nimble-macOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - AE4C1B308E816A98B5F15F79706A4BCB /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3AF789DA1EEADBEC38BA1426007846E4 /* SWXMLHash-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MODULEMAP_FILE = "Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B9EF18B167C08D5F3CFA9CBFAC0E10D8 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BB090C2EB5F99C04CE31E35CE92556A8 /* Alamofire-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Alamofire-macOS/Alamofire-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/Alamofire-macOS/Alamofire-macOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - BA7F91BE9C52DAEC18C6E477DE7E1C2D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DF58ECAB29E2ECD6D16D918616F460D /* Pods-iOS-Tests.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-iOS-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-iOS-Tests/Pods-iOS-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_iOS_Tests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - BE6B12F1AB405B0BE2D6734268CE78D4 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 004FE381BE75918FFED33A223132444B /* Pods-iOS-Example.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-iOS-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-iOS-Example/Pods-iOS-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_iOS_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - C3E51B00D80E92D0383467A7D695DA54 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C30E742835FACA563DC91D7AC9315152 /* Nocilla-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Nocilla-macOS/Nocilla-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nocilla-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MODULEMAP_FILE = "Target Support Files/Nocilla-macOS/Nocilla-macOS.modulemap"; - PRODUCT_NAME = Nocilla; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C62724E8FC7B4D33A11AC2CBC297D4C8 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 323747D18933A35D8E6950071584D1C1 /* Pods-iOS-Tests.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-iOS-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-iOS-Tests/Pods-iOS-Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_iOS_Tests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - CE4EB519A3DC4C7C7BBA86532094078C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9413CDD9E09734D9149EE139574CECFC /* Pods-TVOS-Example.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-TVOS-Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_TVOS_Example; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - CF002560C454F6EC4B17B7A78D5DD21B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9733FBD996131A042FE6AE2DF1490085 /* Nimble-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Nimble-macOS/Nimble-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MODULEMAP_FILE = "Target Support Files/Nimble-macOS/Nimble-macOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - D1AFB29FBF1D34A6E2393B41D71C22BE /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A069BE60F31634E4E6A4B2F9E7B0E8E9 /* Quick-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Quick-iOS/Quick-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-iOS/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-iOS/Quick-iOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - D3EA891ABC4C99A69740118F96189580 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5DDC184CC130C8DDE8E6650612208199 /* Nimble-tvOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Nimble-tvOS/Nimble-tvOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Nimble-tvOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Nimble-tvOS/Nimble-tvOS.modulemap"; - PRODUCT_NAME = Nimble; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - D8F70D095B800F1132CCA409D1CAAE01 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8C0610E4FAB8E8F73058DB1AB196FEFE /* Quick-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Quick-macOS/Quick-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MODULEMAP_FILE = "Target Support Files/Quick-macOS/Quick-macOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - EB82BA622097FA0B382626EE487141CC /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D1A57A0F7B2A5303C1C2F6629A680AC9 /* Pods-TVOS-Example.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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-TVOS-Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_TVOS_Example; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 10.1; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - EDC155DA7749A025F358765CE1355E1B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0C6147F9953A4BA8F746D619981A1DFA /* Alamofire-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/Alamofire-iOS/Alamofire-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Alamofire-iOS/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/Alamofire-iOS/Alamofire-iOS.modulemap"; - PRODUCT_NAME = Alamofire; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - F3ED4D8A02B7114A786324F05C40C856 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4E96DFA3D79031BEF0A71316DD36070D /* SWXMLHash-iOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/SWXMLHash-iOS/SWXMLHash-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SWXMLHash-iOS/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/SWXMLHash-iOS/SWXMLHash-iOS.modulemap"; - PRODUCT_NAME = SWXMLHash; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - F81D91FEDA5863A0DD03980DAC2F7E3F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8C0610E4FAB8E8F73058DB1AB196FEFE /* Quick-macOS.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREFIX_HEADER = "Target Support Files/Quick-macOS/Quick-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Quick-macOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MODULEMAP_FILE = "Target Support Files/Quick-macOS/Quick-macOS.modulemap"; - PRODUCT_NAME = Quick; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0C2CC133955336E15F1DA1CC30D68144 /* Build configuration list for PBXNativeTarget "Pods-OSX-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4F94BBDB6E965547146F380EA5F5E1FF /* Debug */, - 3A1F095921E60FA70BDCDAB28DBA80D6 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0DAF10DA3C2BE2A4BD7D7AB1CB44BFAF /* Build configuration list for PBXNativeTarget "Pods-iOS-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C62724E8FC7B4D33A11AC2CBC297D4C8 /* Debug */, - BA7F91BE9C52DAEC18C6E477DE7E1C2D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0F4053A8BB919FE7AEA62390E9A8F872 /* Build configuration list for PBXNativeTarget "Pods-OSX-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A5AF7411829B496EE70E6960E2F7D42A /* Debug */, - 60921331C1418E7E80E840ED65290F6C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 10892F11660397FD4DAC73837CE3AC19 /* Build configuration list for PBXNativeTarget "Alamofire-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4C87820ACB2A756BE8CF15D32598840F /* Debug */, - 2F8B9A7F0A8C92F290BC4CA3873CA2CC /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 20EFA5187DE58C6C9B37F8B1C4B98C36 /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4B48C409E0112D20114FBBE34C69E550 /* Debug */, - 05F4682637223DFD4C236A470633A432 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 22BC0DEE19EDD9FC738C840C31E11CA7 /* Build configuration list for PBXNativeTarget "Nocilla-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C3E51B00D80E92D0383467A7D695DA54 /* Debug */, - 084D984DEA30F4183534D7AB01034B39 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 274C08BA5879A9651C5BFD8AE3301426 /* Build configuration list for PBXNativeTarget "Pods-iOS-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 170CFF00053B8834C58BD583ECBDD7D5 /* Debug */, - BE6B12F1AB405B0BE2D6734268CE78D4 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2A68B697EFFAD670D222B7B18EDE64E0 /* Build configuration list for PBXNativeTarget "Nimble-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 878AF61C74CC9914A0F13CE955A46DA3 /* Debug */, - 9519B329CC8E990779C6E2B1026772F7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 40E0ED8903BDDBD8ED17D8AD0811486F /* Debug */, - A2BD540490E7B24B71C391DD960231FA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3201AF147C6E20B5681BB1DC6661C6E2 /* Build configuration list for PBXNativeTarget "Nocilla-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8AF4955EA74F47D362919149D3CC8197 /* Debug */, - 669185ABF79C150D1CF6892F325D38FA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 456B4D9E5617A846A259F11A300D3B6B /* Build configuration list for PBXNativeTarget "Nocilla-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 07B6D5469468D7D94C8F77B8DEB1EFDC /* Debug */, - 83B57DF0E38FC70A3FAD886C6EAE2971 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4AB44AB6C71AE08ABC77170951B9C583 /* Build configuration list for PBXNativeTarget "SWXMLHash-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F3ED4D8A02B7114A786324F05C40C856 /* Debug */, - 23A60E2BD3188432914749A12ECDB5F0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4DE912E3C2F29C8D188AC7BC755B64A2 /* Build configuration list for PBXNativeTarget "Alamofire-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B9EF18B167C08D5F3CFA9CBFAC0E10D8 /* Debug */, - 79FEB9F62B8DD9EC691556089116DA3E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 5E14A410DECE9B7D97963F86C89E0CDA /* Build configuration list for PBXNativeTarget "Quick-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3F3AC4F8F74447ECB91DAFA994FBD5BD /* Debug */, - 7480B0BCBFF5AB9DEC90DBDB0B464543 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 5EFF725B7C99D72E51A1A50B95048888 /* Build configuration list for PBXNativeTarget "Nimble-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A5D202D6EFEFD6649351DE93081397C8 /* Debug */, - CF002560C454F6EC4B17B7A78D5DD21B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 66566984051CC15ADEFB58B826F56DC8 /* Build configuration list for PBXNativeTarget "Nimble-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 14122FD4C8A4C187F00D0891226008C2 /* Debug */, - D3EA891ABC4C99A69740118F96189580 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 77FEFE6A26FFAB851C130C7F58A10089 /* Build configuration list for PBXNativeTarget "Pods-TVOS-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5D78C2CE0EBFEB2B81767DF4E24799C6 /* Debug */, - 7A7D72356F1F4225FAB7AE64F3B26F32 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 839B2344C450786E719D180575DC3BED /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2D2C10214AE6A1087B5CD9DC677E2A35 /* Debug */, - 2474CA2129C523DFBFD2A154B10CF383 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 89B276DD630E3B2D0B2E3A8E92280DBC /* Build configuration list for PBXNativeTarget "Pods-TVOS-Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - CE4EB519A3DC4C7C7BBA86532094078C /* Debug */, - EB82BA622097FA0B382626EE487141CC /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - AB92E599D179260C3F30F3C6F77933B7 /* Build configuration list for PBXNativeTarget "Alamofire-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4FE6F6F2E3DB583F8A15B0BA00C391B3 /* Debug */, - EDC155DA7749A025F358765CE1355E1B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C76816A287A6FAFA15E50951EB5AACCA /* Build configuration list for PBXNativeTarget "SWXMLHash-tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 60CD297A5AEDBF67FBFF34B956655933 /* Debug */, - 0C05E2EB3D6D17CAD841E903DB21B5CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DD831AEC89C751440D053E6C6FA3E7CF /* Build configuration list for PBXNativeTarget "AmazonS3RequestManager-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8B89A7AAE07A98267391FDB28E265213 /* Debug */, - 083202010D5524C5BCD743E7CFE1DC4E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - EA8C5C09AC0C29C1BA2F8618B12A1B36 /* Build configuration list for PBXNativeTarget "Quick-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D1AFB29FBF1D34A6E2393B41D71C22BE /* Debug */, - 1CD8E4373C248D40E3AB7AA913CF0E4F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F12E68B678B792C87ED0BB34174F7BBA /* Build configuration list for PBXNativeTarget "SWXMLHash-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5F4BA0D4AD4F90FBE8F6F754450C3688 /* Debug */, - AE4C1B308E816A98B5F15F79706A4BCB /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FFA3167A7D1B04A15E3FB16099D44203 /* Build configuration list for PBXNativeTarget "Quick-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D8F70D095B800F1132CCA409D1CAAE01 /* Debug */, - F81D91FEDA5863A0DD03980DAC2F7E3F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-OSX.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-OSX.xcscheme deleted file mode 100644 index 4fc33f7..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-OSX.xcscheme +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-iOS.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-iOS.xcscheme deleted file mode 100644 index 28f0862..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-iOS.xcscheme +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-tvOS.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-tvOS.xcscheme deleted file mode 100644 index c8c95d4..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AmazonS3RequestManager-tvOS.xcscheme +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Quick/LICENSE b/Example/Pods/Quick/LICENSE deleted file mode 100644 index e900165..0000000 --- a/Example/Pods/Quick/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2014, Quick Team - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/Example/Pods/Quick/README.md b/Example/Pods/Quick/README.md deleted file mode 100644 index e6dc0ad..0000000 --- a/Example/Pods/Quick/README.md +++ /dev/null @@ -1,88 +0,0 @@ -![](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) -[![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 3 |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. diff --git a/Example/Pods/Quick/Sources/Quick/Behavior.swift b/Example/Pods/Quick/Sources/Quick/Behavior.swift deleted file mode 100644 index 1d98702..0000000 --- a/Example/Pods/Quick/Sources/Quick/Behavior.swift +++ /dev/null @@ -1,17 +0,0 @@ -/** - 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 { - - open static 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) {} -} diff --git a/Example/Pods/Quick/Sources/Quick/Callsite.swift b/Example/Pods/Quick/Sources/Quick/Callsite.swift deleted file mode 100644 index f5e3711..0000000 --- a/Example/Pods/Quick/Sources/Quick/Callsite.swift +++ /dev/null @@ -1,45 +0,0 @@ -import Foundation - -// `#if swift(>=3.2) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE` -// does not work as expected. -#if swift(>=3.2) - #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objcMembers - public class _CallsiteBase: NSObject {} - #else - public class _CallsiteBase: NSObject {} - #endif -#else -public class _CallsiteBase: NSObject {} -#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: String - - /** - The line number on which an example is defined. - */ - public let line: UInt - - internal init(file: String, line: UInt) { - self.file = file - self.line = line - } -} - -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 lhs.file == rhs.file && lhs.line == rhs.line - } -} diff --git a/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift b/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift deleted file mode 100644 index dbb95f1..0000000 --- a/Example/Pods/Quick/Sources/Quick/Configuration/Configuration.swift +++ /dev/null @@ -1,161 +0,0 @@ -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 - if let pending = example.filterFlags[Filter.pending] { - return pending - } else { - return false - } - }] - internal var inclusionFilters: [ExampleFilter] = [ { example in - if let focused = example.filterFlags[Filter.focused] { - return focused - } else { - return false - } - }] - - /** - Run all examples if none match the configured filters. True by default. - */ - public var runAllWhenEverythingFiltered = true - - /** - Registers an inclusion filter. - - All examples are filtered using all inclusion filters. - The remaining examples are run. If no examples remain, all examples are run. - - - parameter filter: A filter that, given an example, returns a value indicating - whether that example should be included in the examples - that are run. - */ - public func include(_ filter: @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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - @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 mulitple +[QuickConfigure configure:] methods in order - to define several closures to run before each example. - - Note that, since Quick makes no guarantee as to the order in which - +[QuickConfiguration configure:] methods are evaluated, there is no - guarantee as to the order in which beforeEach closures are evaluated - either. Mulitple beforeEach defined on a single configuration, however, - will be executed in the order they're defined. - - - parameter closure: The closure to be executed before each example - in the test suite. - */ - public func beforeEach(_ closure: @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 os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - @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 mulitple +[QuickConfigure configure:] methods in order - to define several closures to run after each example. - - Note that, since Quick makes no guarantee as to the order in which - +[QuickConfiguration configure:] methods are evaluated, there is no - guarantee as to the order in which afterEach closures are evaluated - either. Mulitple afterEach defined on a single configuration, however, - will be executed in the order they're defined. - - - parameter closure: The closure to be executed before each example - in the test suite. - */ - public func afterEach(_ closure: @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) - } -} diff --git a/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift b/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift deleted file mode 100644 index 94f20c5..0000000 --- a/Example/Pods/Quick/Sources/Quick/DSL/DSL.swift +++ /dev/null @@ -1,271 +0,0 @@ -/** - 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: String = #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: String = #file, line: UInt = #line) { - itBehavesLike(name, flags: flags, file: file, line: line, sharedExampleContext: { return [:] }) -} - -/** - Inserts the examples defined using a `sharedExamples` function into the current example group. - The shared examples are executed at this location, as if they were written out manually. - This function also passes those shared examples a context that can be evaluated to give the shared - examples extra information on the subject of the example. - - - parameter name: The name of the shared examples group to be executed. This must be identical to the - name of a shared examples group defined using `sharedExamples`. If there are no shared - examples that match the name given, an exception is thrown and the test suite will crash. - - parameter sharedExampleContext: A closure that, when evaluated, returns key-value pairs that provide the - shared examples with extra information on the subject of the example. - - parameter flags: A mapping of string keys to booleans that can be used to filter examples or example groups. - Empty by default. - - parameter file: The absolute path to the file containing the current example group. A sensible default is provided. - - parameter line: The line containing the current example group. A sensible default is provided. -*/ -public func itBehavesLike(_ name: String, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, sharedExampleContext: @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(_ behavior: Behavior.Type, flags: FilterFlags = [:], file: String = #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: String = #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(_ behavior: Behavior.Type, flags: FilterFlags = [:], file: String = #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: String = #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: String = #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: String = #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(_ behavior: Behavior.Type, flags: FilterFlags = [:], file: String = #file, line: UInt = #line, context: @escaping () -> C) { - World.sharedWorld.fitBehavesLike(behavior, context: context, flags: flags, file: file, line: line) -} diff --git a/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift b/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift deleted file mode 100644 index 5249027..0000000 --- a/Example/Pods/Quick/Sources/Quick/DSL/World+DSL.swift +++ /dev/null @@ -1,205 +0,0 @@ -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 { - 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 (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @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 (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objc(afterEachWithMetadata:) - internal func afterEach(closure: @escaping AfterExampleWithMetadataClosure) { - currentExampleGroup.hooks.appendAfter(closure) - } -#else - internal func afterEach(closure: @escaping AfterExampleWithMetadataClosure) { - currentExampleGroup.hooks.appendAfter(closure) - } -#endif - - internal func it(_ description: String, flags: FilterFlags, file: String, 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) - } - - internal func fit(_ description: String, flags: FilterFlags, file: String, line: UInt, closure: @escaping () -> Void) { - var focusedFlags = flags - focusedFlags[Filter.focused] = true - self.it(description, flags: focusedFlags, file: file, line: line, closure: closure) - } - - internal func xit(_ description: String, flags: FilterFlags, file: String, line: UInt, closure: @escaping () -> Void) { - var pendingFlags = flags - pendingFlags[Filter.pending] = true - self.it(description, flags: pendingFlags, file: file, line: line, closure: closure) - } - - internal func itBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: String, line: UInt) { - guard currentExampleMetadata == nil else { - raiseError("'itBehavesLike' cannot be used inside '\(currentPhase)', 'itBehavesLike' may only be used inside 'context' or 'describe'. ") - } - let callsite = Callsite(file: file, line: line) - let closure = World.sharedWorld.sharedExample(name) - - let group = ExampleGroup(description: name, flags: flags) - currentExampleGroup.appendExampleGroup(group) - performWithCurrentExampleGroup(group) { - closure(sharedExampleContext) - } - - group.walkDownExamples { (example: Example) in - example.isSharedExample = true - example.callsite = callsite - } - } - - internal func fitBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: String, line: UInt) { - var focusedFlags = flags - focusedFlags[Filter.focused] = true - self.itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: focusedFlags, file: file, line: line) - } - - internal func itBehavesLike(_ behavior: Behavior.Type, context: @escaping () -> C, flags: FilterFlags, file: String, line: UInt) { - guard currentExampleMetadata == nil else { - raiseError("'itBehavesLike' cannot be used inside '\(currentPhase)', 'itBehavesLike' may only be used inside 'context' or 'describe'. ") - } - let callsite = Callsite(file: file, line: line) - let closure = 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(_ behavior: Behavior.Type, context: @escaping () -> C, flags: FilterFlags, file: String, line: UInt) { - var focusedFlags = flags - focusedFlags[Filter.focused] = true - self.itBehavesLike(behavior, context: context, flags: focusedFlags, file: file, line: line) - } - - internal func xitBehavesLike(_ behavior: Behavior.Type, context: @escaping () -> C, flags: FilterFlags, file: String, line: UInt) { - var pendingFlags = flags - pendingFlags[Filter.pending] = true - self.itBehavesLike(behavior, context: context, flags: pendingFlags, file: file, line: line) - } - -#if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objc(itWithDescription:flags:file:line:closure:) - private func objc_it(_ description: String, flags: FilterFlags, file: String, line: UInt, closure: @escaping () -> Void) { - it(description, flags: flags, file: file, line: line, closure: closure) - } - - @objc(fitWithDescription:flags:file:line:closure:) - private func objc_fit(_ description: String, flags: FilterFlags, file: String, line: UInt, closure: @escaping () -> Void) { - fit(description, flags: flags, file: file, line: line, closure: closure) - } - - @objc(xitWithDescription:flags:file:line:closure:) - private func objc_xit(_ description: String, flags: FilterFlags, file: String, line: UInt, closure: @escaping () -> Void) { - xit(description, flags: flags, file: file, line: line, closure: closure) - } - - @objc(itBehavesLikeSharedExampleNamed:sharedExampleContext:flags:file:line:) - private func objc_itBehavesLike(_ name: String, sharedExampleContext: @escaping SharedExampleContext, flags: FilterFlags, file: String, 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" - } -} diff --git a/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift b/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift deleted file mode 100644 index 155fefd..0000000 --- a/Example/Pods/Quick/Sources/Quick/ErrorUtility.swift +++ /dev/null @@ -1,10 +0,0 @@ -import Foundation - -internal func raiseError(_ message: String) -> Never { -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - 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) -} diff --git a/Example/Pods/Quick/Sources/Quick/Example.swift b/Example/Pods/Quick/Sources/Quick/Example.swift deleted file mode 100644 index c15b31a..0000000 --- a/Example/Pods/Quick/Sources/Quick/Example.swift +++ /dev/null @@ -1,131 +0,0 @@ -import Foundation - -private var numberOfExamplesRun = 0 -private var numberOfIncludedExamples = 0 - -// `#if swift(>=3.2) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE` -// does not work as expected. -#if swift(>=3.2) - #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objcMembers - public class _ExampleBase: NSObject {} - #else - public class _ExampleBase: NSObject {} - #endif -#else -public class _ExampleBase: NSObject {} -#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 numberOfIncludedExamples == 0 { - numberOfIncludedExamples = world.includedExampleCount - } - - if numberOfExamplesRun == 0 { - world.suiteHooks.executeBefores() - } - - let exampleMetadata = ExampleMetadata(example: self, exampleIndex: numberOfExamplesRun) - world.currentExampleMetadata = exampleMetadata - - world.exampleHooks.executeBefores(exampleMetadata) - group!.phase = .beforesExecuting - for before in group!.befores { - before(exampleMetadata) - } - group!.phase = .beforesFinished - - closure() - - group!.phase = .aftersExecuting - for after in group!.afters { - after(exampleMetadata) - } - group!.phase = .aftersFinished - world.exampleHooks.executeAfters(exampleMetadata) - - numberOfExamplesRun += 1 - - if !world.isRunningAdditionalSuites && numberOfExamplesRun >= numberOfIncludedExamples { - 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 - } -} diff --git a/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift b/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift deleted file mode 100644 index 129bed0..0000000 --- a/Example/Pods/Quick/Sources/Quick/ExampleGroup.swift +++ /dev/null @@ -1,99 +0,0 @@ -import Foundation - -/** - Example groups are logical groupings of examples, defined with - the `describe` and `context` functions. Example groups can share - setup and teardown code. -*/ -final public class ExampleGroup: NSObject { - weak internal var parent: ExampleGroup? - internal let hooks = ExampleHooks() - - internal var phase: HooksPhase = .nothingExecuted - - private let internalDescription: String - private let flags: FilterFlags - private let isInternalRootExampleGroup: Bool - private var childGroups = [ExampleGroup]() - private var childExamples = [Example]() - - internal init(description: String, flags: FilterFlags, isInternalRootExampleGroup: Bool = false) { - self.internalDescription = description - self.flags = flags - self.isInternalRootExampleGroup = isInternalRootExampleGroup - } - - public override var description: String { - return internalDescription - } - - /** - Returns a list of examples that belong to this example group, - or to any of its descendant example groups. - */ - public var examples: [Example] { - return childExamples + childGroups.flatMap { $0.examples } - } - - 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 - } - } -} diff --git a/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift b/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift deleted file mode 100644 index 3dd28ab..0000000 --- a/Example/Pods/Quick/Sources/Quick/ExampleMetadata.swift +++ /dev/null @@ -1,37 +0,0 @@ -import Foundation - -// `#if swift(>=3.2) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE` -// does not work as expected. -#if swift(>=3.2) - #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objcMembers - public class _ExampleMetadataBase: NSObject {} - #else - public class _ExampleMetadataBase: NSObject {} - #endif -#else -public class _ExampleMetadataBase: NSObject {} -#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 - } -} diff --git a/Example/Pods/Quick/Sources/Quick/Filter.swift b/Example/Pods/Quick/Sources/Quick/Filter.swift deleted file mode 100644 index da137f8..0000000 --- a/Example/Pods/Quick/Sources/Quick/Filter.swift +++ /dev/null @@ -1,44 +0,0 @@ -import Foundation - -// `#if swift(>=3.2) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE` -// does not work as expected. -#if swift(>=3.2) - #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objcMembers - public class _FilterBase: NSObject {} - #else - public class _FilterBase: NSObject {} - #endif -#else -public class _FilterBase: NSObject {} -#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" - } -} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift b/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift deleted file mode 100644 index 9c7d310..0000000 --- a/Example/Pods/Quick/Sources/Quick/Hooks/Closures.swift +++ /dev/null @@ -1,35 +0,0 @@ -// 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 diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift b/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift deleted file mode 100644 index 449cbfc..0000000 --- a/Example/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift +++ /dev/null @@ -1,42 +0,0 @@ -/** - 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 - } -} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift b/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift deleted file mode 100644 index 2440158..0000000 --- a/Example/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift +++ /dev/null @@ -1,11 +0,0 @@ -/** - 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 -} diff --git a/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift b/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift deleted file mode 100644 index b39292b..0000000 --- a/Example/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift +++ /dev/null @@ -1,32 +0,0 @@ -/** - 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 - } -} diff --git a/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift b/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift deleted file mode 100644 index d7a1442..0000000 --- a/Example/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift +++ /dev/null @@ -1,25 +0,0 @@ -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) - -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 as NSString - return fileName.c99ExtendedIdentifier - } -} - -#endif diff --git a/Example/Pods/Quick/Sources/Quick/NSString+C99ExtendedIdentifier.swift b/Example/Pods/Quick/Sources/Quick/NSString+C99ExtendedIdentifier.swift deleted file mode 100644 index ef73762..0000000 --- a/Example/Pods/Quick/Sources/Quick/NSString+C99ExtendedIdentifier.swift +++ /dev/null @@ -1,33 +0,0 @@ -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) -import Foundation - -public extension NSString { - - private static var invalidCharacters: CharacterSet = { - var invalidCharacters = CharacterSet() - - let invalidCharacterSets: [CharacterSet] = [ - .whitespacesAndNewlines, - .illegalCharacters, - .controlCharacters, - .punctuationCharacters, - .nonBaseCharacters, - .symbols - ] - - for invalidSet in invalidCharacterSets { - invalidCharacters.formUnion(invalidSet) - } - - return invalidCharacters - }() - - @objc(qck_c99ExtendedIdentifier) - var c99ExtendedIdentifier: String { - let validComponents = components(separatedBy: NSString.invalidCharacters) - let result = validComponents.joined(separator: "_") - - return result.isEmpty ? "_" : result - } -} -#endif diff --git a/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift b/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift deleted file mode 100644 index 415b680..0000000 --- a/Example/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift +++ /dev/null @@ -1,74 +0,0 @@ -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) -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 diff --git a/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift b/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift deleted file mode 100644 index 0fe76a7..0000000 --- a/Example/Pods/Quick/Sources/Quick/QuickTestSuite.swift +++ /dev/null @@ -1,52 +0,0 @@ -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) - -import XCTest - -/** - This protocol defines the role of an object that builds test suites. - */ -internal protocol QuickTestSuiteBuilder { - - /** - Construct a `QuickTestSuite` instance with the appropriate test cases added as tests. - - Subsequent calls to this method should return equivalent test suites. - */ - func buildTestSuite() -> QuickTestSuite - -} - -/** - A base class for a class cluster of Quick test suites, that should correctly - build dynamic test suites for XCTest to execute. - */ -public class QuickTestSuite: XCTestSuite { - - private static var builtTestSuites: Set = Set() - - /** - Construct a test suite for a specific, selected subset of test cases (rather - than the default, which as all test cases). - - If this method is called multiple times for the same test case class, e.g.. - - FooSpec/testFoo - FooSpec/testBar - - It is expected that the first call should return a valid test suite, and - all subsequent calls should return `nil`. - */ - @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 diff --git a/Example/Pods/Quick/Sources/Quick/URL+FileName.swift b/Example/Pods/Quick/Sources/Quick/URL+FileName.swift deleted file mode 100644 index 23c4781..0000000 --- a/Example/Pods/Quick/Sources/Quick/URL+FileName.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Foundation - -extension URL { - - /** - Returns the path file name without file extension. - */ - var fileName: String { - return self.deletingPathExtension().lastPathComponent - } - -} diff --git a/Example/Pods/Quick/Sources/Quick/World.swift b/Example/Pods/Quick/Sources/Quick/World.swift deleted file mode 100644 index 127239a..0000000 --- a/Example/Pods/Quick/Sources/Quick/World.swift +++ /dev/null @@ -1,247 +0,0 @@ -import Foundation - -/** - A closure that, when evaluated, returns a dictionary of key-value - pairs that can be accessed from within a group of shared examples. -*/ -public typealias SharedExampleContext = () -> [String: Any] - -/** - A closure that is used to define a group of shared examples. This - closure may contain any number of example and example groups. -*/ -public typealias SharedExampleClosure = (@escaping SharedExampleContext) -> Void - -// `#if swift(>=3.2) && (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE` -// does not work as expected. -#if swift(>=3.2) - #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE - @objcMembers - internal class _WorldBase: NSObject {} - #else - internal class _WorldBase: NSObject {} - #endif -#else -internal class _WorldBase: NSObject {} -#endif - -/** - A collection of state Quick builds up in order to work its magic. - World is primarily responsible for maintaining a mapping of QuickSpec - classes to root example groups for those classes. - - It also maintains a mapping of shared example names to shared - example closures. - - You may configure how Quick behaves by calling the -[World configure:] - method from within an overridden +[QuickConfiguration configure:] method. -*/ -final internal class World: _WorldBase { - /** - The example group that is currently being run. - The DSL requires that this group is correctly set in order to build a - correct hierarchy of example groups and their examples. - */ - internal var currentExampleGroup: ExampleGroup! - - /** - The example metadata of the test that is currently being run. - This is useful for using the Quick test metadata (like its name) at - runtime. - */ - - internal var currentExampleMetadata: ExampleMetadata? - - /** - A flag that indicates whether additional test suites are being run - within this test suite. This is only true within the context of Quick - functional tests. - */ -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - // Convention of generating Objective-C selector has been changed on Swift 3 - @objc(isRunningAdditionalSuites) - internal var isRunningAdditionalSuites = false -#else - internal var isRunningAdditionalSuites = false -#endif - - private var specs: [String: ExampleGroup] = [:] - private var sharedExamples: [String: SharedExampleClosure] = [:] - private let configuration = Configuration() - - internal private(set) var isConfigurationFinalized = false - - internal var exampleHooks: ExampleHooks {return configuration.exampleHooks } - internal var suiteHooks: SuiteHooks { return configuration.suiteHooks } - - // MARK: Singleton Constructor - - private override init() {} - - static let sharedWorld = World() - - // MARK: Public Interface - - /** - Exposes the World's Configuration object within the scope of the closure - so that it may be configured. This method must not be called outside of - an overridden +[QuickConfiguration configure:] method. - - - parameter closure: A closure that takes a Configuration object that can - be mutated to change Quick's behavior. - */ - internal func configure(_ closure: QuickConfigurer) { - assert(!isConfigurationFinalized, - "Quick cannot be configured outside of a +[QuickConfiguration configure:] method. You should not call -[World configure:] directly. Instead, subclass QuickConfiguration and override the +[QuickConfiguration configure:] method.") - closure(configuration) - } - - /** - Finalizes the World's configuration. - Any subsequent calls to World.configure() will raise. - */ - internal func finalizeConfiguration() { - isConfigurationFinalized = true - } - - /** - Returns an internally constructed root example group for the given - QuickSpec class. - - A root example group with the description "root example group" is lazily - initialized for each QuickSpec class. This root example group wraps the - top level of a -[QuickSpec spec] method--it's thanks to this group that - users can define beforeEach and it closures at the top level, like so: - - override func spec() { - // These belong to the root example group - beforeEach {} - it("is at the top level") {} - } - - - parameter cls: The QuickSpec class for which to retrieve the root example group. - - returns: The root example group for the class. - */ - internal func rootExampleGroupForSpecClass(_ cls: AnyClass) -> ExampleGroup { - let name = String(describing: cls) - - if let group = specs[name] { - return group - } else { - let group = ExampleGroup( - description: "root example group", - flags: [:], - isInternalRootExampleGroup: true - ) - specs[name] = group - return group - } - } - - /** - Returns all examples that should be run for a given spec class. - There are two filtering passes that occur when determining which examples should be run. - That is, these examples are the ones that are included by inclusion filters, and are - not excluded by exclusion filters. - - - parameter specClass: The QuickSpec subclass for which examples are to be returned. - - returns: A list of examples to be run as test invocations. - */ - internal func examples(_ specClass: AnyClass) -> [Example] { - // 1. Grab all included examples. - let included = includedExamples - // 2. Grab the intersection of (a) examples for this spec, and (b) included examples. - let spec = rootExampleGroupForSpecClass(specClass).examples.filter { included.contains($0) } - // 3. Remove all excluded examples. - return spec.filter { example in - !self.configuration.exclusionFilters.reduce(false) { $0 || $1(example) } - } - } - -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) - @objc(examplesForSpecClass:) - private func objc_examples(_ specClass: AnyClass) -> [Example] { - return examples(specClass) - } -#endif - - // MARK: Internal - - internal func registerSharedExample(_ name: String, closure: @escaping SharedExampleClosure) { - raiseIfSharedExampleAlreadyRegistered(name) - sharedExamples[name] = closure - } - - internal func sharedExample(_ name: String) -> SharedExampleClosure { - raiseIfSharedExampleNotRegistered(name) - return sharedExamples[name]! - } - - internal var includedExampleCount: Int { - return includedExamples.count - } - - internal var beforesCurrentlyExecuting: Bool { - let suiteBeforesExecuting = suiteHooks.phase == .beforesExecuting - let exampleBeforesExecuting = exampleHooks.phase == .beforesExecuting - var groupBeforesExecuting = false - if let runningExampleGroup = currentExampleMetadata?.example.group { - groupBeforesExecuting = runningExampleGroup.phase == .beforesExecuting - } - - return suiteBeforesExecuting || exampleBeforesExecuting || groupBeforesExecuting - } - - internal var aftersCurrentlyExecuting: Bool { - let suiteAftersExecuting = suiteHooks.phase == .aftersExecuting - let exampleAftersExecuting = exampleHooks.phase == .aftersExecuting - var groupAftersExecuting = false - if let runningExampleGroup = currentExampleMetadata?.example.group { - groupAftersExecuting = runningExampleGroup.phase == .aftersExecuting - } - - return suiteAftersExecuting || exampleAftersExecuting || groupAftersExecuting - } - - internal func performWithCurrentExampleGroup(_ group: ExampleGroup, closure: () -> Void) { - let previousExampleGroup = currentExampleGroup - currentExampleGroup = group - - closure() - - currentExampleGroup = previousExampleGroup - } - - private var allExamples: [Example] { - var all: [Example] = [] - for (_, group) in specs { - group.walkDownExamples { all.append($0) } - } - return all - } - - private var includedExamples: [Example] { - let all = allExamples - let included = all.filter { example in - return self.configuration.inclusionFilters.reduce(false) { $0 || $1(example) } - } - - if included.isEmpty && configuration.runAllWhenEverythingFiltered { - return all - } else { - return included - } - } - - private func raiseIfSharedExampleAlreadyRegistered(_ name: String) { - if sharedExamples[name] != nil { - raiseError("A shared example named '\(name)' has already been registered.") - } - } - - private func raiseIfSharedExampleNotRegistered(_ name: String) { - if sharedExamples[name] == nil { - raiseError("No shared example named '\(name)' has been registered. Registered shared examples: '\(Array(sharedExamples.keys))'") - } - } -} diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h b/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h deleted file mode 100644 index 5646199..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h +++ /dev/null @@ -1,30 +0,0 @@ -#import - -@class Configuration; - -/** - Subclass QuickConfiguration and override the +[QuickConfiguration configure:] - method in order to configure how Quick behaves when running specs, or to define - shared examples that are used across spec files. - */ -@interface QuickConfiguration : NSObject - -/** - This method is executed on each subclass of this class before Quick runs - any examples. You may override this method on as many subclasses as you like, but - there is no guarantee as to the order in which these methods are executed. - - You can override this method in order to: - - 1. Configure how Quick behaves, by modifying properties on the Configuration object. - Setting the same properties in several methods has undefined behavior. - - 2. Define shared examples using `sharedExamples`. - - @param configuration A mutable object that is used to configure how Quick behaves on - a framework level. For details on all the options, see the - documentation in Configuration.swift. - */ -+ (void)configure:(Configuration *)configuration; - -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.m b/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.m deleted file mode 100644 index 937b818..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.m +++ /dev/null @@ -1,83 +0,0 @@ -#import "QuickConfiguration.h" -#import "World.h" -#import - -typedef void (^QCKClassEnumerationBlock)(Class klass); - -/** - Finds all direct subclasses of the given class and passes them to the block provided. - The classes are iterated over in the order that objc_getClassList returns them. - - @param klass The base class to find subclasses of. - @param block A block that takes a Class. This block will be executed once for each subclass of klass. - */ -void qck_enumerateSubclasses(Class klass, QCKClassEnumerationBlock block) { - Class *classes = NULL; - int classesCount = objc_getClassList(NULL, 0); - - if (classesCount > 0) { - classes = (Class *)calloc(sizeof(Class), classesCount); - classesCount = objc_getClassList(classes, classesCount); - - Class subclass, superclass; - for(int i = 0; i < classesCount; i++) { - subclass = classes[i]; - superclass = class_getSuperclass(subclass); - if (superclass == klass && block) { - block(subclass); - } - } - - free(classes); - } -} - -@implementation QuickConfiguration - -#pragma mark - Object Lifecycle - -/** - QuickConfiguration is not meant to be instantiated; it merely provides a hook - for users to configure how Quick behaves. Raise an exception if an instance of - QuickConfiguration is created. - */ -- (instancetype)init { - NSString *className = NSStringFromClass([self class]); - NSString *selectorName = NSStringFromSelector(@selector(configure:)); - [NSException raise:NSInternalInconsistencyException - format:@"%@ is not meant to be instantiated; " - @"subclass %@ and override %@ to configure Quick.", - className, className, selectorName]; - return nil; -} - -#pragma mark - NSObject Overrides - -/** - Hook into when QuickConfiguration is initialized in the runtime in order to - call +[QuickConfiguration configure:] on each of its subclasses. - */ -+ (void)initialize { - // Only enumerate over the subclasses of QuickConfiguration, not any of its subclasses. - if ([self class] == [QuickConfiguration class]) { - - // Only enumerate over subclasses once, even if +[QuickConfiguration initialize] - // were to be called several times. This is necessary because +[QuickSpec initialize] - // manually calls +[QuickConfiguration initialize]. - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - qck_enumerateSubclasses([QuickConfiguration class], ^(__unsafe_unretained Class klass) { - [[World sharedWorld] configure:^(Configuration *configuration) { - [klass configure:configuration]; - }]; - }); - [[World sharedWorld] finalizeConfiguration]; - }); - } -} - -#pragma mark - Public Interface - -+ (void)configure:(Configuration *)configuration { } - -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h b/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h deleted file mode 100644 index c5f3152..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h +++ /dev/null @@ -1,234 +0,0 @@ -#import - -@class ExampleMetadata; - -/** - Provides a hook for Quick to be configured before any examples are run. - Within this scope, override the +[QuickConfiguration configure:] method - to set properties on a configuration object to customize Quick behavior. - For details, see the documentation for Configuraiton.swift. - - @param name The name of the configuration class. Like any Objective-C - class name, this must be unique to the current runtime - environment. - */ -#define QuickConfigurationBegin(name) \ - @interface name : QuickConfiguration; @end \ - @implementation name \ - - -/** - Marks the end of a Quick configuration. - Make sure you put this after `QuickConfigurationBegin`. - */ -#define QuickConfigurationEnd \ - @end \ - - -/** - Defines a new QuickSpec. Define examples and example groups within the space - between this and `QuickSpecEnd`. - - @param name The name of the spec class. Like any Objective-C class name, this - must be unique to the current runtime environment. - */ -#define QuickSpecBegin(name) \ - @interface name : QuickSpec; @end \ - @implementation name \ - - (void)spec { \ - - -/** - Marks the end of a QuickSpec. Make sure you put this after `QuickSpecBegin`. - */ -#define QuickSpecEnd \ - } \ - @end \ - -typedef NSDictionary *(^QCKDSLSharedExampleContext)(void); -typedef void (^QCKDSLSharedExampleBlock)(QCKDSLSharedExampleContext); -typedef void (^QCKDSLEmptyBlock)(void); -typedef void (^QCKDSLExampleMetadataBlock)(ExampleMetadata *exampleMetadata); - -#define QUICK_EXPORT FOUNDATION_EXPORT - -QUICK_EXPORT void qck_beforeSuite(QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_afterSuite(QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure); -QUICK_EXPORT void qck_describe(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_context(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_beforeEach(QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure); -QUICK_EXPORT void qck_afterEach(QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_afterEachWithMetadata(QCKDSLExampleMetadataBlock closure); -QUICK_EXPORT void qck_pending(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure); -QUICK_EXPORT void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure); - -#ifndef QUICK_DISABLE_SHORT_SYNTAX -/** - Defines a closure to be run prior to any examples in the test suite. - You may define an unlimited number of these closures, but there is no - guarantee as to the order in which they're run. - - If the test suite crashes before the first example is run, this closure - will not be executed. - - @param closure The closure to be run prior to any examples in the test suite. - */ -static inline void beforeSuite(QCKDSLEmptyBlock closure) { - qck_beforeSuite(closure); -} - - -/** - Defines a closure to be run after all of the examples in the test suite. - You may define an unlimited number of these closures, but there is no - guarantee as to the order in which they're run. - - If the test suite crashes before all examples are run, this closure - will not be executed. - - @param closure The closure to be run after all of the examples in the test suite. - */ -static inline void afterSuite(QCKDSLEmptyBlock closure) { - qck_afterSuite(closure); -} - -/** - Defines a group of shared examples. These examples can be re-used in several locations - by using the `itBehavesLike` function. - - @param name The name of the shared example group. This must be unique across all shared example - groups defined in a test suite. - @param closure A closure containing the examples. This behaves just like an example group defined - using `describe` or `context`--the closure may contain any number of `beforeEach` - and `afterEach` closures, as well as any number of examples (defined using `it`). - */ -static inline void sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) { - qck_sharedExamples(name, closure); -} - -/** - Defines an example group. Example groups are logical groupings of examples. - Example groups can share setup and teardown code. - - @param description An arbitrary string describing the example group. - @param closure A closure that can contain other examples. - */ -static inline void describe(NSString *description, QCKDSLEmptyBlock closure) { - qck_describe(description, closure); -} - -/** - Defines an example group. Equivalent to `describe`. - */ -static inline void context(NSString *description, QCKDSLEmptyBlock closure) { - qck_context(description, closure); -} - -/** - Defines a closure to be run prior to each example in the current example - group. This closure is not run for pending or otherwise disabled examples. - An example group may contain an unlimited number of beforeEach. They'll be - run in the order they're defined, but you shouldn't rely on that behavior. - - @param closure The closure to be run prior to each example. - */ -static inline void beforeEach(QCKDSLEmptyBlock closure) { - qck_beforeEach(closure); -} - -/** - Identical to QCKDSL.beforeEach, except the closure is provided with - metadata on the example that the closure is being run prior to. - */ -static inline void beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure) { - qck_beforeEachWithMetadata(closure); -} - -/** - Defines a closure to be run after each example in the current example - group. This closure is not run for pending or otherwise disabled examples. - An example group may contain an unlimited number of afterEach. They'll be - run in the order they're defined, but you shouldn't rely on that behavior. - - @param closure The closure to be run after each example. - */ -static inline void afterEach(QCKDSLEmptyBlock closure) { - qck_afterEach(closure); -} - -/** - Identical to QCKDSL.afterEach, except the closure is provided with - metadata on the example that the closure is being run after. - */ -static inline void afterEachWithMetadata(QCKDSLExampleMetadataBlock closure) { - qck_afterEachWithMetadata(closure); -} - -/** - Defines an example or example group that should not be executed. Use `pending` to temporarily disable - examples or groups that should not be run yet. - - @param description An arbitrary string describing the example or example group. - @param closure A closure that will not be evaluated. - */ -static inline void pending(NSString *description, QCKDSLEmptyBlock closure) { - qck_pending(description, closure); -} - -/** - Use this to quickly mark a `describe` block as pending. - This disables all examples within the block. - */ -static inline void xdescribe(NSString *description, QCKDSLEmptyBlock closure) { - qck_xdescribe(description, closure); -} - -/** - Use this to quickly mark a `context` block as pending. - This disables all examples within the block. - */ -static inline void xcontext(NSString *description, QCKDSLEmptyBlock closure) { - qck_xcontext(description, closure); -} - -/** - Use this to quickly focus a `describe` block, focusing the examples in the block. - If any examples in the test suite are focused, only those examples are executed. - This trumps any explicitly focused or unfocused examples within the block--they are all treated as focused. - */ -static inline void fdescribe(NSString *description, QCKDSLEmptyBlock closure) { - qck_fdescribe(description, closure); -} - -/** - Use this to quickly focus a `context` block. Equivalent to `fdescribe`. - */ -static inline void fcontext(NSString *description, QCKDSLEmptyBlock closure) { - qck_fcontext(description, closure); -} - -#define it qck_it -#define xit qck_xit -#define fit qck_fit -#define itBehavesLike qck_itBehavesLike -#define xitBehavesLike qck_xitBehavesLike -#define fitBehavesLike qck_fitBehavesLike -#endif - -#define qck_it qck_it_builder(@{}, @(__FILE__), __LINE__) -#define qck_xit qck_it_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__) -#define qck_fit qck_it_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__) -#define qck_itBehavesLike qck_itBehavesLike_builder(@{}, @(__FILE__), __LINE__) -#define qck_xitBehavesLike qck_itBehavesLike_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__) -#define qck_fitBehavesLike qck_itBehavesLike_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__) - -typedef void (^QCKItBlock)(NSString *description, QCKDSLEmptyBlock closure); -typedef void (^QCKItBehavesLikeBlock)(NSString *description, QCKDSLSharedExampleContext context); - -QUICK_EXPORT QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line); -QUICK_EXPORT QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line); diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.m b/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.m deleted file mode 100644 index 10e8a3d..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.m +++ /dev/null @@ -1,79 +0,0 @@ -#import "QCKDSL.h" -#import "World.h" -#import "World+DSL.h" - -void qck_beforeSuite(QCKDSLEmptyBlock closure) { - [[World sharedWorld] beforeSuite:closure]; -} - -void qck_afterSuite(QCKDSLEmptyBlock closure) { - [[World sharedWorld] afterSuite:closure]; -} - -void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) { - [[World sharedWorld] sharedExamples:name closure:closure]; -} - -void qck_describe(NSString *description, QCKDSLEmptyBlock closure) { - [[World sharedWorld] describe:description flags:@{} closure:closure]; -} - -void qck_context(NSString *description, QCKDSLEmptyBlock closure) { - qck_describe(description, closure); -} - -void qck_beforeEach(QCKDSLEmptyBlock closure) { - [[World sharedWorld] beforeEach:closure]; -} - -void qck_beforeEachWithMetadata(QCKDSLExampleMetadataBlock closure) { - [[World sharedWorld] beforeEachWithMetadata:closure]; -} - -void qck_afterEach(QCKDSLEmptyBlock closure) { - [[World sharedWorld] afterEach:closure]; -} - -void qck_afterEachWithMetadata(QCKDSLExampleMetadataBlock closure) { - [[World sharedWorld] afterEachWithMetadata:closure]; -} - -QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line) { - return ^(NSString *description, QCKDSLEmptyBlock closure) { - [[World sharedWorld] itWithDescription:description - flags:flags - file:file - line:line - closure:closure]; - }; -} - -QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line) { - return ^(NSString *name, QCKDSLSharedExampleContext context) { - [[World sharedWorld] itBehavesLikeSharedExampleNamed:name - sharedExampleContext:context - flags:flags - file:file - line:line]; - }; -} - -void qck_pending(NSString *description, QCKDSLEmptyBlock closure) { - [[World sharedWorld] pending:description closure:closure]; -} - -void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure) { - [[World sharedWorld] xdescribe:description flags:@{} closure:closure]; -} - -void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure) { - qck_xdescribe(description, closure); -} - -void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure) { - [[World sharedWorld] fdescribe:description flags:@{} closure:closure]; -} - -void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure) { - qck_fdescribe(description, closure); -} diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/World+DSL.h b/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/World+DSL.h deleted file mode 100644 index a3b8524..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/DSL/World+DSL.h +++ /dev/null @@ -1,20 +0,0 @@ -#import - -@interface World (SWIFT_EXTENSION(Quick)) -- (void)beforeSuite:(void (^ __nonnull)(void))closure; -- (void)afterSuite:(void (^ __nonnull)(void))closure; -- (void)sharedExamples:(NSString * __nonnull)name closure:(void (^ __nonnull)(NSDictionary * __nonnull (^ __nonnull)(void)))closure; -- (void)describe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; -- (void)context:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; -- (void)fdescribe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; -- (void)xdescribe:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags closure:(void (^ __nonnull)(void))closure; -- (void)beforeEach:(void (^ __nonnull)(void))closure; -- (void)beforeEachWithMetadata:(void (^ __nonnull)(ExampleMetadata * __nonnull))closure; -- (void)afterEach:(void (^ __nonnull)(void))closure; -- (void)afterEachWithMetadata:(void (^ __nonnull)(ExampleMetadata * __nonnull))closure; -- (void)itWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; -- (void)fitWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; -- (void)xitWithDescription:(NSString * __nonnull)description flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line closure:(void (^ __nonnull)(void))closure; -- (void)itBehavesLikeSharedExampleNamed:(NSString * __nonnull)name sharedExampleContext:(NSDictionary * __nonnull (^ __nonnull)(void))sharedExampleContext flags:(NSDictionary * __nonnull)flags file:(NSString * __nonnull)file line:(NSUInteger)line; -- (void)pending:(NSString * __nonnull)description closure:(void (^ __nonnull)(void))closure; -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/Quick.h b/Example/Pods/Quick/Sources/QuickObjectiveC/Quick.h deleted file mode 100644 index 87dad10..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/Quick.h +++ /dev/null @@ -1,11 +0,0 @@ -#import - -//! Project version number for Quick. -FOUNDATION_EXPORT double QuickVersionNumber; - -//! Project version string for Quick. -FOUNDATION_EXPORT const unsigned char QuickVersionString[]; - -#import "QuickSpec.h" -#import "QCKDSL.h" -#import "QuickConfiguration.h" diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h b/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h deleted file mode 100644 index 105a97e..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h +++ /dev/null @@ -1,50 +0,0 @@ -#import - -/** - QuickSpec is a base class all specs written in Quick inherit from. - They need to inherit from QuickSpec, a subclass of XCTestCase, in - order to be discovered by the XCTest framework. - - XCTest automatically compiles a list of XCTestCase subclasses included - in the test target. It iterates over each class in that list, and creates - a new instance of that class for each test method. It then creates an - "invocation" to execute that test method. The invocation is an instance of - NSInvocation, which represents a single message send in Objective-C. - The invocation is set on the XCTestCase instance, and the test is run. - - Most of the code in QuickSpec is dedicated to hooking into XCTest events. - First, when the spec is first loaded and before it is sent any messages, - the +[NSObject initialize] method is called. QuickSpec overrides this method - to call +[QuickSpec spec]. This builds the example group stacks and - registers them with Quick.World, a global register of examples. - - Then, XCTest queries QuickSpec for a list of test methods. Normally, XCTest - automatically finds all methods whose selectors begin with the string "test". - However, QuickSpec overrides this default behavior by implementing the - +[XCTestCase testInvocations] method. This method iterates over each example - registered in Quick.World, defines a new method for that example, and - returns an invocation to call that method to XCTest. Those invocations are - the tests that are run by XCTest. Their selector names are displayed in - the Xcode test navigation bar. - */ -@interface QuickSpec : XCTestCase - -/** - Override this method in your spec to define a set of example groups - and examples. - - @code - override func spec() { - describe("winter") { - it("is coming") { - // ... - } - } - } - @endcode - - See DSL.swift for more information on what syntax is available. - */ -- (void)spec; - -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.m b/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.m deleted file mode 100644 index 4891679..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.m +++ /dev/null @@ -1,141 +0,0 @@ -#import "QuickSpec.h" -#import "QuickConfiguration.h" -#import "World.h" -#import - -static QuickSpec *currentSpec = nil; - -@interface QuickSpec () -@property (nonatomic, strong) Example *example; -@end - -@implementation QuickSpec - -#pragma mark - XCTestCase Overrides - -/** - The runtime sends initialize to each class in a program just before the class, or any class - that inherits from it, is sent its first message from within the program. QuickSpec hooks into - this event to compile the example groups for this spec subclass. - - If an exception occurs when compiling the examples, report it to the user. Chances are they - included an expectation outside of a "it", "describe", or "context" block. - */ -+ (void)initialize { - [QuickConfiguration initialize]; - - World *world = [World sharedWorld]; - [world performWithCurrentExampleGroup:[world rootExampleGroupForSpecClass:self] closure:^{ - QuickSpec *spec = [self new]; - - @try { - [spec spec]; - } - @catch (NSException *exception) { - [NSException raise:NSInternalInconsistencyException - format:@"An exception occurred when building Quick's example groups.\n" - @"Some possible reasons this might happen include:\n\n" - @"- An 'expect(...).to' expectation was evaluated outside of " - @"an 'it', 'context', or 'describe' block\n" - @"- 'sharedExamples' was called twice with the same name\n" - @"- 'itBehavesLike' was called with a name that is not registered as a shared example\n\n" - @"Here's the original exception: '%@', reason: '%@', userInfo: '%@'", - exception.name, exception.reason, exception.userInfo]; - } - [self testInvocations]; - }]; -} - -/** - Invocations for each test method in the test case. QuickSpec overrides this method to define a - new method for each example defined in +[QuickSpec spec]. - - @return An array of invocations that execute the newly defined example methods. - */ -+ (NSArray *)testInvocations { - NSArray *examples = [[World sharedWorld] examplesForSpecClass:[self class]]; - NSMutableArray *invocations = [NSMutableArray arrayWithCapacity:[examples count]]; - - NSMutableSet *selectorNames = [NSMutableSet set]; - - for (Example *example in examples) { - SEL selector = [self addInstanceMethodForExample:example classSelectorNames:selectorNames]; - - NSMethodSignature *signature = [self instanceMethodSignatureForSelector:selector]; - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; - invocation.selector = selector; - - [invocations addObject:invocation]; - } - - return invocations; -} - -#pragma mark - Public Interface - -- (void)spec { } - -#pragma mark - Internal Methods - -/** - QuickSpec uses this method to dynamically define a new instance method for the - given example. The instance method runs the example, catching any exceptions. - The exceptions are then reported as test failures. - - In order to report the correct file and line number, examples must raise exceptions - containing following keys in their userInfo: - - - "SenTestFilenameKey": A String representing the file name - - "SenTestLineNumberKey": An Int representing the line number - - These keys used to be used by SenTestingKit, and are still used by some testing tools - in the wild. See: https://github.com/Quick/Quick/pull/41 - - @return The selector of the newly defined instance method. - */ -+ (SEL)addInstanceMethodForExample:(Example *)example classSelectorNames:(NSMutableSet *)selectorNames { - IMP implementation = imp_implementationWithBlock(^(QuickSpec *self){ - self.example = example; - currentSpec = self; - [example run]; - }); - - const char *types = [[NSString stringWithFormat:@"%s%s%s", @encode(void), @encode(id), @encode(SEL)] UTF8String]; - - NSString *originalName = example.name.qck_c99ExtendedIdentifier; - NSString *selectorName = originalName; - NSUInteger i = 2; - - while ([selectorNames containsObject:selectorName]) { - selectorName = [NSString stringWithFormat:@"%@_%tu", originalName, i++]; - } - - [selectorNames addObject:selectorName]; - - SEL selector = NSSelectorFromString(selectorName); - class_addMethod(self, selector, implementation, types); - - return selector; -} - -/** - This method is used to record failures, whether they represent example - expectations that were not met, or exceptions raised during test setup - and teardown. By default, the failure will be reported as an - XCTest failure, and the example will be highlighted in Xcode. - */ -- (void)recordFailureWithDescription:(NSString *)description - inFile:(NSString *)filePath - atLine:(NSUInteger)lineNumber - expected:(BOOL)expected { - if (self.example.isSharedExample) { - filePath = self.example.callsite.file; - lineNumber = self.example.callsite.line; - } - [currentSpec.testRun recordFailureWithDescription:description - inFile:filePath - atLine:lineNumber - expected:expected]; -} - -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/World.h b/Example/Pods/Quick/Sources/QuickObjectiveC/World.h deleted file mode 100644 index e638cf6..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/World.h +++ /dev/null @@ -1,18 +0,0 @@ -#import - -@class ExampleGroup; -@class ExampleMetadata; - -SWIFT_CLASS("_TtC5Quick5World") -@interface World - -@property (nonatomic) ExampleGroup * __nullable currentExampleGroup; -@property (nonatomic) ExampleMetadata * __nullable currentExampleMetadata; -@property (nonatomic) BOOL isRunningAdditionalSuites; -+ (World * __nonnull)sharedWorld; -- (void)configure:(void (^ __nonnull)(Configuration * __nonnull))closure; -- (void)finalizeConfiguration; -- (ExampleGroup * __nonnull)rootExampleGroupForSpecClass:(Class __nonnull)cls; -- (NSArray * __nonnull)examplesForSpecClass:(Class __nonnull)specClass; -- (void)performWithCurrentExampleGroup:(ExampleGroup * __nonnull)group closure:(void (^ __nonnull)(void))closure; -@end diff --git a/Example/Pods/Quick/Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m b/Example/Pods/Quick/Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m deleted file mode 100644 index e49939e..0000000 --- a/Example/Pods/Quick/Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import -#import - -@interface XCTestSuite (QuickTestSuiteBuilder) -@end - -@implementation XCTestSuite (QuickTestSuiteBuilder) - -/** - In order to ensure we can correctly build dynamic test suites, we need to - replace some of the default test suite constructors. - */ -+ (void)load { - Method testCaseWithName = class_getClassMethod(self, @selector(testSuiteForTestCaseWithName:)); - Method hooked_testCaseWithName = class_getClassMethod(self, @selector(qck_hooked_testSuiteForTestCaseWithName:)); - method_exchangeImplementations(testCaseWithName, hooked_testCaseWithName); -} - -/** - The `+testSuiteForTestCaseWithName:` method is called when a specific test case - class is run from the Xcode test navigator. If the built test suite is `nil`, - Xcode will not run any tests for that test case. - - Given if the following test case class is run from the Xcode test navigator: - - FooSpec - testFoo - testBar - - XCTest will invoke this once per test case, with test case names following this format: - - FooSpec/testFoo - FooSpec/testBar - */ -+ (nullable instancetype)qck_hooked_testSuiteForTestCaseWithName:(nonnull NSString *)name { - return [QuickTestSuite selectedTestSuiteForTestCaseWithName:name]; -} - -@end diff --git a/Example/Pods/Quick/Sources/QuickSpecBase/QuickSpecBase.m b/Example/Pods/Quick/Sources/QuickSpecBase/QuickSpecBase.m deleted file mode 100644 index 10b6f7e..0000000 --- a/Example/Pods/Quick/Sources/QuickSpecBase/QuickSpecBase.m +++ /dev/null @@ -1,55 +0,0 @@ -#import "QuickSpecBase.h" - -#pragma mark - _QuickSelectorWrapper - -@interface _QuickSelectorWrapper () -@property(nonatomic, assign) SEL selector; -@end - -@implementation _QuickSelectorWrapper - -- (instancetype)initWithSelector:(SEL)selector { - self = [super init]; - _selector = selector; - return self; -} - -@end - - -#pragma mark - _QuickSpecBase - -@implementation _QuickSpecBase - -- (instancetype)init { - self = [super initWithInvocation: nil]; - return self; -} - -/** - Invocations for each test method in the test case. QuickSpec overrides this method to define a - new method for each example defined in +[QuickSpec spec]. - - @return An array of invocations that execute the newly defined example methods. - */ -+ (NSArray *)testInvocations { - NSArray<_QuickSelectorWrapper *> *wrappers = [self _qck_testMethodSelectors]; - NSMutableArray *invocations = [NSMutableArray arrayWithCapacity:wrappers.count]; - - for (_QuickSelectorWrapper *wrapper in wrappers) { - SEL selector = wrapper.selector; - NSMethodSignature *signature = [self instanceMethodSignatureForSelector:selector]; - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; - invocation.selector = selector; - - [invocations addObject:invocation]; - } - - return invocations; -} - -+ (NSArray<_QuickSelectorWrapper *> *)_qck_testMethodSelectors { - return @[]; -} - -@end diff --git a/Example/Pods/Quick/Sources/QuickSpecBase/include/QuickSpecBase.h b/Example/Pods/Quick/Sources/QuickSpecBase/include/QuickSpecBase.h deleted file mode 100644 index 8881ca0..0000000 --- a/Example/Pods/Quick/Sources/QuickSpecBase/include/QuickSpecBase.h +++ /dev/null @@ -1,11 +0,0 @@ -#import -#import - -@interface _QuickSelectorWrapper : NSObject -- (instancetype)initWithSelector:(SEL)selector; -@end - -@interface _QuickSpecBase : XCTestCase -+ (NSArray<_QuickSelectorWrapper *> *)_qck_testMethodSelectors; -- (instancetype)init NS_DESIGNATED_INITIALIZER; -@end diff --git a/Example/Pods/SWXMLHash/LICENSE b/Example/Pods/SWXMLHash/LICENSE deleted file mode 100644 index 3d21445..0000000 --- a/Example/Pods/SWXMLHash/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Example/Pods/SWXMLHash/README.md b/Example/Pods/SWXMLHash/README.md deleted file mode 100644 index ff9a10f..0000000 --- a/Example/Pods/SWXMLHash/README.md +++ /dev/null @@ -1,443 +0,0 @@ -# SWXMLHash - -[![CocoaPods](https://img.shields.io/cocoapods/p/SWXMLHash.svg)]() -[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) -[![CocoaPods](https://img.shields.io/cocoapods/v/SWXMLHash.svg)](https://cocoapods.org/pods/SWXMLHash) -[![Join the chat at https://gitter.im/drmohundro/SWXMLHash](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drmohundro/SWXMLHash?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![codebeat](https://codebeat.co/badges/893cc640-c5d9-45b2-a3ff-426e6e6b7b80)](https://codebeat.co/projects/github-com-drmohundro-swxmlhash) - -SWXMLHash is a relatively simple way to parse XML in Swift. If you're familiar with `NSXMLParser`, this library is a simple wrapper around it. Conceptually, it provides a translation from XML to a dictionary of arrays (aka hash). - -The API takes a lot of inspiration from [SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON). - -## Contents - -* [Requirements](#requirements) -* [Installation](#installation) -* [Getting Started](#getting-started) -* [Configuration](#configuration) -* [Examples](#examples) -* [FAQ](#faq) -* [Changelog](#changelog) -* [Contributing](#contributing) -* [License](#license) - -## Requirements - -- iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+ -- Xcode 8.0+ - -## Installation - -SWXMLHash can be installed using [CocoaPods](http://cocoapods.org/), [Carthage](https://github.com/Carthage/Carthage), or manually. - -### CocoaPods - -To install CocoaPods, run: - -```bash -$ gem install cocoapods -``` - -Then create a `Podfile` with the following contents: - -```ruby -platform :ios, '10.0' -use_frameworks! - -target 'YOUR_TARGET_NAME' do - pod 'SWXMLHash', '~> 4.0.0' -end -``` - -Finally, run the following command to install it: - -```bash -$ pod install -``` - -### Carthage - -To install Carthage, run (using Homebrew): - -```bash -$ brew update -$ brew install carthage -``` - -Then add the following line to your `Cartfile`: - -``` -github "drmohundro/SWXMLHash" ~> 4.0 -``` - -### Manual Installation - -To install manually, you'll need to clone the SWXMLHash repository. You can do this in a separate directory or you can make use of git submodules - in this case, git submodules are recommended so that your repository has details about which commit of SWXMLHash you're using. Once this is done, you can just drop the `SWXMLHash.swift` file into your project. - -> NOTE: if you're targeting iOS 7, you'll have to install manually because embedded frameworks require a minimum deployment target of iOS 8 or OSX Mavericks. - -## Getting Started - -If you're just getting started with SWXMLHash, I'd recommend cloning the repository down and opening the workspace. I've included a Swift playground in the workspace which makes it easy to experiment with the API and the calls. - -Swift Playground - -## Configuration - -SWXMLHash allows for limited configuration in terms of its approach to parsing. To set any of the configuration options, you use the `configure` method, like so: - -```swift -let xml = SWXMLHash.config { - config in - // set any config options here - }.parse(xmlToParse) -``` - -The available options at this time are: - -* `shouldProcessLazily` - * This determines whether not to use lazy loading of the XML. It can significantly increase the performance of parsing if your XML is large. - * Defaults to `false` -* `shouldProcessNamespaces` - * This setting is forwarded on to the internal `NSXMLParser` instance. It will return any XML elements without their namespace parts (i.e. "\" will be returned as "\") - * Defaults to `false` -* `caseInsensitive` - * This setting allows for key lookups to be case insensitive. Typically XML is a case sensitive language, but this option lets you bypass this if necessary. - * Defaults to `false` -* `encoding` - * This setting allows for explicitly specifying the character encoding when an XML string is passed to `parse`. - * Defaults to `String.encoding.utf8` - -## Examples - -All examples below can be found in the included [specs](https://github.com/drmohundro/SWXMLHash/blob/master/Tests/). - -### Initialization - -```swift -let xml = SWXMLHash.parse(xmlToParse) -``` - -Alternatively, if you're parsing a large XML file and need the best performance, you may wish to configure the parsing to be processed lazily. Lazy processing avoids loading the entire XML document into memory, so it could be preferable for performance reasons. See the error handling for one caveat regarding lazy loading. - -```swift -let xml = SWXMLHash.config { - config in - config.shouldProcessLazily = true - }.parse(xmlToParse) -``` - -The above approach uses the new config method, but there is also a `lazy` method directly off of `SWXMLHash`. - -```swift -let xml = SWXMLHash.lazy(xmlToParse) -``` - -### Single Element Lookup - -Given: - -```xml - -
- Foo -
- ... -
-``` - -Will return "Foo". - -```swift -xml["root"]["header"]["title"].element?.text -``` - -### Multiple Elements Lookup - -Given: - -```xml - - ... - - Bob - John - Mark - - ... - -``` - -The below will return "John". - -```swift -xml["root"]["catalog"]["book"][1]["author"].element?.text -``` - -### Attributes Usage - -Given: - -```xml - - ... - - Bob - John - Mark - - ... - -``` - -The below will return "123". - -```swift -xml["root"]["catalog"]["book"][1].element?.attribute(by: "id")?.text -``` - -Alternatively, you can look up an element with specific attributes. The below will return "John". - -```swift -xml["root"]["catalog"]["book"].withAttr("id", "123")["author"].element?.text -``` - -### Returning All Elements At Current Level - -Given: - -```xml - - ... - - Fiction - Non-fiction - Technical - - ... - -``` - -The `all` method will iterate over all nodes at the indexed level. The code below will return "Fiction, Non-fiction, Technical". - -```swift -", ".join(xml["root"]["catalog"]["book"].all.map { elem in - elem["genre"].element!.text! -}) -``` - -You can also iterate over the `all` method: - -```swift -for elem in xml["root"]["catalog"]["book"].all { - print(elem["genre"].element!.text!) -} -``` - -### Returning All Child Elements At Current Level - -Given: - -```xml - - - - Fiction - Book - 1/1/2015 - - - -``` - -The below will `print` "root", "catalog", "book", "genre", "title", and "date" (note the `children` method). - -```swift -func enumerate(indexer: XMLIndexer) { - for child in indexer.children { - print(child.element!.name) - enumerate(child) - } -} - -enumerate(indexer: xml) -``` - -### Error Handling - -Using Swift 2.0's new error handling feature: - -```swift -do { - try xml!.byKey("root").byKey("what").byKey("header").byKey("foo") -} catch let error as IndexingError { - // error is an IndexingError instance that you can deal with -} -``` - -__Or__ using the existing indexing functionality: - -```swift -switch xml["root"]["what"]["header"]["foo"] { -case .element(let elem): - // everything is good, code away! -case .xmlError(let error): - // error is an IndexingError instance that you can deal with -} -``` - -Note that error handling as shown above will not work with lazy loaded XML. The lazy parsing doesn't actually occur until the `element` or `all` method are called - as a result, there isn't any way to know prior to asking for an element if it exists or not. - -### Types conversion - -Given: - -```xml - - - - Book A - 12.5 - 2015 - - C1 - C2 - - - - Book B - 10 - 1988 - - C2 - C3 - - - - Book C - 8.33 - 1990 - 10 - - C1 - C3 - - - - -``` -with `Book` struct implementing `XMLIndexerDeserializable`: - -```swift -struct Book: XMLIndexerDeserializable { - let title: String - let price: Double - let year: Int - let amount: Int? - let isbn: Int - let category: [String] - - static func deserialize(_ node: XMLIndexer) throws -> Book { - return try Book( - title: node["title"].value(), - price: node["price"].value(), - year: node["year"].value(), - amount: node["amount"].value(), - isbn: node.value(ofAttribute: "isbn"), - category : node["categories"]["category"].value() - ) - } -} -``` - -The below will return array of `Book` structs: - -```swift -let books: [Book] = try xml["root"]["books"]["book"].value() -``` - -Types Conversion - -You can convert any XML to your custom type by implementing `XMLIndexerDeserializable` for any non-leaf node (e.g. `` in the example above). - -For leaf nodes (e.g. `` in the example above), built-in converters support `Int`, `Double`, `Float`, `Bool`, and `String` values (both non- and -optional variants). Custom converters can be added by implementing `XMLElementDeserializable`. - -For attributes (e.g. `isbn=` in the example above), built-in converters support the same types as above, and additional converters can be added by implementing `XMLAttributeDeserializable`. - -Types conversion supports error handling, optionals and arrays. For more examples, look into `SWXMLHashTests.swift` or play with types conversion directly in the Swift playground. - - -## FAQ - -### Does SWXMLHash handle URLs for me? - -No - SWXMLHash only handles parsing of XML. If you have a URL that has XML content on it, I'd recommend using a library like [AlamoFire](https://github.com/Alamofire/Alamofire) to download the content into a string and then parsing it. - -### Does SWXMLHash support writing XML content? - -No, not at the moment - SWXMLHash only supports parsing XML (via indexing, deserialization, etc.). - -### I'm getting an "Ambiguous reference to member 'subscript'" when I call `.value()`. - -`.value()` is used for deserialization - you have to have something that implements `XMLIndexerDeserializable` and that can handle deserialization to the left-hand side of expression. - -For example, given the following: - -```swift -let dateValue: NSDate = try! xml["root"]["date"].value() -``` - -You'll get an error because there isn't any built-in deserializer for `NSDate`. See the above documentation on adding your own deserialization support. - -### I'm getting an `EXC_BAD_ACCESS (SIGSEGV)` when I call `parse()` - -Chances are very good that your XML content has what is called a "byte order mark" or BOM. SWXMLHash uses `NSXMLParser` for its parsing logic and there are issues with it and handling BOM characters. See [issue #65](https://github.com/drmohundro/SWXMLHash/issues/65) for more details. Others who have run into this problem have just stripped the BOM out of their content prior to parsing. - -### How do I handle deserialization with a class versus a struct (such as with `NSDate`)? - -Using extensions on classes instead of structs can result in some odd catches that might give you a little trouble. For example, see [this question on StackOverflow](http://stackoverflow.com/questions/38174669/how-to-deserialize-nsdate-with-swxmlhash) where someone was trying to write their own `XMLElementDeserializable` for `NSDate` which is a class and not a struct. The `XMLElementDeserializable` protocol expects a method that returns `Self` - this is the part that gets a little odd. - -See below for the code snippet to get this to work and note in particular the `private static func value<T>() -> T` line - that is the key. - -```swift -extension NSDate: XMLElementDeserializable { - public static func deserialize(_ element: XMLElement) throws -> Self { - guard let dateAsString = element.text else { - throw XMLDeserializationError.nodeHasNoValue - } - - let dateFormatter = NSDateFormatter() - dateFormatter.dateFormat = "EEE, dd MMM yyyy HH:mm:ss zzz" - let date = dateFormatter.dateFromString(dateAsString) - - guard let validDate = date else { - throw XMLDeserializationError.typeConversionFailed(type: "Date", element: element) - } - - // NOTE THIS - return value(validDate) - } - - // AND THIS - private static func value<T>(date: NSDate) -> T { - return date as! T - } -} -``` - -### Have a different question? - -Feel free to shoot me an email, post a [question on StackOverflow](http://stackoverflow.com/questions/tagged/swxmlhash), or open an issue if you think you've found a bug. I'm happy to try to help! - -## Changelog - -See [CHANGELOG](CHANGELOG.md) for a list of all changes and their corresponding versions. - -## Contributing - -See [CONTRIBUTING](CONTRIBUTING.md) for guidelines to contribute back to SWXMLHash. - -## License - -SWXMLHash is released under the MIT license. See [LICENSE](LICENSE) for details. diff --git a/Example/Pods/SWXMLHash/Source/SWXMLHash+TypeConversion.swift b/Example/Pods/SWXMLHash/Source/SWXMLHash+TypeConversion.swift deleted file mode 100644 index 1a1d23a..0000000 --- a/Example/Pods/SWXMLHash/Source/SWXMLHash+TypeConversion.swift +++ /dev/null @@ -1,652 +0,0 @@ -// -// SWXMLHash+TypeConversion.swift -// SWXMLHash -// -// Copyright (c) 2016 Maciek Grzybowskio -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -// swiftlint:disable line_length -// swiftlint:disable file_length - -import Foundation - -// MARK: - XMLIndexerDeserializable - -/// Provides XMLIndexer deserialization / type transformation support -public protocol XMLIndexerDeserializable { - /// Method for deserializing elements from XMLIndexer - static func deserialize(_ element: XMLIndexer) throws -> Self -} - -/// Provides XMLIndexer deserialization / type transformation support -public extension XMLIndexerDeserializable { - /** - A default implementation that will throw an error if it is called - - - parameters: - - element: the XMLIndexer to be deserialized - - throws: an XMLDeserializationError.implementationIsMissing if no implementation is found - - returns: this won't ever return because of the error being thrown - */ - static func deserialize(_ element: XMLIndexer) throws -> Self { - throw XMLDeserializationError.implementationIsMissing( - method: "XMLIndexerDeserializable.deserialize(element: XMLIndexer)") - } -} - -// MARK: - XMLElementDeserializable - -/// Provides XMLElement deserialization / type transformation support -public protocol XMLElementDeserializable { - /// Method for deserializing elements from XMLElement - static func deserialize(_ element: XMLElement) throws -> Self -} - -/// Provides XMLElement deserialization / type transformation support -public extension XMLElementDeserializable { - /** - A default implementation that will throw an error if it is called - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.implementationIsMissing if no implementation is found - - returns: this won't ever return because of the error being thrown - */ - static func deserialize(_ element: XMLElement) throws -> Self { - throw XMLDeserializationError.implementationIsMissing( - method: "XMLElementDeserializable.deserialize(element: XMLElement)") - } -} - -// MARK: - XMLAttributeDeserializable - -/// Provides XMLAttribute deserialization / type transformation support -public protocol XMLAttributeDeserializable { - static func deserialize(_ attribute: XMLAttribute) throws -> Self -} - -/// Provides XMLAttribute deserialization / type transformation support -public extension XMLAttributeDeserializable { - /** - A default implementation that will throw an error if it is called - - - parameters: - - attribute: The XMLAttribute to be deserialized - - throws: an XMLDeserializationError.implementationIsMissing if no implementation is found - - returns: this won't ever return because of the error being thrown - */ - static func deserialize(attribute: XMLAttribute) throws -> Self { - throw XMLDeserializationError.implementationIsMissing( - method: "XMLAttributeDeserializable(element: XMLAttribute)") - } -} - -// MARK: - XMLIndexer Extensions - -public extension XMLIndexer { - - // MARK: - XMLAttributeDeserializable - - /** - Attempts to deserialize the value of the specified attribute of the current XMLIndexer - element to `T` - - - parameter attr: The attribute to deserialize - - throws: an XMLDeserializationError if there is a problem with deserialization - - returns: The deserialized `T` value - */ - func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) throws -> T { - switch self { - case .element(let element): - return try element.value(ofAttribute: attr) - case .stream(let opStream): - return try opStream.findElements().value(ofAttribute: attr) - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - /** - Attempts to deserialize the value of the specified attribute of the current XMLIndexer - element to `T?` - - - parameter attr: The attribute to deserialize - - returns: The deserialized `T?` value, or nil if the attribute does not exist - */ - func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) -> T? { - switch self { - case .element(let element): - return element.value(ofAttribute: attr) - case .stream(let opStream): - return opStream.findElements().value(ofAttribute: attr) - default: - return nil - } - } - - /** - Attempts to deserialize the value of the specified attribute of the current XMLIndexer - element to `[T]` - - - parameter attr: The attribute to deserialize - - throws: an XMLDeserializationError if there is a problem with deserialization - - returns: The deserialized `[T]` value - */ - func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) throws -> [T] { - switch self { - case .list(let elements): - return try elements.map { try $0.value(ofAttribute: attr) } - case .element(let element): - return try [element].map { try $0.value(ofAttribute: attr) } - case .stream(let opStream): - return try opStream.findElements().value(ofAttribute: attr) - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - /** - Attempts to deserialize the value of the specified attribute of the current XMLIndexer - element to `[T]?` - - - parameter attr: The attribute to deserialize - - throws: an XMLDeserializationError if there is a problem with deserialization - - returns: The deserialized `[T]?` value - */ - func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) throws -> [T]? { - switch self { - case .list(let elements): - return try elements.map { try $0.value(ofAttribute: attr) } - case .element(let element): - return try [element].map { try $0.value(ofAttribute: attr) } - case .stream(let opStream): - return try opStream.findElements().value(ofAttribute: attr) - default: - return nil - } - } - - /** - Attempts to deserialize the value of the specified attribute of the current XMLIndexer - element to `[T?]` - - - parameter attr: The attribute to deserialize - - throws: an XMLDeserializationError if there is a problem with deserialization - - returns: The deserialized `[T?]` value - */ - func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) throws -> [T?] { - switch self { - case .list(let elements): - return elements.map { $0.value(ofAttribute: attr) } - case .element(let element): - return [element].map { $0.value(ofAttribute: attr) } - case .stream(let opStream): - return try opStream.findElements().value(ofAttribute: attr) - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - // MARK: - XMLElementDeserializable - - /** - Attempts to deserialize the current XMLElement element to `T` - - - throws: an XMLDeserializationError.nodeIsInvalid if the current indexed level isn't an Element - - returns: the deserialized `T` value - */ - func value<T: XMLElementDeserializable>() throws -> T { - switch self { - case .element(let element): - return try T.deserialize(element) - case .stream(let opStream): - return try opStream.findElements().value() - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - /** - Attempts to deserialize the current XMLElement element to `T?` - - - returns: the deserialized `T?` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLElementDeserializable>() throws -> T? { - switch self { - case .element(let element): - return try T.deserialize(element) - case .stream(let opStream): - return try opStream.findElements().value() - default: - return nil - } - } - - /** - Attempts to deserialize the current XMLElement element to `[T]` - - - returns: the deserialized `[T]` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLElementDeserializable>() throws -> [T] { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize($0) } - case .element(let element): - return try [element].map { try T.deserialize($0) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - return [] - } - } - - /** - Attempts to deserialize the current XMLElement element to `[T]?` - - - returns: the deserialized `[T]?` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLElementDeserializable>() throws -> [T]? { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize($0) } - case .element(let element): - return try [element].map { try T.deserialize($0) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - return nil - } - } - - /** - Attempts to deserialize the current XMLElement element to `[T?]` - - - returns: the deserialized `[T?]` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLElementDeserializable>() throws -> [T?] { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize($0) } - case .element(let element): - return try [element].map { try T.deserialize($0) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - return [] - } - } - - // MARK: - XMLIndexerDeserializable - - /** - Attempts to deserialize the current XMLIndexer element to `T` - - - returns: the deserialized `T` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLIndexerDeserializable>() throws -> T { - switch self { - case .element: - return try T.deserialize(self) - case .stream(let opStream): - return try opStream.findElements().value() - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - /** - Attempts to deserialize the current XMLIndexer element to `T?` - - - returns: the deserialized `T?` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLIndexerDeserializable>() throws -> T? { - switch self { - case .element: - return try T.deserialize(self) - case .stream(let opStream): - return try opStream.findElements().value() - default: - return nil - } - } - - /** - Attempts to deserialize the current XMLIndexer element to `[T]` - - - returns: the deserialized `[T]` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T>() throws -> [T] where T: XMLIndexerDeserializable { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize( XMLIndexer($0) ) } - case .element(let element): - return try [element].map { try T.deserialize( XMLIndexer($0) ) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } - - /** - Attempts to deserialize the current XMLIndexer element to `[T]?` - - - returns: the deserialized `[T]?` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLIndexerDeserializable>() throws -> [T]? { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize( XMLIndexer($0) ) } - case .element(let element): - return try [element].map { try T.deserialize( XMLIndexer($0) ) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - return nil - } - } - - /** - Attempts to deserialize the current XMLIndexer element to `[T?]` - - - returns: the deserialized `[T?]` value - - throws: an XMLDeserializationError is there is a problem with deserialization - */ - func value<T: XMLIndexerDeserializable>() throws -> [T?] { - switch self { - case .list(let elements): - return try elements.map { try T.deserialize( XMLIndexer($0) ) } - case .element(let element): - return try [element].map { try T.deserialize( XMLIndexer($0) ) } - case .stream(let opStream): - return try opStream.findElements().value() - default: - throw XMLDeserializationError.nodeIsInvalid(node: self) - } - } -} - -// MARK: - XMLElement Extensions - -extension XMLElement { - - /** - Attempts to deserialize the specified attribute of the current XMLElement to `T` - - - parameter attr: The attribute to deserialize - - throws: an XMLDeserializationError if there is a problem with deserialization - - returns: The deserialized `T` value - */ - public func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) throws -> T { - if let attr = self.attribute(by: attr) { - return try T.deserialize(attr) - } else { - throw XMLDeserializationError.attributeDoesNotExist(element: self, attribute: attr) - } - } - - /** - Attempts to deserialize the specified attribute of the current XMLElement to `T?` - - - parameter attr: The attribute to deserialize - - returns: The deserialized `T?` value, or nil if the attribute does not exist. - */ - public func value<T: XMLAttributeDeserializable>(ofAttribute attr: String) -> T? { - if let attr = self.attribute(by: attr) { - return try? T.deserialize(attr) - } else { - return nil - } - } - - /** - Gets the text associated with this element, or throws an exception if the text is empty - - - throws: XMLDeserializationError.nodeHasNoValue if the element text is empty - - returns: The element text - */ - internal func nonEmptyTextOrThrow() throws -> String { - let textVal = text - if !textVal.characters.isEmpty { - return textVal - } - - throw XMLDeserializationError.nodeHasNoValue - } -} - -// MARK: - XMLDeserializationError - -/// The error that is thrown if there is a problem with deserialization -public enum XMLDeserializationError: Error, CustomStringConvertible { - case implementationIsMissing(method: String) - case nodeIsInvalid(node: XMLIndexer) - case nodeHasNoValue - case typeConversionFailed(type: String, element: XMLElement) - case attributeDoesNotExist(element: XMLElement, attribute: String) - case attributeDeserializationFailed(type: String, attribute: XMLAttribute) - -// swiftlint:disable identifier_name - @available(*, unavailable, renamed: "implementationIsMissing(method:)") - public static func ImplementationIsMissing(method: String) -> XMLDeserializationError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "nodeHasNoValue(_:)") - public static func NodeHasNoValue(_: IndexOps) -> XMLDeserializationError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "typeConversionFailed(_:)") - public static func TypeConversionFailed(_: IndexingError) -> XMLDeserializationError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "attributeDoesNotExist(_:_:)") - public static func AttributeDoesNotExist(_ attr: String, _ value: String) throws -> XMLDeserializationError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "attributeDeserializationFailed(_:_:)") - public static func AttributeDeserializationFailed(_ attr: String, _ value: String) throws -> XMLDeserializationError { - fatalError("unavailable") - } -// swiftlint:enable identifier_name - - /// The text description for the error thrown - public var description: String { - switch self { - case .implementationIsMissing(let method): - return "This deserialization method is not implemented: \(method)" - case .nodeIsInvalid(let node): - return "This node is invalid: \(node)" - case .nodeHasNoValue: - return "This node is empty" - case .typeConversionFailed(let type, let node): - return "Can't convert node \(node) to value of type \(type)" - case .attributeDoesNotExist(let element, let attribute): - return "Element \(element) does not contain attribute: \(attribute)" - case .attributeDeserializationFailed(let type, let attribute): - return "Can't convert attribute \(attribute) to value of type \(type)" - } - } -} - -// MARK: - Common types deserialization - -extension String: XMLElementDeserializable, XMLAttributeDeserializable { - /** - Attempts to deserialize XML element content to a String - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.typeConversionFailed if the element cannot be deserialized - - returns: the deserialized String value - */ - public static func deserialize(_ element: XMLElement) -> String { - return element.text - } - - /** - Attempts to deserialize XML Attribute content to a String - - - parameter attribute: the XMLAttribute to be deserialized - - returns: the deserialized String value - */ - public static func deserialize(_ attribute: XMLAttribute) -> String { - return attribute.text - } -} - -extension Int: XMLElementDeserializable, XMLAttributeDeserializable { - /** - Attempts to deserialize XML element content to a Int - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.typeConversionFailed if the element cannot be deserialized - - returns: the deserialized Int value - */ - public static func deserialize(_ element: XMLElement) throws -> Int { - guard let value = Int(try element.nonEmptyTextOrThrow()) else { - throw XMLDeserializationError.typeConversionFailed(type: "Int", element: element) - } - return value - } - - /** - Attempts to deserialize XML attribute content to an Int - - - parameter attribute: The XMLAttribute to be deserialized - - throws: an XMLDeserializationError.attributeDeserializationFailed if the attribute cannot be - deserialized - - returns: the deserialized Int value - */ - public static func deserialize(_ attribute: XMLAttribute) throws -> Int { - guard let value = Int(attribute.text) else { - throw XMLDeserializationError.attributeDeserializationFailed( - type: "Int", attribute: attribute) - } - return value - } -} - -extension Double: XMLElementDeserializable, XMLAttributeDeserializable { - /** - Attempts to deserialize XML element content to a Double - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.typeConversionFailed if the element cannot be deserialized - - returns: the deserialized Double value - */ - public static func deserialize(_ element: XMLElement) throws -> Double { - guard let value = Double(try element.nonEmptyTextOrThrow()) else { - throw XMLDeserializationError.typeConversionFailed(type: "Double", element: element) - } - return value - } - - /** - Attempts to deserialize XML attribute content to a Double - - - parameter attribute: The XMLAttribute to be deserialized - - throws: an XMLDeserializationError.attributeDeserializationFailed if the attribute cannot be - deserialized - - returns: the deserialized Double value - */ - public static func deserialize(_ attribute: XMLAttribute) throws -> Double { - guard let value = Double(attribute.text) else { - throw XMLDeserializationError.attributeDeserializationFailed( - type: "Double", attribute: attribute) - } - return value - } -} - -extension Float: XMLElementDeserializable, XMLAttributeDeserializable { - /** - Attempts to deserialize XML element content to a Float - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.typeConversionFailed if the element cannot be deserialized - - returns: the deserialized Float value - */ - public static func deserialize(_ element: XMLElement) throws -> Float { - guard let value = Float(try element.nonEmptyTextOrThrow()) else { - throw XMLDeserializationError.typeConversionFailed(type: "Float", element: element) - } - return value - } - - /** - Attempts to deserialize XML attribute content to a Float - - - parameter attribute: The XMLAttribute to be deserialized - - throws: an XMLDeserializationError.attributeDeserializationFailed if the attribute cannot be - deserialized - - returns: the deserialized Float value - */ - public static func deserialize(_ attribute: XMLAttribute) throws -> Float { - guard let value = Float(attribute.text) else { - throw XMLDeserializationError.attributeDeserializationFailed( - type: "Float", attribute: attribute) - } - return value - } -} - -extension Bool: XMLElementDeserializable, XMLAttributeDeserializable { - // swiftlint:disable line_length - /** - Attempts to deserialize XML element content to a Bool. This uses NSString's 'boolValue' - described [here](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/#//apple_ref/occ/instp/NSString/boolValue) - - - parameters: - - element: the XMLElement to be deserialized - - throws: an XMLDeserializationError.typeConversionFailed if the element cannot be deserialized - - returns: the deserialized Bool value - */ - public static func deserialize(_ element: XMLElement) throws -> Bool { - let value = Bool(NSString(string: try element.nonEmptyTextOrThrow()).boolValue) - return value - } - - /** - Attempts to deserialize XML attribute content to a Bool. This uses NSString's 'boolValue' - described [here](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/#//apple_ref/occ/instp/NSString/boolValue) - - - parameter attribute: The XMLAttribute to be deserialized - - throws: an XMLDeserializationError.attributeDeserializationFailed if the attribute cannot be - deserialized - - returns: the deserialized Bool value - */ - public static func deserialize(_ attribute: XMLAttribute) throws -> Bool { - let value = Bool(NSString(string: attribute.text).boolValue) - return value - } - // swiftlint:enable line_length -} diff --git a/Example/Pods/SWXMLHash/Source/SWXMLHash.swift b/Example/Pods/SWXMLHash/Source/SWXMLHash.swift deleted file mode 100644 index b86f660..0000000 --- a/Example/Pods/SWXMLHash/Source/SWXMLHash.swift +++ /dev/null @@ -1,920 +0,0 @@ -// -// SWXMLHash.swift -// SWXMLHash -// -// Copyright (c) 2014 David Mohundro -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -// swiftlint exceptions: -// - Disabled file_length because there are a number of users that still pull the -// source down as is and it makes pulling the code into a project easier. - -// swiftlint:disable file_length - -import Foundation - -let rootElementName = "SWXMLHash_Root_Element" - -/// Parser options -public class SWXMLHashOptions { - internal init() {} - - /// determines whether to parse the XML with lazy parsing or not - public var shouldProcessLazily = false - - /// determines whether to parse XML namespaces or not (forwards to - /// `XMLParser.shouldProcessNamespaces`) - public var shouldProcessNamespaces = false - - /// Matching element names, element values, attribute names, attribute values - /// will be case insensitive. This will not affect parsing (data does not change) - public var caseInsensitive = false - - /// Encoding used for XML parsing. Default is set to UTF8 - public var encoding = String.Encoding.utf8 -} - -/// Simple XML parser -public class SWXMLHash { - let options: SWXMLHashOptions - - private init(_ options: SWXMLHashOptions = SWXMLHashOptions()) { - self.options = options - } - - /** - Method to configure how parsing works. - - - parameters: - - configAction: a block that passes in an `SWXMLHashOptions` object with - options to be set - - returns: an `SWXMLHash` instance - */ - class public func config(_ configAction: (SWXMLHashOptions) -> Void) -> SWXMLHash { - let opts = SWXMLHashOptions() - configAction(opts) - return SWXMLHash(opts) - } - - /** - Begins parsing the passed in XML string. - - - parameters: - - xml: an XML string. __Note__ that this is not a URL but a - string containing XML. - - returns: an `XMLIndexer` instance that can be iterated over - */ - public func parse(_ xml: String) -> XMLIndexer { - guard let data = xml.data(using: options.encoding) else { - return .xmlError(.encoding) - } - return parse(data) - } - - /** - Begins parsing the passed in XML string. - - - parameters: - - data: a `Data` instance containing XML - - returns: an `XMLIndexer` instance that can be iterated over - */ - public func parse(_ data: Data) -> XMLIndexer { - let parser: SimpleXmlParser = options.shouldProcessLazily - ? LazyXMLParser(options) - : FullXMLParser(options) - return parser.parse(data) - } - - /** - Method to parse XML passed in as a string. - - - parameter xml: The XML to be parsed - - returns: An XMLIndexer instance that is used to look up elements in the XML - */ - class public func parse(_ xml: String) -> XMLIndexer { - return SWXMLHash().parse(xml) - } - - /** - Method to parse XML passed in as a Data instance. - - - parameter data: The XML to be parsed - - returns: An XMLIndexer instance that is used to look up elements in the XML - */ - class public func parse(_ data: Data) -> XMLIndexer { - return SWXMLHash().parse(data) - } - - /** - Method to lazily parse XML passed in as a string. - - - parameter xml: The XML to be parsed - - returns: An XMLIndexer instance that is used to look up elements in the XML - */ - class public func lazy(_ xml: String) -> XMLIndexer { - return config { conf in conf.shouldProcessLazily = true }.parse(xml) - } - - /** - Method to lazily parse XML passed in as a Data instance. - - - parameter data: The XML to be parsed - - returns: An XMLIndexer instance that is used to look up elements in the XML - */ - class public func lazy(_ data: Data) -> XMLIndexer { - return config { conf in conf.shouldProcessLazily = true }.parse(data) - } -} - -struct Stack<T> { - var items = [T]() - mutating func push(_ item: T) { - items.append(item) - } - mutating func pop() -> T { - return items.removeLast() - } - mutating func drop() { - _ = pop() - } - mutating func removeAll() { - items.removeAll(keepingCapacity: false) - } - func top() -> T { - return items[items.count - 1] - } -} - -protocol SimpleXmlParser { - init(_ options: SWXMLHashOptions) - func parse(_ data: Data) -> XMLIndexer -} - -#if os(Linux) - -extension XMLParserDelegate { - - func parserDidStartDocument(_ parser: Foundation.XMLParser) { } - func parserDidEndDocument(_ parser: Foundation.XMLParser) { } - - func parser(_ parser: Foundation.XMLParser, - foundNotationDeclarationWithName name: String, - publicID: String?, - systemID: String?) { } - - func parser(_ parser: Foundation.XMLParser, - foundUnparsedEntityDeclarationWithName name: String, - publicID: String?, - systemID: String?, - notationName: String?) { } - - func parser(_ parser: Foundation.XMLParser, - foundAttributeDeclarationWithName attributeName: String, - forElement elementName: String, - type: String?, - defaultValue: String?) { } - - func parser(_ parser: Foundation.XMLParser, - foundElementDeclarationWithName elementName: String, - model: String) { } - - func parser(_ parser: Foundation.XMLParser, - foundInternalEntityDeclarationWithName name: String, - value: String?) { } - - func parser(_ parser: Foundation.XMLParser, - foundExternalEntityDeclarationWithName name: String, - publicID: String?, - systemID: String?) { } - - func parser(_ parser: Foundation.XMLParser, - didStartElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?, - attributes attributeDict: [String : String]) { } - - func parser(_ parser: Foundation.XMLParser, - didEndElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?) { } - - func parser(_ parser: Foundation.XMLParser, - didStartMappingPrefix prefix: String, - toURI namespaceURI: String) { } - - func parser(_ parser: Foundation.XMLParser, didEndMappingPrefix prefix: String) { } - - func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) { } - - func parser(_ parser: Foundation.XMLParser, - foundIgnorableWhitespace whitespaceString: String) { } - - func parser(_ parser: Foundation.XMLParser, - foundProcessingInstructionWithTarget target: String, - data: String?) { } - - func parser(_ parser: Foundation.XMLParser, foundComment comment: String) { } - - func parser(_ parser: Foundation.XMLParser, foundCDATA CDATABlock: Data) { } - - func parser(_ parser: Foundation.XMLParser, - resolveExternalEntityName name: String, - systemID: String?) -> Data? { return nil } - - func parser(_ parser: Foundation.XMLParser, parseErrorOccurred parseError: NSError) { } - - func parser(_ parser: Foundation.XMLParser, - validationErrorOccurred validationError: NSError) { } -} - -#endif - -/// The implementation of XMLParserDelegate and where the lazy parsing actually happens. -class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate { - required init(_ options: SWXMLHashOptions) { - self.options = options - self.root.caseInsensitive = options.caseInsensitive - super.init() - } - - var root = XMLElement(name: rootElementName, caseInsensitive: false) - var parentStack = Stack<XMLElement>() - var elementStack = Stack<String>() - - var data: Data? - var ops: [IndexOp] = [] - let options: SWXMLHashOptions - - func parse(_ data: Data) -> XMLIndexer { - self.data = data - return XMLIndexer(self) - } - - func startParsing(_ ops: [IndexOp]) { - // clear any prior runs of parse... expected that this won't be necessary, - // but you never know - parentStack.removeAll() - root = XMLElement(name: rootElementName, caseInsensitive: options.caseInsensitive) - parentStack.push(root) - - self.ops = ops - let parser = Foundation.XMLParser(data: data!) - parser.shouldProcessNamespaces = options.shouldProcessNamespaces - parser.delegate = self - _ = parser.parse() - } - - func parser(_ parser: Foundation.XMLParser, - didStartElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?, - attributes attributeDict: [String: String]) { - - elementStack.push(elementName) - - if !onMatch() { - return - } - - let currentNode = parentStack - .top() - .addElement(elementName, withAttributes: attributeDict, caseInsensitive: self.options.caseInsensitive) - parentStack.push(currentNode) - } - - func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) { - if !onMatch() { - return - } - - let current = parentStack.top() - - current.addText(string) - } - - func parser(_ parser: Foundation.XMLParser, - didEndElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?) { - - let match = onMatch() - - elementStack.drop() - - if match { - parentStack.drop() - } - } - - func onMatch() -> Bool { - // we typically want to compare against the elementStack to see if it matches ops, *but* - // if we're on the first element, we'll instead compare the other direction. - if elementStack.items.count > ops.count { - return elementStack.items.starts(with: ops.map { $0.key }) - } else { - return ops.map { $0.key }.starts(with: elementStack.items) - } - } -} - -/// The implementation of XMLParserDelegate and where the parsing actually happens. -class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate { - required init(_ options: SWXMLHashOptions) { - self.options = options - self.root.caseInsensitive = options.caseInsensitive - super.init() - } - - var root = XMLElement(name: rootElementName, caseInsensitive: false) - var parentStack = Stack<XMLElement>() - let options: SWXMLHashOptions - - func parse(_ data: Data) -> XMLIndexer { - // clear any prior runs of parse... expected that this won't be necessary, - // but you never know - parentStack.removeAll() - - parentStack.push(root) - - let parser = Foundation.XMLParser(data: data) - parser.shouldProcessNamespaces = options.shouldProcessNamespaces - parser.delegate = self - _ = parser.parse() - - return XMLIndexer(root) - } - - func parser(_ parser: Foundation.XMLParser, - didStartElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?, - attributes attributeDict: [String: String]) { - - let currentNode = parentStack - .top() - .addElement(elementName, withAttributes: attributeDict, caseInsensitive: self.options.caseInsensitive) - - parentStack.push(currentNode) - } - - func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) { - let current = parentStack.top() - - current.addText(string) - } - - func parser(_ parser: Foundation.XMLParser, - didEndElement elementName: String, - namespaceURI: String?, - qualifiedName qName: String?) { - - parentStack.drop() - } -} - -/// Represents an indexed operation against a lazily parsed `XMLIndexer` -public class IndexOp { - var index: Int - let key: String - - init(_ key: String) { - self.key = key - self.index = -1 - } - - func toString() -> String { - if index >= 0 { - return key + " " + index.description - } - - return key - } -} - -/// Represents a collection of `IndexOp` instances. Provides a means of iterating them -/// to find a match in a lazily parsed `XMLIndexer` instance. -public class IndexOps { - var ops: [IndexOp] = [] - - let parser: LazyXMLParser - - init(parser: LazyXMLParser) { - self.parser = parser - } - - func findElements() -> XMLIndexer { - parser.startParsing(ops) - let indexer = XMLIndexer(parser.root) - var childIndex = indexer - for op in ops { - childIndex = childIndex[op.key] - if op.index >= 0 { - childIndex = childIndex[op.index] - } - } - ops.removeAll(keepingCapacity: false) - return childIndex - } - - func stringify() -> String { - var s = "" - for op in ops { - s += "[" + op.toString() + "]" - } - return s - } -} - -/// Error type that is thrown when an indexing or parsing operation fails. -public enum IndexingError: Error { - case attribute(attr: String) - case attributeValue(attr: String, value: String) - case key(key: String) - case index(idx: Int) - case initialize(instance: AnyObject) - case encoding - case error - -// swiftlint:disable identifier_name - // unavailable - @available(*, unavailable, renamed: "attribute(attr:)") - public static func Attribute(attr: String) -> IndexingError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "attributeValue(attr:value:)") - public static func AttributeValue(attr: String, value: String) -> IndexingError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "key(key:)") - public static func Key(key: String) -> IndexingError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "index(idx:)") - public static func Index(idx: Int) -> IndexingError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "initialize(instance:)") - public static func Init(instance: AnyObject) -> IndexingError { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "error") - public static var Error: IndexingError { - fatalError("unavailable") - } -// swiftlint:enable identifier_name -} - -/// Returned from SWXMLHash, allows easy element lookup into XML data. -public enum XMLIndexer { - case element(XMLElement) - case list([XMLElement]) - case stream(IndexOps) - case xmlError(IndexingError) - -// swiftlint:disable identifier_name - // unavailable - @available(*, unavailable, renamed: "element(_:)") - public static func Element(_: XMLElement) -> XMLIndexer { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "list(_:)") - public static func List(_: [XMLElement]) -> XMLIndexer { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "stream(_:)") - public static func Stream(_: IndexOps) -> XMLIndexer { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "xmlError(_:)") - public static func XMLError(_: IndexingError) -> XMLIndexer { - fatalError("unavailable") - } - @available(*, unavailable, renamed: "withAttribute(_:_:)") - public static func withAttr(_ attr: String, _ value: String) throws -> XMLIndexer { - fatalError("unavailable") - } -// swiftlint:enable identifier_name - - /// The underlying XMLElement at the currently indexed level of XML. - public var element: XMLElement? { - switch self { - case .element(let elem): - return elem - case .stream(let ops): - let list = ops.findElements() - return list.element - default: - return nil - } - } - - /// All elements at the currently indexed level - public var all: [XMLIndexer] { - switch self { - case .list(let list): - var xmlList = [XMLIndexer]() - for elem in list { - xmlList.append(XMLIndexer(elem)) - } - return xmlList - case .element(let elem): - return [XMLIndexer(elem)] - case .stream(let ops): - let list = ops.findElements() - return list.all - default: - return [] - } - } - - /// All child elements from the currently indexed level - public var children: [XMLIndexer] { - var list = [XMLIndexer]() - for elem in all.flatMap({ $0.element }) { - for elem in elem.xmlChildren { - list.append(XMLIndexer(elem)) - } - } - return list - } - - /** - Allows for element lookup by matching attribute values. - - - parameters: - - attr: should the name of the attribute to match on - - value: should be the value of the attribute to match on - - throws: an XMLIndexer.XMLError if an element with the specified attribute isn't found - - returns: instance of XMLIndexer - */ - public func withAttribute(_ attr: String, _ value: String) throws -> XMLIndexer { - switch self { - case .stream(let opStream): - let match = opStream.findElements() - return try match.withAttribute(attr, value) - case .list(let list): - if let elem = list.first(where: { - value.compare($0.attribute(by: attr)?.text, $0.caseInsensitive) - }) { - return .element(elem) - } - throw IndexingError.attributeValue(attr: attr, value: value) - case .element(let elem): - if value.compare(elem.attribute(by: attr)?.text, elem.caseInsensitive) { - return .element(elem) - } - throw IndexingError.attributeValue(attr: attr, value: value) - default: - throw IndexingError.attribute(attr: attr) - } - } - - /** - Initializes the XMLIndexer - - - parameter _: should be an instance of XMLElement, but supports other values for error handling - - throws: an Error if the object passed in isn't an XMLElement or LaxyXMLParser - */ - public init(_ rawObject: AnyObject) throws { - switch rawObject { - case let value as XMLElement: - self = .element(value) - case let value as LazyXMLParser: - self = .stream(IndexOps(parser: value)) - default: - throw IndexingError.initialize(instance: rawObject) - } - } - - /** - Initializes the XMLIndexer - - - parameter _: an instance of XMLElement - */ - public init(_ elem: XMLElement) { - self = .element(elem) - } - - init(_ stream: LazyXMLParser) { - self = .stream(IndexOps(parser: stream)) - } - - /** - Find an XML element at the current level by element name - - - parameter key: The element name to index by - - returns: instance of XMLIndexer to match the element (or elements) found by key - - throws: Throws an XMLIndexingError.Key if no element was found - */ - public func byKey(_ key: String) throws -> XMLIndexer { - switch self { - case .stream(let opStream): - let op = IndexOp(key) - opStream.ops.append(op) - return .stream(opStream) - case .element(let elem): - let match = elem.xmlChildren.filter({ - $0.name.compare(key, $0.caseInsensitive) - }) - if !match.isEmpty { - if match.count == 1 { - return .element(match[0]) - } else { - return .list(match) - } - } - fallthrough - default: - throw IndexingError.key(key: key) - } - } - - /** - Find an XML element at the current level by element name - - - parameter key: The element name to index by - - returns: instance of XMLIndexer to match the element (or elements) found by - */ - public subscript(key: String) -> XMLIndexer { - do { - return try self.byKey(key) - } catch let error as IndexingError { - return .xmlError(error) - } catch { - return .xmlError(IndexingError.key(key: key)) - } - } - - /** - Find an XML element by index within a list of XML Elements at the current level - - - parameter index: The 0-based index to index by - - throws: XMLIndexer.XMLError if the index isn't found - - returns: instance of XMLIndexer to match the element (or elements) found by index - */ - public func byIndex(_ index: Int) throws -> XMLIndexer { - switch self { - case .stream(let opStream): - opStream.ops[opStream.ops.count - 1].index = index - return .stream(opStream) - case .list(let list): - if index < list.count { - return .element(list[index]) - } - return .xmlError(IndexingError.index(idx: index)) - case .element(let elem): - if index == 0 { - return .element(elem) - } - fallthrough - default: - return .xmlError(IndexingError.index(idx: index)) - } - } - - /** - Find an XML element by index - - - parameter index: The 0-based index to index by - - returns: instance of XMLIndexer to match the element (or elements) found by index - */ - public subscript(index: Int) -> XMLIndexer { - do { - return try byIndex(index) - } catch let error as IndexingError { - return .xmlError(error) - } catch { - return .xmlError(IndexingError.index(idx: index)) - } - } -} - -/// XMLIndexer extensions - -extension XMLIndexer: CustomStringConvertible { - /// The XML representation of the XMLIndexer at the current level - public var description: String { - switch self { - case .list(let list): - return list.reduce("", { $0 + $1.description }) - case .element(let elem): - if elem.name == rootElementName { - return elem.children.reduce("", { $0 + $1.description }) - } - - return elem.description - default: - return "" - } - } -} - -extension IndexingError: CustomStringConvertible { - /// The description for the `IndexingError`. - public var description: String { - switch self { - case .attribute(let attr): - return "XML Attribute Error: Missing attribute [\"\(attr)\"]" - case .attributeValue(let attr, let value): - return "XML Attribute Error: Missing attribute [\"\(attr)\"] with value [\"\(value)\"]" - case .key(let key): - return "XML Element Error: Incorrect key [\"\(key)\"]" - case .index(let index): - return "XML Element Error: Incorrect index [\"\(index)\"]" - case .initialize(let instance): - return "XML Indexer Error: initialization with Object [\"\(instance)\"]" - case .encoding: - return "String Encoding Error" - case .error: - return "Unknown Error" - } - } -} - -/// Models content for an XML doc, whether it is text or XML -public protocol XMLContent: CustomStringConvertible { } - -/// Models a text element -public class TextElement: XMLContent { - /// The underlying text value - public let text: String - init(text: String) { - self.text = text - } -} - -public struct XMLAttribute { - public let name: String - public let text: String - init(name: String, text: String) { - self.name = name - self.text = text - } -} - -/// Models an XML element, including name, text and attributes -public class XMLElement: XMLContent { - /// The name of the element - public let name: String - - public var caseInsensitive: Bool - - /// All attributes - public var allAttributes = [String: XMLAttribute]() - - public func attribute(by name: String) -> XMLAttribute? { - if caseInsensitive { - return allAttributes.first(where: { $0.key.compare(name, true) })?.value - } - return allAttributes[name] - } - - /// The inner text of the element, if it exists - public var text: String { - return children.reduce("", { - if let element = $1 as? TextElement { - return $0 + element.text - } - - return $0 - }) - } - - /// The inner text of the element and its children - public var recursiveText: String { - return children.reduce("", { - if let textElement = $1 as? TextElement { - return $0 + textElement.text - } else if let xmlElement = $1 as? XMLElement { - return $0 + xmlElement.recursiveText - } else { - return $0 - } - }) - } - - /// All child elements (text or XML) - public var children = [XMLContent]() - var count: Int = 0 - var index: Int - - var xmlChildren: [XMLElement] { - return children.flatMap { $0 as? XMLElement } - } - - /** - Initialize an XMLElement instance - - - parameters: - - name: The name of the element to be initialized - - index: The index of the element to be initialized - */ - init(name: String, index: Int = 0, caseInsensitive: Bool) { - self.name = name - self.caseInsensitive = caseInsensitive - self.index = index - } - - /** - Adds a new XMLElement underneath this instance of XMLElement - - - parameters: - - name: The name of the new element to be added - - withAttributes: The attributes dictionary for the element being added - - returns: The XMLElement that has now been added - */ - - func addElement(_ name: String, withAttributes attributes: [String: String], caseInsensitive: Bool) -> XMLElement { - let element = XMLElement(name: name, index: count, caseInsensitive: caseInsensitive) - count += 1 - - children.append(element) - - for (key, value) in attributes { - element.allAttributes[key] = XMLAttribute(name: key, text: value) - } - - return element - } - - func addText(_ text: String) { - let elem = TextElement(text: text) - - children.append(elem) - } -} - -extension TextElement: CustomStringConvertible { - /// The text value for a `TextElement` instance. - public var description: String { - return text - } -} - -extension XMLAttribute: CustomStringConvertible { - /// The textual representation of an `XMLAttribute` instance. - public var description: String { - return "\(name)=\"\(text)\"" - } -} - -extension XMLElement: CustomStringConvertible { - /// The tag, attributes and content for a `XMLElement` instance (<elem id="foo">content</elem>) - public var description: String { - let attributesString = allAttributes.reduce("", { $0 + " " + $1.1.description }) - - if !children.isEmpty { - var xmlReturn = [String]() - xmlReturn.append("<\(name)\(attributesString)>") - for child in children { - xmlReturn.append(child.description) - } - xmlReturn.append("</\(name)>") - return xmlReturn.joined(separator: "") - } - - return "<\(name)\(attributesString)>\(text)</\(name)>" - } -} - -// Workaround for "'XMLElement' is ambiguous for type lookup in this context" error on macOS. -// -// On macOS, `XMLElement` is defined in Foundation. -// So, the code referencing `XMLElement` generates above error. -// Following code allow to using `SWXMLhash.XMLElement` in client codes. -extension SWXMLHash { - public typealias XMLElement = SWXMLHashXMLElement -} - -public typealias SWXMLHashXMLElement = XMLElement - -fileprivate extension String { - func compare(_ str2: String?, _ insensitive: Bool) -> Bool { - guard let str2 = str2 else { - return false - } - let str1 = self - if insensitive { - return str1.caseInsensitiveCompare(str2) == .orderedSame - } - return str1 == str2 - } -} diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-dummy.m b/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-dummy.m deleted file mode 100644 index e1abb30..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Alamofire_iOS : NSObject -@end -@implementation PodsDummy_Alamofire_iOS -@end diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-prefix.pch b/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-umbrella.h b/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-umbrella.h deleted file mode 100644 index 00014e3..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double AlamofireVersionNumber; -FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; - diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.modulemap b/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.modulemap deleted file mode 100644 index ce21525..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Alamofire { - umbrella header "Alamofire-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.xcconfig b/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.xcconfig deleted file mode 100644 index 4292a1d..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Alamofire-iOS.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Alamofire-iOS/Info.plist b/Example/Pods/Target Support Files/Alamofire-iOS/Info.plist deleted file mode 100644 index eaa7c2e..0000000 --- a/Example/Pods/Target Support Files/Alamofire-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.5.1</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-dummy.m b/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-dummy.m deleted file mode 100644 index ed1be4b..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Alamofire_macOS : NSObject -@end -@implementation PodsDummy_Alamofire_macOS -@end diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-prefix.pch b/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-umbrella.h b/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-umbrella.h deleted file mode 100644 index c83c1a5..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double AlamofireVersionNumber; -FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; - diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.modulemap b/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.modulemap deleted file mode 100644 index c5a5e7d..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Alamofire { - umbrella header "Alamofire-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.xcconfig b/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.xcconfig deleted file mode 100644 index e0acb2f..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Alamofire-macOS.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Alamofire-macOS/Info.plist b/Example/Pods/Target Support Files/Alamofire-macOS/Info.plist deleted file mode 100644 index eaa7c2e..0000000 --- a/Example/Pods/Target Support Files/Alamofire-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.5.1</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-dummy.m b/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-dummy.m deleted file mode 100644 index e56bf31..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Alamofire_tvOS : NSObject -@end -@implementation PodsDummy_Alamofire_tvOS -@end diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-prefix.pch b/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-umbrella.h b/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-umbrella.h deleted file mode 100644 index 00014e3..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double AlamofireVersionNumber; -FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; - diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.modulemap b/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.modulemap deleted file mode 100644 index 7170e8a..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Alamofire { - umbrella header "Alamofire-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.xcconfig b/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.xcconfig deleted file mode 100644 index af00af8..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Alamofire-tvOS.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Alamofire-tvOS/Info.plist b/Example/Pods/Target Support Files/Alamofire-tvOS/Info.plist deleted file mode 100644 index eaa7c2e..0000000 --- a/Example/Pods/Target Support Files/Alamofire-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.5.1</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-dummy.m b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-dummy.m deleted file mode 100644 index 78724b5..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_AmazonS3RequestManager_iOS : NSObject -@end -@implementation PodsDummy_AmazonS3RequestManager_iOS -@end diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-prefix.pch b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-umbrella.h b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-umbrella.h deleted file mode 100644 index dabf81f..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS-umbrella.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AmazonS3RequestManager.h" -#import "AmazonS3SignatureHelpers.h" - -FOUNDATION_EXPORT double AmazonS3RequestManagerVersionNumber; -FOUNDATION_EXPORT const unsigned char AmazonS3RequestManagerVersionString[]; - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.modulemap b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.modulemap deleted file mode 100644 index 3c2b409..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AmazonS3RequestManager { - umbrella header "AmazonS3RequestManager-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.xcconfig b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.xcconfig deleted file mode 100644 index 7f6fcbd..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/AmazonS3RequestManager-iOS.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "MobileCoreServices" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/Info.plist b/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-dummy.m b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-dummy.m deleted file mode 100644 index c74c39f..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_AmazonS3RequestManager_macOS : NSObject -@end -@implementation PodsDummy_AmazonS3RequestManager_macOS -@end diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-umbrella.h b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-umbrella.h deleted file mode 100644 index 9aadcf2..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS-umbrella.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AmazonS3RequestManager.h" -#import "AmazonS3SignatureHelpers.h" - -FOUNDATION_EXPORT double AmazonS3RequestManagerVersionNumber; -FOUNDATION_EXPORT const unsigned char AmazonS3RequestManagerVersionString[]; - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap deleted file mode 100644 index 63ece25..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AmazonS3RequestManager { - umbrella header "AmazonS3RequestManager-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.xcconfig b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.xcconfig deleted file mode 100644 index a8b0ca3..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/AmazonS3RequestManager-macOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "CoreServices" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/Info.plist b/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-dummy.m b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-dummy.m deleted file mode 100644 index 02b0cde..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_AmazonS3RequestManager_tvOS : NSObject -@end -@implementation PodsDummy_AmazonS3RequestManager_tvOS -@end diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-umbrella.h b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-umbrella.h deleted file mode 100644 index dabf81f..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS-umbrella.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "AmazonS3RequestManager.h" -#import "AmazonS3SignatureHelpers.h" - -FOUNDATION_EXPORT double AmazonS3RequestManagerVersionNumber; -FOUNDATION_EXPORT const unsigned char AmazonS3RequestManagerVersionString[]; - diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap deleted file mode 100644 index d1f30e3..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AmazonS3RequestManager { - umbrella header "AmazonS3RequestManager-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.xcconfig b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.xcconfig deleted file mode 100644 index 5629c5c..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/AmazonS3RequestManager-tvOS.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "MobileCoreServices" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/Info.plist b/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/AmazonS3RequestManager-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Info.plist b/Example/Pods/Target Support Files/Nimble-iOS/Info.plist deleted file mode 100644 index c01bd4c..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>7.0.2</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-dummy.m b/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-dummy.m deleted file mode 100644 index c64909a..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nimble_iOS : NSObject -@end -@implementation PodsDummy_Nimble_iOS -@end diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-prefix.pch b/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-umbrella.h b/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-umbrella.h deleted file mode 100644 index 9aac00a..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS-umbrella.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "CwlCatchException.h" -#import "CwlMachBadInstructionHandler.h" -#import "mach_excServer.h" -#import "CwlPreconditionTesting.h" -#import "Nimble.h" -#import "DSL.h" -#import "NMBExceptionCapture.h" -#import "NMBStringify.h" - -FOUNDATION_EXPORT double NimbleVersionNumber; -FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.modulemap b/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.modulemap deleted file mode 100644 index 4f027f9..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nimble { - umbrella header "Nimble-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.xcconfig b/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.xcconfig deleted file mode 100644 index 1a12491..0000000 --- a/Example/Pods/Target Support Files/Nimble-iOS/Nimble-iOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nimble-iOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -weak-lswiftXCTest -weak_framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) -suppress-warnings $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nimble -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Info.plist b/Example/Pods/Target Support Files/Nimble-macOS/Info.plist deleted file mode 100644 index c01bd4c..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>7.0.2</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-dummy.m b/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-dummy.m deleted file mode 100644 index d19cc27..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nimble_macOS : NSObject -@end -@implementation PodsDummy_Nimble_macOS -@end diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-prefix.pch b/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-umbrella.h b/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-umbrella.h deleted file mode 100644 index aca355c..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS-umbrella.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "CwlCatchException.h" -#import "CwlMachBadInstructionHandler.h" -#import "mach_excServer.h" -#import "CwlPreconditionTesting.h" -#import "Nimble.h" -#import "DSL.h" -#import "NMBExceptionCapture.h" -#import "NMBStringify.h" - -FOUNDATION_EXPORT double NimbleVersionNumber; -FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.modulemap b/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.modulemap deleted file mode 100644 index 5efe50f..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nimble { - umbrella header "Nimble-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.xcconfig b/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.xcconfig deleted file mode 100644 index 222d943..0000000 --- a/Example/Pods/Target Support Files/Nimble-macOS/Nimble-macOS.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nimble-macOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -weak-lswiftXCTest -weak_framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) -suppress-warnings $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nimble -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Info.plist b/Example/Pods/Target Support Files/Nimble-tvOS/Info.plist deleted file mode 100644 index c01bd4c..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>7.0.2</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-dummy.m b/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-dummy.m deleted file mode 100644 index a8adcc9..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nimble_tvOS : NSObject -@end -@implementation PodsDummy_Nimble_tvOS -@end diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-prefix.pch b/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-umbrella.h b/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-umbrella.h deleted file mode 100644 index f7bce76..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS-umbrella.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "CwlMachBadInstructionHandler.h" -#import "mach_excServer.h" -#import "CwlPreconditionTesting.h" -#import "Nimble.h" -#import "DSL.h" -#import "NMBExceptionCapture.h" -#import "NMBStringify.h" - -FOUNDATION_EXPORT double NimbleVersionNumber; -FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.modulemap b/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.modulemap deleted file mode 100644 index 23e25e6..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nimble { - umbrella header "Nimble-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.xcconfig b/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.xcconfig deleted file mode 100644 index 9fc071e..0000000 --- a/Example/Pods/Target Support Files/Nimble-tvOS/Nimble-tvOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nimble-tvOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -weak-lswiftXCTest -weak_framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) -suppress-warnings $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nimble -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Info.plist b/Example/Pods/Target Support Files/Nocilla-iOS/Info.plist deleted file mode 100644 index 1b8f7d0..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>0.11.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-dummy.m b/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-dummy.m deleted file mode 100644 index 2bca6dd..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nocilla_iOS : NSObject -@end -@implementation PodsDummy_Nocilla_iOS -@end diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-prefix.pch b/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-umbrella.h b/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-umbrella.h deleted file mode 100644 index eac1993..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS-umbrella.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "NSData+Nocilla.h" -#import "NSString+Nocilla.h" -#import "LSStubRequestDSL.h" -#import "LSStubResponseDSL.h" -#import "LSNocilla.h" -#import "LSMatcheable.h" -#import "LSMatcher.h" -#import "NSData+Matcheable.h" -#import "NSRegularExpression+Matcheable.h" -#import "NSString+Matcheable.h" -#import "LSHTTPBody.h" -#import "Nocilla.h" - -FOUNDATION_EXPORT double NocillaVersionNumber; -FOUNDATION_EXPORT const unsigned char NocillaVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.modulemap b/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.modulemap deleted file mode 100644 index 886782b..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nocilla { - umbrella header "Nocilla-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig b/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig deleted file mode 100644 index ce0896d..0000000 --- a/Example/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "CFNetwork" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nocilla -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Info.plist b/Example/Pods/Target Support Files/Nocilla-macOS/Info.plist deleted file mode 100644 index 1b8f7d0..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>0.11.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-dummy.m b/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-dummy.m deleted file mode 100644 index 65fa45a..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nocilla_macOS : NSObject -@end -@implementation PodsDummy_Nocilla_macOS -@end diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-prefix.pch b/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-umbrella.h b/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-umbrella.h deleted file mode 100644 index 29226d7..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS-umbrella.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "NSData+Nocilla.h" -#import "NSString+Nocilla.h" -#import "LSStubRequestDSL.h" -#import "LSStubResponseDSL.h" -#import "LSNocilla.h" -#import "LSMatcheable.h" -#import "LSMatcher.h" -#import "NSData+Matcheable.h" -#import "NSRegularExpression+Matcheable.h" -#import "NSString+Matcheable.h" -#import "LSHTTPBody.h" -#import "Nocilla.h" - -FOUNDATION_EXPORT double NocillaVersionNumber; -FOUNDATION_EXPORT const unsigned char NocillaVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.modulemap b/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.modulemap deleted file mode 100644 index 83584b2..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nocilla { - umbrella header "Nocilla-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig b/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig deleted file mode 100644 index 649dcb7..0000000 --- a/Example/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "CFNetwork" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nocilla -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Info.plist b/Example/Pods/Target Support Files/Nocilla-tvOS/Info.plist deleted file mode 100644 index 1b8f7d0..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>0.11.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-dummy.m b/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-dummy.m deleted file mode 100644 index d265087..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Nocilla_tvOS : NSObject -@end -@implementation PodsDummy_Nocilla_tvOS -@end diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-prefix.pch b/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-umbrella.h b/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-umbrella.h deleted file mode 100644 index eac1993..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS-umbrella.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "NSData+Nocilla.h" -#import "NSString+Nocilla.h" -#import "LSStubRequestDSL.h" -#import "LSStubResponseDSL.h" -#import "LSNocilla.h" -#import "LSMatcheable.h" -#import "LSMatcher.h" -#import "NSData+Matcheable.h" -#import "NSRegularExpression+Matcheable.h" -#import "NSString+Matcheable.h" -#import "LSHTTPBody.h" -#import "Nocilla.h" - -FOUNDATION_EXPORT double NocillaVersionNumber; -FOUNDATION_EXPORT const unsigned char NocillaVersionString[]; - diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.modulemap b/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.modulemap deleted file mode 100644 index 61258f3..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Nocilla { - umbrella header "Nocilla-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.xcconfig b/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.xcconfig deleted file mode 100644 index c93eb2e..0000000 --- a/Example/Pods/Target Support Files/Nocilla-tvOS/Nocilla-tvOS.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nocilla-tvOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "CFNetwork" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nocilla -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Info.plist b/Example/Pods/Target Support Files/Pods-OSX-Example/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.markdown deleted file mode 100644 index 28efc48..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.markdown +++ /dev/null @@ -1,73 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.plist deleted file mode 100644 index 4ee9b8a..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-acknowledgements.plist +++ /dev/null @@ -1,117 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-dummy.m b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-dummy.m deleted file mode 100644 index d3630da..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_OSX_Example : NSObject -@end -@implementation PodsDummy_Pods_OSX_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-frameworks.sh deleted file mode 100755 index 76c989f..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-frameworks.sh +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-resources.sh b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-umbrella.h b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-umbrella.h deleted file mode 100644 index 657dfcb..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_OSX_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_OSX_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.debug.xcconfig deleted file mode 100644 index 7914dfc..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.debug.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -CODE_SIGN_IDENTITY = -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.modulemap b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.modulemap deleted file mode 100644 index 663399e..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_OSX_Example { - umbrella header "Pods-OSX-Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.release.xcconfig deleted file mode 100644 index 7914dfc..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Example/Pods-OSX-Example.release.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -CODE_SIGN_IDENTITY = -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Info.plist b/Example/Pods/Target Support Files/Pods-OSX-Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.markdown deleted file mode 100644 index 5ff6d5d..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.markdown +++ /dev/null @@ -1,507 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -## Nimble - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 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. - - -## Nocilla - -Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Quick - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2014, Quick Team - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.plist deleted file mode 100644 index 17fcc7b..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-acknowledgements.plist +++ /dev/null @@ -1,569 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Nimble</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Nocilla</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Quick</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-dummy.m b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-dummy.m deleted file mode 100644 index 9253be7..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_OSX_Tests : NSObject -@end -@implementation PodsDummy_Pods_OSX_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-frameworks.sh deleted file mode 100755 index 6efc9d6..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-frameworks.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-macOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-macOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-macOS/Quick.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-macOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-macOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-macOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-macOS/Quick.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-resources.sh b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-umbrella.h deleted file mode 100644 index 51936a2..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_OSX_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_OSX_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.debug.xcconfig deleted file mode 100644 index 8243f8a..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.debug.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -CODE_SIGN_IDENTITY = -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-macOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-macOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.modulemap b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.modulemap deleted file mode 100644 index 697bb58..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_OSX_Tests { - umbrella header "Pods-OSX-Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.release.xcconfig deleted file mode 100644 index 8243f8a..0000000 --- a/Example/Pods/Target Support Files/Pods-OSX-Tests/Pods-OSX-Tests.release.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -CODE_SIGN_IDENTITY = -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-macOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-macOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-macOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-macOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Info.plist b/Example/Pods/Target Support Files/Pods-TVOS-Example/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.markdown deleted file mode 100644 index 28efc48..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.markdown +++ /dev/null @@ -1,73 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.plist deleted file mode 100644 index 4ee9b8a..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-acknowledgements.plist +++ /dev/null @@ -1,117 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-dummy.m b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-dummy.m deleted file mode 100644 index a3391bc..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_TVOS_Example : NSObject -@end -@implementation PodsDummy_Pods_TVOS_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-frameworks.sh deleted file mode 100755 index 7599c71..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-frameworks.sh +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-resources.sh b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-umbrella.h b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-umbrella.h deleted file mode 100644 index 99b59b7..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_TVOS_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_TVOS_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.debug.xcconfig deleted file mode 100644 index ced18a1..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.modulemap b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.modulemap deleted file mode 100644 index ceb5eda..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_TVOS_Example { - umbrella header "Pods-TVOS-Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.release.xcconfig deleted file mode 100644 index ced18a1..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Example/Pods-TVOS-Example.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Info.plist b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.markdown deleted file mode 100644 index 5ff6d5d..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.markdown +++ /dev/null @@ -1,507 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -## Nimble - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 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. - - -## Nocilla - -Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Quick - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2014, Quick Team - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.plist deleted file mode 100644 index 17fcc7b..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-acknowledgements.plist +++ /dev/null @@ -1,569 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Nimble</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Nocilla</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Quick</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-dummy.m b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-dummy.m deleted file mode 100644 index 2aed9ef..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_TVOS_Tests : NSObject -@end -@implementation PodsDummy_Pods_TVOS_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-frameworks.sh deleted file mode 100755 index 6a3bfd6..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-frameworks.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-tvOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-tvOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-tvOS/Quick.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-tvOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-tvOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-tvOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-tvOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-tvOS/Quick.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-resources.sh b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-umbrella.h deleted file mode 100644 index 30bcbf8..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_TVOS_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_TVOS_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.debug.xcconfig deleted file mode 100644 index 812ec9b..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-tvOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-tvOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-tvOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.modulemap b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.modulemap deleted file mode 100644 index add4adb..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_TVOS_Tests { - umbrella header "Pods-TVOS-Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.release.xcconfig deleted file mode 100644 index 812ec9b..0000000 --- a/Example/Pods/Target Support Files/Pods-TVOS-Tests/Pods-TVOS-Tests.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-tvOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-tvOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-tvOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-tvOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-tvOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-tvOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Info.plist b/Example/Pods/Target Support Files/Pods-iOS-Example/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.markdown deleted file mode 100644 index 28efc48..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.markdown +++ /dev/null @@ -1,73 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.plist deleted file mode 100644 index 4ee9b8a..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-acknowledgements.plist +++ /dev/null @@ -1,117 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-dummy.m b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-dummy.m deleted file mode 100644 index ee5a31b..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_iOS_Example : NSObject -@end -@implementation PodsDummy_Pods_iOS_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-frameworks.sh deleted file mode 100755 index 9c5d370..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-frameworks.sh +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-resources.sh b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-umbrella.h b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-umbrella.h deleted file mode 100644 index 04ad96c..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_iOS_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_iOS_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.debug.xcconfig deleted file mode 100644 index ed8a400..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.modulemap b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.modulemap deleted file mode 100644 index 6eb3bcd..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_iOS_Example { - umbrella header "Pods-iOS-Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.release.xcconfig deleted file mode 100644 index ed8a400..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Example/Pods-iOS-Example.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Info.plist b/Example/Pods/Target Support Files/Pods-iOS-Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.markdown deleted file mode 100644 index 5ff6d5d..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.markdown +++ /dev/null @@ -1,507 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Alamofire - -Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## AmazonS3RequestManager - -Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -## SWXMLHash - -Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -## Nimble - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 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. - - -## Nocilla - -Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Quick - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2014, Quick Team - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.plist deleted file mode 100644 index 17fcc7b..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-acknowledgements.plist +++ /dev/null @@ -1,569 +0,0 @@ -<?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>PreferenceSpecifiers</key> - <array> - <dict> - <key>FooterText</key> - <string>This application makes use of the following third party libraries:</string> - <key>Title</key> - <string>Acknowledgements</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Alamofire</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2016 Anthony Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>AmazonS3RequestManager</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2014 David Mohundro - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>SWXMLHash</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Nimble</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Copyright (c) 2012 Luis Solano Bonet -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string> - <key>License</key> - <string>MIT</string> - <key>Title</key> - <string>Nocilla</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>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. -</string> - <key>License</key> - <string>Apache 2.0</string> - <key>Title</key> - <string>Quick</string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - <dict> - <key>FooterText</key> - <string>Generated by CocoaPods - https://cocoapods.org</string> - <key>Title</key> - <string></string> - <key>Type</key> - <string>PSGroupSpecifier</string> - </dict> - </array> - <key>StringsTable</key> - <string>Acknowledgements</string> - <key>Title</key> - <string>Acknowledgements</string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-dummy.m b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-dummy.m deleted file mode 100644 index ca95ee3..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Pods_iOS_Tests : NSObject -@end -@implementation PodsDummy_Pods_iOS_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-frameworks.sh deleted file mode 100755 index deead6f..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-frameworks.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies the dSYM of a vendored framework -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-iOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-iOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-iOS/Quick.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework" - install_framework "${BUILT_PRODUCTS_DIR}/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework" - install_framework "${BUILT_PRODUCTS_DIR}/SWXMLHash-iOS/SWXMLHash.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nimble-iOS/Nimble.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Nocilla-iOS/Nocilla.framework" - install_framework "${BUILT_PRODUCTS_DIR}/Quick-iOS/Quick.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-resources.sh b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-resources.sh deleted file mode 100755 index a7df440..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-resources.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-umbrella.h deleted file mode 100644 index b250b8d..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_iOS_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_iOS_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.debug.xcconfig deleted file mode 100644 index f60e526..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-iOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-iOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-iOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.modulemap b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.modulemap deleted file mode 100644 index 3d9382f..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_iOS_Tests { - umbrella header "Pods-iOS-Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.release.xcconfig deleted file mode 100644 index f60e526..0000000 --- a/Example/Pods/Target Support Files/Pods-iOS-Tests/Pods-iOS-Tests.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS" "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nimble-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Quick-iOS" "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire-iOS/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/AmazonS3RequestManager-iOS/AmazonS3RequestManager.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nimble-iOS/Nimble.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS/Nocilla.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Quick-iOS/Quick.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS/SWXMLHash.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "AmazonS3RequestManager" -framework "Nimble" -framework "Nocilla" -framework "Quick" -framework "SWXMLHash" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Quick-iOS/Info.plist b/Example/Pods/Target Support Files/Quick-iOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-dummy.m b/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-dummy.m deleted file mode 100644 index 964f7ef..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Quick_iOS : NSObject -@end -@implementation PodsDummy_Quick_iOS -@end diff --git a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-prefix.pch b/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-umbrella.h b/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-umbrella.h deleted file mode 100644 index 1de6bf3..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "QuickConfiguration.h" -#import "QCKDSL.h" -#import "Quick.h" -#import "QuickSpec.h" - -FOUNDATION_EXPORT double QuickVersionNumber; -FOUNDATION_EXPORT const unsigned char QuickVersionString[]; - diff --git a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.modulemap b/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.modulemap deleted file mode 100644 index 54e685a..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Quick { - umbrella header "Quick-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.xcconfig b/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.xcconfig deleted file mode 100644 index 7150744..0000000 --- a/Example/Pods/Target Support Files/Quick-iOS/Quick-iOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Quick-iOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Quick -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Quick-macOS/Info.plist b/Example/Pods/Target Support Files/Quick-macOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-dummy.m b/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-dummy.m deleted file mode 100644 index cd36d6d..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Quick_macOS : NSObject -@end -@implementation PodsDummy_Quick_macOS -@end diff --git a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-prefix.pch b/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-umbrella.h b/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-umbrella.h deleted file mode 100644 index 52a8646..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "QuickConfiguration.h" -#import "QCKDSL.h" -#import "Quick.h" -#import "QuickSpec.h" - -FOUNDATION_EXPORT double QuickVersionNumber; -FOUNDATION_EXPORT const unsigned char QuickVersionString[]; - diff --git a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.modulemap b/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.modulemap deleted file mode 100644 index a066c3b..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Quick { - umbrella header "Quick-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.xcconfig b/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.xcconfig deleted file mode 100644 index 3091d1e..0000000 --- a/Example/Pods/Target Support Files/Quick-macOS/Quick-macOS.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Quick-macOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Quick -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Info.plist b/Example/Pods/Target Support Files/Quick-tvOS/Info.plist deleted file mode 100644 index 2a9158a..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>1.2.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-dummy.m b/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-dummy.m deleted file mode 100644 index 84168af..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_Quick_tvOS : NSObject -@end -@implementation PodsDummy_Quick_tvOS -@end diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-prefix.pch b/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-umbrella.h b/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-umbrella.h deleted file mode 100644 index 1de6bf3..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS-umbrella.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "QuickConfiguration.h" -#import "QCKDSL.h" -#import "Quick.h" -#import "QuickSpec.h" - -FOUNDATION_EXPORT double QuickVersionNumber; -FOUNDATION_EXPORT const unsigned char QuickVersionString[]; - diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.modulemap b/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.modulemap deleted file mode 100644 index a67b271..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Quick { - umbrella header "Quick-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.xcconfig b/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.xcconfig deleted file mode 100644 index 7d12487..0000000 --- a/Example/Pods/Target Support Files/Quick-tvOS/Quick-tvOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Quick-tvOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "XCTest" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Quick -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/Info.plist b/Example/Pods/Target Support Files/SWXMLHash-iOS/Info.plist deleted file mode 100644 index 0b6f14f..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.2.3</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-dummy.m b/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-dummy.m deleted file mode 100644 index 6f2eeb6..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_SWXMLHash_iOS : NSObject -@end -@implementation PodsDummy_SWXMLHash_iOS -@end diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-prefix.pch b/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-umbrella.h b/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-umbrella.h deleted file mode 100644 index 206443e..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double SWXMLHashVersionNumber; -FOUNDATION_EXPORT const unsigned char SWXMLHashVersionString[]; - diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.modulemap b/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.modulemap deleted file mode 100644 index 03427e3..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module SWXMLHash { - umbrella header "SWXMLHash-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.xcconfig b/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.xcconfig deleted file mode 100644 index 9052018..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-iOS/SWXMLHash-iOS.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -APPLICATION_EXTENSION_API_ONLY = YES -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-iOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/SWXMLHash -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -SWIFT_VERSION = 3.0 diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/Info.plist b/Example/Pods/Target Support Files/SWXMLHash-macOS/Info.plist deleted file mode 100644 index 0b6f14f..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.2.3</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-dummy.m b/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-dummy.m deleted file mode 100644 index 325287b..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_SWXMLHash_macOS : NSObject -@end -@implementation PodsDummy_SWXMLHash_macOS -@end diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch b/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-umbrella.h b/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-umbrella.h deleted file mode 100644 index f65a7e8..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <Cocoa/Cocoa.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double SWXMLHashVersionNumber; -FOUNDATION_EXPORT const unsigned char SWXMLHashVersionString[]; - diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.modulemap b/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.modulemap deleted file mode 100644 index b0162f6..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module SWXMLHash { - umbrella header "SWXMLHash-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.xcconfig b/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.xcconfig deleted file mode 100644 index ebd3b62..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-macOS/SWXMLHash-macOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -APPLICATION_EXTENSION_API_ONLY = YES -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-macOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/SWXMLHash -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -SWIFT_VERSION = 3.0 diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/Info.plist b/Example/Pods/Target Support Files/SWXMLHash-tvOS/Info.plist deleted file mode 100644 index 0b6f14f..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>4.2.3</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>${CURRENT_PROJECT_VERSION}</string> - <key>NSPrincipalClass</key> - <string></string> -</dict> -</plist> diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-dummy.m b/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-dummy.m deleted file mode 100644 index d4a3849..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import <Foundation/Foundation.h> -@interface PodsDummy_SWXMLHash_tvOS : NSObject -@end -@implementation PodsDummy_SWXMLHash_tvOS -@end diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch b/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-umbrella.h b/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-umbrella.h deleted file mode 100644 index 206443e..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import <UIKit/UIKit.h> -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double SWXMLHashVersionNumber; -FOUNDATION_EXPORT const unsigned char SWXMLHashVersionString[]; - diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap b/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap deleted file mode 100644 index ae900a5..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module SWXMLHash { - umbrella header "SWXMLHash-tvOS-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.xcconfig b/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.xcconfig deleted file mode 100644 index a080b6d..0000000 --- a/Example/Pods/Target Support Files/SWXMLHash-tvOS/SWXMLHash-tvOS.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -APPLICATION_EXTENSION_API_ONLY = YES -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SWXMLHash-tvOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/SWXMLHash -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -SWIFT_VERSION = 3.0 diff --git a/Example/TVOS-Example/AppDelegate.swift b/Example/TVOS-Example/AppDelegate.swift deleted file mode 100644 index 3cf2881..0000000 --- a/Example/TVOS-Example/AppDelegate.swift +++ /dev/null @@ -1,47 +0,0 @@ -// -// AppDelegate.swift -// TVOS-Example -// -// Created by Anthony Miller on 1/19/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - - func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { - - return true - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - -} - diff --git a/Example/TVOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/TVOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c..0000000 --- a/Example/TVOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/TVOS-Example/Info.plist b/Example/TVOS-Example/Info.plist deleted file mode 100644 index 63dcd6c..0000000 --- a/Example/TVOS-Example/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>$(EXECUTABLE_NAME)</string> - <key>CFBundleIdentifier</key> - <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>$(PRODUCT_NAME)</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSRequiresIPhoneOS</key> - <true/> - <key>UIMainStoryboardFile</key> - <string>Main</string> - <key>UIRequiredDeviceCapabilities</key> - <array> - <string>arm64</string> - </array> - <key>UIUserInterfaceStyle</key> - <string>Automatic</string> -</dict> -</plist> diff --git a/Example/TVOS-Example/Main.storyboard b/Example/TVOS-Example/Main.storyboard deleted file mode 100644 index a32f96c..0000000 --- a/Example/TVOS-Example/Main.storyboard +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder.AppleTV.Storyboard" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> - <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/> - </dependencies> - <scenes/> -</document> diff --git a/Example/TVOS-Example/Tests-Info.plist b/Example/TVOS-Example/Tests-Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Example/TVOS-Example/Tests-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>$(EXECUTABLE_NAME)</string> - <key>CFBundleIdentifier</key> - <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>$(PRODUCT_NAME)</string> - <key>CFBundlePackageType</key> - <string>BNDL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> -</dict> -</plist> diff --git a/Example/TVOS-Example/ViewController.swift b/Example/TVOS-Example/ViewController.swift deleted file mode 100644 index 4e4e5b3..0000000 --- a/Example/TVOS-Example/ViewController.swift +++ /dev/null @@ -1,25 +0,0 @@ -// -// ViewController.swift -// TVOS-Example -// -// Created by Anthony Miller on 1/19/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} - diff --git a/Example/Tests/AmazonS3ACLTests.swift b/Example/Tests/AmazonS3ACLTests.swift deleted file mode 100644 index 8f9b1c7..0000000 --- a/Example/Tests/AmazonS3ACLTests.swift +++ /dev/null @@ -1,278 +0,0 @@ -// -// AmazonS3ACLTests.swift -// AmazonS3RequestManager -// -// Created by Anthony Miller on 6/9/15. -// Copyright (c) 2015 Anthony Miller. All rights reserved. -// - -import Quick -import Nimble - -import AmazonS3RequestManager - -class AmazonS3ACLSpec: QuickSpec { - override func spec() { - - describe("PredefinedACL") { - - context(".privateReadWrite") { - let acl = PredefinedACL.privateReadWrite - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("private")) - } - } - - context(".publicReadWrite") { - let acl = PredefinedACL.publicReadWrite - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("public-read-write")) - } - } - - context(".publicReadOnly") { - let acl = PredefinedACL.publicReadOnly - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("public-read")) - } - } - - context(".authenticatedReadOnly") { - let acl = PredefinedACL.authenticatedReadOnly - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("authenticated-read")) - } - } - - context(".bucketOwnerReadOnly") { - let acl = PredefinedACL.bucketOwnerReadOnly - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("bucket-owner-read")) - } - } - - context(".bucketOwnerFullControl") { - let acl = PredefinedACL.bucketOwnerFullControl - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("bucket-owner-full-control")) - } - } - - context(".logDeliveryWrite") { - let acl = PredefinedACL.logDeliveryWrite - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-acl"] - expect(aclHeader).to(equal("log-delivery-write")) - } - } - } - - describe("ACL Permission Grant") { - - describe("With Permission") { - - func aclWithPermission(_ permission: ACLPermission) -> ACLPermissionGrant { - let grantee = ACLGrantee.authenticatedUsers - return ACLPermissionGrant(permission: permission, grantee: grantee) - - } - - describe("read") { - let permission = ACLPermission.read - let acl = aclWithPermission(permission) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).toNot(beNil()) - } - } - - describe("write") { - let permission = ACLPermission.write - let acl = aclWithPermission(permission) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-write"] - expect(aclHeader).toNot(beNil()) - } - } - - describe("readACL") { - let permission = ACLPermission.readACL - let acl = aclWithPermission(permission) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read-acp"] - expect(aclHeader).toNot(beNil()) - } - } - - describe("writeACL") { - let permission = ACLPermission.writeACL - let acl = aclWithPermission(permission) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-write-acp"] - expect(aclHeader).toNot(beNil()) - } - } - - describe("fullControl") { - let permission = ACLPermission.fullControl - let acl = aclWithPermission(permission) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-full-control"] - expect(aclHeader).toNot(beNil()) - } - } - } - - describe("With Grantee") { - - func aclWithGrantee(_ grantee: ACLGrantee) -> ACLPermissionGrant { - let permission = ACLPermission.read - return ACLPermissionGrant(permission: permission, grantee: grantee) - - } - - describe("Grantee: Authenticated Users") { - let grantee = ACLGrantee.authenticatedUsers - let acl = aclWithGrantee(grantee) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(equal("uri=\"http://acs.amazonaws.com/groups/global/AuthenticatedUsers\"")) - } - } - - describe("Grantee: All Users") { - let grantee = ACLGrantee.allUsers - let acl = aclWithGrantee(grantee) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(equal("uri=\"http://acs.amazonaws.com/groups/global/AllUsers\"")) - } - } - - describe("Grantee: Log Delivery Group") { - let grantee = ACLGrantee.logDeliveryGroup - let acl = aclWithGrantee(grantee) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(equal("uri=\"http://acs.amazonaws.com/groups/s3/LogDelivery\"")) - } - } - - describe("Grantee: Email") { - let grantee = ACLGrantee.emailAddress("test@test.com") - let acl = aclWithGrantee(grantee) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(equal("emailAddress=\"test@test.com\"")) - } - } - - describe("Grantee: User ID") { - let grantee = ACLGrantee.userID("123456") - let acl = aclWithGrantee(grantee) - - it("sets ACL request headers") { - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(equal("id=\"123456\"")) - } - } - } - - describe("With Multiple Grantees") { - - func aclWithGrantees(_ grantees: Set<ACLGrantee>) -> ACLPermissionGrant { - let permission = ACLPermission.read - return ACLPermissionGrant(permission: permission, grantees: grantees) - - } - - it("sets ACL request headers") { - let acl = aclWithGrantees([ - ACLGrantee.emailAddress("test@test.com"), - ACLGrantee.userID("123456")]) - - var request = URLRequest(url: URL(string: "http://www.test.com")!) - acl.setACLHeaders(on: &request) - - let aclHeader = request.allHTTPHeaderFields?["x-amz-grant-read"] - expect(aclHeader).to(contain("emailAddress=\"test@test.com\"")) - expect(aclHeader).to(contain("id=\"123456\"")) - expect(aclHeader).to(contain(", ")) - } - } - } - } -} diff --git a/Example/Tests/AmazonS3RequestManagerTests.swift b/Example/Tests/AmazonS3RequestManagerTests.swift deleted file mode 100644 index eeaeed2..0000000 --- a/Example/Tests/AmazonS3RequestManagerTests.swift +++ /dev/null @@ -1,474 +0,0 @@ -// -// AmazonS3RequestManagerTests.swift -// AmazonS3RequestManagerTests -// -// Created by Anthony Miller on 3/3/15. -// Copyright (c) 2015 Anthony Miller. All rights reserved. -// - -import XCTest -import Nimble -import Nocilla - -import Alamofire -@testable import AmazonS3RequestManager - -class AmazonS3RequestManagerTests: XCTestCase { - - var sut: AmazonS3RequestManager! - - let accessKey = "key" - let secret = "secret" - let bucket = "bucket" - let region = Region.USWest1 - - let mockURL = URL(string: "http://www.test.com")! - let mockDestination: DownloadRequest.DownloadFileDestination = { _, _ in return(URL(string: "http://www.test.com")!, []) } - - override func setUp() { - super.setUp() - - sut = AmazonS3RequestManager(bucket: bucket, - region: region, - accessKey: accessKey, - secret: secret) - - sut.requestManager.startRequestsImmediately = false - } - - /* - * MARK: - Initialization - Tests - */ - - func test__inits__withConfiguredRequestSerializer() { - expect(self.sut.requestSerializer.accessKey).to(equal(self.accessKey)) - expect(self.sut.requestSerializer.secret).to(equal(self.secret)) - expect(self.sut.requestSerializer.bucket).to(equal(self.bucket)) - expect(self.sut.requestSerializer.region.hostName).to(equal(self.region.hostName)) - } - - /* - * MARK: - GET Object Request - Tests - */ - - func test__getObject__setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.get(at: "test") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__getObject__setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.get(at: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - Download Object Request - Tests - */ - - func test__downloadObject_path_saveToURL_returnsDownloadRequest() { - // when - let request = sut.download(at: "test", to: mockDestination) - - // then - XCTAssertTrue(request.task!.isKind(of: URLSessionDownloadTask.self)) - } - - func test__downloadObject_path_saveToURL_setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.download(at: "test", to: mockDestination) - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__downloadObject_path_saveToURL_setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.download(at: path, to: mockDestination) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - GET Bucket Object List Request - Tests - */ - - func test__listBucketObjects__setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.listBucketObjects() - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__listBucketObjects__setsURL() { - // given - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)?list-type=2")! - - // when - let request = sut.listBucketObjects() - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__listBucketObjectsWithCustomParameters__setsURL() { - // given - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)?list-type=2&max-keys=100&prefix=TestPath")! - - // when - let request = sut.listBucketObjects(maxKeys: 100, prefix: "TestPath") - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - Upload Object Request - Tests - */ - - func test__upload_fileURL_destinationPath__returnsUploadRequest() { - // when - let request = sut.upload(from: mockURL, to: "path") - - // then - XCTAssertTrue(request.task!.isKind(of: URLSessionUploadTask.self)) - } - - func test__upload_fileURL_destinationPath_setsHTTPMethod() { - // given - let expected = "PUT" - - // when - let request = sut.upload(from: mockURL, to: "path") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__upload_fileURL_destinationPath_setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.upload(from: mockURL, to: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__upload_fileURL_destinationPath__givenACL_setsHTTPHeader_ACL() { - // given - let acl = PredefinedACL.publicReadWrite - let path = "TestPath" - - let request = sut.upload(from: mockURL, to: path, acl: acl) - - // when - let headers = request.request!.allHTTPHeaderFields! - let aclHeader: String? = headers["x-amz-acl"] - - // then - XCTAssertNotNil(aclHeader, "Should have ACL header field") - } - - func test__upload_data_destinationPath__returnsUploadRequest() { - // when - let request = sut.upload(Data(), to: "path") - - // then - XCTAssertTrue(request.task!.isKind(of: URLSessionUploadTask.self)) - } - - func test__upload_data_destinationPath__setsHTTPMethod() { - // given - let expected = "PUT" - - // when - let request = sut.upload(Data(), to: "path") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__upload_data_destinationPath__setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.upload(Data(), to: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__upload_data_destinationPath__givenACL_setsHTTPHeader_ACL() { - // given - let acl = PredefinedACL.publicReadWrite - let path = "TestPath" - - let request = sut.upload(Data(), to: path, acl: acl) - - // when - let headers = request.request!.allHTTPHeaderFields! - let aclHeader: String? = headers["x-amz-acl"] - - // then - XCTAssertNotNil(aclHeader, "Should have ACL header field") - } - - /* - * MARK: - COPY Request - Tests - */ - - func test__copy_setsHTTPMethod() { - // given - let expected = "PUT" - - // when - let request = sut.copy(from: "test", to: "demo") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__copy_givenDestinationPath_setsHTTPHeader_amz_copy() { - // given - let sourcePath = "TestSourcePath" - let targetPath = "TestTargetPath" - let expectedCompleteSourcePath = "/" + bucket + "/" + sourcePath - - let request = sut.copy(from: sourcePath, to: targetPath) - - // when - let headers = request.request!.allHTTPHeaderFields! - let copyHeader: String = headers["x-amz-copy-source"]! - - // then - XCTAssertEqual(copyHeader, expectedCompleteSourcePath, "AMZ copy header is not set correctly") - } - - func test__copy_fileURL_destinationPath_setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.copy(from: "sourcePath", to: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - DELETE Request - Tests - */ - - func test__delete_setsHTTPMethod() { - // given - let expected = "DELETE" - - // when - let request = sut.delete(at: "test") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__delete_setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.delete(at: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - Get Metadata Request - Tests - */ - - func test__getMetaData_setsHTTPMethod() { - // given - let expected = "HEAD" - - // when - let request = sut.getMetaData(forObjectAt: "test") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__getMetaData__setsURLWithEndpoint() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/TestPath")! - - // when - let request = sut.getMetaData(forObjectAt: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - /* - * MARK: - ACL Request - Tests - */ - - func test__getBucketACL__setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.getBucketACL() - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__getObject__setsURL_withACLSubresource() { - // given - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/?acl")! - - // when - let request = sut.getBucketACL() - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__setBucketACL__setsHTTPMethod() { - // given - let expected = "PUT" - - let acl = PredefinedACL.publicReadWrite - - // when - let request = sut.setBucketACL(acl) - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__setBucketACL_setsURLWithEndpoint() { - // given - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/?acl")! - - let acl = PredefinedACL.publicReadWrite - - // when - let request = sut.setBucketACL(acl) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__setBucketACL_setsHTTPHeader_ACL() { - // given - let acl = PredefinedACL.publicReadWrite - - // when - let request = sut.setBucketACL(acl) - - let headers = request.request!.allHTTPHeaderFields! - let aclHeader: String? = headers["x-amz-acl"] - - // then - XCTAssertNotNil(aclHeader, "Should have ACL header field") - } - - func test__getACL_forObjectAt__setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.getACL(forObjectAt: "test") - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__getACL_forObjectAt__setsURL_withACLSubresource() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/\(path)?acl")! - - // when - let request = sut.getACL(forObjectAt: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__setACL_forObjectAt__setsHTTPMethod() { - // given - let expected = "PUT" - - let path = "TestPath" - let acl = PredefinedACL.publicReadWrite - - // when - let request = sut.setACL(acl, forObjectAt: path) - - // then - XCTAssertEqual(request.request!.httpMethod!, expected) - } - - func test__setACL_forObjectAt__setsURLWithEndpoint() { - // given - let path = "TestPath" - let acl = PredefinedACL.publicReadWrite - - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/\(path)?acl")! - - // when - let request = sut.setACL(acl, forObjectAt: path) - - // then - XCTAssertEqual(request.request!.url!, expectedURL) - } - - func test__setACL_forObjectAtPath__setsHTTPHeader_ACL() { - // given - let acl = PredefinedACL.publicReadWrite - let path = "TestPath" - - // when - let request = sut.setACL(acl, forObjectAt: path) - - let headers = request.request!.allHTTPHeaderFields! - let aclHeader: String? = headers["x-amz-acl"] - - // then - XCTAssertNotNil(aclHeader, "Should have ACL header field") - } - -} diff --git a/Example/Tests/AmazonS3RequestManager_Tests-Bridging-Header.h b/Example/Tests/AmazonS3RequestManager_Tests-Bridging-Header.h deleted file mode 100644 index 1b2cb5d..0000000 --- a/Example/Tests/AmazonS3RequestManager_Tests-Bridging-Header.h +++ /dev/null @@ -1,4 +0,0 @@ -// -// Use this file to import your target's public headers that you would like to expose to Swift. -// - diff --git a/Example/Tests/AmazonS3RequestSerializerTests.swift b/Example/Tests/AmazonS3RequestSerializerTests.swift deleted file mode 100644 index a0cd558..0000000 --- a/Example/Tests/AmazonS3RequestSerializerTests.swift +++ /dev/null @@ -1,389 +0,0 @@ -// -// AmazonS3RequestSerializerTests.swift -// AmazonS3RequestManager -// -// Created by Anthony Miller on 10/14/15. -// Copyright © 2015 Anthony Miller. All rights reserved. -// - -import XCTest - -import Nimble - -@testable import AmazonS3RequestManager - -class AmazonS3RequestSerializerTests: XCTestCase { - - var sut: AmazonS3RequestSerializer! - - let accessKey = "key" - let secret = "secret" - let bucket = "bucket" - let region = Region.USWest1 - - override func setUp() { - super.setUp() - - sut = AmazonS3RequestSerializer(accessKey: accessKey, secret: secret, region: region, bucket: bucket) - } - - /* - * MARK: - Initialization - Tests - */ - - func test__inits__withConfiguredRequestSerializer() { - expect(self.sut.accessKey).to(equal(self.accessKey)) - expect(self.sut.secret).to(equal(self.secret)) - expect(self.sut.bucket).to(equal(self.bucket)) - expect(self.sut.region.hostName).to(equal(self.region.hostName)) - } - - /* - * MARK: Amazon URL Request Serialization - Tests - */ - - func test__amazonURLRequest__setsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/\(path)")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__givenCustomRegion_setsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__givenNoBucket__setsURLWithEndpointURL() { - // given - sut.bucket = nil - - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(path)")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__givenNoPath() { - // given - sut.bucket = "test" - - let expectedURL = URL(string: "https://\(region.endpoint)/test")! - - // when - let request = sut.amazonURLRequest(method: .get) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__givenUseSSL_false_setsURLWithEndpointURL_usingHTTP() { - // given - sut.useSSL = false - - let path = "TestPath" - let expectedURL = URL(string: "http://\(region.endpoint)/\(bucket)/\(path)")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__setsHTTPMethod() { - // given - let expected = "GET" - - // when - let request = sut.amazonURLRequest(method: .get, path: "test") - - // then - XCTAssertEqual(request.httpMethod!, expected) - } - - func test__amazonURLRequest__setsCachePolicy() { - // given - let expected = URLRequest.CachePolicy.reloadIgnoringLocalCacheData - - // when - let request = sut.amazonURLRequest(method: .get, path: "test") - - // then - XCTAssertEqual(request.cachePolicy, expected) - } - - func test__amazonURLRequest__givenNoPathExtension_setsHTTPHeader_ContentType() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test") - - // when - let headers = request.allHTTPHeaderFields! - let typeHeader: String? = headers["Content-Type"] - - // then - XCTAssertNotNil(typeHeader, "Should have 'Content-Type' header field") - XCTAssertEqual(typeHeader!, "application/octet-stream") - } - - func test__amazonURLRequest__givenJPGPathExtension_setsHTTPHeader_ContentType() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test.jpg") - - // when - let headers = request.allHTTPHeaderFields! - let typeHeader: String? = headers["Content-Type"] - - // then - XCTAssertNotNil(typeHeader, "Should have 'Content-Type' header field") - expect(typeHeader).to(equal("image/jpeg")) - } - - func test__amazonURLRequest__givenTXTPathExtension_setsHTTPHeader_ContentType() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test.txt") - - // when - let headers = request.allHTTPHeaderFields! - let typeHeader: String? = headers["Content-Type"] - - // then - XCTAssertNotNil(typeHeader, "Should have 'Content-Type' header field") - XCTAssertEqual(typeHeader!, "text/plain") - } - - func test__amazonURLRequest__givenMarkDownPathExtension_setsHTTPHeader_ContentType() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test.md") - - // when - let headers = request.allHTTPHeaderFields! - let typeHeader: String? = headers["Content-Type"] - - // then - XCTAssertNotNil(typeHeader, "Should have 'Content-Type' header field") - #if os(iOS) || os(watchOS) || os(tvOS) - expect(typeHeader).to(equal("application/octet-stream")) - #elseif os(OSX) - expect(typeHeader).to(equal("text/markdown")) - #endif - } - - func test__amazonURLRequest__setsHTTPHeader_Date() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test") - - // when - let headers = request.allHTTPHeaderFields! - let dateHeader: String? = headers["Date"] - - // then - XCTAssertNotNil(dateHeader, "Should have 'Date' header field") - XCTAssertTrue(dateHeader!.hasSuffix("GMT")) - } - - func test__amazonURLRequest__setsHTTPHeader_Authorization() { - // given - let request = sut.amazonURLRequest(method: .get, path: "test") - - // when - let headers = request.allHTTPHeaderFields! - let authHeader: String? = headers["Authorization"] - - // then - XCTAssertNotNil(authHeader, "Should have 'Authorization' header field") - XCTAssertTrue(authHeader!.hasPrefix("AWS \(accessKey):"), "Authorization header should begin with 'AWS [accessKey]'.") - } - - func test__amazonURLRequest__givenACL__setsHTTPHeader_ACL() { - // given - let acl = PredefinedACL.publicReadWrite - let request = sut.amazonURLRequest(method: .get, path: "test", acl: acl) - - // when - let headers = request.allHTTPHeaderFields! - let aclHeader: String? = headers["x-amz-acl"] - - // then - XCTAssertNotNil(aclHeader, "Should have ACL header field") - } - - func test__amazonURLRequest__givenMetaData__setsHTTPHeader_amz_meta() { - // given - let metaData = ["demo" : "foo"] - let request = sut.amazonURLRequest(method: .head, path: "test", acl: nil, metaData: metaData) - - // when - let headers = request.allHTTPHeaderFields! - let metaDataHeader: String? = headers["x-amz-meta-demo"] - - // then - XCTAssertEqual(metaDataHeader, "foo", "Meta data header field is not set correctly.") - } - - func test__amazonURLRequest__givenCustomParameters_setsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)?custom-param=custom%20value%21%2F")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path, customParameters: ["custom-param" : "custom value!/"]) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test__amazonURLRequest__givenCustomParameters_setsURLWithEndpointURL_ContinuationToken() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)?continuation-token=1%2FkCRyYIP%2BApo2oop%2FGa8%2FnVMR6hC7pDH%2FlL6JJrSZ3blAYaZkzJY%2FRVMcJ")! - - // when - let request = sut.amazonURLRequest(method: .get, path: path, customParameters: ["continuation-token" : "1/kCRyYIP+Apo2oop/Ga8/nVMR6hC7pDH/lL6JJrSZ3blAYaZkzJY/RVMcJ"]) - - // then - XCTAssertEqual(request.url!, expectedURL) - } - - func test_amazonURLRequest__givenCustomHeaders() { - // given - let headers = ["header-demo" : "foo", "header-test" : "bar"] - let request = sut.amazonURLRequest(method: .head, path: "test", customHeaders: headers) - - // when - let httpHeaders = request.allHTTPHeaderFields! - let header1: String? = httpHeaders["header-demo"] - let header2: String? = httpHeaders["header-test"] - - // then - XCTAssertEqual(header1, "foo", "Meta data header field is not set correctly.") - XCTAssertEqual(header2, "bar", "Meta data header field is not set correctly.") - } - - // MARK: Amazon Request URL Serialization - Tests - - func test__url_for_path__returnsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(bucket)/\(path)")! - - // when - let url = sut.url(withPath: path) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenCustomRegion_setsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)")! - - // when - let url = sut.url(withPath: path) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenNoBucket__setsURLWithEndpointURL() { - // given - sut.bucket = nil - - let path = "TestPath" - let expectedURL = URL(string: "https://\(region.endpoint)/\(path)")! - - // when - let url = sut.url(withPath: path) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenNoPath() { - // given - sut.bucket = "test" - - let expectedURL = URL(string: "https://\(region.endpoint)/test")! - - // when - let url = sut.url(withPath: nil) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenUseSSL_false_setsURLWithEndpointURL_usingHTTP() { - // given - sut.useSSL = false - - let path = "TestPath" - let expectedURL = URL(string: "http://\(region.endpoint)/\(bucket)/\(path)")! - - // when - let url = sut.url(withPath: path) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenCustomParameters_setsURLWithEndpointURL() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)?custom-param=custom%20value%21%2F")! - - // when - let url = sut.url(withPath: path, customParameters: ["custom-param" : "custom value!/"]) - - // then - XCTAssertEqual(url, expectedURL) - } - - func test__url_for_path__givenCustomParameters_setsURLWithEndpointURL_ContinuationToken() { - // given - let path = "TestPath" - let expectedEndpoint = "test.endpoint.com" - let region = Region.custom(hostName: "", endpoint: expectedEndpoint) - sut.region = region - let expectedURL = URL(string: "https://\(expectedEndpoint)/\(bucket)/\(path)?continuation-token=1%2FkCRyYIP%2BApo2oop%2FGa8%2FnVMR6hC7pDH%2FlL6JJrSZ3blAYaZkzJY%2FRVMcJ")! - - // when - let url = sut.url(withPath: path, - customParameters: ["continuation-token" : "1/kCRyYIP+Apo2oop/Ga8/nVMR6hC7pDH/lL6JJrSZ3blAYaZkzJY/RVMcJ"]) - - // then - XCTAssertEqual(url, expectedURL) - } - -} diff --git a/Example/Tests/AmazonS3ResponseObjectTests.swift b/Example/Tests/AmazonS3ResponseObjectTests.swift deleted file mode 100644 index e79bd56..0000000 --- a/Example/Tests/AmazonS3ResponseObjectTests.swift +++ /dev/null @@ -1,104 +0,0 @@ -// -// AmazonS3ResponseObjectTests.swift -// AmazonS3RequestManager -// -// Created by Sebastian Hunkeler on 19/03/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import XCTest -import Nimble -import Alamofire - -@testable import AmazonS3RequestManager - -class AmazonS3ResponseObjectTests: XCTestCase { - - let mockURL = URL(string: "http://www.test.com")! - - func test__S3ObjectMetaData_givenMetaData_setsMetaData() { - // given - let headers = ["x-amz-meta-test1" : "foo", "x-amz-meta-test2" : "bar"] - let response = HTTPURLResponse(url: mockURL, statusCode: 200, httpVersion: nil, headerFields: headers) - - // when - let metaDataResult = S3ObjectMetaData(response:response!)! - - // then - expect(metaDataResult.metaData["test1"]).to(equal("foo")) - expect(metaDataResult.metaData["test2"]).to(equal("bar")) - } - - func test__S3ObjectMetaData_givenNoHeaders_returnsNil() { - // given - let response = HTTPURLResponse(url: mockURL, statusCode: 200, httpVersion: nil, headerFields: nil) - - // when - let metaDataResult = S3ObjectMetaData(response:response!) - - // then - expect(metaDataResult).to(beNil()) - } - - func test__responseS3Object_givenXMLString_returnsS3ListBucketResult() { - // given - let dateFormatter = DateFormatter() - dateFormatter.timeZone = TimeZone.autoupdatingCurrent - dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSSZ" - let expectedModifiedDate = dateFormatter.date(from: "2016-03-03 14:54:27.000Z") - - let xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<ListBucketResult xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\">" + - "<IsTruncated>true</IsTruncated>" + - "<MaxKeys>3</MaxKeys>" + - "<Delimiter />" + - "<Marker />" + - "<Prefix />" + - "<Name>TESTBUCKET1</Name>" + - "<Contents>" + - "<Key>demo.txt</Key>" + - "<LastModified>2016-03-03T14:54:27.000Z</LastModified>" + - "<ETag>\"2016-03-03 14:54:27.043:75b650fa317e55090741576852a79562\"</ETag>" + - "<Size>6</Size>" + - "<StorageClass>STANDARD</StorageClass>" + - "<Owner>" + - "<ID>61646d696e00000000</ID>" + - "<DisplayName>admin</DisplayName>" + - "</Owner>" + - "</Contents>" + - "<Contents>" + - "<Key>test.rtf</Key>" + - "<LastModified>2016-02-23T15:38:06.000Z</LastModified>" + - "<ETag>\"2016-02-23 15:38:06.741:01250c473283ed48e8429338500a97e1\"</ETag>" + - "<Size>178</Size>" + - "<StorageClass>STANDARD</StorageClass>" + - "<Owner>" + - "<ID>61646d696e000000000</ID>" + - "<DisplayName>admin</DisplayName>" + - "</Owner>" + - "</Contents>" + - "</ListBucketResult>" - let data = xml.data(using: String.Encoding.utf8) - - // when - let result = DataRequest.XMLResponseSerializer().serializeResponse(nil, nil, data, nil) - let xmlIndexer = result.value! - let bucketContents = S3BucketObjectList(response:HTTPURLResponse(), representation:xmlIndexer)! - let s3File = bucketContents.files.first! - - // then - expect(bucketContents.files).to(haveCount(2)) - expect(bucketContents.bucket).to(equal("TESTBUCKET1")) - expect(bucketContents.truncated).to(equal(true)) - expect(bucketContents.maxKeys).to(equal(3)) - - expect(s3File.path).to(equal("demo.txt")) - expect(s3File.lastModifiedDate).to(equal(expectedModifiedDate)) - expect(s3File.size).to(equal(6)) - expect(s3File.entityTag).to(equal("\"2016-03-03 14:54:27.043:75b650fa317e55090741576852a79562\"")) - expect(s3File.storageClass).to(equal(StorageClass.standard)) - expect(s3File.owner!.id).to(equal("61646d696e00000000")) - expect(s3File.owner!.name).to(equal("admin")) - } - -} diff --git a/Example/Tests/AmazonS3ResponseSerializationTests.swift b/Example/Tests/AmazonS3ResponseSerializationTests.swift deleted file mode 100644 index 575d91e..0000000 --- a/Example/Tests/AmazonS3ResponseSerializationTests.swift +++ /dev/null @@ -1,305 +0,0 @@ -// -// AmazonS3ResponseSerializationTests.swift -// AmazonS3RequestManager -// -// Created by Anthony Miller on 10/6/15. -// Copyright © 2015 Anthony Miller. All rights reserved. -// - -import Foundation -import XCTest -import Nimble - -import Alamofire -import SWXMLHash - -@testable import AmazonS3RequestManager - -class AmazonS3ResponseSerializationTests: XCTestCase { - - /* - * MARK: - Utilities - */ - - class MockResponseObject: ResponseObjectSerializable { - - required init?(response: HTTPURLResponse, representation: XMLIndexer) { - if representation["fail"].element != nil { return nil } - } - - } - - /* - * MARK: XMLResponseSerializer - */ - - func test__XMLResponseSerializer__givenNilData_returnsFailure() { - // given - let expectedErrorCode = AFError.responseSerializationFailed(reason: .inputDataNil)._code - - // when - let result = DataRequest.XMLResponseSerializer().serializeResponse(nil, nil, nil, nil) - - // then - expect(result.error?._code).to(equal(expectedErrorCode)) - } - - func test__XMLResponseSerializer__givenXMLString_returnsXMLIndexer() { - // given - let xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<XMLData>" + - "<XMLElement>test</XMLElement>" + - "</XMLData>" - let data = xml.data(using: String.Encoding.utf8) - - // when - let result = DataRequest.XMLResponseSerializer().serializeResponse(nil, nil, data, nil) - let testContent = result.value!["XMLData"]["XMLElement"].element?.text - - // then - expect(result.error).to(beNil()) - expect(testContent).to(equal("test")) - } - - /* - * MARK: - S3DataResponseSerializer - */ - - func test__s3DataResponseSerializer__givenPreviousError_returnsError() { - // given - let data = Data(base64Encoded: "", options: .ignoreUnknownCharacters) - let expectedError = NSError(domain: "test", code: 0, userInfo: nil) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, data, expectedError) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - func test__s3DataResponseSerializer__givenNoData_returnsError() { - // given - let expectedError = AFError.responseSerializationFailed(reason: .inputDataNil) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, nil, expectedError) - - // then - expect(result.error?._code).to(equal(expectedError._code)) - } - - func test__s3DataResponseSerializer__givenNoError_returnsSuccessWithData() { - // given - let data = Data(base64Encoded: "Test Data", options: .ignoreUnknownCharacters) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, data, nil) - - // then - expect(result.value!).to(beIdenticalTo(data)) - } - - func test__s3DataResponseSerializer__givenEmptyStringResponse_returnsSuccessWithData() { - // given - let data = Data(base64Encoded: "", options: .ignoreUnknownCharacters) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, data, nil) - - // then - expect(result.value!).to(beIdenticalTo(data)) - } - - func test__s3DataResponseSerializer__givenXMLErrorStringResponse_returnsError() { - // given - let expectedError = S3Error.noSuchKey.error(failureReason: "The resource you requested does not exist") - - let xmlError = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<Error>" + - "<Code>NoSuchKey</Code>" + - "<Message>The resource you requested does not exist</Message>" + - "<Resource>/mybucket/myfoto.jpg</Resource>" + - "<RequestId>4442587FB7D0A2F9</RequestId>" + - "</Error>" - - let data = xmlError.data(using: String.Encoding.utf8) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, data, nil) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - func test__s3DataResponseSerializer__givenXMLErrorStringResponseAndPreviousError_returnsXMLErrorError() { - // given - let previousError = NSError(domain: "test", code: 0, userInfo: nil) - let expectedError = S3Error.noSuchKey.error(failureReason: "The resource you requested does not exist") - - let xmlError = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<Error>" + - "<Code>NoSuchKey</Code>" + - "<Message>The resource you requested does not exist</Message>" + - "<Resource>/mybucket/myfoto.jpg</Resource>" + - "<RequestId>4442587FB7D0A2F9</RequestId>" + - "</Error>" - - let data = xmlError.data(using: String.Encoding.utf8) - - // when - let result = DataRequest.s3DataResponseSerializer().serializeResponse(nil, nil, data, previousError) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - /* - * MARK: - S3ObjectResponseSerializer - */ - - func test__s3ObjectResponseSerializer__givenPreviousError_returnsError() { - // given - let expectedError = NSError(domain: "test", code: 0, userInfo: nil) - - let xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" - let data = xml.data(using: String.Encoding.utf8) - - // when - let result: Result<MockResponseObject> = DataRequest - .s3ObjectResponseSerializer().serializeResponse(nil, HTTPURLResponse(), data, expectedError) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - func test__s3ObjectResponseSerializer__givenXMLRepresentation_responseObjectSerializedSuccessfully__returnsResponseObject() { - // given - let xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" - let data = xml.data(using: String.Encoding.utf8) - - // when - let result: Result<MockResponseObject> = DataRequest - .s3ObjectResponseSerializer().serializeResponse(nil, HTTPURLResponse(), data, nil) - - // then - expect(result.value).toNot(beNil()) - } - - func test__s3ObjectResponseSerializer__givenXMLRepresentation_responseObjectFailsToSerialize__returnsError() { - // given - let expectedErrorCode = AFError.responseSerializationFailed(reason: .inputDataNil)._code - let xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><fail>" - let data = xml.data(using: String.Encoding.utf8) - - // when - let result: Result<MockResponseObject> = DataRequest - .s3ObjectResponseSerializer().serializeResponse(nil, HTTPURLResponse(), data, nil) - - // then - expect(result.error?._code).to(equal(expectedErrorCode)) - } - - func test__s3ObjectResponseSerializer__givenXMLErrorStringResponse_returnsError() { - // given - let expectedError = S3Error.noSuchKey.error(failureReason: "The resource you requested does not exist") - - let xmlError = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<Error>" + - "<Code>NoSuchKey</Code>" + - "<Message>The resource you requested does not exist</Message>" + - "<Resource>/mybucket/myfoto.jpg</Resource>" + - "<RequestId>4442587FB7D0A2F9</RequestId>" + - "</Error>" - - let data = xmlError.data(using: String.Encoding.utf8) - - // when - let result: Result<MockResponseObject> = DataRequest - .s3ObjectResponseSerializer().serializeResponse(nil, nil, data, nil) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - func test__s3ObjectResponseSerializer__givenXMLErrorStringResponseAndPreviousError_returnsXMLErrorError() { - // given - let previousError = NSError(domain: "test", code: 0, userInfo: nil) - let expectedError = S3Error.noSuchKey.error(failureReason: "The resource you requested does not exist") - - let xmlError = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + - "<Error>" + - "<Code>NoSuchKey</Code>" + - "<Message>The resource you requested does not exist</Message>" + - "<Resource>/mybucket/myfoto.jpg</Resource>" + - "<RequestId>4442587FB7D0A2F9</RequestId>" + - "</Error>" - - let data = xmlError.data(using: String.Encoding.utf8) - - // when - let result: Result<MockResponseObject> = DataRequest - .s3ObjectResponseSerializer().serializeResponse(nil, nil, data, previousError) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - /* - * MARK: - S3MetaDataResponseSerializer - */ - - func test__s3MetaDataResponseSerializer__givenPreviousError_returnsError() { - // given - let expectedError = NSError(domain: "test", code: 0, userInfo: nil) - - // when - let result = DataRequest.s3MetaDataResponseSerializer().serializeResponse(nil, nil, nil, expectedError) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - - func test__s3MetaDataResponseSerializer__givenNoError_noResponse_returnsError() { - // given - let expectedErrorCode = AFError.responseSerializationFailed(reason: .inputDataNil)._code - - // when - let result = DataRequest.s3MetaDataResponseSerializer().serializeResponse(nil, nil, nil, nil) - - // then - expect(result.error?._code).to(equal(expectedErrorCode)) - } - - func test__s3MetaDataResponseSerializer__givenResponse_returnsSuccessWithMetaData() { - // given - let headers = ["x-amz-meta-test1" : "foo", "x-amz-meta-test2" : "bar"] - let response = HTTPURLResponse(url: URL(string: "http://www.test.com")!, statusCode: 200, httpVersion: nil, headerFields: headers) - - // when - let result = DataRequest.s3MetaDataResponseSerializer().serializeResponse(nil, response, nil, nil) - let metaDataObject = result.value - - // then - expect(metaDataObject?.metaData["test1"]).to(equal("foo")) - expect(metaDataObject?.metaData["test2"]).to(equal("bar")) - } - - func test__s3MetaDataResponseSerializer__givenResponseWithNoHeaders_returnsError() { - // given - let failureReason = "No meta data was found." - - let userInfo: [String: Any] = [NSLocalizedFailureReasonErrorKey: failureReason] - let expectedError = NSError(domain: S3Error.Domain, - code: AFError.responseSerializationFailed(reason: .inputDataNil)._code, - userInfo: userInfo) - - let response = HTTPURLResponse(url: URL(string: "http://www.test.com")!, statusCode: 200, httpVersion: nil, headerFields: nil) - - // whenS - let result = DataRequest.s3MetaDataResponseSerializer().serializeResponse(nil, response, nil, nil) - - // then - expect(result.error as NSError?).to(equal(expectedError)) - } - -} diff --git a/Example/Tests/AmazonS3SignatureHelpersTests.swift b/Example/Tests/AmazonS3SignatureHelpersTests.swift deleted file mode 100644 index ed46c02..0000000 --- a/Example/Tests/AmazonS3SignatureHelpersTests.swift +++ /dev/null @@ -1,26 +0,0 @@ -// -// AmazonS3SignatureHelpersTests.swift -// AmazonS3RequestManager -// -// Created by Sebastian Hunkeler on 12/04/16. -// Copyright © 2016 CocoaPods. All rights reserved. -// - -import XCTest - -@testable import AmazonS3RequestManager - -class AmazonS3SignatureHelpersTests: XCTestCase { - - func test__canonicalizedResourceFromURL__escapesSpace() { - // given - let url = URL(string: "http://example.com/testbucket/")!.appendingPathComponent("demo file.txt") - - // when - let canonicalizedPath = AmazonS3SignatureHelpers.canonicalizedResource(from: url) - - // then - XCTAssertEqual(canonicalizedPath, "/testbucket/demo%20file.txt") - } - -} diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Example/Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>$(EXECUTABLE_NAME)</string> - <key>CFBundleIdentifier</key> - <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>$(PRODUCT_NAME)</string> - <key>CFBundlePackageType</key> - <string>BNDL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> -</dict> -</plist> diff --git a/Example/iOS-Example/AppDelegate.swift b/Example/iOS-Example/AppDelegate.swift deleted file mode 100644 index 8faba7f..0000000 --- a/Example/iOS-Example/AppDelegate.swift +++ /dev/null @@ -1,46 +0,0 @@ -// -// AppDelegate.swift -// AmazonS3RequestManager -// -// Created by Anthony Miller on 01/19/2016. -// Copyright (c) 2016 Anthony Miller. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - -} - diff --git a/Example/iOS-Example/Base.lproj/LaunchScreen.xib b/Example/iOS-Example/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 9492af7..0000000 --- a/Example/iOS-Example/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> - <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/> - <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> - </dependencies> - <objects> - <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> - <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> - <view contentMode="scaleToFill" id="iN0-l3-epB"> - <rect key="frame" x="0.0" y="0.0" width="480" height="480"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 CocoaPods. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> - <rect key="frame" x="20" y="439" width="441" height="21"/> - <fontDescription key="fontDescription" type="system" pointSize="17"/> - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> - <nil key="highlightedColor"/> - </label> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AmazonS3RequestManager" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> - <rect key="frame" x="20" y="140" width="441" height="43"/> - <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/> - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> - <nil key="highlightedColor"/> - </label> - </subviews> - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> - <constraints> - <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> - <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> - <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/> - <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/> - <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/> - <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/> - </constraints> - <nil key="simulatedStatusBarMetrics"/> - <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> - <point key="canvasLocation" x="548" y="455"/> - </view> - </objects> -</document> diff --git a/Example/iOS-Example/Base.lproj/Main.storyboard b/Example/iOS-Example/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29e..0000000 --- a/Example/iOS-Example/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc"> - <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/> - </dependencies> - <scenes> - <!--View Controller--> - <scene sceneID="ufC-wZ-h7g"> - <objects> - <viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController"> - <layoutGuides> - <viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/> - <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/> - </layoutGuides> - <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS"> - <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> - </view> - </viewController> - <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/> - </objects> - </scene> - </scenes> -</document> diff --git a/Example/iOS-Example/Default-568h@2x.png b/Example/iOS-Example/Default-568h@2x.png deleted file mode 100644 index 0891b7a..0000000 Binary files a/Example/iOS-Example/Default-568h@2x.png and /dev/null differ diff --git a/Example/iOS-Example/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/iOS-Example/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d3942e9..0000000 --- a/Example/iOS-Example/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/Example/iOS-Example/Info.plist b/Example/iOS-Example/Info.plist deleted file mode 100644 index eb18faa..0000000 --- a/Example/iOS-Example/Info.plist +++ /dev/null @@ -1,39 +0,0 @@ -<?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>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>$(EXECUTABLE_NAME)</string> - <key>CFBundleIdentifier</key> - <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>$(PRODUCT_NAME)</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSRequiresIPhoneOS</key> - <true/> - <key>UILaunchStoryboardName</key> - <string>LaunchScreen</string> - <key>UIMainStoryboardFile</key> - <string>Main</string> - <key>UIRequiredDeviceCapabilities</key> - <array> - <string>armv7</string> - </array> - <key>UISupportedInterfaceOrientations</key> - <array> - <string>UIInterfaceOrientationPortrait</string> - <string>UIInterfaceOrientationLandscapeLeft</string> - </array> -</dict> -</plist> diff --git a/Example/iOS-Example/ViewController.swift b/Example/iOS-Example/ViewController.swift deleted file mode 100644 index 74d5832..0000000 --- a/Example/iOS-Example/ViewController.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// ViewController.swift -// AmazonS3RequestManager -// -// Created by Anthony Miller on 01/19/2016. -// Copyright (c) 2016 Anthony Miller. All rights reserved. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - -} - diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..651d814 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,34 @@ +{ + "object": { + "pins": [ + { + "package": "Alamofire", + "repositoryURL": "https://github.com/Alamofire/Alamofire.git", + "state": { + "branch": null, + "revision": "747c8db8d57b68d5e35275f10c92d55f982adbd4", + "version": "4.9.1" + } + }, + { + "package": "CryptoSwift", + "repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git", + "state": { + "branch": null, + "revision": "8d4f6384e0a8cc41f2005247241dd553963a492a", + "version": "1.4.1" + } + }, + { + "package": "SWXMLHash", + "repositoryURL": "https://github.com/drmohundro/SWXMLHash.git", + "state": { + "branch": null, + "revision": "f43166a8e18fdd0857f29e303b1bb79a5428bca0", + "version": "4.9.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..8324498 --- /dev/null +++ b/Package.swift @@ -0,0 +1,31 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "AmazonS3RequestManager", + platforms: [.macOS(.v10_15), + .iOS(.v13)], + products: [ + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "AmazonS3RequestManager", + targets: ["AmazonS3RequestManager"] + ) + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + .package(url: "https://github.com/Alamofire/Alamofire.git", from: "4.5.0"), + .package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "4.2.0"), + .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.4.1") + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages which this package depends on. + .target( + name: "AmazonS3RequestManager", + dependencies: ["Alamofire", "SWXMLHash", "CryptoSwift"] + ) + ] +) diff --git a/Source/AmazonS3RequestManager.h b/Source/AmazonS3RequestManager.h deleted file mode 100644 index 224aff6..0000000 --- a/Source/AmazonS3RequestManager.h +++ /dev/null @@ -1,33 +0,0 @@ -// AmazonS3RequestManager.h -// AmazonS3RequestManager -// -// Based on `AFAmazonS3Manager` by `Matt Thompson` -// -// Created by Anthony Miller. 2015. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -#import <Foundation/Foundation.h> - -#import "AmazonS3SignatureHelpers.h" -//#import <AmazonS3RequestManager/AmazonS3SignatureHelpers.h> - -FOUNDATION_EXPORT double AmazonS3RequestManagerVersionNumber; -FOUNDATION_EXPORT const unsigned char AmazonS3RequestManagerVersionString[]; diff --git a/Source/ACL.swift b/Source/AmazonS3RequestManager/ACL.swift similarity index 98% rename from Source/ACL.swift rename to Source/AmazonS3RequestManager/ACL.swift index 6a94c30..556c8e2 100644 --- a/Source/ACL.swift +++ b/Source/AmazonS3RequestManager/ACL.swift @@ -186,11 +186,9 @@ public enum ACLGrantee: Hashable { return "id=\"\(id)\"" } } - - public var hashValue: Int { - get { - return requestHeaderFieldValue.hashValue - } + + public func hash(into hasher: inout Hasher) { + hasher.combine(requestHeaderFieldValue) } } @@ -251,11 +249,9 @@ public struct ACLPermissionGrant: ACL, Hashable { return strings } - - public var hashValue: Int { - get { - return permission.hashValue - } + + public func hash(into hasher: inout Hasher) { + hasher.combine(permission) } } diff --git a/Source/AmazonS3RequestManager.swift b/Source/AmazonS3RequestManager/AmazonS3RequestManager.swift similarity index 100% rename from Source/AmazonS3RequestManager.swift rename to Source/AmazonS3RequestManager/AmazonS3RequestManager.swift diff --git a/Source/AmazonS3RequestSerializer.swift b/Source/AmazonS3RequestManager/AmazonS3RequestSerializer.swift similarity index 97% rename from Source/AmazonS3RequestSerializer.swift rename to Source/AmazonS3RequestManager/AmazonS3RequestSerializer.swift index 0c5078b..b773d6a 100644 --- a/Source/AmazonS3RequestSerializer.swift +++ b/Source/AmazonS3RequestManager/AmazonS3RequestSerializer.swift @@ -16,6 +16,10 @@ import Foundation import Alamofire +#if canImport(AmazonS3SignatureHelpers) +import AmazonS3SignatureHelpers +#endif + /** MARK: - AmazonS3RequestSerializer @@ -204,13 +208,10 @@ open class AmazonS3RequestSerializer { } let timestamp = currentTimeStamp() - - let signature = AmazonS3SignatureHelpers.awsSignature(for: request, - timeStamp: timestamp, - secret: secret) - + let requestSignature = try! signature(forRequest: request, timestamp: timestamp, secret: secret) + request.setValue(timestamp, forHTTPHeaderField: "Date") - request.setValue("AWS \(accessKey):\(signature)", forHTTPHeaderField: "Authorization") + request.setValue("AWS \(accessKey):\(requestSignature)", forHTTPHeaderField: "Authorization") } diff --git a/Source/AmazonS3RequestManager/AmazonS3SignatureHelpers.swift b/Source/AmazonS3RequestManager/AmazonS3SignatureHelpers.swift new file mode 100644 index 0000000..d73014e --- /dev/null +++ b/Source/AmazonS3RequestManager/AmazonS3SignatureHelpers.swift @@ -0,0 +1,86 @@ +// +// File.swift +// +// +// Created by Matias Piipari on 22.11.2020. +// + +import Foundation +import CryptoSwift + +enum SigningError: Error { + case noURL + case nonBase64EncodableSignature +} + +func signature(forRequest request: URLRequest, timestamp: String, secret key: String) throws -> String { + return try signature(forRequest: request, + headerValues: canonicalizedHeaderValues(request: request), + timestamp: timestamp, + secret: key) +} + +private func signature(forRequest request: URLRequest, + headerValues: [String: String], + timestamp: String, + secret key: String) throws -> String { + guard let url = request.url else { + throw SigningError.noURL + } + let method = request.httpMethod + let contentMD5 = request.value(forHTTPHeaderField: "Content-MD5") + let contentType = request.value(forHTTPHeaderField: "Content-Type") + + var payload = "" + payload.append(method ?? "") + payload.append("\n") + payload.append(contentMD5 ?? "") + payload.append("\n") + payload.append(contentType ?? "") + payload.append("\n") + payload.append(timestamp) + payload.append("\n") + payload.append(canonicalizedHeaderString(headerFields: headerValues)) + payload.append(canonicalizedResource(from: url)) + + return try base64EncodedHMACSHA1(key: key, payload: payload) +} + +func canonicalizedHeaderValues(request: URLRequest) -> [String: String] { + let origHeaderFields = request.allHTTPHeaderFields ?? [String: String]() + var canonicalized = [String: String]() + + for (field, value) in origHeaderFields { + let field = field.lowercased() + var value = value + if field.hasPrefix("x-amz") { + if let headerValue = canonicalized[field] { + value = headerValue.appending(",\(value)") + } + canonicalized[field] = value + } + } + return canonicalized +} + +func canonicalizedHeaderString(headerFields: [String: String]) -> String { + var output = "" + for field in headerFields.keys.sorted() { + guard let value = headerFields[field] else { + preconditionFailure("Header value unexpectedly missing") + } + output.append("\(field):\(value)\n") + } + return output +} + + +func canonicalizedResource(from url: URL) -> String { + return url.path.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlQueryAllowed) ?? "" +} + +func base64EncodedHMACSHA1(key: String, payload: String) throws -> String { + let hmac = try HMAC(key: key, variant: .sha1) + let base64Encoded = try hmac.authenticate(payload.bytes).toBase64() + return base64Encoded +} diff --git a/Source/Region.swift b/Source/AmazonS3RequestManager/Region.swift similarity index 100% rename from Source/Region.swift rename to Source/AmazonS3RequestManager/Region.swift diff --git a/Source/ResponseObjects.swift b/Source/AmazonS3RequestManager/ResponseObjects.swift similarity index 100% rename from Source/ResponseObjects.swift rename to Source/AmazonS3RequestManager/ResponseObjects.swift diff --git a/Source/ResponseSerialization.swift b/Source/AmazonS3RequestManager/ResponseSerialization.swift similarity index 100% rename from Source/ResponseSerialization.swift rename to Source/AmazonS3RequestManager/ResponseSerialization.swift diff --git a/Source/S3Error.swift b/Source/AmazonS3RequestManager/S3Error.swift similarity index 100% rename from Source/S3Error.swift rename to Source/AmazonS3RequestManager/S3Error.swift diff --git a/Source/AmazonS3SignatureHelpers.h b/Source/AmazonS3SignatureHelpers.h deleted file mode 100644 index 0dfc7c3..0000000 --- a/Source/AmazonS3SignatureHelpers.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// AmazonS3SignatureHelpers.h -// AmazonS3RequestManager -// -// Based on `AFAmazonS3Manager` by `Matt Thompson` -// -// Created by Anthony Miller. 2015. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -#import <Foundation/Foundation.h> - -@interface AmazonS3SignatureHelpers : NSObject - - -+ (NSString * _Nonnull)AWSSignatureForRequest:(NSURLRequest * _Nonnull)request - timeStamp:(NSString * _Nonnull)timestamp - secret:(NSString * _Nonnull)key; - -+ (NSString * _Nonnull)canonicalizedResourceFromURL:(NSURL * _Nonnull)url; - -@end diff --git a/Source/AmazonS3SignatureHelpers.m b/Source/AmazonS3SignatureHelpers.m deleted file mode 100644 index 5f92305..0000000 --- a/Source/AmazonS3SignatureHelpers.m +++ /dev/null @@ -1,123 +0,0 @@ -// -// AmazonS3SignatureHelpers.m -// AmazonS3RequestManager -// -// Based on `AFAmazonS3Manager` by `Matt Thompson` -// -// Created by Anthony Miller. 2015. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -#import "AmazonS3SignatureHelpers.h" - -#import <CommonCrypto/CommonCrypto.h> - -@implementation AmazonS3SignatureHelpers - -+ (NSString *)AWSSignatureForRequest:(NSURLRequest *)request - timeStamp:(NSString *)timestamp - secret:(NSString *)key -{ - NSMutableDictionary *mutableAMZHeaderFields = [NSMutableDictionary dictionary]; - [[request allHTTPHeaderFields] enumerateKeysAndObjectsUsingBlock:^(NSString *field, id value, __unused BOOL *stop) { - field = [field lowercaseString]; - if ([field hasPrefix:@"x-amz"]) { - if ([mutableAMZHeaderFields objectForKey:field]) { - value = [[mutableAMZHeaderFields objectForKey:field] stringByAppendingFormat:@",%@", value]; - } - [mutableAMZHeaderFields setObject:value forKey:field]; - } - }]; - - NSMutableString *mutableCanonicalizedAMZHeaderString = [NSMutableString string]; - for (NSString *field in [[mutableAMZHeaderFields allKeys] sortedArrayUsingSelector:@selector(compare:)]) { - id value = [mutableAMZHeaderFields objectForKey:field]; - [mutableCanonicalizedAMZHeaderString appendFormat:@"%@:%@\n", field, value]; - } - - NSString *canonicalizedResource = [AmazonS3SignatureHelpers canonicalizedResourceFromURL:request.URL]; - NSString *method = [request HTTPMethod]; - NSString *contentMD5 = [request valueForHTTPHeaderField:@"Content-MD5"]; - NSString *contentType = [request valueForHTTPHeaderField:@"Content-Type"]; - - NSMutableString *mutableString = [NSMutableString string]; - [mutableString appendFormat:@"%@\n", method ? method : @""]; - [mutableString appendFormat:@"%@\n", contentMD5 ? contentMD5 : @""]; - [mutableString appendFormat:@"%@\n", contentType ? contentType : @""]; - [mutableString appendFormat:@"%@\n", timestamp ? timestamp : @""]; - [mutableString appendFormat:@"%@", mutableCanonicalizedAMZHeaderString]; - [mutableString appendFormat:@"%@", canonicalizedResource]; - - NSData *data = [self HMACSHA1EncodedDataFromString:mutableString withKey:key]; - return [self Base64EncodedStringFromData:data]; -} - -+ (NSString *)canonicalizedResourceFromURL:(NSURL *)url -{ - return [url.path stringByAddingPercentEncodingWithAllowedCharacters: [NSCharacterSet URLQueryAllowedCharacterSet]]; -} - -+ (NSData *)HMACSHA1EncodedDataFromString:(NSString *)string withKey:(NSString *)key -{ - NSData *data = [string dataUsingEncoding:NSASCIIStringEncoding]; - CCHmacContext context; - const char *keyCString = [key cStringUsingEncoding:NSASCIIStringEncoding]; - - CCHmacInit(&context, kCCHmacAlgSHA1, keyCString, strlen(keyCString)); - CCHmacUpdate(&context, [data bytes], [data length]); - - unsigned char digestRaw[CC_SHA1_DIGEST_LENGTH]; - NSUInteger digestLength = CC_SHA1_DIGEST_LENGTH; - - CCHmacFinal(&context, digestRaw); - - return [NSData dataWithBytes:digestRaw length:digestLength]; -} - -+ (NSString *)Base64EncodedStringFromData:(NSData *)data -{ - NSUInteger length = [data length]; - NSMutableData *mutableData = [NSMutableData dataWithLength:((length + 2) / 3) * 4]; - - uint8_t *input = (uint8_t *)[data bytes]; - uint8_t *output = (uint8_t *)[mutableData mutableBytes]; - - for (NSUInteger i = 0; i < length; i += 3) { - NSUInteger value = 0; - for (NSUInteger j = i; j < (i + 3); j++) { - value <<= 8; - if (j < length) { - value |= (0xFF & input[j]); - } - } - - static uint8_t const kAFBase64EncodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - - NSUInteger idx = (i / 3) * 4; - output[idx + 0] = kAFBase64EncodingTable[(value >> 18) & 0x3F]; - output[idx + 1] = kAFBase64EncodingTable[(value >> 12) & 0x3F]; - output[idx + 2] = (i + 1) < length ? kAFBase64EncodingTable[(value >> 6) & 0x3F] : '='; - output[idx + 3] = (i + 2) < length ? kAFBase64EncodingTable[(value >> 0) & 0x3F] : '='; - } - - return [[NSString alloc] initWithData:mutableData encoding:NSASCIIStringEncoding]; -} - -@end diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file