diff --git a/.gitignore b/.gitignore index 312d1f6..634c715 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,5 @@ fastlane/report.xml fastlane/Preview.html fastlane/screenshots/**/*.png fastlane/test_output + +*.DS_Store diff --git a/CHANGELOG.md b/CHANGELOG.md index c949742..66d1b3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.8.0] - 2020-02-07 +### Changed +- Renamed library to Netable +- Consolidated iOS and Mac targets to a single target +- Removed MockingJay and updated unit tests using OHHTTPStubs + ## [0.7.0] - 2020-02-03 ### Added - Support for Swift Package Manager diff --git a/Netable.podspec b/Netable.podspec new file mode 100644 index 0000000..8e7288f --- /dev/null +++ b/Netable.podspec @@ -0,0 +1,13 @@ +Pod::Spec.new do |s| + s.name = 'Netable' + s.version = '0.8.0' + s.summary = 'A simple and swifty networking library.' + s.description = 'Netable is a simple Swift framework for working with both simple and non-REST-compliant HTTP endpoints.' + s.homepage = 'https://github.com/steamclock/networkAPI/' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Brendan Lensink' => 'brendan@steamclock.com' } + s.source = { :git => 'https://github.com/steamclock/networkAPI.git', :tag => 'v0.8.0' } + s.ios.deployment_target = '12.0' + s.osx.deployment_target = '10.14' + s.source_files = 'Netable/Netable/*.{swift,h,m}' +end diff --git a/Netable/Netable.xcodeproj/project.pbxproj b/Netable/Netable.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5847b06 --- /dev/null +++ b/Netable/Netable.xcodeproj/project.pbxproj @@ -0,0 +1,731 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 52; + objects = { + +/* Begin PBXBuildFile section */ + B822C8EE23F20E8900D7BDAD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B822C8ED23F20E8900D7BDAD /* AppDelegate.swift */; }; + B822C8F023F20E8900D7BDAD /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B822C8EF23F20E8900D7BDAD /* SceneDelegate.swift */; }; + B822C8F223F20E8900D7BDAD /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B822C8F123F20E8900D7BDAD /* ViewController.swift */; }; + B822C8F523F20E8900D7BDAD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B822C8F323F20E8900D7BDAD /* Main.storyboard */; }; + B822C8F723F20E8B00D7BDAD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B822C8F623F20E8B00D7BDAD /* Assets.xcassets */; }; + B822C8FA23F20E8B00D7BDAD /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B822C8F823F20E8B00D7BDAD /* LaunchScreen.storyboard */; }; + B822C90023F210D800D7BDAD /* CatImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B822C8FF23F210D800D7BDAD /* CatImage.swift */; }; + B888FD4B23ECD20800026A7F /* BuildFile in Frameworks */ = {isa = PBXBuildFile; productRef = B888FD4A23ECD20800026A7F /* SwiftPackageProductDependency */; }; + B888FD4D23ECD20800026A7F /* BuildFile in Frameworks */ = {isa = PBXBuildFile; productRef = B888FD4C23ECD20800026A7F /* SwiftPackageProductDependency */; }; + B8A18C0D23F2201000941EA6 /* Netable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B8C9288023E9F68000DB2B37 /* Netable.framework */; }; + B8A18C0E23F2201000941EA6 /* Netable.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B8C9288023E9F68000DB2B37 /* Netable.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + B8C9288A23E9F68000DB2B37 /* Netable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B8C9288023E9F68000DB2B37 /* Netable.framework */; }; + B8C9288F23E9F68000DB2B37 /* NetableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C9288E23E9F68000DB2B37 /* NetableTests.swift */; }; + B8C9289123E9F68000DB2B37 /* Netable.h in Headers */ = {isa = PBXBuildFile; fileRef = B8C9288323E9F68000DB2B37 /* Netable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B8C9289B23E9F97B00DB2B37 /* Notification.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C9289A23E9F97B00DB2B37 /* Notification.swift */; }; + B8C9289D23E9FA0E00DB2B37 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C9289C23E9FA0E00DB2B37 /* Error.swift */; }; + B8C9289F23E9FB1500DB2B37 /* URLRequest+EncodeParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C9289E23E9FB1500DB2B37 /* URLRequest+EncodeParameters.swift */; }; + B8C928A123E9FBA100DB2B37 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C928A023E9FBA100DB2B37 /* Request.swift */; }; + B8C928A323E9FBEC00DB2B37 /* HTTPMethod.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C928A223E9FBEC00DB2B37 /* HTTPMethod.swift */; }; + B8C928A523E9FC3E00DB2B37 /* URLRequest+Multipart.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C928A423E9FC3E00DB2B37 /* URLRequest+Multipart.swift */; }; + B8C928A723E9FC8D00DB2B37 /* URLRequest+EncodeURL.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C928A623E9FC8D00DB2B37 /* URLRequest+EncodeURL.swift */; }; + B8C928A923E9FDCC00DB2B37 /* Netable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8C928A823E9FDCC00DB2B37 /* Netable.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + B8A18C0F23F2201000941EA6 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B8C9287723E9F68000DB2B37 /* Project object */; + proxyType = 1; + remoteGlobalIDString = B8C9287F23E9F68000DB2B37; + remoteInfo = Netable; + }; + B8C9288B23E9F68000DB2B37 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = B8C9287723E9F68000DB2B37 /* Project object */; + proxyType = 1; + remoteGlobalIDString = B8C9287F23E9F68000DB2B37; + remoteInfo = Netable; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + B8A18C1123F2201000941EA6 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + B8A18C0E23F2201000941EA6 /* Netable.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + B822C8EB23F20E8900D7BDAD /* NetableExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NetableExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B822C8ED23F20E8900D7BDAD /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + B822C8EF23F20E8900D7BDAD /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + B822C8F123F20E8900D7BDAD /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + B822C8F423F20E8900D7BDAD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + B822C8F623F20E8B00D7BDAD /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + B822C8F923F20E8B00D7BDAD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + B822C8FB23F20E8B00D7BDAD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B822C8FF23F210D800D7BDAD /* CatImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CatImage.swift; sourceTree = ""; }; + B8A18C0C23F21FFE00941EA6 /* NetableExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NetableExample.entitlements; sourceTree = ""; }; + B8C9288023E9F68000DB2B37 /* Netable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Netable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B8C9288323E9F68000DB2B37 /* Netable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Netable.h; sourceTree = ""; }; + B8C9288423E9F68000DB2B37 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B8C9288923E9F68000DB2B37 /* NetableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NetableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + B8C9288E23E9F68000DB2B37 /* NetableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetableTests.swift; sourceTree = ""; }; + B8C9289023E9F68000DB2B37 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B8C9289A23E9F97B00DB2B37 /* Notification.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Notification.swift; sourceTree = ""; }; + B8C9289C23E9FA0E00DB2B37 /* Error.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Error.swift; sourceTree = ""; }; + B8C9289E23E9FB1500DB2B37 /* URLRequest+EncodeParameters.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "URLRequest+EncodeParameters.swift"; sourceTree = ""; }; + B8C928A023E9FBA100DB2B37 /* Request.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Request.swift; sourceTree = ""; }; + B8C928A223E9FBEC00DB2B37 /* HTTPMethod.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTTPMethod.swift; sourceTree = ""; }; + B8C928A423E9FC3E00DB2B37 /* URLRequest+Multipart.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URLRequest+Multipart.swift"; sourceTree = ""; }; + B8C928A623E9FC8D00DB2B37 /* URLRequest+EncodeURL.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URLRequest+EncodeURL.swift"; sourceTree = ""; }; + B8C928A823E9FDCC00DB2B37 /* Netable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Netable.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B822C8E823F20E8900D7BDAD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B8A18C0D23F2201000941EA6 /* Netable.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9287D23E9F68000DB2B37 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B888FD4D23ECD20800026A7F /* BuildFile in Frameworks */, + B888FD4B23ECD20800026A7F /* BuildFile in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9288623E9F68000DB2B37 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B8C9288A23E9F68000DB2B37 /* Netable.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + B822C8EC23F20E8900D7BDAD /* NetableExample */ = { + isa = PBXGroup; + children = ( + B8A18C0C23F21FFE00941EA6 /* NetableExample.entitlements */, + B822C8ED23F20E8900D7BDAD /* AppDelegate.swift */, + B822C8EF23F20E8900D7BDAD /* SceneDelegate.swift */, + B822C8F123F20E8900D7BDAD /* ViewController.swift */, + B822C8FF23F210D800D7BDAD /* CatImage.swift */, + B822C8F323F20E8900D7BDAD /* Main.storyboard */, + B822C8F623F20E8B00D7BDAD /* Assets.xcassets */, + B822C8F823F20E8B00D7BDAD /* LaunchScreen.storyboard */, + B822C8FB23F20E8B00D7BDAD /* Info.plist */, + ); + path = NetableExample; + sourceTree = ""; + }; + B8C9287623E9F68000DB2B37 = { + isa = PBXGroup; + children = ( + B8C9288223E9F68000DB2B37 /* Netable */, + B8C9288D23E9F68000DB2B37 /* NetableTests */, + B822C8EC23F20E8900D7BDAD /* NetableExample */, + B8C9288123E9F68000DB2B37 /* Products */, + E670F3A3E320C28D82338D75 /* Pods */, + ); + sourceTree = ""; + }; + B8C9288123E9F68000DB2B37 /* Products */ = { + isa = PBXGroup; + children = ( + B8C9288023E9F68000DB2B37 /* Netable.framework */, + B8C9288923E9F68000DB2B37 /* NetableTests.xctest */, + B822C8EB23F20E8900D7BDAD /* NetableExample.app */, + ); + name = Products; + sourceTree = ""; + }; + B8C9288223E9F68000DB2B37 /* Netable */ = { + isa = PBXGroup; + children = ( + B8C9288323E9F68000DB2B37 /* Netable.h */, + B8C928A823E9FDCC00DB2B37 /* Netable.swift */, + B8C928A023E9FBA100DB2B37 /* Request.swift */, + B8C9289C23E9FA0E00DB2B37 /* Error.swift */, + B8C928A223E9FBEC00DB2B37 /* HTTPMethod.swift */, + B8C928A423E9FC3E00DB2B37 /* URLRequest+Multipart.swift */, + B8C928A623E9FC8D00DB2B37 /* URLRequest+EncodeURL.swift */, + B8C9289E23E9FB1500DB2B37 /* URLRequest+EncodeParameters.swift */, + B8C9289A23E9F97B00DB2B37 /* Notification.swift */, + B8C9288423E9F68000DB2B37 /* Info.plist */, + ); + path = Netable; + sourceTree = ""; + }; + B8C9288D23E9F68000DB2B37 /* NetableTests */ = { + isa = PBXGroup; + children = ( + B8C9288E23E9F68000DB2B37 /* NetableTests.swift */, + B8C9289023E9F68000DB2B37 /* Info.plist */, + ); + path = NetableTests; + sourceTree = ""; + }; + E670F3A3E320C28D82338D75 /* Pods */ = { + isa = PBXGroup; + children = ( + ); + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + B8C9287B23E9F68000DB2B37 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + B8C9289123E9F68000DB2B37 /* Netable.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + B822C8EA23F20E8900D7BDAD /* NetableExample */ = { + isa = PBXNativeTarget; + buildConfigurationList = B822C8FE23F20E8B00D7BDAD /* Build configuration list for PBXNativeTarget "NetableExample" */; + buildPhases = ( + B822C8E723F20E8900D7BDAD /* Sources */, + B822C8E823F20E8900D7BDAD /* Frameworks */, + B822C8E923F20E8900D7BDAD /* Resources */, + B8A18C1123F2201000941EA6 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + B8A18C1023F2201000941EA6 /* PBXTargetDependency */, + ); + name = NetableExample; + productName = NetableExample; + productReference = B822C8EB23F20E8900D7BDAD /* NetableExample.app */; + productType = "com.apple.product-type.application"; + }; + B8C9287F23E9F68000DB2B37 /* Netable */ = { + isa = PBXNativeTarget; + buildConfigurationList = B8C9289423E9F68000DB2B37 /* Build configuration list for PBXNativeTarget "Netable" */; + buildPhases = ( + B8C9287B23E9F68000DB2B37 /* Headers */, + B8C9287C23E9F68000DB2B37 /* Sources */, + B8C9287D23E9F68000DB2B37 /* Frameworks */, + B8C9287E23E9F68000DB2B37 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Netable; + packageProductDependencies = ( + B888FD4A23ECD20800026A7F /* SwiftPackageProductDependency */, + B888FD4C23ECD20800026A7F /* SwiftPackageProductDependency */, + ); + productName = Netable; + productReference = B8C9288023E9F68000DB2B37 /* Netable.framework */; + productType = "com.apple.product-type.framework"; + }; + B8C9288823E9F68000DB2B37 /* NetableTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B8C9289723E9F68000DB2B37 /* Build configuration list for PBXNativeTarget "NetableTests" */; + buildPhases = ( + B8C9288623E9F68000DB2B37 /* Frameworks */, + B8C9288523E9F68000DB2B37 /* Sources */, + B8C9288723E9F68000DB2B37 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B8C9288C23E9F68000DB2B37 /* PBXTargetDependency */, + ); + name = NetableTests; + productName = NetableTests; + productReference = B8C9288923E9F68000DB2B37 /* NetableTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B8C9287723E9F68000DB2B37 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1130; + LastUpgradeCheck = 1130; + ORGANIZATIONNAME = "Steamclock Software"; + TargetAttributes = { + B822C8EA23F20E8900D7BDAD = { + CreatedOnToolsVersion = 11.3.1; + }; + B8C9287F23E9F68000DB2B37 = { + CreatedOnToolsVersion = 11.3.1; + LastSwiftMigration = 1130; + }; + B8C9288823E9F68000DB2B37 = { + CreatedOnToolsVersion = 11.3.1; + }; + }; + }; + buildConfigurationList = B8C9287A23E9F68000DB2B37 /* Build configuration list for PBXProject "Netable" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B8C9287623E9F68000DB2B37; + packageReferences = ( + B888FD4923ECD20800026A7F /* RemoteSwiftPackageReference */, + ); + productRefGroup = B8C9288123E9F68000DB2B37 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B8C9287F23E9F68000DB2B37 /* Netable */, + B8C9288823E9F68000DB2B37 /* NetableTests */, + B822C8EA23F20E8900D7BDAD /* NetableExample */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B822C8E923F20E8900D7BDAD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B822C8FA23F20E8B00D7BDAD /* LaunchScreen.storyboard in Resources */, + B822C8F723F20E8B00D7BDAD /* Assets.xcassets in Resources */, + B822C8F523F20E8900D7BDAD /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9287E23E9F68000DB2B37 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9288723E9F68000DB2B37 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B822C8E723F20E8900D7BDAD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B822C90023F210D800D7BDAD /* CatImage.swift in Sources */, + B822C8F223F20E8900D7BDAD /* ViewController.swift in Sources */, + B822C8EE23F20E8900D7BDAD /* AppDelegate.swift in Sources */, + B822C8F023F20E8900D7BDAD /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9287C23E9F68000DB2B37 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B8C928A723E9FC8D00DB2B37 /* URLRequest+EncodeURL.swift in Sources */, + B8C928A523E9FC3E00DB2B37 /* URLRequest+Multipart.swift in Sources */, + B8C9289F23E9FB1500DB2B37 /* URLRequest+EncodeParameters.swift in Sources */, + B8C928A123E9FBA100DB2B37 /* Request.swift in Sources */, + B8C9289D23E9FA0E00DB2B37 /* Error.swift in Sources */, + B8C928A323E9FBEC00DB2B37 /* HTTPMethod.swift in Sources */, + B8C9289B23E9F97B00DB2B37 /* Notification.swift in Sources */, + B8C928A923E9FDCC00DB2B37 /* Netable.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B8C9288523E9F68000DB2B37 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B8C9288F23E9F68000DB2B37 /* NetableTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + B8A18C1023F2201000941EA6 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B8C9287F23E9F68000DB2B37 /* Netable */; + targetProxy = B8A18C0F23F2201000941EA6 /* PBXContainerItemProxy */; + }; + B8C9288C23E9F68000DB2B37 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B8C9287F23E9F68000DB2B37 /* Netable */; + targetProxy = B8C9288B23E9F68000DB2B37 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + B822C8F323F20E8900D7BDAD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B822C8F423F20E8900D7BDAD /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + B822C8F823F20E8B00D7BDAD /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + B822C8F923F20E8B00D7BDAD /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + B822C8FC23F20E8B00D7BDAD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = NetableExample/NetableExample.entitlements; + CODE_SIGN_STYLE = Automatic; + DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES; + DEVELOPMENT_TEAM = GH868RP95T; + INFOPLIST_FILE = NetableExample/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.NetableExample; + PRODUCT_NAME = NetableExample; + SUPPORTS_MACCATALYST = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B822C8FD23F20E8B00D7BDAD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = NetableExample/NetableExample.entitlements; + CODE_SIGN_STYLE = Automatic; + DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES; + DEVELOPMENT_TEAM = GH868RP95T; + INFOPLIST_FILE = NetableExample/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.NetableExample; + PRODUCT_NAME = NetableExample; + SUPPORTS_MACCATALYST = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B8C9289223E9F68000DB2B37 /* 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_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + 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 = ( + "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 = 13.2; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B8C9289323E9F68000DB2B37 /* 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_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + 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_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 = 13.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + B8C9289523E9F68000DB2B37 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = NO; + DEVELOPMENT_TEAM = GH868RP95T; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Netable/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 0.8.0; + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.Netable; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SUPPORTS_MACCATALYST = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B8C9289623E9F68000DB2B37 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = NO; + DEVELOPMENT_TEAM = GH868RP95T; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Netable/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 0.8.0; + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.Netable; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SUPPORTS_MACCATALYST = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + B8C9289823E9F68000DB2B37 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = GH868RP95T; + INFOPLIST_FILE = NetableTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.NetableTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B8C9289923E9F68000DB2B37 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = GH868RP95T; + INFOPLIST_FILE = NetableTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.NetableTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B822C8FE23F20E8B00D7BDAD /* Build configuration list for PBXNativeTarget "NetableExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B822C8FC23F20E8B00D7BDAD /* Debug */, + B822C8FD23F20E8B00D7BDAD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B8C9287A23E9F68000DB2B37 /* Build configuration list for PBXProject "Netable" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8C9289223E9F68000DB2B37 /* Debug */, + B8C9289323E9F68000DB2B37 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B8C9289423E9F68000DB2B37 /* Build configuration list for PBXNativeTarget "Netable" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8C9289523E9F68000DB2B37 /* Debug */, + B8C9289623E9F68000DB2B37 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B8C9289723E9F68000DB2B37 /* Build configuration list for PBXNativeTarget "NetableTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8C9289823E9F68000DB2B37 /* Debug */, + B8C9289923E9F68000DB2B37 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + B888FD4923ECD20800026A7F /* RemoteSwiftPackageReference */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/AliSoftware/OHHTTPStubs.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 9.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + B888FD4A23ECD20800026A7F /* SwiftPackageProductDependency */ = { + isa = XCSwiftPackageProductDependency; + package = B888FD4923ECD20800026A7F /* RemoteSwiftPackageReference */; + productName = OHHTTPStubs; + }; + B888FD4C23ECD20800026A7F /* SwiftPackageProductDependency */ = { + isa = XCSwiftPackageProductDependency; + package = B888FD4923ECD20800026A7F /* RemoteSwiftPackageReference */; + productName = OHHTTPStubsSwift; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = B8C9287723E9F68000DB2B37 /* Project object */; +} diff --git a/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Netable/Netable.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 69% rename from SCNetworkAPI/SCNetworkAPI.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Netable/Netable.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 1ae99c7..919434a 100644 --- a/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Netable/Netable.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Netable/Netable.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from SCNetworkAPI/SCNetworkAPI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Netable/Netable.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Netable/Netable.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Netable/Netable.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..08dceeb --- /dev/null +++ b/Netable/Netable.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,16 @@ +{ + "object": { + "pins": [ + { + "package": "OHHTTPStubs", + "repositoryURL": "https://github.com/AliSoftware/OHHTTPStubs.git", + "state": { + "branch": null, + "revision": "e92b5a5746ef16add2a1424f1fc19529d9a75cde", + "version": "9.0.0" + } + } + ] + }, + "version": 1 +} diff --git a/SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkAPIMobile.xcscheme b/Netable/Netable.xcodeproj/xcshareddata/xcschemes/Netable.xcscheme similarity index 73% rename from SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkAPIMobile.xcscheme rename to Netable/Netable.xcodeproj/xcshareddata/xcschemes/Netable.xcscheme index 5078821..c923214 100644 --- a/SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkAPIMobile.xcscheme +++ b/Netable/Netable.xcodeproj/xcshareddata/xcschemes/Netable.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "B8C9287F23E9F68000DB2B37" + BuildableName = "Netable.framework" + BlueprintName = "Netable" + ReferencedContainer = "container:Netable.xcodeproj"> @@ -32,10 +32,10 @@ skipped = "NO"> + BlueprintIdentifier = "B8C9288823E9F68000DB2B37" + BuildableName = "NetableTests.xctest" + BlueprintName = "NetableTests" + ReferencedContainer = "container:Netable.xcodeproj"> @@ -60,10 +60,10 @@ + BlueprintIdentifier = "B8C9287F23E9F68000DB2B37" + BuildableName = "Netable.framework" + BlueprintName = "Netable" + ReferencedContainer = "container:Netable.xcodeproj"> diff --git a/SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkExample.xcscheme b/Netable/Netable.xcodeproj/xcshareddata/xcschemes/NetableExample.xcscheme similarity index 74% rename from SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkExample.xcscheme rename to Netable/Netable.xcodeproj/xcshareddata/xcschemes/NetableExample.xcscheme index 85aab24..6bdbe8b 100644 --- a/SCNetworkAPI/SCNetworkAPI.xcodeproj/xcshareddata/xcschemes/SCNetworkExample.xcscheme +++ b/Netable/Netable.xcodeproj/xcshareddata/xcschemes/NetableExample.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "B822C8EA23F20E8900D7BDAD" + BuildableName = "NetableExample.app" + BlueprintName = "NetableExample" + ReferencedContainer = "container:Netable.xcodeproj"> @@ -44,10 +44,10 @@ runnableDebuggingMode = "0"> + BlueprintIdentifier = "B822C8EA23F20E8900D7BDAD" + BuildableName = "NetableExample.app" + BlueprintName = "NetableExample" + ReferencedContainer = "container:Netable.xcodeproj"> @@ -61,10 +61,10 @@ runnableDebuggingMode = "0"> + BlueprintIdentifier = "B822C8EA23F20E8900D7BDAD" + BuildableName = "NetableExample.app" + BlueprintName = "NetableExample" + ReferencedContainer = "container:Netable.xcodeproj"> diff --git a/Netable/Netable/Error.swift b/Netable/Netable/Error.swift new file mode 100644 index 0000000..3be135f --- /dev/null +++ b/Netable/Netable/Error.swift @@ -0,0 +1,73 @@ +// +// Error.swift +// Netable +// +// Created by Jeremy Chiang on 2019-04-08. +// Copyright © 2018 steamclock. All rights reserved. +// + +import Foundation + +public enum NetableError: Error { + case codingError(String) + case decodingError(Error, Data?) + case httpError(Int, Data?) + case malformedURL + case requestFailed(Error) + case wrongServer + case noData + case resourceExtractionError(String) + case unknownError(Error) +} + +extension NetableError: LocalizedError { + public var errorDescription: String? { + switch self { + case .codingError(let message): + return "Coding error: \(message)" + case .decodingError(let error, _): + return "Decoding error: \(error.localizedDescription)" + case .httpError(let statusCode, _): + return "HTTP status code: \(statusCode)" + case .malformedURL: + return "Malformed URL" + case .requestFailed(let error): + return "Request failed: \(error.localizedDescription)" + case .wrongServer: + return "Wrong server" + case .noData: + return "No data" + case .resourceExtractionError(let message): + return "Resource Extraction Error: The raw result could not be turned into the final resource: \(message)" + case .unknownError(let error): + return "Unknown error: \(error.localizedDescription)" + } + } +} + +extension NetableError: Equatable { + public static func == (lhs: NetableError, rhs: NetableError) -> Bool { + switch (lhs, rhs) { + case (.codingError(let lhsMessage), .codingError(let rhsMessage)): + return lhsMessage == rhsMessage + case (.decodingError(let lhsError, let lhsData), .decodingError(let rhsError, let rhsData)): + return lhsError.localizedDescription == rhsError.localizedDescription && lhsData == rhsData + case (.httpError(let lhsCode, let lhsData), .httpError(let rhsCode, let rhsData)): + return lhsCode == rhsCode && lhsData == rhsData + case (.malformedURL, .malformedURL): + return true + case (.requestFailed(let lhsError), .requestFailed(let rhsError)): + return lhsError.localizedDescription == rhsError.localizedDescription + case (.wrongServer, .wrongServer): + return true + case (.noData, .noData): + return true + case (.resourceExtractionError(let lhsMessage), .resourceExtractionError(let rhsMessage)): + return lhsMessage == rhsMessage + case (.unknownError(let lhsError), .unknownError(let rhsError)): + return lhsError.localizedDescription == rhsError.localizedDescription + default: + return false + } + } +} diff --git a/Netable/Netable/HTTPMethod.swift b/Netable/Netable/HTTPMethod.swift new file mode 100644 index 0000000..62a857b --- /dev/null +++ b/Netable/Netable/HTTPMethod.swift @@ -0,0 +1,16 @@ +// +// HTTPMethod.swift +// Netable +// +// Created by Jeremy Chiang on 2020-02-04. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import Foundation + +public enum HTTPMethod: String { + case get = "GET" + case post = "POST" + case put = "PUT" + case patch = "PATCH" +} diff --git a/SCNetworkAPI/Supporting Files/Info.plist b/Netable/Netable/Info.plist similarity index 93% rename from SCNetworkAPI/Supporting Files/Info.plist rename to Netable/Netable/Info.plist index 82790df..c0701c6 100644 --- a/SCNetworkAPI/Supporting Files/Info.plist +++ b/Netable/Netable/Info.plist @@ -13,7 +13,7 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - FMWK + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion diff --git a/Netable/Netable/Netable.h b/Netable/Netable/Netable.h new file mode 100644 index 0000000..9e9dcc4 --- /dev/null +++ b/Netable/Netable/Netable.h @@ -0,0 +1,19 @@ +// +// Netable.h +// Netable +// +// Created by Jeremy Chiang on 2020-02-04. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +#import + +//! Project version number for Netable. +FOUNDATION_EXPORT double NetableVersionNumber; + +//! Project version string for Netable. +FOUNDATION_EXPORT const unsigned char NetableVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/SCNetworkAPI/Source/SCNetworkAPI.swift b/Netable/Netable/Netable.swift similarity index 72% rename from SCNetworkAPI/Source/SCNetworkAPI.swift rename to Netable/Netable/Netable.swift index 4deb1f8..8850985 100644 --- a/SCNetworkAPI/Source/SCNetworkAPI.swift +++ b/Netable/Netable/Netable.swift @@ -1,6 +1,6 @@ // -// SCNetworkAPI.swift -// SCNetworkAPI +// Netable.swift +// Netable // // Created by Nigel Brooke on 2018-10-17. // Copyright © 2018 steamclock. All rights reserved. @@ -9,7 +9,7 @@ import Foundation import QuartzCore -open class NetworkAPI { +open class Netable { private let urlSession: URLSession /// The base URL of your api endpoint. @@ -19,7 +19,7 @@ open class NetworkAPI { public var headers: [String: String] = [:] /** - * Create a new instance of `NetworkAPI` with a base URL. + * Create a new instance of `Netable` with a base URL. * * - parameter baseURL: The base URL of your endpoint. * - parameter configuration: Configuration such as timeouts and caching policies for the underlying url session. @@ -36,9 +36,9 @@ open class NetworkAPI { * - parameter request: The request to send, this has to extend `Request`. * - parameter completion: Your completion handler for the request. */ - public func request(_ request: T, completion unsafeCompletion: @escaping (Result) -> Void) { + public func request(_ request: T, completion unsafeCompletion: @escaping (Result) -> Void) { // Make sure the completion is dispatched on the main thread - let completion: (Result) -> Void = { result in + let completion: (Result) -> Void = { result in DispatchQueue.main.async { unsafeCompletion(result) } @@ -55,7 +55,7 @@ open class NetworkAPI { if T.Parameters.self != Empty.self { try urlRequest.encodeParameters(for: request) } - } catch let error as NetworkAPIError { + } catch let error as NetableError { completion(.failure(error)) } catch { completion(.failure(.unknownError(error))) @@ -73,7 +73,7 @@ open class NetworkAPI { defer { let endTimestamp = CACurrentMediaTime() * 1000 - let userInfo = NetworkAPI.userInfo( + let userInfo = NetableNotification.userInfo( forRequest: urlRequest, data: data, response: response, @@ -82,7 +82,7 @@ open class NetworkAPI { ) NotificationCenter.default.post( - name: Notification.Name.NetworkAPIRequestDidComplete, + name: Notification.Name.NetableRequestDidComplete, object: self, userInfo: userInfo ) @@ -90,13 +90,13 @@ open class NetworkAPI { do { if let error = error { - throw NetworkAPIError.requestFailed(error) + throw NetableError.requestFailed(error) } guard let response = response as? HTTPURLResponse else { fatalError("Casting response to HTTPURLResponse failed") } guard 200...299 ~= response.statusCode else { - throw NetworkAPIError.httpError(response.statusCode, data) + throw NetableError.httpError(response.statusCode, data) } // Attempt to decode the response if we're expecting one @@ -108,13 +108,13 @@ open class NetworkAPI { completion(request.finalize(raw: raw)) } else { guard let data = data else { - throw NetworkAPIError.noData + throw NetableError.noData } let raw = try decoder.decode(T.RawResource.self, from: data) completion(request.finalize(raw: raw)) } - } catch let error as NetworkAPIError { + } catch let error as NetableError { return completion(.failure(error)) } catch { completion(.failure(.decodingError(error, data))) @@ -135,44 +135,6 @@ open class NetworkAPI { } } - // MARK: Utility - - /** - * Encode user info from a successful network request to send through `NotificationCenter` - * - * - parameter request: The request that triggered this response - * - parameter data: Any data supplied by the request response - * - parameter response: The request response - * - parameter error: The request error if applicable - * - * - returns: The user info encoded as a `Dictionary` - */ - static func userInfo(forRequest request: URLRequest?, data: Data?, response: URLResponse?, duration: CFTimeInterval?, error: Swift.Error?) -> [String: Any] { - var userInfo: [String: Any] = [:] - - if let request = request { - userInfo[Notification.NetworkAPI.request] = request - } - - if let data = data { - userInfo[Notification.NetworkAPI.responseData] = data - } - - if let response = response { - userInfo[Notification.NetworkAPI.response] = response - } - - if let duration = duration { - userInfo[Notification.NetworkAPI.duration] = duration - } - - if let error = error { - userInfo[Notification.NetworkAPI.responseError] = error - } - - return userInfo - } - // MARK: Private Helper Functions /** @@ -185,7 +147,7 @@ open class NetworkAPI { internal func fullyQualifiedURLFrom(path: String) throws -> URL { // Make sure the url is a well formed path guard let url = URL(string: path) else { - throw NetworkAPIError.malformedURL + throw NetableError.malformedURL } let finalURL: URL @@ -195,12 +157,12 @@ open class NetworkAPI { finalURL = url guard finalURL.absoluteString.hasPrefix(baseURL.absoluteString) else { - throw NetworkAPIError.wrongServer + throw NetableError.wrongServer } } else { // Partially qualified URL, add baseURL guard let combinedURL = URL(string: path, relativeTo: baseURL) else { - throw NetworkAPIError.malformedURL + throw NetableError.malformedURL } finalURL = combinedURL diff --git a/Netable/Netable/Notification.swift b/Netable/Netable/Notification.swift new file mode 100644 index 0000000..5bbd4e1 --- /dev/null +++ b/Netable/Netable/Notification.swift @@ -0,0 +1,61 @@ +// +// Notification.swift +// Netable +// +// Created by Brendan Lensink on 2018-10-18. +// Copyright © 2018 steamclock. All rights reserved. +// + +import Foundation + +extension Notification.Name { + public static let NetableRequestDidComplete = Notification.Name(rawValue: "com.steamclock.netable.notification.name.requestDidComplete") +} + +extension Notification { + public struct Netable { + public static let request = "com.steamclock.netable.key.request" + public static let response = "com.steamclock.netable.key.response" + public static let responseData = "com.steamclock.netable.key.responseData" + public static let responseError = "com.steamclock.netable.key.responseError" + public static let duration = "com.steamclock.netable.key.duration" + } +} + +class NetableNotification { + /** + * Encode user info from a successful network request to send through `NotificationCenter` + * + * - parameter request: The request that triggered this response + * - parameter data: Any data supplied by the request response + * - parameter response: The request response + * - parameter error: The request error if applicable + * + * - returns: The user info encoded as a `Dictionary` + */ + static func userInfo(forRequest request: URLRequest?, data: Data?, response: URLResponse?, duration: CFTimeInterval?, error: Swift.Error?) -> [String: Any] { + var userInfo: [String: Any] = [:] + + if let request = request { + userInfo[Notification.Netable.request] = request + } + + if let data = data { + userInfo[Notification.Netable.responseData] = data + } + + if let response = response { + userInfo[Notification.Netable.response] = response + } + + if let duration = duration { + userInfo[Notification.Netable.duration] = duration + } + + if let error = error { + userInfo[Notification.Netable.responseError] = error + } + + return userInfo + } +} diff --git a/Netable/Netable/Request.swift b/Netable/Netable/Request.swift new file mode 100644 index 0000000..8a56335 --- /dev/null +++ b/Netable/Netable/Request.swift @@ -0,0 +1,37 @@ +// +// Request.swift +// Netable +// +// Created by Brendan Lensink on 2018-10-18. +// Copyright © 2018 steamclock. All rights reserved. +// + +import Foundation + +public protocol Request { + associatedtype Parameters: Encodable + associatedtype RawResource: Decodable + associatedtype FinalResource: Any = RawResource + + var method: HTTPMethod { get } + var path: String { get } + var parameters: Parameters { get } + + func finalize(raw: RawResource) -> Result +} + +extension Request where FinalResource == RawResource { + public func finalize(raw: RawResource) -> Result { + return .success(raw) + } +} + +public extension Request where Parameters == Empty { + var parameters: Parameters { + return Empty() + } +} + +public struct Empty: Codable { + public static let data = "{}".data(using: .utf8)! +} diff --git a/SCNetworkAPI/Source/URLRequest+EncodeParameters.swift b/Netable/Netable/URLRequest+EncodeParameters.swift similarity index 75% rename from SCNetworkAPI/Source/URLRequest+EncodeParameters.swift rename to Netable/Netable/URLRequest+EncodeParameters.swift index bd5e488..f5e3d13 100644 --- a/SCNetworkAPI/Source/URLRequest+EncodeParameters.swift +++ b/Netable/Netable/URLRequest+EncodeParameters.swift @@ -1,8 +1,9 @@ // // URLRequest+EncodeParameters.swift -// SCNetworkAPIMobile +// Netable // // Created by Brendan Lensink on 2018-10-26. +// Copyright © 2018 steamclock. All rights reserved. // import Foundation @@ -16,14 +17,14 @@ extension Encodable { let params = try? JSONSerialization.jsonObject(with: paramsData), let paramsDictionary = params as? [String: Any] else { - throw NetworkAPIError.codingError("Failed to unwrap parameter dictionary") + throw NetableError.codingError("Failed to unwrap parameter dictionary") } // Make sure that our encoded dictionary doesn't contain any nested collections for (_, value) in paramsDictionary where (value as? [Any]) != nil || (value as? [AnyHashable: Any]) != nil { - throw NetworkAPIError.codingError("Cannot encode nested collections") + throw NetableError.codingError("Cannot encode nested collections") } // Convert anything that isn't a string to a string @@ -33,7 +34,7 @@ extension Encodable { return stringsOnlyDictionary } catch { - throw NetworkAPIError.codingError(error.localizedDescription) + throw NetableError.codingError(error.localizedDescription) } } } @@ -47,7 +48,7 @@ extension URLRequest { let url = url, var components = URLComponents(url: url, resolvingAgainstBaseURL: true) else { - throw NetworkAPIError.codingError("Encoding Error: Failed to unwrap url components") + throw NetableError.codingError("Encoding Error: Failed to unwrap url components") } let paramsDictionary = try request.parameters.toParameterDictionary() @@ -58,7 +59,7 @@ extension URLRequest { self.url = components.url } catch { - throw NetworkAPIError.codingError("Encoding Error: Failed to create url parameters: \(error)") + throw NetableError.codingError("Encoding Error: Failed to create url parameters: \(error)") } case .post: do { @@ -72,7 +73,7 @@ extension URLRequest { fallthrough } } catch { - throw NetworkAPIError.codingError("Encoding Error: Failed to create request body: \(error.localizedDescription)") + throw NetableError.codingError("Encoding Error: Failed to create request body: \(error.localizedDescription)") } default: setValue("application/json", forHTTPHeaderField: "Content-Type") @@ -80,7 +81,7 @@ extension URLRequest { do { httpBody = try JSONEncoder().encode(request.parameters) } catch { - throw NetworkAPIError.codingError("Encoding Error: Failed to create request body: \(error.localizedDescription)") + throw NetableError.codingError("Encoding Error: Failed to create request body: \(error.localizedDescription)") } } } diff --git a/Netable/Netable/URLRequest+EncodeURL.swift b/Netable/Netable/URLRequest+EncodeURL.swift new file mode 100644 index 0000000..4de18c7 --- /dev/null +++ b/Netable/Netable/URLRequest+EncodeURL.swift @@ -0,0 +1,37 @@ +// +// URLRequest+EncodeURL.swift +// Netable +// +// Created by Jeremy Chiang on 2020-02-04. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import Foundation + +public protocol UrlEncodedFormData { } + +extension URLRequest { + private func percentEscapeString(_ string: String) -> String { + var characterSet = CharacterSet.alphanumerics + characterSet.insert(charactersIn: "-._* ") + + return string + .addingPercentEncoding(withAllowedCharacters: characterSet)! + .replacingOccurrences(of: " ", with: "+") + .replacingOccurrences(of: " ", with: "+", options: [], range: nil) + } + + public mutating func setUrlEncodedFormData(_ parameters: [String: String]) { + httpMethod = "POST" + + addValue("application/json, text/plain, */*", forHTTPHeaderField: "Accept") + addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") + + let parameterArray = parameters.map { arg -> String in + let (key, value) = arg + return "\(key)=\(self.percentEscapeString(value))" + } + + httpBody = parameterArray.joined(separator: "&").data(using: String.Encoding.utf8) + } +} diff --git a/SCNetworkAPI/Source/Request.swift b/Netable/Netable/URLRequest+Multipart.swift similarity index 57% rename from SCNetworkAPI/Source/Request.swift rename to Netable/Netable/URLRequest+Multipart.swift index dafa675..ca6da25 100644 --- a/SCNetworkAPI/Source/Request.swift +++ b/Netable/Netable/URLRequest+Multipart.swift @@ -1,52 +1,21 @@ // -// Request.swift -// SCNetworkAPI +// URLRequest+Multipart.swift +// Netable // -// Created by Brendan Lensink on 2018-10-18. -// Copyright © 2018 steamclock. All rights reserved. +// Created by Jeremy Chiang on 2020-02-04. +// Copyright © 2020 Steamclock Software. All rights reserved. // import Foundation -public enum HTTPMethod: String { - case get = "GET" - case post = "POST" - case put = "PUT" - case patch = "PATCH" -} - -public protocol Request { - associatedtype Parameters: Encodable - associatedtype RawResource: Decodable - associatedtype FinalResource: Any = RawResource - - var method: HTTPMethod { get } - var path: String { get } - var parameters: Parameters { get } - - func finalize(raw: RawResource) -> Result -} - -extension Request where FinalResource == RawResource { - public func finalize(raw: RawResource) -> Result { - return .success(raw) - } +public enum MultipartFormDataEncodingError: Error { + case characterSetName + case name(String) + case value(String, name: String) } public protocol MultipartFormData { } -public protocol UrlEncodedFormData { } - -public extension Request where Parameters == Empty { - var parameters: Parameters { - return Empty() - } -} - -public struct Empty: Codable { - public static let data = "{}".data(using: .utf8)! -} - extension URLRequest { /** Configures the URL request for `multipart/form-data`. The request's `httpBody` is set, and a value is set for the HTTP header field `Content-Type`. @@ -104,35 +73,3 @@ extension URLRequest { }() } } - -public enum MultipartFormDataEncodingError: Error { - case characterSetName - case name(String) - case value(String, name: String) -} - -extension URLRequest { - private func percentEscapeString(_ string: String) -> String { - var characterSet = CharacterSet.alphanumerics - characterSet.insert(charactersIn: "-._* ") - - return string - .addingPercentEncoding(withAllowedCharacters: characterSet)! - .replacingOccurrences(of: " ", with: "+") - .replacingOccurrences(of: " ", with: "+", options: [], range: nil) - } - - public mutating func setUrlEncodedFormData(_ parameters: [String: String]) { - httpMethod = "POST" - - addValue("application/json, text/plain, */*", forHTTPHeaderField: "Accept") - addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") - - let parameterArray = parameters.map { arg -> String in - let (key, value) = arg - return "\(key)=\(self.percentEscapeString(value))" - } - - httpBody = parameterArray.joined(separator: "&").data(using: String.Encoding.utf8) - } -} diff --git a/Netable/NetableExample/AppDelegate.swift b/Netable/NetableExample/AppDelegate.swift new file mode 100644 index 0000000..b498dd6 --- /dev/null +++ b/Netable/NetableExample/AppDelegate.swift @@ -0,0 +1,37 @@ +// +// AppDelegate.swift +// NetableExample +// +// Created by Jeremy Chiang on 2020-02-10. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/SCNetworkAPI/SCNetworkExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/Netable/NetableExample/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from SCNetworkAPI/SCNetworkExample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Netable/NetableExample/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/SCNetworkAPI/SCNetworkExample/Assets.xcassets/Contents.json b/Netable/NetableExample/Assets.xcassets/Contents.json similarity index 100% rename from SCNetworkAPI/SCNetworkExample/Assets.xcassets/Contents.json rename to Netable/NetableExample/Assets.xcassets/Contents.json diff --git a/SCNetworkAPI/SCNetworkExample/Base.lproj/LaunchScreen.storyboard b/Netable/NetableExample/Base.lproj/LaunchScreen.storyboard similarity index 91% rename from SCNetworkAPI/SCNetworkExample/Base.lproj/LaunchScreen.storyboard rename to Netable/NetableExample/Base.lproj/LaunchScreen.storyboard index bfa3612..865e932 100644 --- a/SCNetworkAPI/SCNetworkExample/Base.lproj/LaunchScreen.storyboard +++ b/Netable/NetableExample/Base.lproj/LaunchScreen.storyboard @@ -13,7 +13,7 @@ - + diff --git a/Netable/NetableExample/Base.lproj/Main.storyboard b/Netable/NetableExample/Base.lproj/Main.storyboard new file mode 100644 index 0000000..e439339 --- /dev/null +++ b/Netable/NetableExample/Base.lproj/Main.storyboard @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Netable/NetableExample/CatImage.swift b/Netable/NetableExample/CatImage.swift new file mode 100644 index 0000000..ee0e2f7 --- /dev/null +++ b/Netable/NetableExample/CatImage.swift @@ -0,0 +1,53 @@ +// +// CatImage.swift +// NetableExample +// +// Created by Jeremy Chiang on 2020-02-10. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import Netable +import UIKit + +struct CatImage: Decodable { + let id: String + let url: String +} + +struct GetCatImage: Request { + typealias Parameters = [String: String] + typealias RawResource = [CatImage] + typealias FinalResource = UIImage + + public var method: HTTPMethod { return .get } + + public var path: String { + return "images/search" + } + + public var parameters: [String: String] { + return ["mime_type": "jpg,png"] + } + + func finalize(raw: RawResource) -> Result { + guard let catImage = raw.first else { + return .failure(NetableError.resourceExtractionError("The expected cat image array is empty")) + } + + guard let url = URL(string: catImage.url) else { + return .failure(NetableError.resourceExtractionError("The expected cat image url is invalid")) + } + + do { + let data = try Data(contentsOf: url) + + if let image = UIImage(data: data) { + return .success(image) + } else { + return .failure(NetableError.resourceExtractionError("Could not create image from the cat image data")) + } + } catch { + return .failure(NetableError.resourceExtractionError("Could not load contents of the cat image url")) + } + } +} diff --git a/SCNetworkAPI/SCNetworkExample/Info.plist b/Netable/NetableExample/Info.plist similarity index 70% rename from SCNetworkAPI/SCNetworkExample/Info.plist rename to Netable/NetableExample/Info.plist index 1312a7e..2a3483c 100644 --- a/SCNetworkAPI/SCNetworkExample/Info.plist +++ b/Netable/NetableExample/Info.plist @@ -13,13 +13,32 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - APPL + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - $(MARKETING_VERSION) + 1.0 CFBundleVersion 1 LSRequiresIPhoneOS + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + UILaunchStoryboardName LaunchScreen UIMainStoryboardFile diff --git a/SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Netable/NetableExample/NetableExample.entitlements similarity index 66% rename from SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Netable/NetableExample/NetableExample.entitlements index 18d9810..ee95ab7 100644 --- a/SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ b/Netable/NetableExample/NetableExample.entitlements @@ -2,7 +2,9 @@ - IDEDidComputeMac32BitWarning + com.apple.security.app-sandbox + + com.apple.security.network.client diff --git a/Netable/NetableExample/SceneDelegate.swift b/Netable/NetableExample/SceneDelegate.swift new file mode 100644 index 0000000..5ffa00e --- /dev/null +++ b/Netable/NetableExample/SceneDelegate.swift @@ -0,0 +1,53 @@ +// +// SceneDelegate.swift +// NetableExample +// +// Created by Jeremy Chiang on 2020-02-10. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/Netable/NetableExample/ViewController.swift b/Netable/NetableExample/ViewController.swift new file mode 100644 index 0000000..03e58e6 --- /dev/null +++ b/Netable/NetableExample/ViewController.swift @@ -0,0 +1,41 @@ +// +// ViewController.swift +// NetableExample +// +// Created by Jeremy Chiang on 2020-02-10. +// Copyright © 2020 Steamclock Software. All rights reserved. +// + +import Netable +import UIKit + +class ViewController: UIViewController { + + @IBOutlet private var catImageView: UIImageView! + + private let netable = Netable(baseURL: URL(string: "https://api.thecatapi.com/v1/")!) + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + + netable.request(GetCatImage()) { [weak self] result in + guard let self = self else { return } + + switch result { + case .success(let image): + self.catImageView.image = image + case .failure(let error): + let alert = UIAlertController( + title: "Uh oh!", + message: "Get cat image failed with error: \(error)", + preferredStyle: .alert + ) + + alert.addAction(UIAlertAction(title: "OK", style: .cancel)) + self.present(alert, animated: true, completion: nil) + } + } + } +} + diff --git a/SCNetworkAPI/Tests/Info.plist b/Netable/NetableTests/Info.plist similarity index 93% rename from SCNetworkAPI/Tests/Info.plist rename to Netable/NetableTests/Info.plist index 6c40a6c..64d65ca 100644 --- a/SCNetworkAPI/Tests/Info.plist +++ b/Netable/NetableTests/Info.plist @@ -13,7 +13,7 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - BNDL + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString 1.0 CFBundleVersion diff --git a/SCNetworkAPI/Tests/SCNetworkAPITests.swift b/Netable/NetableTests/NetableTests.swift similarity index 73% rename from SCNetworkAPI/Tests/SCNetworkAPITests.swift rename to Netable/NetableTests/NetableTests.swift index da50bef..bf49043 100644 --- a/SCNetworkAPI/Tests/SCNetworkAPITests.swift +++ b/Netable/NetableTests/NetableTests.swift @@ -1,88 +1,71 @@ // -// SCNetworkAPIMobileTests.swift -// SCNetworkAPIMobileTests +// NetableTests.swift +// NetableTests // -// Created by Brendan Lensink on 2018-10-19. +// Created by Jeremy Chiang on 2020-02-04. +// Copyright © 2020 Steamclock Software. All rights reserved. // -import Mockingjay -import enum SCNetworkAPI.NetworkAPIError -import enum SCNetworkAPI.HTTPMethod -@testable import SCNetworkAPI -import XCTest -extension NetworkAPIError: Equatable { - public static func == (lhs: NetworkAPIError, rhs: NetworkAPIError) -> Bool { - switch (lhs, rhs) { - case (.codingError, .codingError): return true - case (.httpError(let lhsCode), .httpError(let rhsCode)): return lhsCode == rhsCode - case (.malformedURL, .malformedURL): return true - // Note that .requestFailed doesn't check the underlying error - case (.requestFailed, .requestFailed): return true - case (.wrongServer, .wrongServer): return true - case (.noData, .noData): return true - default: return false - } - } -} +import XCTest +@testable import Netable +@testable import OHHTTPStubs +@testable import OHHTTPStubsSwift -//swiftlint:disable nesting -class SCNetworkAPIMobileTests: XCTestCase { - var api: NetworkAPI! +class NetableTests: XCTestCase { + let testTimeout: TimeInterval = 15 let baseURL = "https://www.steamclock.com" + var netable: Netable! override func setUp() { - super.setUp() - api = NetworkAPI(baseURL: URL(string: baseURL)!) + // Put setup code here. This method is called before the invocation of each test method in the class. + netable = Netable(baseURL: URL(string: baseURL)!) } override func tearDown() { - super.tearDown() // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + HTTPStubs.removeAllStubs() } // MARK: - fullyQualifiedURLFrom(path: String) Tests func testFullyQualifiedURLIsUnchanged() { - let url = try? api.fullyQualifiedURLFrom(path: baseURL) + let url = try? netable.fullyQualifiedURLFrom(path: baseURL) XCTAssert(url?.absoluteString == baseURL) } func testPartialURLToFullyQualifiedWithSlash() { let path = "/test" - let url = try? api.fullyQualifiedURLFrom(path: path) + let url = try? netable.fullyQualifiedURLFrom(path: path) XCTAssert(url?.absoluteString == baseURL + "/test") } func testPartialURLToFullyQualifiedNoSlash() { let path = "test" - let url = try? api.fullyQualifiedURLFrom(path: path) + let url = try? netable.fullyQualifiedURLFrom(path: path) XCTAssert(url?.absoluteString == baseURL + "/test") } func testInvalidURLDelimReturnsError() { - XCTAssertThrowsError(try api.fullyQualifiedURLFrom(path: "<")) { error in - //swiftlint:disable:next force_cast - XCTAssertEqual(error as! NetworkAPIError, NetworkAPIError.malformedURL) + XCTAssertThrowsError(try netable.fullyQualifiedURLFrom(path: "<")) { error in + XCTAssertEqual(error as! NetableError, NetableError.malformedURL) } } func testInvalidURLControlCharacterReturnsError() { - XCTAssertThrowsError(try api.fullyQualifiedURLFrom(path: "\(UnicodeScalar(00)!)")) { error in - //swiftlint:disable:next force_cast - XCTAssertEqual(error as! NetworkAPIError, NetworkAPIError.malformedURL) + XCTAssertThrowsError(try netable.fullyQualifiedURLFrom(path: "\(UnicodeScalar(00)!)")) { error in + XCTAssertEqual(error as! NetableError, NetableError.malformedURL) } } func testInvalidURLSpaceReturnsError() { - XCTAssertThrowsError(try api.fullyQualifiedURLFrom(path: "\(UnicodeScalar(20)!)")) { error in - //swiftlint:disable:next force_cast - XCTAssertEqual(error as! NetworkAPIError, NetworkAPIError.malformedURL) + XCTAssertThrowsError(try netable.fullyQualifiedURLFrom(path: "\(UnicodeScalar(20)!)")) { error in + XCTAssertEqual(error as! NetableError, NetableError.malformedURL) } } func testFullURLBaseDoesntMatchErrors() { - XCTAssertThrowsError(try api.fullyQualifiedURLFrom(path: "https://www.google.com")) { error in - //swiftlint:disable:next force_cast - XCTAssertEqual(error as! NetworkAPIError, NetworkAPIError.wrongServer) + XCTAssertThrowsError(try netable.fullyQualifiedURLFrom(path: "https://www.google.com")) { error in + XCTAssertEqual(error as! NetableError, NetableError.wrongServer) } } @@ -101,13 +84,13 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["test"] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) do { try urlRequest.encodeParameters(for: TestGETRequest()) - XCTFail("Array parameters passed") - } catch let error as NetworkAPIError { - XCTAssert(error == NetworkAPIError.codingError("")) + } catch let error as NetableError { + XCTAssert(error == NetableError.codingError("Encoding Error: Failed to create url parameters: codingError(\"Coding error: Failed to unwrap parameter dictionary\")")) } catch { XCTFail("Failed to throw correct coding error") } @@ -127,13 +110,13 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["test": ["test"]] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) do { try urlRequest.encodeParameters(for: TestGETRequest()) - XCTFail("Nested dict parameters passed") - } catch let error as NetworkAPIError { - XCTAssert(error == NetworkAPIError.codingError("")) + } catch let error as NetableError { + XCTAssert(error == NetableError.codingError("Encoding Error: Failed to create url parameters: codingError(\"Coding error: Cannot encode nested collections\")")) } catch { XCTFail("Failed to throw correct coding error") } @@ -176,10 +159,9 @@ class SCNetworkAPIMobileTests: XCTestCase { var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) do { try urlRequest.encodeParameters(for: TestGETRequest()) - XCTFail("SVEC parameters passed") - } catch let error as NetworkAPIError { - XCTAssert(error == NetworkAPIError.codingError("")) + } catch let error as NetableError { + XCTAssert(error == NetableError.codingError("Encoding Error: Failed to create url parameters: codingError(\"Coding error: Failed to unwrap parameter dictionary\")")) } catch { XCTFail("Failed to throw correct coding error") } @@ -199,6 +181,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return [:] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestGETRequest()) @@ -224,6 +207,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["type": "!*'();:@&=+$,/?#[] "] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestGETRequest()) @@ -231,6 +215,7 @@ class SCNetworkAPIMobileTests: XCTestCase { XCTFail("Failed to unwrap url from GET request") return } + XCTAssert(url.absoluteString == "https://www.steamclock.com?type=!*'();:@%26%3D+$,/?%23%5B%5D%20") } @@ -248,6 +233,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["type": "test"] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestGETRequest()) @@ -273,6 +259,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["type": 2] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestGETRequest()) @@ -303,6 +290,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return MyParams(a: "foo", b: 2) } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestGETRequest()) @@ -361,9 +349,9 @@ class SCNetworkAPIMobileTests: XCTestCase { } var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) + XCTAssertThrowsError(try urlRequest.encodeParameters(for: TestRequest())) { error in - //swiftlint:disable:next force_cast - XCTAssertEqual(error as! NetworkAPIError, NetworkAPIError.codingError("Request JSON encoding failed, probably due to an invalid value")) + XCTAssertEqual(error as! NetableError, NetableError.codingError("Encoding Error: Failed to create request body: Coding error: The data couldn’t be written because it isn’t in the correct format.")) } } @@ -385,8 +373,8 @@ class SCNetworkAPIMobileTests: XCTestCase { try? urlRequest.encodeParameters(for: TestRequest()) guard let body = urlRequest.httpBody else { - XCTFail("POST Request parameter encoding failed to encode HTTPBody") - return + XCTFail("POST Request parameter encoding failed to encode HTTPBody") + return } XCTAssert(String(data: body, encoding: String.Encoding.utf8) == "{\"test\":\"🤞\"}") @@ -406,6 +394,7 @@ class SCNetworkAPIMobileTests: XCTestCase { return ["test": 1] } } + var urlRequest = URLRequest(url: URL(string: "https://www.steamclock.com")!) try? urlRequest.encodeParameters(for: TestRequest()) @@ -418,61 +407,84 @@ class SCNetworkAPIMobileTests: XCTestCase { } // MARK: - Server Response Tests - func testRequestCommonErrorCodesReturnHTTPError() { - struct TestGETRequest: Request { - typealias Parameters = Empty - typealias RawResource = Empty + struct TestGETRequest: Request { + typealias Parameters = Empty + typealias RawResource = Empty - public var method: HTTPMethod { return .get } - public var path: String + public var method: HTTPMethod { return .get } + public var path: String - init(path: String) { - self.path = path - } + init(path: String) { + self.path = path } + } - let expect401 = XCTestExpectation(description: "401 error caught") - stub(uri("/401"), http(401)) - api.request(TestGETRequest(path: "401")) { result in + func test401() { + stub(condition: isMethodGET()) { _ -> HTTPStubsResponse in + return HTTPStubsResponse(data: Data(), statusCode: 401, headers: nil) + } + + let expect401 = expectation(description: "401 error caught") + + netable.request(TestGETRequest(path: "401")) { result in switch result { case .success: XCTFail("GET request didn't catch 401") case .failure(let error): - if error == NetworkAPIError.httpError(401, Data()) { + if error == NetableError.httpError(401, Data()) { expect401.fulfill() + } else { + XCTFail("GET request didn't catch 401") } - XCTFail("GET request didn't catch 401") } } - let expect404 = XCTestExpectation(description: "404 error caught") - stub(uri("/404"), http(404)) - api.request(TestGETRequest(path: "404")) { result in + waitForExpectations(timeout: testTimeout) + } + + func test404() { + stub(condition: isMethodGET()) { _ -> HTTPStubsResponse in + return HTTPStubsResponse(data: Data(), statusCode: 404, headers: nil) + } + + let expect404 = expectation(description: "404 error caught") + + netable.request(TestGETRequest(path: "404")) { result in switch result { case .success: XCTFail("GET request didn't catch 404") case .failure(let error): - if error == NetworkAPIError.httpError(404, Data()) { + if error == NetableError.httpError(404, Data()) { expect404.fulfill() + } else { + XCTFail("GET request didn't catch 404") } - XCTFail("GET request didn't catch 404") } } - let expect500 = XCTestExpectation(description: "500 error caught") - stub(uri("/500"), http(500)) - api.request(TestGETRequest(path: "500")) { result in + waitForExpectations(timeout: testTimeout) + } + + func test500() { + stub(condition: isMethodGET()) { _ -> HTTPStubsResponse in + return HTTPStubsResponse(data: Data(), statusCode: 500, headers: nil) + } + + let expect500 = expectation(description: "500 error caught") + + netable.request(TestGETRequest(path: "500")) { result in switch result { case .success: XCTFail("GET request didn't catch 500") case .failure(let error): - if error == NetworkAPIError.httpError(500, Data()) { + if error == NetableError.httpError(500, Data()) { expect500.fulfill() + } else { + XCTFail("GET request didn't catch 500") } - XCTFail("GET request didn't catch 500") } } - wait(for: [expect401, expect404, expect500], timeout: 10.0) + waitForExpectations(timeout: testTimeout) } } diff --git a/Package.swift b/Package.swift index 064f703..308a885 100644 --- a/Package.swift +++ b/Package.swift @@ -2,22 +2,22 @@ import PackageDescription let package = Package( - name: "SCNetworkAPI", + name: "Netable", platforms: [ .iOS(.v12), .macOS(.v10_14) ], products: [ .library( - name: "SCNetworkAPI", - targets: ["SCNetworkAPIMobile"] + name: "Netable", + targets: ["Netable"] ) ], dependencies: [ ], targets: [ .target( - name: "SCNetworkAPIMobile", - path: "SCNetworkAPI/Source" + name: "Netable", + path: "Netable/Netable" ) ] ) diff --git a/README.md b/README.md index ade9f27..1d301fa 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# SCNetworkAPI +# Netable -[![CI Status](https://img.shields.io/travis/blensink192@gmail.com/SCNetworkAPI.svg?style=flat)](https://travis-ci.org/blensink192@gmail.com/SCNetworkAPI) -[![Version](https://img.shields.io/cocoapods/v/SCNetworkAPI.svg?style=flat)](https://cocoapods.org/pods/SCNetworkAPI) -[![License](https://img.shields.io/cocoapods/l/SCNetworkAPI.svg?style=flat)](https://cocoapods.org/pods/SCNetworkAPI) -[![Platform](https://img.shields.io/cocoapods/p/SCNetworkAPI.svg?style=flat)](https://cocoapods.org/pods/SCNetworkAPI) +[![CI Status](https://img.shields.io/travis/blensink192@gmail.com/Netable.svg?style=flat)](https://travis-ci.org/blensink192@gmail.com/Netable) +[![Version](https://img.shields.io/cocoapods/v/Netable.svg?style=flat)](https://cocoapods.org/pods/Netable) +[![License](https://img.shields.io/cocoapods/l/Netable.svg?style=flat)](https://cocoapods.org/pods/Netable) +[![Platform](https://img.shields.io/cocoapods/p/Netable.svg?style=flat)](https://cocoapods.org/pods/Netable) ## Example @@ -13,9 +13,9 @@ To run the example project, clone the repo, and run `pod install` from the Examp ### Standard Usage -#### Make a new instance of `NetworkAPI`, and pass in your base URL: +#### Make a new instance of `Netable`, and pass in your base URL: ```swift -let api = NetworkAPI(baseURL: URL(string: "https://api.thecatapi.com/v1/")!) +let netable = Netable(baseURL: URL(string: "https://api.thecatapi.com/v1/")!) ``` #### Extend `Request` @@ -43,7 +43,7 @@ struct GetCatImages: Request { #### Make your request and handle the result: ```swift -api.request(GetCatImages()) { result in +netable.request(GetCatImages()) { result in switch result { case .success(let catImages): if let firstCat = catImages.first, @@ -95,13 +95,13 @@ struct GetCatImageURL: Request { return ["mime_type": "jpg,png"] } - func finalize(raw: RawResource) -> Result { + func finalize(raw: RawResource) -> Result { guard let catImage = raw.first else { - return .failure(NetworkAPIError.resourceExtractionError("The CatImage array is empty")) + return .failure(NetableError.resourceExtractionError("The CatImage array is empty")) } guard let url = URL(string: catImage.url) else { - return .failure(NetworkAPIError.resourceExtractionError("Could not build URL from CatImage url string")) + return .failure(NetableError.resourceExtractionError("Could not build URL from CatImage url string")) } return .success(url) @@ -112,7 +112,7 @@ struct GetCatImageURL: Request { #### This can simplify your networking code: ```swift -api.request(GetCatImageURL()) { result in +netable.request(GetCatImageURL()) { result in switch result { case .success(let catUrl): guard let imageData = try? Data(contentsOf: catUrl) else { @@ -137,19 +137,18 @@ api.request(GetCatImageURL()) { result in ## Installation -SCNetworkAPI is available through [CocoaPods](https://cocoapods.org). To install +Netable is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby -pod 'SCNetworkAPI' +pod 'Netable' ``` -SCNetworkAPI is also available through [Swift Package Manager](https://swift.org/package-manager/). To install it, follow these steps: +Netable is also available through [Swift Package Manager](https://swift.org/package-manager/). To install it, follow these steps: 1. In Xcode, click **File**, then **Swift Package Manager**, then **Add Package Dependency** 2. Choose your project -3. Enter this URL in the search bar `https://github.com/steamclock/networkAPI.git` -4. Choose **branch** and make sure **master** is selected +3. Enter this URL in the search bar `https://github.com/steamclock/netable.git` ## Author @@ -157,4 +156,4 @@ brendan@steamclock.com ## License -SCNetworkAPI is available under the MIT license. See the LICENSE file for more info. +Netable is available under the MIT license. See the LICENSE file for more info. diff --git a/SCNetworkAPI.podspec b/SCNetworkAPI.podspec deleted file mode 100644 index 95afbee..0000000 --- a/SCNetworkAPI.podspec +++ /dev/null @@ -1,15 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'SCNetworkAPI' - s.version = '0.7.0' - s.summary = 'Networking library.' - s.description = <<-DESC -TODO: Add long description of the pod here. - DESC - s.homepage = 'https://github.com/steamclock/networkAPI/' - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.author = { 'Brendan Lensink' => 'brendan@steamclock.com' } - s.source = { :git => 'https://github.com/steamclock/networkAPI.git', :tag => 'v0.7.0' } - s.ios.deployment_target = '10.0' - s.osx.deployment_target = '10.12' - s.source_files = 'SCNetworkAPI/Source/*.{swift,h,m}' -end diff --git a/SCNetworkAPI/.swiftlint.yml b/SCNetworkAPI/.swiftlint.yml deleted file mode 100644 index 23de0af..0000000 --- a/SCNetworkAPI/.swiftlint.yml +++ /dev/null @@ -1,41 +0,0 @@ -excluded: -- Carthage -- Pods - -disabled_rules: -- identifier_name - -force_try: -severity: warning - -force_cast: -severity: warning - -file_length: 500 - -type_body_length: 300 - -line_length: 200 - -function_body_length: 125 - -large_tuple: -warning: 3 -error: 4 - -opt_in_rules: -- closure_end_indentation -- closure_spacing -- empty_count -- explicit_init -- fatal_error_message -- first_where -- let_var_whitespace -- multiline_parameters -- operator_usage_whitespace -- overridden_super_call -- private_outlet -- unneeded_parentheses_in_closure_argument -- prohibited_super_call -- redundant_nil_coalescing -- sorted_imports diff --git a/SCNetworkAPI/Podfile b/SCNetworkAPI/Podfile deleted file mode 100644 index 995b787..0000000 --- a/SCNetworkAPI/Podfile +++ /dev/null @@ -1,46 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'SCNetworkAPIMobile' do - platform :ios, '12.0' - - # Comment the next line if you're not using Swift and don't want to use dynamic frameworks - use_frameworks! - - # Pods for SCNetworkAPIMobile - pod 'SwiftLint' - - target 'SCNetworkAPIMobileTests' do - inherit! :search_paths - # Pods for testing - pod 'Mockingjay', '3.0.0-alpha.1' - end - -end - -target 'SCNetworkAPIOSX' do - platform :osx, '10.14' - - # Comment the next line if you're not using Swift and don't want to use dynamic frameworks - use_frameworks! - - # Pods for SCNetworkAPIOSX - pod 'SwiftLint' - - target 'SCNetworkAPIOSXTests' do - inherit! :search_paths - # Pods for testing - pod 'Mockingjay', '3.0.0-alpha.1' - end - -end - -target 'SCNetworkExample' do - platform :ios, '12.0' - - # Comment the next line if you're not using Swift and don't want to use dynamic frameworks - use_frameworks! - - # Pods for SCNetworkExample - -end diff --git a/SCNetworkAPI/Podfile.lock b/SCNetworkAPI/Podfile.lock deleted file mode 100644 index d716fd2..0000000 --- a/SCNetworkAPI/Podfile.lock +++ /dev/null @@ -1,29 +0,0 @@ -PODS: - - Mockingjay (3.0.0-alpha.1): - - Mockingjay/Core (= 3.0.0-alpha.1) - - Mockingjay/XCTest (= 3.0.0-alpha.1) - - Mockingjay/Core (3.0.0-alpha.1): - - URITemplate (~> 3.0) - - Mockingjay/XCTest (3.0.0-alpha.1): - - Mockingjay/Core - - SwiftLint (0.27.0) - - URITemplate (3.0.0) - -DEPENDENCIES: - - Mockingjay (= 3.0.0-alpha.1) - - SwiftLint - -SPEC REPOS: - https://github.com/cocoapods/specs.git: - - Mockingjay - - SwiftLint - - URITemplate - -SPEC CHECKSUMS: - Mockingjay: 0f7c5aa49c7f1b95621cee3c79b557141f5a225c - SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073 - URITemplate: 58e0d47f967006c5d59888af5356c4a8ed3b197d - -PODFILE CHECKSUM: bc646f41b665415b3f8b18aac6e7d4cae865217a - -COCOAPODS: 1.7.0.rc.1 diff --git a/SCNetworkAPI/Pods/Manifest.lock b/SCNetworkAPI/Pods/Manifest.lock deleted file mode 100644 index d716fd2..0000000 --- a/SCNetworkAPI/Pods/Manifest.lock +++ /dev/null @@ -1,29 +0,0 @@ -PODS: - - Mockingjay (3.0.0-alpha.1): - - Mockingjay/Core (= 3.0.0-alpha.1) - - Mockingjay/XCTest (= 3.0.0-alpha.1) - - Mockingjay/Core (3.0.0-alpha.1): - - URITemplate (~> 3.0) - - Mockingjay/XCTest (3.0.0-alpha.1): - - Mockingjay/Core - - SwiftLint (0.27.0) - - URITemplate (3.0.0) - -DEPENDENCIES: - - Mockingjay (= 3.0.0-alpha.1) - - SwiftLint - -SPEC REPOS: - https://github.com/cocoapods/specs.git: - - Mockingjay - - SwiftLint - - URITemplate - -SPEC CHECKSUMS: - Mockingjay: 0f7c5aa49c7f1b95621cee3c79b557141f5a225c - SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073 - URITemplate: 58e0d47f967006c5d59888af5356c4a8ed3b197d - -PODFILE CHECKSUM: bc646f41b665415b3f8b18aac6e7d4cae865217a - -COCOAPODS: 1.7.0.rc.1 diff --git a/SCNetworkAPI/Pods/Mockingjay/LICENSE b/SCNetworkAPI/Pods/Mockingjay/LICENSE deleted file mode 100644 index 50ab1a1..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2015, Kyle Fuller -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of Mockingjay nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/SCNetworkAPI/Pods/Mockingjay/README.md b/SCNetworkAPI/Pods/Mockingjay/README.md deleted file mode 100644 index 01d7f86..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/README.md +++ /dev/null @@ -1,120 +0,0 @@ -# Mockingjay - -An elegant library for stubbing HTTP requests in Swift, allowing you to stub any HTTP/HTTPS using `NSURLConnection` or `NSURLSession`. That includes any request made from libraries such as [Alamofire](https://github.com/Alamofire/Alamofire) and [AFNetworking](https://github.com/AFNetworking/AFNetworking). - -## Installation - -[CocoaPods](http://cocoapods.org/) is the recommended installation method. - -```ruby -pod 'Mockingjay' -``` - -## Usage - -Mockingjay has full integration to XCTest and you simply just need to register a stub, it will automatically be unloaded at the end of your test case. It will also work with the [Quick](https://github.com/Quick/Quick) behaviour-driven development framework. - -#### Simple stub using a URI Template, returning a response with the given JSON encoded structure - -```swift -let body = [ "user": "Kyle" ] -stub(uri("/{user}/{repository}"), json(body)) -``` - -The `uri` function takes a URL or path which can have a [URI Template](https://github.com/kylef/URITemplate.swift). Such as the following: - -- `https://github.com/kylef/WebLinking.swift` -- `https://github.com/kylef/{repository}` -- `/kylef/{repository}` -- `/kylef/URITemplate.swift` - -#### Stubbing a specific HTTP method with a JSON structure - -```swift -let body = [ "description": "Kyle" ] -stub(http(.put, uri: "/kylef/Mockingjay"), json(body)) -``` - -#### Stubbing everything request to result in an error - -```swift -let error = NSError() -stub(everything, failure(error)) -``` - -#### Stub with a specific HTTP response - -```swift -stub(everything, http(status: 404)) -``` - -*Note, the `http` builder can take a set of headers and a body too.* - -## Stub - -The `stub` method in Mockingjay takes two functions or closures, one to match the request and another to build the response. This allows you to easily extend the syntax to provide your own specific functions. - -```swift -stub(matcher, builder) -``` - -### Matchers - -A matcher is simply a function that takes a request and returns a boolean value for if the stub matches the request. - -```swift -func matcher(request:URLRequest) -> Bool { - return true // Let's match this request -} - -stub(matcher, failure(error)) -``` - -### Builders - -Builders are very similar to a matcher, it takes a request, and it returns either a success or failure response. - -```swift -func builder(request: URLRequest) -> Response { - let response = HTTPURLResponse(url: request.url!, statusCode: 200, httpVersion: nil, headerFields: nil)! - return .success(response, .noContent) -} - -stub(matcher, builder) -``` - -### Generics - -You can make use of the builtin generic matchers and builders. These can be used alone, or in conjunction with custom components. - -### Builtin Matchers - -- `everything` - Matches every given request. -- `uri(template)` - Matches using a URI Template. -- `http(method, template)` - Matches using a HTTP Method and URI Template. - -### Builtin Builders - -- `failure(error)` - Builds a response using the given error. -- `http(status, headers, data)` - Constructs a HTTP response using the given status, headers and data. -- `json(body, status, headers)` - Constructs a JSON HTTP response after serialising the given body as JSON data. -- `jsonData(data, status, headers)` - Constructs a JSON HTTP response with raw JSON data. - -### Using JSON files as test fixtures - -During `setUp`, load the JSON file as `NSData` and use `jsonData`. - -```swift -override func setUp() { - super.setUp() - let url = Bundle(for: type(of: self)).url(forResource: "fixture", withExtension: "json")! - let data = try! Data(contentsOf: url) - stub(matcher, jsonData(data)) -} -``` - -## License - -Mockingjay is licensed under the BSD license. See [LICENSE](LICENSE) for more -info. - diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Builders.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Builders.swift deleted file mode 100644 index d390a9b..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Builders.swift +++ /dev/null @@ -1,48 +0,0 @@ -// -// Builders.swift -// Mockingjay -// -// Created by Kyle Fuller on 01/03/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import Foundation - -// Collection of generic builders - -/// Generic builder for returning a failure -public func failure(_ error: NSError) -> (_ request: URLRequest) -> Response { - return { _ in return .failure(error) } -} - -public func http(_ status:Int = 200, headers:[String:String]? = nil, download:Download=nil) -> (_ request: URLRequest) -> Response { - return { (request:URLRequest) in - if let response = HTTPURLResponse(url: request.url!, statusCode: status, httpVersion: nil, headerFields: headers) { - return Response.success(response, download) - } - - return .failure(NSError(domain: NSExceptionName.internalInconsistencyException.rawValue, code: 0, userInfo: [NSLocalizedDescriptionKey: "Failed to construct response for stub."])) - } -} - -public func json(_ body: Any, status:Int = 200, headers:[String:String]? = nil) -> (_ request: URLRequest) -> Response { - return { (request:URLRequest) in - do { - let data = try JSONSerialization.data(withJSONObject: body, options: JSONSerialization.WritingOptions()) - return jsonData(data, status: status, headers: headers)(request) - } catch { - return .failure(error as NSError) - } - } -} - -public func jsonData(_ data: Data, status: Int = 200, headers: [String:String]? = nil) -> (_ request: URLRequest) -> Response { - return { (request:URLRequest) in - var headers = headers ?? [String:String]() - if headers["Content-Type"] == nil { - headers["Content-Type"] = "application/json; charset=utf-8" - } - - return http(status, headers: headers, download: .content(data))(request) - } -} diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Matchers.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Matchers.swift deleted file mode 100644 index acf5df7..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Matchers.swift +++ /dev/null @@ -1,80 +0,0 @@ -// -// Matchers.swift -// Mockingjay -// -// Created by Kyle Fuller on 28/02/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import Foundation -import URITemplate - -// Collection of generic matchers - -/// Mockingjay matcher which returns true for every request -public func everything(_ request: URLRequest) -> Bool { - return true -} - -/// Mockingjay matcher which matches URIs -public func uri(_ uri:String) -> (_ request: URLRequest) -> Bool { - - return { (request:URLRequest) in - let template = URITemplate(template:uri) - - if let URLString = request.url?.absoluteString { - if template.extract(URLString) != nil { - return true - } - } - - if let path = request.url?.path { - if template.extract(path) != nil { - return true - } - } - - return false - } -} - -public enum HTTPMethod : CustomStringConvertible { - case get - case post - case patch - case put - case delete - case options - case head - - public var description : String { - switch self { - case .get: - return "GET" - case .post: - return "POST" - case .patch: - return "PATCH" - case .put: - return "PUT" - case .delete: - return "DELETE" - case .options: - return "OPTIONS" - case .head: - return "HEAD" - } - } -} - -public func http(_ method: HTTPMethod, uri: String) -> (_ request: URLRequest) -> Bool { - return { (request:URLRequest) in - if let requestMethod = request.httpMethod { - if requestMethod == method.description { - return Mockingjay.uri(uri)(request) - } - } - - return false - } -} diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.h b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.h deleted file mode 100644 index 18e69e4..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// Mockingjay.h -// Mockingjay -// -// Created by Kyle Fuller on 21/01/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -#import - -//! Project version number for Mockingjay. -FOUNDATION_EXPORT double MockingjayVersionNumber; - -//! Project version string for Mockingjay. -FOUNDATION_EXPORT const unsigned char MockingjayVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.swift deleted file mode 100644 index 4bd8e17..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/Mockingjay.swift +++ /dev/null @@ -1,56 +0,0 @@ -// -// Mockingjay.swift -// Mockingjay -// -// Created by Kyle Fuller on 28/02/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import Foundation - -public enum Download: ExpressibleByNilLiteral, Equatable { - public init(nilLiteral: ()) { - self = .noContent - } - - // Simulate download in one step - case content(Data) - - // Simulate download as byte stream - case streamContent(data:Data, inChunksOf:Int) - - // Simulate empty download - case noContent -} - -public func ==(lhs:Download, rhs:Download) -> Bool { - switch(lhs, rhs) { - case let (.content(lhsData), .content(rhsData)): - return (lhsData == rhsData) - case let (.streamContent(data:lhsData, inChunksOf:lhsBytes), .streamContent(data:rhsData, inChunksOf:rhsBytes)): - return (lhsData == rhsData) && lhsBytes == rhsBytes - case (.noContent, .noContent): - return true - default: - return false - } -} - -public enum Response : Equatable { - case success(URLResponse, Download) - case failure(NSError) -} - -public func ==(lhs:Response, rhs:Response) -> Bool { - switch (lhs, rhs) { - case let (.failure(lhsError), .failure(rhsError)): - return lhsError == rhsError - case let (.success(lhsResponse, lhsDownload), .success(rhsResponse, rhsDownload)): - return lhsResponse == rhsResponse && lhsDownload == rhsDownload - default: - return false - } -} - -public typealias Matcher = (URLRequest) -> (Bool) -public typealias Builder = (URLRequest) -> (Response) diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayProtocol.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayProtocol.swift deleted file mode 100644 index 0d224e9..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayProtocol.swift +++ /dev/null @@ -1,206 +0,0 @@ -// -// MockingjayProtocol.swift -// Mockingjay -// -// Created by Kyle Fuller on 28/02/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import Foundation - - -/// Structure representing a registered stub -public struct Stub : Equatable { - let matcher:Matcher - let delay: TimeInterval? - let builder:Builder - let uuid:UUID - - init(matcher:@escaping Matcher, delay: TimeInterval?, builder:@escaping Builder) { - self.matcher = matcher - self.delay = delay - self.builder = builder - uuid = UUID() - } -} - -public func ==(lhs:Stub, rhs:Stub) -> Bool { - return lhs.uuid == rhs.uuid -} - -var stubs = [Stub]() -var registered: Bool = false - -public class MockingjayProtocol: URLProtocol { - // MARK: Stubs - fileprivate var enableDownloading = true - fileprivate let operationQueue = OperationQueue() - - class func addStub(_ stub:Stub) -> Stub { - stubs.append(stub) - - if !registered { - URLProtocol.registerClass(MockingjayProtocol.self) - } - - return stub - } - - /// Register a matcher and a builder as a new stub - @discardableResult open class func addStub(matcher: @escaping Matcher, delay: TimeInterval? = nil, builder: @escaping Builder) -> Stub { - return addStub(Stub(matcher: matcher, delay: delay, builder: builder)) - } - - /// Unregister the given stub - open class func removeStub(_ stub:Stub) { - if let index = stubs.firstIndex(of: stub) { - stubs.remove(at: index) - } - } - - /// Remove all registered stubs - open class func removeAllStubs() { - stubs.removeAll(keepingCapacity: false) - } - - /// Finds the appropriate stub for a request - /// This method searches backwards though the registered requests - /// to find the last registered stub that handles the request. - class func stubForRequest(_ request:URLRequest) -> Stub? { - for stub in stubs.reversed() { - if stub.matcher(request) { - return stub - } - } - - return nil - } - - // MARK: NSURLProtocol - - /// Returns whether there is a registered stub handler for the given request. - override open class func canInit(with request:URLRequest) -> Bool { - return stubForRequest(request) != nil - } - - override open class func canonicalRequest(for request: URLRequest) -> URLRequest { - return request - } - - override open func startLoading() { - if let stub = MockingjayProtocol.stubForRequest(request) { - let response = stub.builder(request) - if let delay = stub.delay { - DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) { - self.sendResponse(response) - } - } else { - sendResponse(response) - } - } else { - let error = NSError(domain: NSExceptionName.internalInconsistencyException.rawValue, code: 0, userInfo: [ NSLocalizedDescriptionKey: "Handling request without a matching stub." ]) - client?.urlProtocol(self, didFailWithError: error) - } - } - - override open func stopLoading() { - self.enableDownloading = false - self.operationQueue.cancelAllOperations() - } - - // MARK: Private Methods - - fileprivate func sendResponse(_ response: Response) { - switch response { - case .failure(let error): - client?.urlProtocol(self, didFailWithError: error) - case .success(var response, let download): - let headers = self.request.allHTTPHeaderFields - - switch(download) { - case .content(var data): - applyRangeFromHTTPHeaders(headers, toData: &data, andUpdateResponse: &response) - client?.urlProtocol(self, didLoad: data) - client?.urlProtocolDidFinishLoading(self) - case .streamContent(data: var data, inChunksOf: let bytes): - applyRangeFromHTTPHeaders(headers, toData: &data, andUpdateResponse: &response) - self.download(data, inChunksOfBytes: bytes) - return - case .noContent: - client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed) - client?.urlProtocolDidFinishLoading(self) - } - } - } - - fileprivate func download(_ data:Data?, inChunksOfBytes bytes:Int) { - guard let data = data else { - client?.urlProtocolDidFinishLoading(self) - return - } - self.operationQueue.maxConcurrentOperationCount = 1 - self.operationQueue.addOperation { () -> Void in - self.download(data, fromOffset: 0, withMaxLength: bytes) - } - } - - - fileprivate func download(_ data:Data, fromOffset offset:Int, withMaxLength maxLength:Int) { - guard let queue = OperationQueue.current else { - return - } - guard (offset < data.count) else { - client?.urlProtocolDidFinishLoading(self) - return - } - let length = min(data.count - offset, maxLength) - - queue.addOperation { () -> Void in - guard self.enableDownloading else { - self.enableDownloading = true - return - } - - let subdata = data.subdata(in: offset ..< (offset + length)) - self.client?.urlProtocol(self, didLoad: subdata) - Thread.sleep(forTimeInterval: 0.01) - self.download(data, fromOffset: offset + length, withMaxLength: maxLength) - } - } - - fileprivate func extractRangeFromHTTPHeaders(_ headers:[String : String]?) -> Range? { - guard let rangeStr = headers?["Range"] else { - return nil - } - let range = rangeStr.components(separatedBy: "=")[1].components(separatedBy: "-").map({ (str) -> Int in - Int(str)! - }) - let loc = range[0] - let length = range[1] + 1 - return loc ..< length - } - - fileprivate func applyRangeFromHTTPHeaders( - _ headers:[String : String]?, - toData data:inout Data, - andUpdateResponse response:inout URLResponse) { - guard let range = extractRangeFromHTTPHeaders(headers) else { - client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed) - return - } - - let fullLength = data.count - data = data.subdata(in: range) - - //Attach new headers to response - if let r = response as? HTTPURLResponse { - var header = r.allHeaderFields as! [String:String] - header["Content-Length"] = String(data.count) - header["Content-Range"] = "bytes \(range.lowerBound)-\(range.upperBound)/\(fullLength)" - response = HTTPURLResponse(url: r.url!, statusCode: r.statusCode, httpVersion: nil, headerFields: header)! - } - - client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed) - } - -} diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayURLSessionConfiguration.m b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayURLSessionConfiguration.m deleted file mode 100644 index f83735a..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/MockingjayURLSessionConfiguration.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// MockingjayURLSessionConfiguration.m -// Mockingjay -// -// Created by Kyle Fuller on 10/05/2016. -// Copyright © 2016 Cocode. All rights reserved. -// - -#import -#import - - -@interface MockingjayURLConfiguration : NSObject - -@end - -@implementation MockingjayURLConfiguration - -+ (void)load { - [NSURLSessionConfiguration mockingjaySwizzleDefaultSessionConfiguration]; -} - -@end \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/NSURLSessionConfiguration.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/NSURLSessionConfiguration.swift deleted file mode 100644 index 1df30ba..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/NSURLSessionConfiguration.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// NSURLSessionConfiguration.swift -// Mockingjay -// -// Created by Kyle Fuller on 01/03/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import Foundation - -let swizzleDefaultSessionConfiguration: Void = { - let defaultSessionConfiguration = class_getClassMethod(URLSessionConfiguration.self, #selector(getter: URLSessionConfiguration.default)) - let mockingjayDefaultSessionConfiguration = class_getClassMethod(URLSessionConfiguration.self, #selector(URLSessionConfiguration.mockingjayDefaultSessionConfiguration)) - method_exchangeImplementations(defaultSessionConfiguration!, mockingjayDefaultSessionConfiguration!) - - let ephemeralSessionConfiguration = class_getClassMethod(URLSessionConfiguration.self, #selector(getter: URLSessionConfiguration.ephemeral)) - let mockingjayEphemeralSessionConfiguration = class_getClassMethod(URLSessionConfiguration.self, #selector(URLSessionConfiguration.mockingjayEphemeralSessionConfiguration)) - method_exchangeImplementations(ephemeralSessionConfiguration!, mockingjayEphemeralSessionConfiguration!) -}() - -extension URLSessionConfiguration { - /// Swizzles NSURLSessionConfiguration's default and ephermeral sessions to add Mockingjay - @objc public class func mockingjaySwizzleDefaultSessionConfiguration() { - _ = swizzleDefaultSessionConfiguration - } - - @objc class func mockingjayDefaultSessionConfiguration() -> URLSessionConfiguration { - let configuration = mockingjayDefaultSessionConfiguration() - configuration.protocolClasses = [MockingjayProtocol.self] as [AnyClass] + configuration.protocolClasses! - return configuration - } - - @objc class func mockingjayEphemeralSessionConfiguration() -> URLSessionConfiguration { - let configuration = mockingjayEphemeralSessionConfiguration() - configuration.protocolClasses = [MockingjayProtocol.self] as [AnyClass] + configuration.protocolClasses! - return configuration - } -} diff --git a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/XCTest.swift b/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/XCTest.swift deleted file mode 100644 index 8e2905a..0000000 --- a/SCNetworkAPI/Pods/Mockingjay/Sources/Mockingjay/XCTest.swift +++ /dev/null @@ -1,63 +0,0 @@ -// -// XCTest.swift -// Mockingjay -// -// Created by Kyle Fuller on 28/02/2015. -// Copyright (c) 2015 Cocode. All rights reserved. -// - -import ObjectiveC -import XCTest - -let swizzleTearDown: Void = { - let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown)) - let mockingjayTearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.mockingjayTearDown)) - method_exchangeImplementations(tearDown!, mockingjayTearDown!) -}() - -var AssociatedMockingjayRemoveStubOnTearDownHandle: UInt8 = 0 -extension XCTest { - // MARK: Stubbing - - /// Whether Mockingjay should remove stubs on teardown - public var mockingjayRemoveStubOnTearDown: Bool { - get { - let associatedResult = objc_getAssociatedObject(self, &AssociatedMockingjayRemoveStubOnTearDownHandle) as? Bool - return associatedResult ?? true - } - - set { - objc_setAssociatedObject(self, &AssociatedMockingjayRemoveStubOnTearDownHandle, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } - } - - @discardableResult public func stub(_ matcher: @escaping Matcher, delay: TimeInterval? = nil, _ builder: @escaping Builder) -> Stub { - if mockingjayRemoveStubOnTearDown { - XCTest.mockingjaySwizzleTearDown() - } - - return MockingjayProtocol.addStub(matcher: matcher, delay: delay, builder: builder) - } - - public func removeStub(_ stub:Stub) { - MockingjayProtocol.removeStub(stub) - } - - public func removeAllStubs() { - MockingjayProtocol.removeAllStubs() - } - - // MARK: Teardown - - public class func mockingjaySwizzleTearDown() { - _ = swizzleTearDown - } - - @objc func mockingjayTearDown() { - mockingjayTearDown() - - if mockingjayRemoveStubOnTearDown { - MockingjayProtocol.removeAllStubs() - } - } -} diff --git a/SCNetworkAPI/Pods/Pods.xcodeproj/project.pbxproj b/SCNetworkAPI/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 7e49c05..0000000 --- a/SCNetworkAPI/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,2108 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 51; - objects = { - -/* Begin PBXAggregateTarget section */ - 2B03D5FD26A26B7D62142EA4492AEB83 /* SwiftLint-iOS */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 15C2581D1D019FF8D7F783E76C884B84 /* Build configuration list for PBXAggregateTarget "SwiftLint-iOS" */; - buildPhases = ( - ); - dependencies = ( - ); - name = "SwiftLint-iOS"; - }; - 9F0E6E0C8BF75091EADD98FA13B1A847 /* SwiftLint-macOS */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 0D0981C130B08F416BEB2EAEC0323E63 /* Build configuration list for PBXAggregateTarget "SwiftLint-macOS" */; - buildPhases = ( - ); - dependencies = ( - ); - name = "SwiftLint-macOS"; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 00066247F5EB8A4D1492F38743BC63E6 /* Mockingjay-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F1028BF471A6073DF7A50D7A5AA43D06 /* Mockingjay-iOS-dummy.m */; }; - 013A9BEFC9829F3202647579B8FFE43C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */; }; - 0A2BC4BEF65FB65DB7FC62518897AFA1 /* Matchers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52FEEB587E35613D34E13DE1CD6DEF9D /* Matchers.swift */; }; - 1119DBA453EC407847BDA81708E997D4 /* Mockingjay.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94FB324CA3ACBA68F1CF4BC6BA55BB4 /* Mockingjay.swift */; }; - 1430B7A0EA8DBD3E32CCF40A68626D00 /* URITemplate-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 064C875B44D25D0E8B4134A8C9C8692E /* URITemplate-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 183C6AF128DF48ECC723BCD2998C1EA3 /* Mockingjay.h in Headers */ = {isa = PBXBuildFile; fileRef = B3D799E40010A4DEBB7D86703141CB19 /* Mockingjay.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 187F3BAC5C919560C5843F884430DE61 /* URITemplate-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D485B8381CB41C57518968E0693094E /* URITemplate-iOS-dummy.m */; }; - 19D9F9049BACFDF5E69B9D79EAB5FD5D /* Mockingjay-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E265337B5C3204B96A3D595A817679AA /* Mockingjay-macOS-dummy.m */; }; - 1A87855D1FC8B4568E55D35BB2DC5580 /* Pods-SCNetworkAPIMobileTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B8C0ABBE187619E554610F7EC623B2CD /* Pods-SCNetworkAPIMobileTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1EC6F42F18DD91ACC9C35083F0FED0E1 /* Mockingjay.h in Headers */ = {isa = PBXBuildFile; fileRef = B3D799E40010A4DEBB7D86703141CB19 /* Mockingjay.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 24567BC061F05B11E41DD0FC78E5BF14 /* Pods-SCNetworkExample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BBA158D9F2137062445A61E55C8EC11 /* Pods-SCNetworkExample-dummy.m */; }; - 246111B23546298955D53AC5324D0C33 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */; }; - 2648F6D720A37B4FF55184DBD659B9E3 /* XCTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80C5D296A78EA35FAAE8825600785376 /* XCTest.swift */; }; - 3222E5B4C52CB77080D696C1BF2564EB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */; }; - 46499C859CC500A06F5E6F1D58CB3584 /* Pods-SCNetworkAPIMobileTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 22BB8596E53CEF45C3AA3BDD64109D8F /* Pods-SCNetworkAPIMobileTests-dummy.m */; }; - 4BF245D57A755C2A3632B47BD1076E8D /* Pods-SCNetworkAPIOSX-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 22A176AB5E3337D8F68D630283819752 /* Pods-SCNetworkAPIOSX-dummy.m */; }; - 4C9D947054BEE24E705D096F4FF28EF9 /* Mockingjay-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F36EE3BD89F98B3F0AAD82FF31DCE8F9 /* Mockingjay-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4E05D3C0055853C4DD6F0998352CBA91 /* MockingjayProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4445ADD702F2983B6E14C1F920C8BB0A /* MockingjayProtocol.swift */; }; - 51AB92A6784E4DB0BCAF090373537BD6 /* Pods-SCNetworkExample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 08E5742F0A8E2C77FEBAB3D4B3BD2599 /* Pods-SCNetworkExample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 524FE19895DA4903C7121C8AE1B3358A /* Pods-SCNetworkAPIMobile-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AB0EEF75D2C87432DA176FEE3F02AD3C /* Pods-SCNetworkAPIMobile-dummy.m */; }; - 59DAA986E31F36A3C59FA07509ADF02D /* Mockingjay.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94FB324CA3ACBA68F1CF4BC6BA55BB4 /* Mockingjay.swift */; }; - 5A32A4CB8934C7AECC6E921B7DF83B20 /* URITemplate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1030925A6E07341E11400881D14407E6 /* URITemplate.framework */; }; - 5AEEDCF1D9A77B94F4698246A42F7DFA /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40919B276E2C77D56246BA35EDA01CA1 /* XCTest.framework */; }; - 5FC679B6C79EEA6DCFBFA0D69A226598 /* XCTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80C5D296A78EA35FAAE8825600785376 /* XCTest.swift */; }; - 62915348C9AC423C5ACD370F7168375C /* URITemplate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7569F70123F9AC6F5F17EF4E065FC0AD /* URITemplate.swift */; }; - 6C33FF329B2C3E4D41545B320F5AE95E /* MockingjayURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBB3EF8D30607982974F76D1255027 /* MockingjayURLSessionConfiguration.m */; }; - 780CEF5EC4F9196DA051A7D4D4B5985A /* Pods-SCNetworkAPIOSX-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F24AED0ABD5294D431F42313BB945F1A /* Pods-SCNetworkAPIOSX-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 78BF43F2963BB5A4503CD3F0208F4C38 /* Pods-SCNetworkAPIMobile-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 70C03526E2289D854796B18760C5D960 /* Pods-SCNetworkAPIMobile-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8CA45F9A548BECFCC35E258C19A2CDC8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */; }; - A5EE78EA9EBCE870A329FFC1119D465F /* URITemplate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1030925A6E07341E11400881D14407E6 /* URITemplate.framework */; }; - A8B234B012D3B15122FEFB926B7A89BC /* NSURLSessionConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D98866E977922FDB8F6B78D5973049C /* NSURLSessionConfiguration.swift */; }; - AC04BE98DF9E92D7B3634A0C574CA079 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */; }; - AD06791FC1C447F69D04D41916C4FAA8 /* URITemplate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7569F70123F9AC6F5F17EF4E065FC0AD /* URITemplate.swift */; }; - B340804E80BA32F4B14E2A41C242A8E5 /* MockingjayProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4445ADD702F2983B6E14C1F920C8BB0A /* MockingjayProtocol.swift */; }; - BEDEE59F53D6A283F1D350DBC9F96AB8 /* Pods-SCNetworkAPIOSXTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 22B6C2CA0DAE364A345C0C2DA1228DF8 /* Pods-SCNetworkAPIOSXTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BF892714ABAB9B99E40C6EE56D84249C /* Matchers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52FEEB587E35613D34E13DE1CD6DEF9D /* Matchers.swift */; }; - C0E9F12E504308A830F1AAABE46FE473 /* NSURLSessionConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D98866E977922FDB8F6B78D5973049C /* NSURLSessionConfiguration.swift */; }; - C227FB4274EBA9EE24734BAE44586BBC /* MockingjayURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBB3EF8D30607982974F76D1255027 /* MockingjayURLSessionConfiguration.m */; }; - C59D433FD773FBC2AAC79574C7D74FDA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */; }; - CB487AE08C90E1A13A58A9DB58BCC99B /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9380B6037F28A85317B160BA6ADC17C5 /* XCTest.framework */; }; - CCC20B160F6F3D7BF02E0706D65B47E4 /* Mockingjay-macOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A7BB7D422BBF9A5DA5845F535474E407 /* Mockingjay-macOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D5F0E93A1C142C8531B1776978248833 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */; }; - DA90BB392C7D9DAB7FE77AD6207387D1 /* Builders.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B811A268468DAD346418037A88377F9 /* Builders.swift */; }; - DAC97165E997265D5A48F7ED3D554362 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */; }; - DB7BB42F41F2D88BE294DCB42A8D7B09 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */; }; - DD0086DBCE97695D311E26D34BDB0D14 /* URITemplate-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B34BF5E20D56599764DCB31DB3D3A513 /* URITemplate-macOS-dummy.m */; }; - E7AE865599CD7605B5DC5C8366D606AC /* Builders.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B811A268468DAD346418037A88377F9 /* Builders.swift */; }; - F221CE39A767C2E6B36D87939F5A8B22 /* Pods-SCNetworkAPIOSXTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3410189BF1599E296B069CC2614C0E72 /* Pods-SCNetworkAPIOSXTests-dummy.m */; }; - F444756D3D608C2F0CCC06B8523D2818 /* URITemplate-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 696B79A451AF78E3C151989AB4A30C09 /* URITemplate-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 0CA7BD25CF489D17A1CAF84329FC70ED /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = DCC8923E903479092DF9D77844CF0816; - remoteInfo = "Mockingjay-iOS"; - }; - 0FECBC00AFC978889EA28077179527F8 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = EE471F940C8C725EF24EDEFDE89B10D7; - remoteInfo = "URITemplate-iOS"; - }; - 11A590A28A795406C57BE9380CC419F3 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9F0E6E0C8BF75091EADD98FA13B1A847; - remoteInfo = "SwiftLint-macOS"; - }; - 3B3DE569C93F61A0E6293DCA263CA967 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 43C813B458D91C865A2D2CBE17335CE2; - remoteInfo = "Pods-SCNetworkAPIMobile"; - }; - 892610B3645F6FF0724BFE167C8096AD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = C019150E6D4DD1A56474B7F4703F0FCD; - remoteInfo = "URITemplate-macOS"; - }; - 92A18E78CEEDC6982A40883BB6698564 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1F6DE0158C39DF578A71C855CDA64180; - remoteInfo = "Pods-SCNetworkAPIOSX"; - }; - 99D939F4B775F27365EB928EB6BC76CE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 2B03D5FD26A26B7D62142EA4492AEB83; - remoteInfo = "SwiftLint-iOS"; - }; - 9E42DA7C244FC6C2052E21DA05F17351 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = EE471F940C8C725EF24EDEFDE89B10D7; - remoteInfo = "URITemplate-iOS"; - }; - BBC44D14AB5D3C18A507B7A7759BF9EE /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = C019150E6D4DD1A56474B7F4703F0FCD; - remoteInfo = "URITemplate-macOS"; - }; - D2A4D927578471A4F27CDAD41195FEF1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = FD100FBF052EBC2FAEB10145B2BF48FA; - remoteInfo = "Mockingjay-macOS"; - }; - E61AA06B3D43237560FC8ACB357E1E28 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 2B03D5FD26A26B7D62142EA4492AEB83; - remoteInfo = "SwiftLint-iOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 00C3CB7068235734CDFE4358C5817088 /* Pods-SCNetworkAPIMobileTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCNetworkAPIMobileTests.modulemap"; sourceTree = ""; }; - 04C3640EB84155818A6E5CF04AA3459F /* Pods-SCNetworkAPIOSX.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCNetworkAPIOSX.modulemap"; sourceTree = ""; }; - 064C875B44D25D0E8B4134A8C9C8692E /* URITemplate-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "URITemplate-macOS-umbrella.h"; path = "../URITemplate-macOS/URITemplate-macOS-umbrella.h"; sourceTree = ""; }; - 0672C51B491919702A03B2E4A4A52920 /* URITemplate.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = URITemplate.framework; path = "URITemplate-macOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 06EC1AE087580F19D3DB27E0F433CC5F /* Pods-SCNetworkAPIOSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIOSX.debug.xcconfig"; sourceTree = ""; }; - 08CFADC41BCB6741E0A885B6E5FD723A /* Pods-SCNetworkAPIOSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIOSX.release.xcconfig"; sourceTree = ""; }; - 08E5742F0A8E2C77FEBAB3D4B3BD2599 /* Pods-SCNetworkExample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCNetworkExample-umbrella.h"; sourceTree = ""; }; - 0A3AF265B1D8CE35D0DE9C749142C9D9 /* Mockingjay-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Mockingjay-iOS.xcconfig"; sourceTree = ""; }; - 0AEA9FA595988FDA60FCBD228042042C /* Pods-SCNetworkAPIOSXTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIOSXTests-acknowledgements.plist"; sourceTree = ""; }; - 0B811A268468DAD346418037A88377F9 /* Builders.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Builders.swift; path = Sources/Mockingjay/Builders.swift; sourceTree = ""; }; - 0BB4F740E94183AEE7D83D06EA98B6E7 /* URITemplate-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "URITemplate-iOS.xcconfig"; sourceTree = ""; }; - 0D98866E977922FDB8F6B78D5973049C /* NSURLSessionConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSURLSessionConfiguration.swift; path = Sources/Mockingjay/NSURLSessionConfiguration.swift; sourceTree = ""; }; - 1030925A6E07341E11400881D14407E6 /* URITemplate.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = URITemplate.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 170EB020DCD680BC268BD1DDB0719E52 /* Pods_SCNetworkAPIOSXTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SCNetworkAPIOSXTests.framework; path = "Pods-SCNetworkAPIOSXTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 19103FEF9F174E75C6DF79A10917C8CA /* Mockingjay-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; name = "Mockingjay-macOS.modulemap"; path = "../Mockingjay-macOS/Mockingjay-macOS.modulemap"; sourceTree = ""; }; - 1FAD8599621B3F18CFFB11D892A2E72C /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIOSXTests.debug.xcconfig"; sourceTree = ""; }; - 22A176AB5E3337D8F68D630283819752 /* Pods-SCNetworkAPIOSX-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCNetworkAPIOSX-dummy.m"; sourceTree = ""; }; - 22B6C2CA0DAE364A345C0C2DA1228DF8 /* Pods-SCNetworkAPIOSXTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCNetworkAPIOSXTests-umbrella.h"; sourceTree = ""; }; - 22BB8596E53CEF45C3AA3BDD64109D8F /* Pods-SCNetworkAPIMobileTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCNetworkAPIMobileTests-dummy.m"; sourceTree = ""; }; - 28B8B7FC080FBBD8D198457329C22F09 /* Pods-SCNetworkExample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCNetworkExample.modulemap"; sourceTree = ""; }; - 2DDBB3EF8D30607982974F76D1255027 /* MockingjayURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MockingjayURLSessionConfiguration.m; path = Sources/Mockingjay/MockingjayURLSessionConfiguration.m; sourceTree = ""; }; - 2E0AE3ED8C97D9836764AD4D38F46AC7 /* Pods-SCNetworkAPIOSX-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCNetworkAPIOSX-acknowledgements.markdown"; sourceTree = ""; }; - 2FC051F961AE31C38967FBFBE365F3D3 /* URITemplate-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "URITemplate-iOS.modulemap"; sourceTree = ""; }; - 3404AEE07E7E3DD7400554F1D43C11BB /* Pods-SCNetworkAPIMobile.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIMobile.release.xcconfig"; sourceTree = ""; }; - 3410189BF1599E296B069CC2614C0E72 /* Pods-SCNetworkAPIOSXTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCNetworkAPIOSXTests-dummy.m"; sourceTree = ""; }; - 3BBA158D9F2137062445A61E55C8EC11 /* Pods-SCNetworkExample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCNetworkExample-dummy.m"; sourceTree = ""; }; - 3D22BAA9BBD9682A298DB3D3409B48DD /* Pods-SCNetworkAPIMobile-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIMobile-acknowledgements.plist"; sourceTree = ""; }; - 40919B276E2C77D56246BA35EDA01CA1 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 4124CA019DB029CC11B0AB2E17E62A33 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIMobileTests.debug.xcconfig"; sourceTree = ""; }; - 4445ADD702F2983B6E14C1F920C8BB0A /* MockingjayProtocol.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MockingjayProtocol.swift; path = Sources/Mockingjay/MockingjayProtocol.swift; sourceTree = ""; }; - 453D1703663DF7860016914EB9DDF7EB /* Pods-SCNetworkAPIMobile.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCNetworkAPIMobile.modulemap"; sourceTree = ""; }; - 52FEEB587E35613D34E13DE1CD6DEF9D /* Matchers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Matchers.swift; path = Sources/Mockingjay/Matchers.swift; sourceTree = ""; }; - 545EB197D58C1786AA1112D11B8504DB /* Mockingjay-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Mockingjay-iOS.modulemap"; sourceTree = ""; }; - 54886C99B085AB4CE9B1DB230E5C3F13 /* Pods_SCNetworkAPIMobileTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SCNetworkAPIMobileTests.framework; path = "Pods-SCNetworkAPIMobileTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 607CDF3E8AD7EAEC7EC693BC29016C93 /* Mockingjay-iOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Mockingjay-iOS-Info.plist"; sourceTree = ""; }; - 614BFE29B3B20E0A9ABB2978A8039AED /* Mockingjay-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Mockingjay-macOS.xcconfig"; path = "../Mockingjay-macOS/Mockingjay-macOS.xcconfig"; sourceTree = ""; }; - 632BEB1B0366EE3A598AF849EC0C7011 /* URITemplate-macOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; name = "URITemplate-macOS.modulemap"; path = "../URITemplate-macOS/URITemplate-macOS.modulemap"; sourceTree = ""; }; - 6406D542BA60E197BB3D7C2402BD2C75 /* Mockingjay.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Mockingjay.framework; path = "Mockingjay-iOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 696B79A451AF78E3C151989AB4A30C09 /* URITemplate-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "URITemplate-iOS-umbrella.h"; sourceTree = ""; }; - 6BEFCFD02844B7C471E00E289C52119F /* Pods-SCNetworkAPIOSXTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCNetworkAPIOSXTests-acknowledgements.markdown"; sourceTree = ""; }; - 6CAFA2F776E7DB79A5856287741F4FEA /* Mockingjay.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Mockingjay.framework; path = "Mockingjay-macOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 6E352BE08155C998B728A0EA3D0208E6 /* URITemplate.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = URITemplate.framework; path = "URITemplate-iOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 70C03526E2289D854796B18760C5D960 /* Pods-SCNetworkAPIMobile-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCNetworkAPIMobile-umbrella.h"; sourceTree = ""; }; - 751A9B851AFC3D228408AD190BC961FE /* SwiftLint-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "SwiftLint-macOS.xcconfig"; path = "../SwiftLint-macOS/SwiftLint-macOS.xcconfig"; sourceTree = ""; }; - 7569F70123F9AC6F5F17EF4E065FC0AD /* URITemplate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URITemplate.swift; path = Sources/URITemplate.swift; sourceTree = ""; }; - 80C5D296A78EA35FAAE8825600785376 /* XCTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = XCTest.swift; path = Sources/Mockingjay/XCTest.swift; sourceTree = ""; }; - 842144CDCD3E2AE9CC31440490D4CF82 /* URITemplate-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "URITemplate-iOS-prefix.pch"; sourceTree = ""; }; - 87F668892B0D3F06244BA68B716D0325 /* Pods_SCNetworkAPIMobile.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SCNetworkAPIMobile.framework; path = "Pods-SCNetworkAPIMobile.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 8873CFD558EF3413AFB9AAB5D310D347 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIMobileTests.release.xcconfig"; sourceTree = ""; }; - 8CAC1B9B8A4CAFACF1AF73716BD9B8D3 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIOSXTests.release.xcconfig"; sourceTree = ""; }; - 8D21CB6972751654429326318D73BB2D /* Pods-SCNetworkAPIMobileTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCNetworkAPIMobileTests-frameworks.sh"; sourceTree = ""; }; - 8E301799BE593C05F4C78C2BE911D8ED /* Pods-SCNetworkAPIMobileTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIMobileTests-Info.plist"; sourceTree = ""; }; - 9380B6037F28A85317B160BA6ADC17C5 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 9489040926F654E23642C84B669E1D42 /* Pods-SCNetworkAPIOSX-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIOSX-acknowledgements.plist"; sourceTree = ""; }; - 9AB41E4F4BB8085C14A078246D4D3D18 /* Pods-SCNetworkAPIMobile-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIMobile-Info.plist"; sourceTree = ""; }; - 9C54D7DD369069464744226ECD2A760D /* Pods-SCNetworkExample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCNetworkExample-acknowledgements.markdown"; sourceTree = ""; }; - 9D485B8381CB41C57518968E0693094E /* URITemplate-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "URITemplate-iOS-dummy.m"; sourceTree = ""; }; - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - A26532D292A9FDF8380D3ACF00963248 /* Pods-SCNetworkAPIOSXTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCNetworkAPIOSXTests-frameworks.sh"; sourceTree = ""; }; - A37FDC07DFA8ED8F7974472E18EC1832 /* Pods-SCNetworkAPIMobile.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkAPIMobile.debug.xcconfig"; sourceTree = ""; }; - A7BB7D422BBF9A5DA5845F535474E407 /* Mockingjay-macOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Mockingjay-macOS-umbrella.h"; path = "../Mockingjay-macOS/Mockingjay-macOS-umbrella.h"; sourceTree = ""; }; - AB0EEF75D2C87432DA176FEE3F02AD3C /* Pods-SCNetworkAPIMobile-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCNetworkAPIMobile-dummy.m"; sourceTree = ""; }; - ABA892D22217AC64037403768AAF3805 /* Pods-SCNetworkAPIOSX-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIOSX-Info.plist"; sourceTree = ""; }; - AE57F224B17AC93956FDF5138C3882DB /* Pods-SCNetworkExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkExample.debug.xcconfig"; sourceTree = ""; }; - AF0504E86FB7CC696E21F2E3878000A5 /* Pods-SCNetworkAPIMobileTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCNetworkAPIMobileTests-acknowledgements.markdown"; sourceTree = ""; }; - AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; - B34BF5E20D56599764DCB31DB3D3A513 /* URITemplate-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "URITemplate-macOS-dummy.m"; path = "../URITemplate-macOS/URITemplate-macOS-dummy.m"; sourceTree = ""; }; - B3D799E40010A4DEBB7D86703141CB19 /* Mockingjay.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Mockingjay.h; path = Sources/Mockingjay/Mockingjay.h; sourceTree = ""; }; - B43D45D029D9DB9A62DB1952BC75FF10 /* Pods-SCNetworkExample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkExample-acknowledgements.plist"; sourceTree = ""; }; - B8C0ABBE187619E554610F7EC623B2CD /* Pods-SCNetworkAPIMobileTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCNetworkAPIMobileTests-umbrella.h"; sourceTree = ""; }; - B94FB324CA3ACBA68F1CF4BC6BA55BB4 /* Mockingjay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Mockingjay.swift; path = Sources/Mockingjay/Mockingjay.swift; sourceTree = ""; }; - B9D03881FD5C630982E821E2B9EEA7F5 /* Pods-SCNetworkAPIOSXTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCNetworkAPIOSXTests.modulemap"; sourceTree = ""; }; - BC20DBF02D184FE539CBBFB46327207E /* URITemplate-macOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "URITemplate-macOS-Info.plist"; path = "../URITemplate-macOS/URITemplate-macOS-Info.plist"; sourceTree = ""; }; - BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - BF2A2BBAD2F049BC3F8ABCA17CA08CF8 /* Mockingjay-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Mockingjay-iOS-prefix.pch"; sourceTree = ""; }; - C2B641C695A844925A00F73803E31B2F /* Pods-SCNetworkAPIOSXTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIOSXTests-Info.plist"; sourceTree = ""; }; - C762B865DAB110CF4DDEE99EFF61B28A /* Pods-SCNetworkExample-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkExample-Info.plist"; sourceTree = ""; }; - D8F9EAD254F9AF0868EA9E8D2B7548D5 /* SwiftLint-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "SwiftLint-iOS.xcconfig"; sourceTree = ""; }; - DCB616D43D99CABDD2FEAF63F1150018 /* Pods_SCNetworkExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SCNetworkExample.framework; path = "Pods-SCNetworkExample.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - DD349D5E50857DDF1CB92E51D864B3E1 /* Pods-SCNetworkExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCNetworkExample.release.xcconfig"; sourceTree = ""; }; - DD49F803E18980272E7A469E692A922F /* URITemplate-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "URITemplate-macOS-prefix.pch"; path = "../URITemplate-macOS/URITemplate-macOS-prefix.pch"; sourceTree = ""; }; - DDA803BC044CEF05F0C33326E467A166 /* Pods-SCNetworkAPIMobileTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCNetworkAPIMobileTests-acknowledgements.plist"; sourceTree = ""; }; - E0339789F2D828C2524AE5EA480A4F2B /* URITemplate-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "URITemplate-macOS.xcconfig"; path = "../URITemplate-macOS/URITemplate-macOS.xcconfig"; sourceTree = ""; }; - E265337B5C3204B96A3D595A817679AA /* Mockingjay-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Mockingjay-macOS-dummy.m"; path = "../Mockingjay-macOS/Mockingjay-macOS-dummy.m"; sourceTree = ""; }; - E2AE17E6F3DAD438FF25FCF452763A75 /* Pods-SCNetworkAPIMobile-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCNetworkAPIMobile-acknowledgements.markdown"; sourceTree = ""; }; - E62002BC023D277425442CD68C3BF5FE /* URITemplate-iOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "URITemplate-iOS-Info.plist"; sourceTree = ""; }; - EF3EFB3671DFAA35494C3D35EC8C49DC /* Mockingjay-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Mockingjay-macOS-prefix.pch"; path = "../Mockingjay-macOS/Mockingjay-macOS-prefix.pch"; sourceTree = ""; }; - F1028BF471A6073DF7A50D7A5AA43D06 /* Mockingjay-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Mockingjay-iOS-dummy.m"; sourceTree = ""; }; - F1A9B74D26A96B43656F2118E0DAC395 /* Mockingjay-macOS-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "Mockingjay-macOS-Info.plist"; path = "../Mockingjay-macOS/Mockingjay-macOS-Info.plist"; sourceTree = ""; }; - F24AED0ABD5294D431F42313BB945F1A /* Pods-SCNetworkAPIOSX-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCNetworkAPIOSX-umbrella.h"; sourceTree = ""; }; - F36EE3BD89F98B3F0AAD82FF31DCE8F9 /* Mockingjay-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Mockingjay-iOS-umbrella.h"; sourceTree = ""; }; - F934C9E66B55207F73998D6A359040FB /* Pods_SCNetworkAPIOSX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SCNetworkAPIOSX.framework; path = "Pods-SCNetworkAPIOSX.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 01B80C57829DBFA120C7F6DE0ACA5AA7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8CA45F9A548BECFCC35E258C19A2CDC8 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 30172B32558E9EF5AC63E39945A04278 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DB7BB42F41F2D88BE294DCB42A8D7B09 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 45A989509F6CFE1CDA900C3E60D0A289 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 013A9BEFC9829F3202647579B8FFE43C /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 687F543961777131F486696FC15399CA /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - D5F0E93A1C142C8531B1776978248833 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7E6D876FF52F2425B93669B04216BF0D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DAC97165E997265D5A48F7ED3D554362 /* Cocoa.framework in Frameworks */, - 5A32A4CB8934C7AECC6E921B7DF83B20 /* URITemplate.framework in Frameworks */, - 5AEEDCF1D9A77B94F4698246A42F7DFA /* XCTest.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AF743927DF63DCE95B724BEC8300435F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3222E5B4C52CB77080D696C1BF2564EB /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CE2ACE5A642874C0424A8E4C79C043B5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 246111B23546298955D53AC5324D0C33 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E85D8AA46D061995B7D4EB94C193A1E1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - AC04BE98DF9E92D7B3634A0C574CA079 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F82F5827986440721B5C5377E61A940D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C59D433FD773FBC2AAC79574C7D74FDA /* Foundation.framework in Frameworks */, - A5EE78EA9EBCE870A329FFC1119D465F /* URITemplate.framework in Frameworks */, - CB487AE08C90E1A13A58A9DB58BCC99B /* XCTest.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0D2DCA69A0FBF55785E59052552719A1 /* Support Files */ = { - isa = PBXGroup; - children = ( - 2FC051F961AE31C38967FBFBE365F3D3 /* URITemplate-iOS.modulemap */, - 0BB4F740E94183AEE7D83D06EA98B6E7 /* URITemplate-iOS.xcconfig */, - 9D485B8381CB41C57518968E0693094E /* URITemplate-iOS-dummy.m */, - E62002BC023D277425442CD68C3BF5FE /* URITemplate-iOS-Info.plist */, - 842144CDCD3E2AE9CC31440490D4CF82 /* URITemplate-iOS-prefix.pch */, - 696B79A451AF78E3C151989AB4A30C09 /* URITemplate-iOS-umbrella.h */, - 632BEB1B0366EE3A598AF849EC0C7011 /* URITemplate-macOS.modulemap */, - E0339789F2D828C2524AE5EA480A4F2B /* URITemplate-macOS.xcconfig */, - B34BF5E20D56599764DCB31DB3D3A513 /* URITemplate-macOS-dummy.m */, - BC20DBF02D184FE539CBBFB46327207E /* URITemplate-macOS-Info.plist */, - DD49F803E18980272E7A469E692A922F /* URITemplate-macOS-prefix.pch */, - 064C875B44D25D0E8B4134A8C9C8692E /* URITemplate-macOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/URITemplate-iOS"; - sourceTree = ""; - }; - 0FB6FABBA53BD1F394659DB88E22BA89 /* OS X */ = { - isa = PBXGroup; - children = ( - AFBE8729EA6E470B820D8ECD14701A47 /* Cocoa.framework */, - 40919B276E2C77D56246BA35EDA01CA1 /* XCTest.framework */, - ); - name = "OS X"; - sourceTree = ""; - }; - 16F2CD7B31C704C3C3DDE01CB98494DA /* Pods-SCNetworkAPIMobileTests */ = { - isa = PBXGroup; - children = ( - 00C3CB7068235734CDFE4358C5817088 /* Pods-SCNetworkAPIMobileTests.modulemap */, - AF0504E86FB7CC696E21F2E3878000A5 /* Pods-SCNetworkAPIMobileTests-acknowledgements.markdown */, - DDA803BC044CEF05F0C33326E467A166 /* Pods-SCNetworkAPIMobileTests-acknowledgements.plist */, - 22BB8596E53CEF45C3AA3BDD64109D8F /* Pods-SCNetworkAPIMobileTests-dummy.m */, - 8D21CB6972751654429326318D73BB2D /* Pods-SCNetworkAPIMobileTests-frameworks.sh */, - 8E301799BE593C05F4C78C2BE911D8ED /* Pods-SCNetworkAPIMobileTests-Info.plist */, - B8C0ABBE187619E554610F7EC623B2CD /* Pods-SCNetworkAPIMobileTests-umbrella.h */, - 4124CA019DB029CC11B0AB2E17E62A33 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */, - 8873CFD558EF3413AFB9AAB5D310D347 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */, - ); - name = "Pods-SCNetworkAPIMobileTests"; - path = "Target Support Files/Pods-SCNetworkAPIMobileTests"; - sourceTree = ""; - }; - 1C47A38C0BCD05A1DED0542853636FD7 /* Pods-SCNetworkExample */ = { - isa = PBXGroup; - children = ( - 28B8B7FC080FBBD8D198457329C22F09 /* Pods-SCNetworkExample.modulemap */, - 9C54D7DD369069464744226ECD2A760D /* Pods-SCNetworkExample-acknowledgements.markdown */, - B43D45D029D9DB9A62DB1952BC75FF10 /* Pods-SCNetworkExample-acknowledgements.plist */, - 3BBA158D9F2137062445A61E55C8EC11 /* Pods-SCNetworkExample-dummy.m */, - C762B865DAB110CF4DDEE99EFF61B28A /* Pods-SCNetworkExample-Info.plist */, - 08E5742F0A8E2C77FEBAB3D4B3BD2599 /* Pods-SCNetworkExample-umbrella.h */, - AE57F224B17AC93956FDF5138C3882DB /* Pods-SCNetworkExample.debug.xcconfig */, - DD349D5E50857DDF1CB92E51D864B3E1 /* Pods-SCNetworkExample.release.xcconfig */, - ); - name = "Pods-SCNetworkExample"; - path = "Target Support Files/Pods-SCNetworkExample"; - sourceTree = ""; - }; - 1FE8FE6BDEE34EBFBE01C9E20BAD0337 /* Pods-SCNetworkAPIOSX */ = { - isa = PBXGroup; - children = ( - 04C3640EB84155818A6E5CF04AA3459F /* Pods-SCNetworkAPIOSX.modulemap */, - 2E0AE3ED8C97D9836764AD4D38F46AC7 /* Pods-SCNetworkAPIOSX-acknowledgements.markdown */, - 9489040926F654E23642C84B669E1D42 /* Pods-SCNetworkAPIOSX-acknowledgements.plist */, - 22A176AB5E3337D8F68D630283819752 /* Pods-SCNetworkAPIOSX-dummy.m */, - ABA892D22217AC64037403768AAF3805 /* Pods-SCNetworkAPIOSX-Info.plist */, - F24AED0ABD5294D431F42313BB945F1A /* Pods-SCNetworkAPIOSX-umbrella.h */, - 06EC1AE087580F19D3DB27E0F433CC5F /* Pods-SCNetworkAPIOSX.debug.xcconfig */, - 08CFADC41BCB6741E0A885B6E5FD723A /* Pods-SCNetworkAPIOSX.release.xcconfig */, - ); - name = "Pods-SCNetworkAPIOSX"; - path = "Target Support Files/Pods-SCNetworkAPIOSX"; - sourceTree = ""; - }; - 221295DB0B383D8C9A6B5EECB8D4A2FD /* Pods */ = { - isa = PBXGroup; - children = ( - 47388173A1191AA251D1F2245BFD6018 /* Mockingjay */, - 77931181A64CDAFD5C31FD8B6251FE99 /* SwiftLint */, - 53F3FF31B1387B6D6F21328316AB0390 /* URITemplate */, - ); - name = Pods; - sourceTree = ""; - }; - 2619A6DF87C89C0FC9766A2F150EDD29 /* XCTest */ = { - isa = PBXGroup; - children = ( - 80C5D296A78EA35FAAE8825600785376 /* XCTest.swift */, - ); - name = XCTest; - sourceTree = ""; - }; - 32AF791EF6373056376965166BA2754F /* Frameworks */ = { - isa = PBXGroup; - children = ( - 1030925A6E07341E11400881D14407E6 /* URITemplate.framework */, - 4966330EDC29F6FB22E0C1E4C4C75040 /* iOS */, - 0FB6FABBA53BD1F394659DB88E22BA89 /* OS X */, - ); - name = Frameworks; - sourceTree = ""; - }; - 4608DA84E4F099DC77BAD2825996E379 /* Support Files */ = { - isa = PBXGroup; - children = ( - D8F9EAD254F9AF0868EA9E8D2B7548D5 /* SwiftLint-iOS.xcconfig */, - 751A9B851AFC3D228408AD190BC961FE /* SwiftLint-macOS.xcconfig */, - ); - name = "Support Files"; - path = "../Target Support Files/SwiftLint-iOS"; - sourceTree = ""; - }; - 47388173A1191AA251D1F2245BFD6018 /* Mockingjay */ = { - isa = PBXGroup; - children = ( - 740E5836EA2CAA2566C5C5B78ACDDD5A /* Core */, - 896A098C7B361141B6492735B060AC67 /* Support Files */, - 2619A6DF87C89C0FC9766A2F150EDD29 /* XCTest */, - ); - name = Mockingjay; - path = Mockingjay; - sourceTree = ""; - }; - 489D95BF99039276AADE61E5CC2682F6 /* Pods-SCNetworkAPIMobile */ = { - isa = PBXGroup; - children = ( - 453D1703663DF7860016914EB9DDF7EB /* Pods-SCNetworkAPIMobile.modulemap */, - E2AE17E6F3DAD438FF25FCF452763A75 /* Pods-SCNetworkAPIMobile-acknowledgements.markdown */, - 3D22BAA9BBD9682A298DB3D3409B48DD /* Pods-SCNetworkAPIMobile-acknowledgements.plist */, - AB0EEF75D2C87432DA176FEE3F02AD3C /* Pods-SCNetworkAPIMobile-dummy.m */, - 9AB41E4F4BB8085C14A078246D4D3D18 /* Pods-SCNetworkAPIMobile-Info.plist */, - 70C03526E2289D854796B18760C5D960 /* Pods-SCNetworkAPIMobile-umbrella.h */, - A37FDC07DFA8ED8F7974472E18EC1832 /* Pods-SCNetworkAPIMobile.debug.xcconfig */, - 3404AEE07E7E3DD7400554F1D43C11BB /* Pods-SCNetworkAPIMobile.release.xcconfig */, - ); - name = "Pods-SCNetworkAPIMobile"; - path = "Target Support Files/Pods-SCNetworkAPIMobile"; - sourceTree = ""; - }; - 4966330EDC29F6FB22E0C1E4C4C75040 /* iOS */ = { - isa = PBXGroup; - children = ( - BC677305AA115E9BA0FC5F641C659D18 /* Foundation.framework */, - 9380B6037F28A85317B160BA6ADC17C5 /* XCTest.framework */, - ); - name = iOS; - sourceTree = ""; - }; - 53F3FF31B1387B6D6F21328316AB0390 /* URITemplate */ = { - isa = PBXGroup; - children = ( - 7569F70123F9AC6F5F17EF4E065FC0AD /* URITemplate.swift */, - 0D2DCA69A0FBF55785E59052552719A1 /* Support Files */, - ); - name = URITemplate; - path = URITemplate; - sourceTree = ""; - }; - 740E5836EA2CAA2566C5C5B78ACDDD5A /* Core */ = { - isa = PBXGroup; - children = ( - 0B811A268468DAD346418037A88377F9 /* Builders.swift */, - 52FEEB587E35613D34E13DE1CD6DEF9D /* Matchers.swift */, - B3D799E40010A4DEBB7D86703141CB19 /* Mockingjay.h */, - B94FB324CA3ACBA68F1CF4BC6BA55BB4 /* Mockingjay.swift */, - 4445ADD702F2983B6E14C1F920C8BB0A /* MockingjayProtocol.swift */, - 2DDBB3EF8D30607982974F76D1255027 /* MockingjayURLSessionConfiguration.m */, - 0D98866E977922FDB8F6B78D5973049C /* NSURLSessionConfiguration.swift */, - ); - name = Core; - sourceTree = ""; - }; - 77931181A64CDAFD5C31FD8B6251FE99 /* SwiftLint */ = { - isa = PBXGroup; - children = ( - 4608DA84E4F099DC77BAD2825996E379 /* Support Files */, - ); - name = SwiftLint; - path = SwiftLint; - sourceTree = ""; - }; - 7EE59E945F1F8AF21799B2F1E61B7F73 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 489D95BF99039276AADE61E5CC2682F6 /* Pods-SCNetworkAPIMobile */, - 16F2CD7B31C704C3C3DDE01CB98494DA /* Pods-SCNetworkAPIMobileTests */, - 1FE8FE6BDEE34EBFBE01C9E20BAD0337 /* Pods-SCNetworkAPIOSX */, - 8AF8564A0A91E1CB249921A8B96A4EEA /* Pods-SCNetworkAPIOSXTests */, - 1C47A38C0BCD05A1DED0542853636FD7 /* Pods-SCNetworkExample */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - 896A098C7B361141B6492735B060AC67 /* Support Files */ = { - isa = PBXGroup; - children = ( - 545EB197D58C1786AA1112D11B8504DB /* Mockingjay-iOS.modulemap */, - 0A3AF265B1D8CE35D0DE9C749142C9D9 /* Mockingjay-iOS.xcconfig */, - F1028BF471A6073DF7A50D7A5AA43D06 /* Mockingjay-iOS-dummy.m */, - 607CDF3E8AD7EAEC7EC693BC29016C93 /* Mockingjay-iOS-Info.plist */, - BF2A2BBAD2F049BC3F8ABCA17CA08CF8 /* Mockingjay-iOS-prefix.pch */, - F36EE3BD89F98B3F0AAD82FF31DCE8F9 /* Mockingjay-iOS-umbrella.h */, - 19103FEF9F174E75C6DF79A10917C8CA /* Mockingjay-macOS.modulemap */, - 614BFE29B3B20E0A9ABB2978A8039AED /* Mockingjay-macOS.xcconfig */, - E265337B5C3204B96A3D595A817679AA /* Mockingjay-macOS-dummy.m */, - F1A9B74D26A96B43656F2118E0DAC395 /* Mockingjay-macOS-Info.plist */, - EF3EFB3671DFAA35494C3D35EC8C49DC /* Mockingjay-macOS-prefix.pch */, - A7BB7D422BBF9A5DA5845F535474E407 /* Mockingjay-macOS-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Mockingjay-iOS"; - sourceTree = ""; - }; - 8AF8564A0A91E1CB249921A8B96A4EEA /* Pods-SCNetworkAPIOSXTests */ = { - isa = PBXGroup; - children = ( - B9D03881FD5C630982E821E2B9EEA7F5 /* Pods-SCNetworkAPIOSXTests.modulemap */, - 6BEFCFD02844B7C471E00E289C52119F /* Pods-SCNetworkAPIOSXTests-acknowledgements.markdown */, - 0AEA9FA595988FDA60FCBD228042042C /* Pods-SCNetworkAPIOSXTests-acknowledgements.plist */, - 3410189BF1599E296B069CC2614C0E72 /* Pods-SCNetworkAPIOSXTests-dummy.m */, - A26532D292A9FDF8380D3ACF00963248 /* Pods-SCNetworkAPIOSXTests-frameworks.sh */, - C2B641C695A844925A00F73803E31B2F /* Pods-SCNetworkAPIOSXTests-Info.plist */, - 22B6C2CA0DAE364A345C0C2DA1228DF8 /* Pods-SCNetworkAPIOSXTests-umbrella.h */, - 1FAD8599621B3F18CFFB11D892A2E72C /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */, - 8CAC1B9B8A4CAFACF1AF73716BD9B8D3 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */, - ); - name = "Pods-SCNetworkAPIOSXTests"; - path = "Target Support Files/Pods-SCNetworkAPIOSXTests"; - sourceTree = ""; - }; - CF1408CF629C7361332E53B88F7BD30C = { - isa = PBXGroup; - children = ( - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, - 32AF791EF6373056376965166BA2754F /* Frameworks */, - 221295DB0B383D8C9A6B5EECB8D4A2FD /* Pods */, - E696CF94DC832A1168664941B4ADD5EA /* Products */, - 7EE59E945F1F8AF21799B2F1E61B7F73 /* Targets Support Files */, - ); - sourceTree = ""; - }; - E696CF94DC832A1168664941B4ADD5EA /* Products */ = { - isa = PBXGroup; - children = ( - 6406D542BA60E197BB3D7C2402BD2C75 /* Mockingjay.framework */, - 6CAFA2F776E7DB79A5856287741F4FEA /* Mockingjay.framework */, - 87F668892B0D3F06244BA68B716D0325 /* Pods_SCNetworkAPIMobile.framework */, - 54886C99B085AB4CE9B1DB230E5C3F13 /* Pods_SCNetworkAPIMobileTests.framework */, - F934C9E66B55207F73998D6A359040FB /* Pods_SCNetworkAPIOSX.framework */, - 170EB020DCD680BC268BD1DDB0719E52 /* Pods_SCNetworkAPIOSXTests.framework */, - DCB616D43D99CABDD2FEAF63F1150018 /* Pods_SCNetworkExample.framework */, - 0672C51B491919702A03B2E4A4A52920 /* URITemplate.framework */, - 6E352BE08155C998B728A0EA3D0208E6 /* URITemplate.framework */, - ); - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 25904A435277147C0839DAFDD8AACD72 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4C9D947054BEE24E705D096F4FF28EF9 /* Mockingjay-iOS-umbrella.h in Headers */, - 183C6AF128DF48ECC723BCD2998C1EA3 /* Mockingjay.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3609BBDACCEEF624554BA223C9A6C856 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - BEDEE59F53D6A283F1D350DBC9F96AB8 /* Pods-SCNetworkAPIOSXTests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6EA16C05D9F339EA569904BB6CD54C3E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - F444756D3D608C2F0CCC06B8523D2818 /* URITemplate-iOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 825D1B500EB8DA8C1F524E11186FAFCD /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 78BF43F2963BB5A4503CD3F0208F4C38 /* Pods-SCNetworkAPIMobile-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9E9A31772F35ADCB0A06D5DA8D38FD85 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 1430B7A0EA8DBD3E32CCF40A68626D00 /* URITemplate-macOS-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - BA50C4E5F27F09EE857EFE2EA545448C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 51AB92A6784E4DB0BCAF090373537BD6 /* Pods-SCNetworkExample-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - CA2A3D325445C68FCA51D3CB6BA1FADE /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - CCC20B160F6F3D7BF02E0706D65B47E4 /* Mockingjay-macOS-umbrella.h in Headers */, - 1EC6F42F18DD91ACC9C35083F0FED0E1 /* Mockingjay.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DD205B601057C239E3CA14E6616B4B4E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 1A87855D1FC8B4568E55D35BB2DC5580 /* Pods-SCNetworkAPIMobileTests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E6837AF2928152E45462F1B37669E017 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 780CEF5EC4F9196DA051A7D4D4B5985A /* Pods-SCNetworkAPIOSX-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 1F6DE0158C39DF578A71C855CDA64180 /* Pods-SCNetworkAPIOSX */ = { - isa = PBXNativeTarget; - buildConfigurationList = A015FB692C3728FB055A33719AF5A40B /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIOSX" */; - buildPhases = ( - E6837AF2928152E45462F1B37669E017 /* Headers */, - B833AB17F12E80D0A08D741B4A6FA2CC /* Sources */, - 30172B32558E9EF5AC63E39945A04278 /* Frameworks */, - 0676EEADCEC7F57034DFFFE7BF1059DD /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - AF92414FFF566B735C29C4B7669DDCA3 /* PBXTargetDependency */, - ); - name = "Pods-SCNetworkAPIOSX"; - productName = "Pods-SCNetworkAPIOSX"; - productReference = F934C9E66B55207F73998D6A359040FB /* Pods_SCNetworkAPIOSX.framework */; - productType = "com.apple.product-type.framework"; - }; - 351107015D53DF9F4B0FEF597D2609A8 /* Pods-SCNetworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 45FDF56A5813F134C423EA8E1EB5232D /* Build configuration list for PBXNativeTarget "Pods-SCNetworkExample" */; - buildPhases = ( - BA50C4E5F27F09EE857EFE2EA545448C /* Headers */, - 705693F3B423900D96E42AC2583568BE /* Sources */, - 01B80C57829DBFA120C7F6DE0ACA5AA7 /* Frameworks */, - 296047CF51A74AFE7DC41E1A4A93C5C5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 341F5C5CEC9F018761745A2902F072D0 /* PBXTargetDependency */, - ); - name = "Pods-SCNetworkExample"; - productName = "Pods-SCNetworkExample"; - productReference = DCB616D43D99CABDD2FEAF63F1150018 /* Pods_SCNetworkExample.framework */; - productType = "com.apple.product-type.framework"; - }; - 43C813B458D91C865A2D2CBE17335CE2 /* Pods-SCNetworkAPIMobile */ = { - isa = PBXNativeTarget; - buildConfigurationList = 9FD715E4345AD26008B5816CB78C7456 /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIMobile" */; - buildPhases = ( - 825D1B500EB8DA8C1F524E11186FAFCD /* Headers */, - 08F852B6CDCDABB13428041B04864D1C /* Sources */, - AF743927DF63DCE95B724BEC8300435F /* Frameworks */, - A1EDA32097F9EE5E0C4D56C0D53213DE /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - FF7C3D7437915F5D42D2FC59828D616F /* PBXTargetDependency */, - ); - name = "Pods-SCNetworkAPIMobile"; - productName = "Pods-SCNetworkAPIMobile"; - productReference = 87F668892B0D3F06244BA68B716D0325 /* Pods_SCNetworkAPIMobile.framework */; - productType = "com.apple.product-type.framework"; - }; - 6613CECBEB335DA6C49462F2410EE0FF /* Pods-SCNetworkAPIOSXTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B5EB1F54722F595A08969E99F07D05C3 /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIOSXTests" */; - buildPhases = ( - 3609BBDACCEEF624554BA223C9A6C856 /* Headers */, - 6C4393D7FB4FD69DFF00DAABC780C89C /* Sources */, - 687F543961777131F486696FC15399CA /* Frameworks */, - A6328F5B2993415E0FA2CD40EC96CE35 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3A43F762BD9F6D3066591433C7F195FA /* PBXTargetDependency */, - E8A97E371F9AE86B8FEE1D4036C0D225 /* PBXTargetDependency */, - 1D9DC943197D66C83B9481C55767F154 /* PBXTargetDependency */, - ); - name = "Pods-SCNetworkAPIOSXTests"; - productName = "Pods-SCNetworkAPIOSXTests"; - productReference = 170EB020DCD680BC268BD1DDB0719E52 /* Pods_SCNetworkAPIOSXTests.framework */; - productType = "com.apple.product-type.framework"; - }; - 8184815950BF38FE8B8407FCDBBF4747 /* Pods-SCNetworkAPIMobileTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B2E4C018A6ED030D2D982AB7561AAA6C /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIMobileTests" */; - buildPhases = ( - DD205B601057C239E3CA14E6616B4B4E /* Headers */, - 88D06A51B6F454422153C44C17830A43 /* Sources */, - E85D8AA46D061995B7D4EB94C193A1E1 /* Frameworks */, - FB901024BEFEBEB9260DECA3807B4001 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - AEE5B98EA17B5F2740FA725768065C67 /* PBXTargetDependency */, - 0A8BC20C020E9E2A6AF5C2029493D456 /* PBXTargetDependency */, - 8E078215EEB73FCE47171375AFC8A84E /* PBXTargetDependency */, - ); - name = "Pods-SCNetworkAPIMobileTests"; - productName = "Pods-SCNetworkAPIMobileTests"; - productReference = 54886C99B085AB4CE9B1DB230E5C3F13 /* Pods_SCNetworkAPIMobileTests.framework */; - productType = "com.apple.product-type.framework"; - }; - C019150E6D4DD1A56474B7F4703F0FCD /* URITemplate-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 78A2D1AA6F53B1C9B7C36E83A551722A /* Build configuration list for PBXNativeTarget "URITemplate-macOS" */; - buildPhases = ( - 9E9A31772F35ADCB0A06D5DA8D38FD85 /* Headers */, - 497D1B2B76A1D150BEC23B94F9260127 /* Sources */, - CE2ACE5A642874C0424A8E4C79C043B5 /* Frameworks */, - 335CE0FD2421FD7975756A5AC1345198 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "URITemplate-macOS"; - productName = "URITemplate-macOS"; - productReference = 0672C51B491919702A03B2E4A4A52920 /* URITemplate.framework */; - productType = "com.apple.product-type.framework"; - }; - DCC8923E903479092DF9D77844CF0816 /* Mockingjay-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = CFA6C433C580D5DF897296380AA9EEBB /* Build configuration list for PBXNativeTarget "Mockingjay-iOS" */; - buildPhases = ( - 25904A435277147C0839DAFDD8AACD72 /* Headers */, - 5CB2CC5F494E7406FFF68D4315783C5B /* Sources */, - F82F5827986440721B5C5377E61A940D /* Frameworks */, - D14E7F3D5C38DE7F589C37624C7DE80F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - F2EA35BF2FAD147FD873E68F5CE70AB1 /* PBXTargetDependency */, - ); - name = "Mockingjay-iOS"; - productName = "Mockingjay-iOS"; - productReference = 6406D542BA60E197BB3D7C2402BD2C75 /* Mockingjay.framework */; - productType = "com.apple.product-type.framework"; - }; - EE471F940C8C725EF24EDEFDE89B10D7 /* URITemplate-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 172F1823E8E7293C1637315D2F15ABE9 /* Build configuration list for PBXNativeTarget "URITemplate-iOS" */; - buildPhases = ( - 6EA16C05D9F339EA569904BB6CD54C3E /* Headers */, - E2311E13922C28C0E9A3DDB64C305F44 /* Sources */, - 45A989509F6CFE1CDA900C3E60D0A289 /* Frameworks */, - 3ECFB17039A8800780659DC755D60B06 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "URITemplate-iOS"; - productName = "URITemplate-iOS"; - productReference = 6E352BE08155C998B728A0EA3D0208E6 /* URITemplate.framework */; - productType = "com.apple.product-type.framework"; - }; - FD100FBF052EBC2FAEB10145B2BF48FA /* Mockingjay-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 09A36E101EA1C4B7200F1E2135F3351F /* Build configuration list for PBXNativeTarget "Mockingjay-macOS" */; - buildPhases = ( - CA2A3D325445C68FCA51D3CB6BA1FADE /* Headers */, - 153ADAD631746A2685A01347F9D27E1D /* Sources */, - 7E6D876FF52F2425B93669B04216BF0D /* Frameworks */, - 363F5C39CD175F82FABA6908CCE1077E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 4B22AD635BD419AB6D08924380E69FB7 /* PBXTargetDependency */, - ); - name = "Mockingjay-macOS"; - productName = "Mockingjay-macOS"; - productReference = 6CAFA2F776E7DB79A5856287741F4FEA /* Mockingjay.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - BFDFE7DC352907FC980B868725387E98 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1020; - LastUpgradeCheck = 1020; - }; - buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 10.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = CF1408CF629C7361332E53B88F7BD30C; - productRefGroup = E696CF94DC832A1168664941B4ADD5EA /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - DCC8923E903479092DF9D77844CF0816 /* Mockingjay-iOS */, - FD100FBF052EBC2FAEB10145B2BF48FA /* Mockingjay-macOS */, - 43C813B458D91C865A2D2CBE17335CE2 /* Pods-SCNetworkAPIMobile */, - 8184815950BF38FE8B8407FCDBBF4747 /* Pods-SCNetworkAPIMobileTests */, - 1F6DE0158C39DF578A71C855CDA64180 /* Pods-SCNetworkAPIOSX */, - 6613CECBEB335DA6C49462F2410EE0FF /* Pods-SCNetworkAPIOSXTests */, - 351107015D53DF9F4B0FEF597D2609A8 /* Pods-SCNetworkExample */, - 2B03D5FD26A26B7D62142EA4492AEB83 /* SwiftLint-iOS */, - 9F0E6E0C8BF75091EADD98FA13B1A847 /* SwiftLint-macOS */, - EE471F940C8C725EF24EDEFDE89B10D7 /* URITemplate-iOS */, - C019150E6D4DD1A56474B7F4703F0FCD /* URITemplate-macOS */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 0676EEADCEC7F57034DFFFE7BF1059DD /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 296047CF51A74AFE7DC41E1A4A93C5C5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 335CE0FD2421FD7975756A5AC1345198 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363F5C39CD175F82FABA6908CCE1077E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3ECFB17039A8800780659DC755D60B06 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A1EDA32097F9EE5E0C4D56C0D53213DE /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A6328F5B2993415E0FA2CD40EC96CE35 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D14E7F3D5C38DE7F589C37624C7DE80F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FB901024BEFEBEB9260DECA3807B4001 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 08F852B6CDCDABB13428041B04864D1C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 524FE19895DA4903C7121C8AE1B3358A /* Pods-SCNetworkAPIMobile-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 153ADAD631746A2685A01347F9D27E1D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E7AE865599CD7605B5DC5C8366D606AC /* Builders.swift in Sources */, - 0A2BC4BEF65FB65DB7FC62518897AFA1 /* Matchers.swift in Sources */, - 19D9F9049BACFDF5E69B9D79EAB5FD5D /* Mockingjay-macOS-dummy.m in Sources */, - 59DAA986E31F36A3C59FA07509ADF02D /* Mockingjay.swift in Sources */, - 4E05D3C0055853C4DD6F0998352CBA91 /* MockingjayProtocol.swift in Sources */, - 6C33FF329B2C3E4D41545B320F5AE95E /* MockingjayURLSessionConfiguration.m in Sources */, - A8B234B012D3B15122FEFB926B7A89BC /* NSURLSessionConfiguration.swift in Sources */, - 5FC679B6C79EEA6DCFBFA0D69A226598 /* XCTest.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 497D1B2B76A1D150BEC23B94F9260127 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DD0086DBCE97695D311E26D34BDB0D14 /* URITemplate-macOS-dummy.m in Sources */, - 62915348C9AC423C5ACD370F7168375C /* URITemplate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 5CB2CC5F494E7406FFF68D4315783C5B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DA90BB392C7D9DAB7FE77AD6207387D1 /* Builders.swift in Sources */, - BF892714ABAB9B99E40C6EE56D84249C /* Matchers.swift in Sources */, - 00066247F5EB8A4D1492F38743BC63E6 /* Mockingjay-iOS-dummy.m in Sources */, - 1119DBA453EC407847BDA81708E997D4 /* Mockingjay.swift in Sources */, - B340804E80BA32F4B14E2A41C242A8E5 /* MockingjayProtocol.swift in Sources */, - C227FB4274EBA9EE24734BAE44586BBC /* MockingjayURLSessionConfiguration.m in Sources */, - C0E9F12E504308A830F1AAABE46FE473 /* NSURLSessionConfiguration.swift in Sources */, - 2648F6D720A37B4FF55184DBD659B9E3 /* XCTest.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6C4393D7FB4FD69DFF00DAABC780C89C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F221CE39A767C2E6B36D87939F5A8B22 /* Pods-SCNetworkAPIOSXTests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 705693F3B423900D96E42AC2583568BE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24567BC061F05B11E41DD0FC78E5BF14 /* Pods-SCNetworkExample-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 88D06A51B6F454422153C44C17830A43 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 46499C859CC500A06F5E6F1D58CB3584 /* Pods-SCNetworkAPIMobileTests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B833AB17F12E80D0A08D741B4A6FA2CC /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4BF245D57A755C2A3632B47BD1076E8D /* Pods-SCNetworkAPIOSX-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E2311E13922C28C0E9A3DDB64C305F44 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 187F3BAC5C919560C5843F884430DE61 /* URITemplate-iOS-dummy.m in Sources */, - AD06791FC1C447F69D04D41916C4FAA8 /* URITemplate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 0A8BC20C020E9E2A6AF5C2029493D456 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Pods-SCNetworkAPIMobile"; - target = 43C813B458D91C865A2D2CBE17335CE2 /* Pods-SCNetworkAPIMobile */; - targetProxy = 3B3DE569C93F61A0E6293DCA263CA967 /* PBXContainerItemProxy */; - }; - 1D9DC943197D66C83B9481C55767F154 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "URITemplate-macOS"; - target = C019150E6D4DD1A56474B7F4703F0FCD /* URITemplate-macOS */; - targetProxy = BBC44D14AB5D3C18A507B7A7759BF9EE /* PBXContainerItemProxy */; - }; - 341F5C5CEC9F018761745A2902F072D0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SwiftLint-iOS"; - target = 2B03D5FD26A26B7D62142EA4492AEB83 /* SwiftLint-iOS */; - targetProxy = E61AA06B3D43237560FC8ACB357E1E28 /* PBXContainerItemProxy */; - }; - 3A43F762BD9F6D3066591433C7F195FA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Mockingjay-macOS"; - target = FD100FBF052EBC2FAEB10145B2BF48FA /* Mockingjay-macOS */; - targetProxy = D2A4D927578471A4F27CDAD41195FEF1 /* PBXContainerItemProxy */; - }; - 4B22AD635BD419AB6D08924380E69FB7 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "URITemplate-macOS"; - target = C019150E6D4DD1A56474B7F4703F0FCD /* URITemplate-macOS */; - targetProxy = 892610B3645F6FF0724BFE167C8096AD /* PBXContainerItemProxy */; - }; - 8E078215EEB73FCE47171375AFC8A84E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "URITemplate-iOS"; - target = EE471F940C8C725EF24EDEFDE89B10D7 /* URITemplate-iOS */; - targetProxy = 0FECBC00AFC978889EA28077179527F8 /* PBXContainerItemProxy */; - }; - AEE5B98EA17B5F2740FA725768065C67 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Mockingjay-iOS"; - target = DCC8923E903479092DF9D77844CF0816 /* Mockingjay-iOS */; - targetProxy = 0CA7BD25CF489D17A1CAF84329FC70ED /* PBXContainerItemProxy */; - }; - AF92414FFF566B735C29C4B7669DDCA3 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SwiftLint-macOS"; - target = 9F0E6E0C8BF75091EADD98FA13B1A847 /* SwiftLint-macOS */; - targetProxy = 11A590A28A795406C57BE9380CC419F3 /* PBXContainerItemProxy */; - }; - E8A97E371F9AE86B8FEE1D4036C0D225 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Pods-SCNetworkAPIOSX"; - target = 1F6DE0158C39DF578A71C855CDA64180 /* Pods-SCNetworkAPIOSX */; - targetProxy = 92A18E78CEEDC6982A40883BB6698564 /* PBXContainerItemProxy */; - }; - F2EA35BF2FAD147FD873E68F5CE70AB1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "URITemplate-iOS"; - target = EE471F940C8C725EF24EDEFDE89B10D7 /* URITemplate-iOS */; - targetProxy = 9E42DA7C244FC6C2052E21DA05F17351 /* PBXContainerItemProxy */; - }; - FF7C3D7437915F5D42D2FC59828D616F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "SwiftLint-iOS"; - target = 2B03D5FD26A26B7D62142EA4492AEB83 /* SwiftLint-iOS */; - targetProxy = 99D939F4B775F27365EB928EB6BC76CE /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 02C72E70F1B4FB890534F8AB9507E8E1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8CAC1B9B8A4CAFACF1AF73716BD9B8D3 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-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.14; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 1C5E66A44C02255AE92F44AC8CB9306C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3404AEE07E7E3DD7400554F1D43C11BB /* Pods-SCNetworkAPIMobile.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 1E34695574BBDA6D1C7751A8A3F7A973 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D8F9EAD254F9AF0868EA9E8D2B7548D5 /* SwiftLint-iOS.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 25C5880CA0E8C502FCDFF2FABE22B9B7 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D8F9EAD254F9AF0868EA9E8D2B7548D5 /* SwiftLint-iOS.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 2868007316A5C0C52E95E468848709CA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0A3AF265B1D8CE35D0DE9C749142C9D9 /* Mockingjay-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/Mockingjay-iOS/Mockingjay-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Mockingjay-iOS/Mockingjay-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/Mockingjay-iOS/Mockingjay-iOS.modulemap"; - PRODUCT_MODULE_NAME = Mockingjay; - PRODUCT_NAME = Mockingjay; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 2A740CBE4759F35E7206A858DAA1BA29 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AE57F224B17AC93956FDF5138C3882DB /* Pods-SCNetworkExample.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkExample/Pods-SCNetworkExample-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4286C5A68E457962CD885AB664302755 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0BB4F740E94183AEE7D83D06EA98B6E7 /* URITemplate-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/URITemplate-iOS/URITemplate-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/URITemplate-iOS/URITemplate-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/URITemplate-iOS/URITemplate-iOS.modulemap"; - PRODUCT_MODULE_NAME = URITemplate; - PRODUCT_NAME = URITemplate; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4F7F91411B6EC0AEB386B2E5FE5F20E8 /* 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - 63F428F1EF94497744C1460E826C5725 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4124CA019DB029CC11B0AB2E17E62A33 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 6721B9776F6DFEFD93264E7ED88DF7F7 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 751A9B851AFC3D228408AD190BC961FE /* SwiftLint-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.6; - SDKROOT = macosx; - }; - name = Debug; - }; - 6C785B62176C9F66BB90C301A7AA4908 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1FAD8599621B3F18CFFB11D892A2E72C /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-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.14; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 6D5A73B304A808EB5876E8758AAF4C6D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 08CFADC41BCB6741E0A885B6E5FD723A /* Pods-SCNetworkAPIOSX.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-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.14; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 70567E3F32193A8350387F60F7BA5D8C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0A3AF265B1D8CE35D0DE9C749142C9D9 /* Mockingjay-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/Mockingjay-iOS/Mockingjay-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Mockingjay-iOS/Mockingjay-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/Mockingjay-iOS/Mockingjay-iOS.modulemap"; - PRODUCT_MODULE_NAME = Mockingjay; - PRODUCT_NAME = Mockingjay; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 76D41BB542B453C0B64670F1AF6C38E1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 614BFE29B3B20E0A9ABB2978A8039AED /* Mockingjay-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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/Mockingjay-macOS/Mockingjay-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Mockingjay-macOS/Mockingjay-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/Mockingjay-macOS/Mockingjay-macOS.modulemap"; - PRODUCT_MODULE_NAME = Mockingjay; - PRODUCT_NAME = Mockingjay; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 7793999867B10F09722C9D0480B6E85F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A37FDC07DFA8ED8F7974472E18EC1832 /* Pods-SCNetworkAPIMobile.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 7E5D2976938F1468B5D173D9B74912BA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 751A9B851AFC3D228408AD190BC961FE /* SwiftLint-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.6; - SDKROOT = macosx; - }; - name = Release; - }; - 8EE48839867E7C67439181C6B9FFAC36 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DD349D5E50857DDF1CB92E51D864B3E1 /* Pods-SCNetworkExample.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkExample/Pods-SCNetworkExample-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 9D60A6DCE9EA4FD5AB5C268FDD8CA7EA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E0339789F2D828C2524AE5EA480A4F2B /* URITemplate-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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/URITemplate-macOS/URITemplate-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/URITemplate-macOS/URITemplate-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/URITemplate-macOS/URITemplate-macOS.modulemap"; - PRODUCT_MODULE_NAME = URITemplate; - PRODUCT_NAME = URITemplate; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - BD96A1AA2A6C17647B49B6581433FA84 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 614BFE29B3B20E0A9ABB2978A8039AED /* Mockingjay-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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/Mockingjay-macOS/Mockingjay-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Mockingjay-macOS/Mockingjay-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/Mockingjay-macOS/Mockingjay-macOS.modulemap"; - PRODUCT_MODULE_NAME = Mockingjay; - PRODUCT_NAME = Mockingjay; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C773EC8E8335888207CA1E33D76E4191 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E0339789F2D828C2524AE5EA480A4F2B /* URITemplate-macOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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/URITemplate-macOS/URITemplate-macOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/URITemplate-macOS/URITemplate-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/URITemplate-macOS/URITemplate-macOS.modulemap"; - PRODUCT_MODULE_NAME = URITemplate; - PRODUCT_NAME = URITemplate; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C931661709E59766BD5D1D8CC9D7A05D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 06EC1AE087580F19D3DB27E0F433CC5F /* Pods-SCNetworkAPIOSX.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-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.14; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = macosx; - SKIP_INSTALL = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - D7C3C1D9B8F46C9ED4316187CFD1B82B /* 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - F409AB4CC645F761B51EB2C4E540D9A0 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8873CFD558EF3413AFB9AAB5D310D347 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - 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-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - FAC41E0A8C67145B942526E43DEDF697 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0BB4F740E94183AEE7D83D06EA98B6E7 /* URITemplate-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/URITemplate-iOS/URITemplate-iOS-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/URITemplate-iOS/URITemplate-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/URITemplate-iOS/URITemplate-iOS.modulemap"; - PRODUCT_MODULE_NAME = URITemplate; - PRODUCT_NAME = URITemplate; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 09A36E101EA1C4B7200F1E2135F3351F /* Build configuration list for PBXNativeTarget "Mockingjay-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - BD96A1AA2A6C17647B49B6581433FA84 /* Debug */, - 76D41BB542B453C0B64670F1AF6C38E1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0D0981C130B08F416BEB2EAEC0323E63 /* Build configuration list for PBXAggregateTarget "SwiftLint-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6721B9776F6DFEFD93264E7ED88DF7F7 /* Debug */, - 7E5D2976938F1468B5D173D9B74912BA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 15C2581D1D019FF8D7F783E76C884B84 /* Build configuration list for PBXAggregateTarget "SwiftLint-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 25C5880CA0E8C502FCDFF2FABE22B9B7 /* Debug */, - 1E34695574BBDA6D1C7751A8A3F7A973 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 172F1823E8E7293C1637315D2F15ABE9 /* Build configuration list for PBXNativeTarget "URITemplate-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4286C5A68E457962CD885AB664302755 /* Debug */, - FAC41E0A8C67145B942526E43DEDF697 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 45FDF56A5813F134C423EA8E1EB5232D /* Build configuration list for PBXNativeTarget "Pods-SCNetworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2A740CBE4759F35E7206A858DAA1BA29 /* Debug */, - 8EE48839867E7C67439181C6B9FFAC36 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D7C3C1D9B8F46C9ED4316187CFD1B82B /* Debug */, - 4F7F91411B6EC0AEB386B2E5FE5F20E8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 78A2D1AA6F53B1C9B7C36E83A551722A /* Build configuration list for PBXNativeTarget "URITemplate-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C773EC8E8335888207CA1E33D76E4191 /* Debug */, - 9D60A6DCE9EA4FD5AB5C268FDD8CA7EA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 9FD715E4345AD26008B5816CB78C7456 /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIMobile" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7793999867B10F09722C9D0480B6E85F /* Debug */, - 1C5E66A44C02255AE92F44AC8CB9306C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - A015FB692C3728FB055A33719AF5A40B /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIOSX" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C931661709E59766BD5D1D8CC9D7A05D /* Debug */, - 6D5A73B304A808EB5876E8758AAF4C6D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B2E4C018A6ED030D2D982AB7561AAA6C /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIMobileTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 63F428F1EF94497744C1460E826C5725 /* Debug */, - F409AB4CC645F761B51EB2C4E540D9A0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B5EB1F54722F595A08969E99F07D05C3 /* Build configuration list for PBXNativeTarget "Pods-SCNetworkAPIOSXTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6C785B62176C9F66BB90C301A7AA4908 /* Debug */, - 02C72E70F1B4FB890534F8AB9507E8E1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - CFA6C433C580D5DF897296380AA9EEBB /* Build configuration list for PBXNativeTarget "Mockingjay-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 70567E3F32193A8350387F60F7BA5D8C /* Debug */, - 2868007316A5C0C52E95E468848709CA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; -} diff --git a/SCNetworkAPI/Pods/SwiftLint/LICENSE b/SCNetworkAPI/Pods/SwiftLint/LICENSE deleted file mode 100644 index a029e45..0000000 --- a/SCNetworkAPI/Pods/SwiftLint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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/SCNetworkAPI/Pods/SwiftLint/swiftlint b/SCNetworkAPI/Pods/SwiftLint/swiftlint deleted file mode 100755 index 096b9f8..0000000 Binary files a/SCNetworkAPI/Pods/SwiftLint/swiftlint and /dev/null differ diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-Info.plist deleted file mode 100644 index 4522675..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 3.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-dummy.m deleted file mode 100644 index 99a5576..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Mockingjay_iOS : NSObject -@end -@implementation PodsDummy_Mockingjay_iOS -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-prefix.pch b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-umbrella.h deleted file mode 100644 index 07d7fff..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS-umbrella.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "Mockingjay.h" - -FOUNDATION_EXPORT double MockingjayVersionNumber; -FOUNDATION_EXPORT const unsigned char MockingjayVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.modulemap b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.modulemap deleted file mode 100644 index 737a31f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Mockingjay { - umbrella header "Mockingjay-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.xcconfig deleted file mode 100644 index aeb9846..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-iOS/Mockingjay-iOS.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-iOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_LDFLAGS = $(inherited) -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}/Mockingjay -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-Info.plist deleted file mode 100644 index 4522675..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 3.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-dummy.m deleted file mode 100644 index be48900..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Mockingjay_macOS : NSObject -@end -@implementation PodsDummy_Mockingjay_macOS -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-prefix.pch b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-umbrella.h deleted file mode 100644 index 01d5ef7..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS-umbrella.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "Mockingjay.h" - -FOUNDATION_EXPORT double MockingjayVersionNumber; -FOUNDATION_EXPORT const unsigned char MockingjayVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.modulemap b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.modulemap deleted file mode 100644 index 5c21227..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Mockingjay { - umbrella header "Mockingjay-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.xcconfig deleted file mode 100644 index 87952cf..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Mockingjay-macOS/Mockingjay-macOS.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-macOS -ENABLE_BITCODE = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_LDFLAGS = $(inherited) -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}/Mockingjay -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.markdown b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.markdown deleted file mode 100644 index d8c5fed..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.markdown +++ /dev/null @@ -1,28 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## SwiftLint - -The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.plist deleted file mode 100644 index 88fb231..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-acknowledgements.plist +++ /dev/null @@ -1,60 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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. - - License - MIT - Title - SwiftLint - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-dummy.m deleted file mode 100644 index 52162df..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_SCNetworkAPIMobile : NSObject -@end -@implementation PodsDummy_Pods_SCNetworkAPIMobile -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-resources.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - 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}" - else - 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-umbrella.h deleted file mode 100644 index 879e468..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_SCNetworkAPIMobileVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_SCNetworkAPIMobileVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.debug.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.debug.xcconfig deleted file mode 100644 index eba3387..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.debug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.modulemap b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.modulemap deleted file mode 100644 index 81e4710..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_SCNetworkAPIMobile { - umbrella header "Pods-SCNetworkAPIMobile-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.release.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.release.xcconfig deleted file mode 100644 index eba3387..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.release.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.markdown b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.markdown deleted file mode 100644 index 8047e8b..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.markdown +++ /dev/null @@ -1,61 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Mockingjay - -Copyright (c) 2015, Kyle Fuller -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of Mockingjay nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -## URITemplate - -The MIT License (MIT) - -Copyright (c) 2014 Kyle Fuller - -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.plist deleted file mode 100644 index 5ecf8ea..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-acknowledgements.plist +++ /dev/null @@ -1,99 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015, Kyle Fuller -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of Mockingjay nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - License - BSD - Title - Mockingjay - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2014 Kyle Fuller - -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. - - - License - MIT - Title - URITemplate - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-dummy.m deleted file mode 100644 index 6ec9ecf..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_SCNetworkAPIMobileTests : NSObject -@end -@implementation PodsDummy_Pods_SCNetworkAPIMobileTests -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-input-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-input-files.xcfilelist deleted file mode 100644 index d8a0360..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-input-files.xcfilelist +++ /dev/null @@ -1,3 +0,0 @@ -${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh -${BUILT_PRODUCTS_DIR}/Mockingjay-iOS/Mockingjay.framework -${BUILT_PRODUCTS_DIR}/URITemplate-iOS/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-output-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-output-files.xcfilelist deleted file mode 100644 index 9a17f07..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Debug-output-files.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mockingjay.framework -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-input-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-input-files.xcfilelist deleted file mode 100644 index d8a0360..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-input-files.xcfilelist +++ /dev/null @@ -1,3 +0,0 @@ -${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh -${BUILT_PRODUCTS_DIR}/Mockingjay-iOS/Mockingjay.framework -${BUILT_PRODUCTS_DIR}/URITemplate-iOS/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-output-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-output-files.xcfilelist deleted file mode 100644 index 9a17f07..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-Release-output-files.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mockingjay.framework -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh deleted file mode 100755 index 9cc2a4d..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh +++ /dev/null @@ -1,173 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -function on_error { - echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" -} -trap 'on_error $LINENO' ERR - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# 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 .*.??????") - -# Copies and strips a vendored framework -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}" - elif [ -L "${binary}" ]; then - echo "Destination binary is symlinked..." - dirname="$(dirname "${binary}")" - binary="${dirname}/$(readlink "${binary}")" - 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) - 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 and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${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" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# 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_identity - 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 target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Mockingjay-iOS/Mockingjay.framework" - install_framework "${BUILT_PRODUCTS_DIR}/URITemplate-iOS/URITemplate.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Mockingjay-iOS/Mockingjay.framework" - install_framework "${BUILT_PRODUCTS_DIR}/URITemplate-iOS/URITemplate.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-resources.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - 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}" - else - 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-umbrella.h deleted file mode 100644 index 3730600..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_SCNetworkAPIMobileTestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_SCNetworkAPIMobileTestsVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.debug.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.debug.xcconfig deleted file mode 100644 index faced53..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.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}/Mockingjay-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-iOS/Mockingjay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS/URITemplate.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "Mockingjay" -framework "URITemplate" -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_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.modulemap b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.modulemap deleted file mode 100644 index 556e6f4..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_SCNetworkAPIMobileTests { - umbrella header "Pods-SCNetworkAPIMobileTests-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.release.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.release.xcconfig deleted file mode 100644 index faced53..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.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}/Mockingjay-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-iOS/Mockingjay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS/URITemplate.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "Mockingjay" -framework "URITemplate" -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_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.markdown b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.markdown deleted file mode 100644 index d8c5fed..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.markdown +++ /dev/null @@ -1,28 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## SwiftLint - -The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.plist deleted file mode 100644 index 88fb231..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-acknowledgements.plist +++ /dev/null @@ -1,60 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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. - - License - MIT - Title - SwiftLint - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-dummy.m deleted file mode 100644 index 76d5dd4..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_SCNetworkAPIOSX : NSObject -@end -@implementation PodsDummy_Pods_SCNetworkAPIOSX -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-resources.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - 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}" - else - 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-umbrella.h deleted file mode 100644 index 1b6db07..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_SCNetworkAPIOSXVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_SCNetworkAPIOSXVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.debug.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.debug.xcconfig deleted file mode 100644 index 383464b..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.debug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.modulemap b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.modulemap deleted file mode 100644 index 5bb2d2f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_SCNetworkAPIOSX { - umbrella header "Pods-SCNetworkAPIOSX-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.release.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.release.xcconfig deleted file mode 100644 index 383464b..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.release.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.markdown b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.markdown deleted file mode 100644 index 8047e8b..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.markdown +++ /dev/null @@ -1,61 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Mockingjay - -Copyright (c) 2015, Kyle Fuller -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of Mockingjay nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -## URITemplate - -The MIT License (MIT) - -Copyright (c) 2014 Kyle Fuller - -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.plist deleted file mode 100644 index 5ecf8ea..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-acknowledgements.plist +++ /dev/null @@ -1,99 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015, Kyle Fuller -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of Mockingjay nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - License - BSD - Title - Mockingjay - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2014 Kyle Fuller - -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. - - - License - MIT - Title - URITemplate - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-dummy.m deleted file mode 100644 index d086425..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_SCNetworkAPIOSXTests : NSObject -@end -@implementation PodsDummy_Pods_SCNetworkAPIOSXTests -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-input-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-input-files.xcfilelist deleted file mode 100644 index c52f8f8..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-input-files.xcfilelist +++ /dev/null @@ -1,3 +0,0 @@ -${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh -${BUILT_PRODUCTS_DIR}/Mockingjay-macOS/Mockingjay.framework -${BUILT_PRODUCTS_DIR}/URITemplate-macOS/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-output-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-output-files.xcfilelist deleted file mode 100644 index 9a17f07..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Debug-output-files.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mockingjay.framework -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-input-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-input-files.xcfilelist deleted file mode 100644 index c52f8f8..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-input-files.xcfilelist +++ /dev/null @@ -1,3 +0,0 @@ -${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh -${BUILT_PRODUCTS_DIR}/Mockingjay-macOS/Mockingjay.framework -${BUILT_PRODUCTS_DIR}/URITemplate-macOS/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-output-files.xcfilelist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-output-files.xcfilelist deleted file mode 100644 index 9a17f07..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-Release-output-files.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mockingjay.framework -${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/URITemplate.framework \ No newline at end of file diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh deleted file mode 100755 index cfd3fbf..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh +++ /dev/null @@ -1,173 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -function on_error { - echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" -} -trap 'on_error $LINENO' ERR - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# 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 .*.??????") - -# Copies and strips a vendored framework -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}" - elif [ -L "${binary}" ]; then - echo "Destination binary is symlinked..." - dirname="$(dirname "${binary}")" - binary="${dirname}/$(readlink "${binary}")" - 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) - 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 and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${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" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# 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_identity - 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 target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Mockingjay-macOS/Mockingjay.framework" - install_framework "${BUILT_PRODUCTS_DIR}/URITemplate-macOS/URITemplate.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/Mockingjay-macOS/Mockingjay.framework" - install_framework "${BUILT_PRODUCTS_DIR}/URITemplate-macOS/URITemplate.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-resources.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - 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}" - else - 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-umbrella.h deleted file mode 100644 index fd0c2a1..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_SCNetworkAPIOSXTestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_SCNetworkAPIOSXTestsVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.debug.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.debug.xcconfig deleted file mode 100644 index 89ae9ec..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.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}/Mockingjay-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-macOS/Mockingjay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS/URITemplate.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "Mockingjay" -framework "URITemplate" -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_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.modulemap b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.modulemap deleted file mode 100644 index 42eb440..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_SCNetworkAPIOSXTests { - umbrella header "Pods-SCNetworkAPIOSXTests-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.release.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.release.xcconfig deleted file mode 100644 index 89ae9ec..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.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}/Mockingjay-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Mockingjay-macOS/Mockingjay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS/URITemplate.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "Mockingjay" -framework "URITemplate" -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_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-Info.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.markdown b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.markdown deleted file mode 100644 index d8c5fed..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.markdown +++ /dev/null @@ -1,28 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## SwiftLint - -The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.plist b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.plist deleted file mode 100644 index 88fb231..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-acknowledgements.plist +++ /dev/null @@ -1,60 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Realm Inc. - -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. - - License - MIT - Title - SwiftLint - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-dummy.m b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-dummy.m deleted file mode 100644 index 23d0d17..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_SCNetworkExample : NSObject -@end -@implementation PodsDummy_Pods_SCNetworkExample -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-frameworks.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-frameworks.sh deleted file mode 100755 index 08e3eaa..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-frameworks.sh +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# 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 .*.??????") - -# Copies and strips a vendored framework -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 and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${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" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - 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 target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_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 - STRIP_BINARY_RETVAL=1 -} - -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-resources.sh b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - 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}" - else - 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-umbrella.h deleted file mode 100644 index ddc4a36..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_SCNetworkExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_SCNetworkExampleVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.debug.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.debug.xcconfig deleted file mode 100644 index 566aa02..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.debug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.modulemap b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.modulemap deleted file mode 100644 index 43285e0..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_SCNetworkExample { - umbrella header "Pods-SCNetworkExample-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.release.xcconfig b/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.release.xcconfig deleted file mode 100644 index 566aa02..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.release.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -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/SCNetworkAPI/Pods/Target Support Files/SwiftLint-iOS/SwiftLint-iOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/SwiftLint-iOS/SwiftLint-iOS.xcconfig deleted file mode 100644 index 9ed87b7..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/SwiftLint-iOS/SwiftLint-iOS.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftLint-iOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftLint -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/Target Support Files/SwiftLint-macOS/SwiftLint-macOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/SwiftLint-macOS/SwiftLint-macOS.xcconfig deleted file mode 100644 index 2dee2c9..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/SwiftLint-macOS/SwiftLint-macOS.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftLint-macOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftLint -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-Info.plist b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-Info.plist deleted file mode 100644 index 4522675..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 3.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-dummy.m b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-dummy.m deleted file mode 100644 index 6b2ec00..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_URITemplate_iOS : NSObject -@end -@implementation PodsDummy_URITemplate_iOS -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-prefix.pch b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-umbrella.h deleted file mode 100644 index 2bf06be..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double URITemplateVersionNumber; -FOUNDATION_EXPORT const unsigned char URITemplateVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.modulemap b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.modulemap deleted file mode 100644 index 350813f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module URITemplate { - umbrella header "URITemplate-iOS-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.xcconfig deleted file mode 100644 index 087f140..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-iOS/URITemplate-iOS.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-iOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -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}/URITemplate -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-Info.plist b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-Info.plist deleted file mode 100644 index 4522675..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 3.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-dummy.m b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-dummy.m deleted file mode 100644 index c221a0b..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_URITemplate_macOS : NSObject -@end -@implementation PodsDummy_URITemplate_macOS -@end diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-prefix.pch b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-prefix.pch deleted file mode 100644 index 082f8af..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-umbrella.h b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-umbrella.h deleted file mode 100644 index b5db27f..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double URITemplateVersionNumber; -FOUNDATION_EXPORT const unsigned char URITemplateVersionString[]; - diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.modulemap b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.modulemap deleted file mode 100644 index 34fc628..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module URITemplate { - umbrella header "URITemplate-macOS-umbrella.h" - - export * - module * { export * } -} diff --git a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.xcconfig b/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.xcconfig deleted file mode 100644 index 68a1d83..0000000 --- a/SCNetworkAPI/Pods/Target Support Files/URITemplate-macOS/URITemplate-macOS.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CODE_SIGN_IDENTITY = -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/URITemplate-macOS -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -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}/URITemplate -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/SCNetworkAPI/Pods/URITemplate/LICENSE b/SCNetworkAPI/Pods/URITemplate/LICENSE deleted file mode 100644 index 702ed21..0000000 --- a/SCNetworkAPI/Pods/URITemplate/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Kyle Fuller - -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/SCNetworkAPI/Pods/URITemplate/README.md b/SCNetworkAPI/Pods/URITemplate/README.md deleted file mode 100644 index aaef3a9..0000000 --- a/SCNetworkAPI/Pods/URITemplate/README.md +++ /dev/null @@ -1,49 +0,0 @@ -URITemplate -=========== - -Swift implementation of URI Template ([RFC6570](https://tools.ietf.org/html/rfc6570)). - -## Installation - -[CocoaPods](http://cocoapods.org/) is the recommended installation method. - -```ruby -pod 'URITemplate' -``` - -## Example - -### Expanding a URI Template - -```swift -let template = URITemplate(template: "https://api.github.com/repos/{owner}/{repo}/") -let url = template.expand(["owner": "kylef", "repo": "URITemplate.swift"]) -=> "https://api.github.com/repos/kylef/URITemplate.swift/" -``` - -### Determine which variables are in a template - -```swift -let variables = template.variables -=> ["owner", "repo"] -``` - -### Extract the variables used in a given URL - -```swift -let variables = template.extract("https://api.github.com/repos/kylef/PathKit/") -=> ["owner":"kylef", "repo":"PathKit"] -``` - -## [RFC6570](https://tools.ietf.org/html/rfc6570) - -The URITemplate library follows the [test suite](https://github.com/uri-templates/uritemplate-test). - -We have full support for level 4 of RFC6570 when expanding a template and retrieving the variables in a template. - -For extraction of variables from an already expanded template, level 3 is supported. - -## License - -URITemplate is licensed under the MIT license. See [LICENSE](LICENSE) for more -info. diff --git a/SCNetworkAPI/Pods/URITemplate/Sources/URITemplate.swift b/SCNetworkAPI/Pods/URITemplate/Sources/URITemplate.swift deleted file mode 100644 index ef8cb24..0000000 --- a/SCNetworkAPI/Pods/URITemplate/Sources/URITemplate.swift +++ /dev/null @@ -1,605 +0,0 @@ -// -// URITemplate.swift -// URITemplate -// -// Created by Kyle Fuller on 25/11/2014. -// Copyright (c) 2014 Kyle Fuller. All rights reserved. -// - -import Foundation - -// MARK: URITemplate - -/// A data structure to represent an RFC6570 URI template. -public struct URITemplate : CustomStringConvertible, Equatable, Hashable, ExpressibleByStringLiteral, ExpressibleByExtendedGraphemeClusterLiteral, ExpressibleByUnicodeScalarLiteral { - /// The underlying URI template - public let template:String - - var regex:NSRegularExpression { - let expression: NSRegularExpression? - do { - expression = try NSRegularExpression(pattern: "\\{([^\\}]+)\\}", options: NSRegularExpression.Options(rawValue: 0)) - } catch let error as NSError { - fatalError("Invalid Regex \(error)") - } - return expression! - } - - var operators:[Operator] { - return [ - StringExpansion(), - ReservedExpansion(), - FragmentExpansion(), - LabelExpansion(), - PathSegmentExpansion(), - PathStyleParameterExpansion(), - FormStyleQueryExpansion(), - FormStyleQueryContinuation(), - ] - } - - /// Initialize a URITemplate with the given template - public init(template:String) { - self.template = template - } - - public typealias ExtendedGraphemeClusterLiteralType = StringLiteralType - public init(extendedGraphemeClusterLiteral value: ExtendedGraphemeClusterLiteralType) { - template = value - } - - public typealias UnicodeScalarLiteralType = StringLiteralType - public init(unicodeScalarLiteral value: UnicodeScalarLiteralType) { - template = value - } - - public init(stringLiteral value: StringLiteralType) { - template = value - } - - public init(from decoder: Decoder) throws { - self.template = try decoder.singleValueContainer().decode(String.self) - } - - /// Returns a description of the URITemplate - public var description: String { - return template - } - - public func hash(into hasher: inout Hasher) { - template.hash(into: &hasher) - } - - /// Returns the set of keywords in the URI Template - public var variables: [String] { - let expressions = regex.matches(template).map { expression -> String in - // Removes the { and } from the expression - return String(expression[expression.index(after: expression.startIndex).. [String] in - var expression = expression - - for op in self.operators { - if let op = op.op { - if expression.hasPrefix(op) { - expression = String(expression[expression.index(after: expression.startIndex)...]) - break - } - } - } - - return expression.components(separatedBy: ",").map { component in - if component.hasSuffix("*") { - return String(component[.. String { - return regex.substitute(template) { string in - var expression = String(string[string.index(after: string.startIndex).. String? in - var variable = vari - var prefix:Int? - - if let range = variable.range(of: ":") { - prefix = Int(String(variable[range.upperBound...])) - variable = String(variable[.. [String] in - if let expansion = expansion { - return accumulator + [expansion] - } - - return accumulator - }) - - if expansions.count > 0 { - return op!.prefix + expansions.joined(separator: op!.joiner) - } - - return "" - } - } - - func regexForVariable(_ variable:String, op:Operator?) -> String { - if op != nil { - return "(.*)" - } else { - return "([A-z0-9%_\\-]+)" - } - } - - func regexForExpression(_ expression:String) -> String { - var expression = expression - - let op = operators.filter { - $0.op != nil && expression.hasPrefix($0.op!) - }.first - - if op != nil { - expression = String(expression[expression.index(after: expression.startIndex).. String in - return self.regexForVariable(variable, op: op) - } - - return regexes.joined(separator: (op ?? StringExpansion()).joiner) - } - - var extractionRegex:NSRegularExpression? { - let regex = try! NSRegularExpression(pattern: "(\\{([^\\}]+)\\})|[^(.*)]", options: NSRegularExpression.Options(rawValue: 0)) - - let pattern = regex.substitute(self.template) { expression in - if expression.hasPrefix("{") && expression.hasSuffix("}") { - let startIndex = expression.index(after: expression.startIndex) - let endIndex = expression.index(before: expression.endIndex) - return self.regexForExpression(String(expression[startIndex.. [String:String]? { - if let expression = extractionRegex { - let input = url as NSString - let range = NSRange(location: 0, length: input.length) - let results = expression.matches(in: url, options: NSRegularExpression.MatchingOptions(rawValue: 0), range: range) - - if let result = results.first { - var extractedVariables:[String: String] = [:] - - for (index, variable) in variables.enumerated() { - let range = result.range(at: index + 1) - let value = NSString(string: input.substring(with: range)).removingPercentEncoding - extractedVariables[variable] = value - } - - return extractedVariables - } - } - - return nil - } -} - -extension URITemplate: Codable { - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - try container.encode(template) - } -} - -/// Determine if two URITemplate's are equivalent -public func ==(lhs:URITemplate, rhs:URITemplate) -> Bool { - return lhs.template == rhs.template -} - -// MARK: Extensions - -extension NSRegularExpression { - func substitute(_ string:String, block:((String) -> (String))) -> String { - let oldString = string as NSString - let range = NSRange(location: 0, length: oldString.length) - var newString = string as NSString - - let matches = self.matches(in: string, options: NSRegularExpression.MatchingOptions(rawValue: 0), range: range) - for match in Array(matches.reversed()) { - let expression = oldString.substring(with: match.range) - let replacement = block(expression) - newString = newString.replacingCharacters(in: match.range, with: replacement) as NSString - } - - return newString as String - } - - func matches(_ string:String) -> [String] { - let input = string as NSString - let range = NSRange(location: 0, length: input.length) - let results = self.matches(in: string, options: NSRegularExpression.MatchingOptions(rawValue: 0), range: range) - - return results.map { result -> String in - return input.substring(with: result.range) - } - } -} - -extension String { - func percentEncoded() -> String { - return addingPercentEncoding(withAllowedCharacters: CharacterSet.URITemplate.unreserved)! - } -} - -// MARK: Operators - -protocol Operator { - /// Operator - var op:String? { get } - - /// Prefix for the expanded string - var prefix:String { get } - - /// Character to use to join expanded components - var joiner:String { get } - - func expand(_ variable:String, value: Any?, explode:Bool, prefix:Int?) -> String? -} - -class BaseOperator { - var joiner:String { return "," } - - func expand(_ variable:String, value: Any?, explode:Bool, prefix:Int?) -> String? { - if let value = value { - if let values = value as? [String: Any] { - return expand(variable:variable, value: values, explode: explode) - } else if let values = value as? [Any] { - return expand(variable:variable, value: values, explode: explode) - } else if let _ = value as? NSNull { - return expand(variable:variable) - } else { - return expand(variable:variable, value:"\(value)", prefix:prefix) - } - } - - return expand(variable:variable) - } - - // Point to overide to expand a value (i.e, perform encoding) - func expand(value:String) -> String { - return value - } - - // Point to overide to expanding a string - func expand(variable:String, value:String, prefix:Int?) -> String { - if let prefix = prefix { - let valueCount = value.count - if valueCount > prefix { - let index = value.index(value.startIndex, offsetBy: prefix, limitedBy: value.endIndex) - return expand(value: String(value[.. String? { - let joiner = explode ? self.joiner : "," - return value.map { self.expand(value: "\($0)") }.joined(separator: joiner) - } - - // Point to overide to expanding a dictionary - func expand(variable: String, value: [String: Any], explode: Bool) -> String? { - let joiner = explode ? self.joiner : "," - let keyValueJoiner = explode ? "=" : "," - let elements = value.map({ (key, value) -> String in - let expandedKey = self.expand(value: key) - let expandedValue = self.expand(value: "\(value)") - return "\(expandedKey)\(keyValueJoiner)\(expandedValue)" - }) - - return elements.joined(separator: joiner) - } - - // Point to overide when value not found - func expand(variable: String) -> String? { - return nil - } -} - -/// RFC6570 (3.2.2) Simple String Expansion: {var} -class StringExpansion : BaseOperator, Operator { - var op:String? { return nil } - var prefix:String { return "" } - override var joiner:String { return "," } - - override func expand(value:String) -> String { - return value.percentEncoded() - } -} - -/// RFC6570 (3.2.3) Reserved Expansion: {+var} -class ReservedExpansion : BaseOperator, Operator { - var op:String? { return "+" } - var prefix:String { return "" } - override var joiner:String { return "," } - - override func expand(value:String) -> String { - return value.addingPercentEncoding(withAllowedCharacters: CharacterSet.uriTemplateReservedAllowed)! - } -} - -/// RFC6570 (3.2.4) Fragment Expansion {#var} -class FragmentExpansion : BaseOperator, Operator { - var op:String? { return "#" } - var prefix:String { return "#" } - override var joiner:String { return "," } - - override func expand(value:String) -> String { - return value.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlFragmentAllowed)! - } -} - -/// RFC6570 (3.2.5) Label Expansion with Dot-Prefix: {.var} -class LabelExpansion : BaseOperator, Operator { - var op:String? { return "." } - var prefix:String { return "." } - override var joiner:String { return "." } - - override func expand(value:String) -> String { - return value.percentEncoded() - } - - override func expand(variable:String, value:[Any], explode:Bool) -> String? { - if value.count > 0 { - return super.expand(variable: variable, value: value, explode: explode) - } - - return nil - } -} - -/// RFC6570 (3.2.6) Path Segment Expansion: {/var} -class PathSegmentExpansion : BaseOperator, Operator { - var op:String? { return "/" } - var prefix:String { return "/" } - override var joiner:String { return "/" } - - override func expand(value:String) -> String { - return value.percentEncoded() - } - - override func expand(variable:String, value:[Any], explode:Bool) -> String? { - if value.count > 0 { - return super.expand(variable: variable, value: value, explode: explode) - } - - return nil - } -} - -/// RFC6570 (3.2.7) Path-Style Parameter Expansion: {;var} -class PathStyleParameterExpansion : BaseOperator, Operator { - var op:String? { return ";" } - var prefix:String { return ";" } - override var joiner:String { return ";" } - - override func expand(value:String) -> String { - return value.percentEncoded() - } - - override func expand(variable:String, value:String, prefix:Int?) -> String { - let valueCount = value.count - if valueCount > 0 { - let expandedValue = super.expand(variable: variable, value: value, prefix: prefix) - return "\(variable)=\(expandedValue)" - } - - return variable - } - - override func expand(variable:String, value:[Any], explode:Bool) -> String? { - let joiner = explode ? self.joiner : "," - let expandedValue = value.map { - let expandedValue = self.expand(value: "\($0)") - - if explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - }.joined(separator: joiner) - - if !explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - } - - override func expand(variable: String, value: [String: Any], explode: Bool) -> String? { - let expandedValue = super.expand(variable: variable, value: value, explode: explode) - - if let expandedValue = expandedValue { - if (!explode) { - return "\(variable)=\(expandedValue)" - } - } - - return expandedValue - } -} - -/// RFC6570 (3.2.8) Form-Style Query Expansion: {?var} -class FormStyleQueryExpansion : BaseOperator, Operator { - var op:String? { return "?" } - var prefix:String { return "?" } - override var joiner:String { return "&" } - - override func expand(value:String) -> String { - return value.percentEncoded() - } - - override func expand(variable:String, value:String, prefix:Int?) -> String { - let expandedValue = super.expand(variable: variable, value: value, prefix: prefix) - return "\(variable)=\(expandedValue)" - } - - override func expand(variable: String, value: [Any], explode: Bool) -> String? { - if value.count > 0 { - let joiner = explode ? self.joiner : "," - let expandedValue = value.map { - let expandedValue = self.expand(value: "\($0)") - - if explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - }.joined(separator: joiner) - - if !explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - } - - return nil - } - - override func expand(variable: String, value: [String: Any], explode: Bool) -> String? { - if value.count > 0 { - let expandedVariable = self.expand(value: variable) - let expandedValue = super.expand(variable: variable, value: value, explode: explode) - - if let expandedValue = expandedValue { - if (!explode) { - return "\(expandedVariable)=\(expandedValue)" - } - } - - return expandedValue - } - - return nil - } -} - -/// RFC6570 (3.2.9) Form-Style Query Continuation: {&var} -class FormStyleQueryContinuation : BaseOperator, Operator { - var op:String? { return "&" } - var prefix:String { return "&" } - override var joiner:String { return "&" } - - override func expand(value:String) -> String { - return value.percentEncoded() - } - - override func expand(variable:String, value:String, prefix:Int?) -> String { - let expandedValue = super.expand(variable: variable, value: value, prefix: prefix) - return "\(variable)=\(expandedValue)" - } - - override func expand(variable: String, value: [Any], explode: Bool) -> String? { - let joiner = explode ? self.joiner : "," - let expandedValue = value.map { - let expandedValue = self.expand(value: "\($0)") - - if explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - }.joined(separator: joiner) - - if !explode { - return "\(variable)=\(expandedValue)" - } - - return expandedValue - } - - override func expand(variable: String, value: [String: Any], explode: Bool) -> String? { - let expandedValue = super.expand(variable: variable, value: value, explode: explode) - - if let expandedValue = expandedValue { - if (!explode) { - return "\(variable)=\(expandedValue)" - } - } - - return expandedValue - } -} - -private extension CharacterSet { - struct URITemplate { - static let digits = CharacterSet(charactersIn: "0"..."9") - static let genDelims = CharacterSet(charactersIn: ":/?#[]@") - static let subDelims = CharacterSet(charactersIn: "!$&'()*+,;=") - static let unreservedSymbols = CharacterSet(charactersIn: "-._~") - - static let unreserved = { - return alpha.union(digits).union(unreservedSymbols) - }() - - static let reserved = { - return genDelims.union(subDelims) - }() - - static let alpha = { () -> CharacterSet in - let upperAlpha = CharacterSet(charactersIn: "A"..."Z") - let lowerAlpha = CharacterSet(charactersIn: "a"..."z") - return upperAlpha.union(lowerAlpha) - }() - } - - static let uriTemplateReservedAllowed = { - return URITemplate.unreserved.union(URITemplate.reserved) - }() -} diff --git a/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.pbxproj b/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.pbxproj deleted file mode 100644 index 7a43e2a..0000000 --- a/SCNetworkAPI/SCNetworkAPI.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1611 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 09C66FC4FDBCAE49453D580F /* Pods_SCNetworkAPIMobile.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F126AD2CEE0EB0C25C67EDE /* Pods_SCNetworkAPIMobile.framework */; platformFilter = ios; }; - 0E07F5B98908205592AD72E3 /* Pods_SCNetworkAPIOSXTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA1E152977926008171EE4FD /* Pods_SCNetworkAPIOSXTests.framework */; }; - 7A058C5FF7048425C0715051 /* Pods_SCNetworkAPIMobileTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7FFCF8D12B1773CDF02A1890 /* Pods_SCNetworkAPIMobileTests.framework */; }; - 80E201816E37F824F39C539B /* Pods_SCNetworkAPIOSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FB68FF4A04443D7754BECF4F /* Pods_SCNetworkAPIOSX.framework */; }; - 98A6568F1FE9E89944D0FE30 /* Pods_SCNetworkExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A82AFD6A4B11F4CA3B45E72A /* Pods_SCNetworkExample.framework */; }; - B332D985217A6C5B00C9E4B3 /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B332D984217A6C5B00C9E4B3 /* ExampleViewController.swift */; }; - B332D987217A6CBF00C9E4B3 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = B332D986217A6CBF00C9E4B3 /* README.md */; }; - B3546265217A465100FC442C /* SCNetworkAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B354625B217A465100FC442C /* SCNetworkAPI.framework */; }; - B354626A217A465100FC442C /* SCNetworkAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3546269217A465100FC442C /* SCNetworkAPITests.swift */; }; - B354626C217A465100FC442C /* SCNetworkAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = B354625E217A465100FC442C /* SCNetworkAPI.h */; platformFilter = ios; settings = {ATTRIBUTES = (Public, ); }; }; - B3546281217A466400FC442C /* SCNetworkAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3546278217A466300FC442C /* SCNetworkAPI.framework */; }; - B354628F217A46C500FC442C /* SCNetworkAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = B354625E217A465100FC442C /* SCNetworkAPI.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B3546292217A480100FC442C /* SCNetworkAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3546269217A465100FC442C /* SCNetworkAPITests.swift */; }; - B3546294217A482D00FC442C /* SCNetworkAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3546293217A482D00FC442C /* SCNetworkAPI.swift */; platformFilter = ios; }; - B35462AD217A4B4300FC442C /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = B35462AB217A4B4200FC442C /* Request.swift */; platformFilter = ios; }; - B35462AE217A4B4300FC442C /* Notification.swift in Sources */ = {isa = PBXBuildFile; fileRef = B35462AC217A4B4300FC442C /* Notification.swift */; platformFilter = ios; }; - B35462AF217A4BD000FC442C /* Notification.swift in Sources */ = {isa = PBXBuildFile; fileRef = B35462AC217A4B4300FC442C /* Notification.swift */; }; - B35462B0217A4BD000FC442C /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = B35462AB217A4B4200FC442C /* Request.swift */; }; - B35462B1217A4BD000FC442C /* SCNetworkAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3546293217A482D00FC442C /* SCNetworkAPI.swift */; }; - B3EE1129217A65B50063634A /* CHANGELOG.md in Resources */ = {isa = PBXBuildFile; fileRef = B3EE1126217A65B50063634A /* CHANGELOG.md */; platformFilter = ios; }; - B3EE112A217A65B50063634A /* SCNetworkAPI.podspec in Resources */ = {isa = PBXBuildFile; fileRef = B3EE1127217A65B50063634A /* SCNetworkAPI.podspec */; platformFilter = ios; }; - B3EE112B217A65B50063634A /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = B3EE1128217A65B50063634A /* LICENSE */; platformFilter = ios; }; - B3EE1135217A6B930063634A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3EE1134217A6B930063634A /* AppDelegate.swift */; }; - B3EE113A217A6B930063634A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B3EE1138217A6B930063634A /* Main.storyboard */; }; - B3EE113C217A6B950063634A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B3EE113B217A6B950063634A /* Assets.xcassets */; }; - B3EE113F217A6B950063634A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B3EE113D217A6B950063634A /* LaunchScreen.storyboard */; }; - B3EE114E217A6C150063634A /* SCNetworkAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B354625B217A465100FC442C /* SCNetworkAPI.framework */; }; - B3EE114F217A6C150063634A /* SCNetworkAPI.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B354625B217A465100FC442C /* SCNetworkAPI.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - B3F20C4321837E390094CB66 /* URLRequest+EncodeParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3F20C4221837E390094CB66 /* URLRequest+EncodeParameters.swift */; platformFilter = ios; }; - B81D72DB235FA96E001BEC30 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = B827B2AA225BD8D2005B0D91 /* Error.swift */; }; - B81D72DC235FA96E001BEC30 /* URLRequest+EncodeParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3F20C4221837E390094CB66 /* URLRequest+EncodeParameters.swift */; }; - B827B2AB225BD8D2005B0D91 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = B827B2AA225BD8D2005B0D91 /* Error.swift */; platformFilter = ios; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - B3546266217A465100FC442C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B3546250217A45F300FC442C /* Project object */; - proxyType = 1; - remoteGlobalIDString = B354625A217A465100FC442C; - remoteInfo = SCNetworkAPIMobile; - }; - B3546282217A466400FC442C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B3546250217A45F300FC442C /* Project object */; - proxyType = 1; - remoteGlobalIDString = B3546277217A466300FC442C; - remoteInfo = SCNetworkAPIOSX; - }; - B3EE114B217A6BFE0063634A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B3546250217A45F300FC442C /* Project object */; - proxyType = 1; - remoteGlobalIDString = B354625A217A465100FC442C; - remoteInfo = SCNetworkAPIMobile; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - B3EE114D217A6BFE0063634A /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - B3EE114F217A6C150063634A /* SCNetworkAPI.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 36E11029C105B554F9EF1DBF /* Pods-SCNetworkExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.release.xcconfig"; sourceTree = ""; }; - 494A18D78525A959AAB35098 /* Pods-SCNetworkExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkExample/Pods-SCNetworkExample.debug.xcconfig"; sourceTree = ""; }; - 5F126AD2CEE0EB0C25C67EDE /* Pods_SCNetworkAPIMobile.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCNetworkAPIMobile.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 75E91547E2AD2E40E8E6F988 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIMobileTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.debug.xcconfig"; sourceTree = ""; }; - 7FFCF8D12B1773CDF02A1890 /* Pods_SCNetworkAPIMobileTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCNetworkAPIMobileTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 85FD1F493FC2D299E49C5722 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIOSXTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.release.xcconfig"; sourceTree = ""; }; - 87FC7D3F11EA4CEB172E67FB /* Pods-SCNetworkAPIMobile.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIMobile.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.release.xcconfig"; sourceTree = ""; }; - A82AFD6A4B11F4CA3B45E72A /* Pods_SCNetworkExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCNetworkExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - AA1E152977926008171EE4FD /* Pods_SCNetworkAPIOSXTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCNetworkAPIOSXTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B332D984217A6C5B00C9E4B3 /* ExampleViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = ""; }; - B332D986217A6CBF00C9E4B3 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../../README.md; sourceTree = ""; }; - B354625B217A465100FC442C /* SCNetworkAPI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SCNetworkAPI.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B354625E217A465100FC442C /* SCNetworkAPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SCNetworkAPI.h; sourceTree = ""; }; - B354625F217A465100FC442C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B3546264217A465100FC442C /* SCNetworkAPIMobileTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SCNetworkAPIMobileTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B3546269217A465100FC442C /* SCNetworkAPITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SCNetworkAPITests.swift; sourceTree = ""; }; - B354626B217A465100FC442C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B3546278217A466300FC442C /* SCNetworkAPI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SCNetworkAPI.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B3546280217A466400FC442C /* SCNetworkAPIOSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SCNetworkAPIOSXTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B3546293217A482D00FC442C /* SCNetworkAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SCNetworkAPI.swift; sourceTree = ""; }; - B35462AB217A4B4200FC442C /* Request.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Request.swift; sourceTree = ""; }; - B35462AC217A4B4300FC442C /* Notification.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Notification.swift; sourceTree = ""; }; - B3EE1126217A65B50063634A /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CHANGELOG.md; path = ../../CHANGELOG.md; sourceTree = ""; }; - B3EE1127217A65B50063634A /* SCNetworkAPI.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = SCNetworkAPI.podspec; path = ../../SCNetworkAPI.podspec; sourceTree = ""; }; - B3EE1128217A65B50063634A /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = LICENSE; path = ../../LICENSE; sourceTree = ""; }; - B3EE1132217A6B930063634A /* SCNetworkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SCNetworkExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - B3EE1134217A6B930063634A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - B3EE1139217A6B930063634A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - B3EE113B217A6B950063634A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - B3EE113E217A6B950063634A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - B3EE1140217A6B950063634A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B3F20C4221837E390094CB66 /* URLRequest+EncodeParameters.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URLRequest+EncodeParameters.swift"; sourceTree = ""; }; - B827B2AA225BD8D2005B0D91 /* Error.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Error.swift; sourceTree = ""; }; - C7C0D828E0D3D7905BFA9CF3 /* Pods-SCNetworkAPIMobile.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIMobile.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIMobile/Pods-SCNetworkAPIMobile.debug.xcconfig"; sourceTree = ""; }; - CA50095A6EE1D506CEC10468 /* Pods-SCNetworkAPIOSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIOSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.release.xcconfig"; sourceTree = ""; }; - D3C9576427984D08FEF6F184 /* Pods-SCNetworkAPIOSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIOSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIOSX/Pods-SCNetworkAPIOSX.debug.xcconfig"; sourceTree = ""; }; - D9DDAEB1B138D7B1A011DD37 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIMobileTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests.release.xcconfig"; sourceTree = ""; }; - E9EB7A904248F9C85604E1DC /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCNetworkAPIOSXTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests.debug.xcconfig"; sourceTree = ""; }; - FB68FF4A04443D7754BECF4F /* Pods_SCNetworkAPIOSX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCNetworkAPIOSX.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B3546258217A465100FC442C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 09C66FC4FDBCAE49453D580F /* Pods_SCNetworkAPIMobile.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546261217A465100FC442C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B3546265217A465100FC442C /* SCNetworkAPI.framework in Frameworks */, - 7A058C5FF7048425C0715051 /* Pods_SCNetworkAPIMobileTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546275217A466300FC442C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 80E201816E37F824F39C539B /* Pods_SCNetworkAPIOSX.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B354627D217A466400FC442C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B3546281217A466400FC442C /* SCNetworkAPI.framework in Frameworks */, - 0E07F5B98908205592AD72E3 /* Pods_SCNetworkAPIOSXTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3EE112F217A6B930063634A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B3EE114E217A6C150063634A /* SCNetworkAPI.framework in Frameworks */, - 98A6568F1FE9E89944D0FE30 /* Pods_SCNetworkExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B354624F217A45F200FC442C = { - isa = PBXGroup; - children = ( - B3EE1133217A6B930063634A /* SCNetworkExample */, - B3546290217A46E600FC442C /* Source */, - B3EE1125217A659F0063634A /* Supporting Files */, - B3546291217A46EB00FC442C /* Tests */, - B354625C217A465100FC442C /* Products */, - B3EE1147217A6BE10063634A /* Frameworks */, - E3CA71CE7B8317309D57FC21 /* Pods */, - ); - sourceTree = ""; - }; - B354625C217A465100FC442C /* Products */ = { - isa = PBXGroup; - children = ( - B354625B217A465100FC442C /* SCNetworkAPI.framework */, - B3546264217A465100FC442C /* SCNetworkAPIMobileTests.xctest */, - B3546278217A466300FC442C /* SCNetworkAPI.framework */, - B3546280217A466400FC442C /* SCNetworkAPIOSXTests.xctest */, - B3EE1132217A6B930063634A /* SCNetworkExample.app */, - ); - name = Products; - sourceTree = ""; - }; - B3546290217A46E600FC442C /* Source */ = { - isa = PBXGroup; - children = ( - B35462AC217A4B4300FC442C /* Notification.swift */, - B35462AB217A4B4200FC442C /* Request.swift */, - B3546293217A482D00FC442C /* SCNetworkAPI.swift */, - B827B2AA225BD8D2005B0D91 /* Error.swift */, - B3F20C4221837E390094CB66 /* URLRequest+EncodeParameters.swift */, - ); - path = Source; - sourceTree = ""; - }; - B3546291217A46EB00FC442C /* Tests */ = { - isa = PBXGroup; - children = ( - B354626B217A465100FC442C /* Info.plist */, - B3546269217A465100FC442C /* SCNetworkAPITests.swift */, - ); - path = Tests; - sourceTree = ""; - }; - B3EE1125217A659F0063634A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - B3EE1126217A65B50063634A /* CHANGELOG.md */, - B354625F217A465100FC442C /* Info.plist */, - B3EE1128217A65B50063634A /* LICENSE */, - B332D986217A6CBF00C9E4B3 /* README.md */, - B354625E217A465100FC442C /* SCNetworkAPI.h */, - B3EE1127217A65B50063634A /* SCNetworkAPI.podspec */, - ); - path = "Supporting Files"; - sourceTree = ""; - }; - B3EE1133217A6B930063634A /* SCNetworkExample */ = { - isa = PBXGroup; - children = ( - B3EE1134217A6B930063634A /* AppDelegate.swift */, - B3EE113B217A6B950063634A /* Assets.xcassets */, - B332D984217A6C5B00C9E4B3 /* ExampleViewController.swift */, - B3EE1140217A6B950063634A /* Info.plist */, - B3EE113D217A6B950063634A /* LaunchScreen.storyboard */, - B3EE1138217A6B930063634A /* Main.storyboard */, - ); - path = SCNetworkExample; - sourceTree = ""; - }; - B3EE1147217A6BE10063634A /* Frameworks */ = { - isa = PBXGroup; - children = ( - 5F126AD2CEE0EB0C25C67EDE /* Pods_SCNetworkAPIMobile.framework */, - 7FFCF8D12B1773CDF02A1890 /* Pods_SCNetworkAPIMobileTests.framework */, - FB68FF4A04443D7754BECF4F /* Pods_SCNetworkAPIOSX.framework */, - AA1E152977926008171EE4FD /* Pods_SCNetworkAPIOSXTests.framework */, - A82AFD6A4B11F4CA3B45E72A /* Pods_SCNetworkExample.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - E3CA71CE7B8317309D57FC21 /* Pods */ = { - isa = PBXGroup; - children = ( - C7C0D828E0D3D7905BFA9CF3 /* Pods-SCNetworkAPIMobile.debug.xcconfig */, - 87FC7D3F11EA4CEB172E67FB /* Pods-SCNetworkAPIMobile.release.xcconfig */, - 75E91547E2AD2E40E8E6F988 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */, - D9DDAEB1B138D7B1A011DD37 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */, - D3C9576427984D08FEF6F184 /* Pods-SCNetworkAPIOSX.debug.xcconfig */, - CA50095A6EE1D506CEC10468 /* Pods-SCNetworkAPIOSX.release.xcconfig */, - E9EB7A904248F9C85604E1DC /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */, - 85FD1F493FC2D299E49C5722 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */, - 494A18D78525A959AAB35098 /* Pods-SCNetworkExample.debug.xcconfig */, - 36E11029C105B554F9EF1DBF /* Pods-SCNetworkExample.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - B3546256217A465100FC442C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B354626C217A465100FC442C /* SCNetworkAPI.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546273217A466300FC442C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B354628F217A46C500FC442C /* SCNetworkAPI.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - B354625A217A465100FC442C /* SCNetworkAPIMobile */ = { - isa = PBXNativeTarget; - buildConfigurationList = B354626D217A465100FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIMobile" */; - buildPhases = ( - C1CF5C1EF883B9A517CB696C /* [CP] Check Pods Manifest.lock */, - B3546256217A465100FC442C /* Headers */, - B3546257217A465100FC442C /* Sources */, - B3546258217A465100FC442C /* Frameworks */, - B3546259217A465100FC442C /* Resources */, - B381207F217A870200D4A8F3 /* SwiftLint */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SCNetworkAPIMobile; - productName = SCNetworkAPIMobile; - productReference = B354625B217A465100FC442C /* SCNetworkAPI.framework */; - productType = "com.apple.product-type.framework"; - }; - B3546263217A465100FC442C /* SCNetworkAPIMobileTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B3546270217A465100FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIMobileTests" */; - buildPhases = ( - 6650B44AED9F2A4975B3EFB7 /* [CP] Check Pods Manifest.lock */, - B3546260217A465100FC442C /* Sources */, - B3546261217A465100FC442C /* Frameworks */, - B3546262217A465100FC442C /* Resources */, - 7CFA8DCE1A51E992ACDB2AD8 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - B3546267217A465100FC442C /* PBXTargetDependency */, - ); - name = SCNetworkAPIMobileTests; - productName = SCNetworkAPIMobileTests; - productReference = B3546264217A465100FC442C /* SCNetworkAPIMobileTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - B3546277217A466300FC442C /* SCNetworkAPIOSX */ = { - isa = PBXNativeTarget; - buildConfigurationList = B3546289217A466400FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIOSX" */; - buildPhases = ( - 916B8512597A71312305B4F2 /* [CP] Check Pods Manifest.lock */, - B3546273217A466300FC442C /* Headers */, - B3546274217A466300FC442C /* Sources */, - B3546275217A466300FC442C /* Frameworks */, - B3546276217A466300FC442C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SCNetworkAPIOSX; - productName = SCNetworkAPIOSX; - productReference = B3546278217A466300FC442C /* SCNetworkAPI.framework */; - productType = "com.apple.product-type.framework"; - }; - B354627F217A466400FC442C /* SCNetworkAPIOSXTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B354628C217A466400FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIOSXTests" */; - buildPhases = ( - 89AF60285E73CE370C620F52 /* [CP] Check Pods Manifest.lock */, - B354627C217A466400FC442C /* Sources */, - B354627D217A466400FC442C /* Frameworks */, - B354627E217A466400FC442C /* Resources */, - A1E24679D25F4AD78FC965B7 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - B3546283217A466400FC442C /* PBXTargetDependency */, - ); - name = SCNetworkAPIOSXTests; - productName = SCNetworkAPIOSXTests; - productReference = B3546280217A466400FC442C /* SCNetworkAPIOSXTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - B3EE1131217A6B930063634A /* SCNetworkExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = B3EE1143217A6B950063634A /* Build configuration list for PBXNativeTarget "SCNetworkExample" */; - buildPhases = ( - EFAE35E0B18658F7E9086358 /* [CP] Check Pods Manifest.lock */, - B3EE112E217A6B930063634A /* Sources */, - B3EE112F217A6B930063634A /* Frameworks */, - B3EE1130217A6B930063634A /* Resources */, - B3EE114D217A6BFE0063634A /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - B3EE114C217A6BFE0063634A /* PBXTargetDependency */, - ); - name = SCNetworkExample; - productName = SCNetworkExample; - productReference = B3EE1132217A6B930063634A /* SCNetworkExample.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B3546250217A45F300FC442C /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1000; - LastUpgradeCheck = 1000; - TargetAttributes = { - B354625A217A465100FC442C = { - CreatedOnToolsVersion = 10.0; - LastSwiftMigration = 1020; - }; - B3546263217A465100FC442C = { - CreatedOnToolsVersion = 10.0; - LastSwiftMigration = 1020; - }; - B3546277217A466300FC442C = { - CreatedOnToolsVersion = 10.0; - }; - B354627F217A466400FC442C = { - CreatedOnToolsVersion = 10.0; - }; - B3EE1131217A6B930063634A = { - CreatedOnToolsVersion = 10.0; - }; - }; - }; - buildConfigurationList = B3546253217A45F300FC442C /* Build configuration list for PBXProject "SCNetworkAPI" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B354624F217A45F200FC442C; - productRefGroup = B354625C217A465100FC442C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B354625A217A465100FC442C /* SCNetworkAPIMobile */, - B3546263217A465100FC442C /* SCNetworkAPIMobileTests */, - B3546277217A466300FC442C /* SCNetworkAPIOSX */, - B354627F217A466400FC442C /* SCNetworkAPIOSXTests */, - B3EE1131217A6B930063634A /* SCNetworkExample */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B3546259217A465100FC442C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3EE112B217A65B50063634A /* LICENSE in Resources */, - B3EE112A217A65B50063634A /* SCNetworkAPI.podspec in Resources */, - B3EE1129217A65B50063634A /* CHANGELOG.md in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546262217A465100FC442C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546276217A466300FC442C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B354627E217A466400FC442C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3EE1130217A6B930063634A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3EE113F217A6B950063634A /* LaunchScreen.storyboard in Resources */, - B3EE113C217A6B950063634A /* Assets.xcassets in Resources */, - B332D987217A6CBF00C9E4B3 /* README.md in Resources */, - B3EE113A217A6B930063634A /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 6650B44AED9F2A4975B3EFB7 /* [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-SCNetworkAPIMobileTests-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; - }; - 7CFA8DCE1A51E992ACDB2AD8 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIMobileTests/Pods-SCNetworkAPIMobileTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 89AF60285E73CE370C620F52 /* [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-SCNetworkAPIOSXTests-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; - }; - 916B8512597A71312305B4F2 /* [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-SCNetworkAPIOSX-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; - }; - A1E24679D25F4AD78FC965B7 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SCNetworkAPIOSXTests/Pods-SCNetworkAPIOSXTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - B381207F217A870200D4A8F3 /* SwiftLint */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = SwiftLint; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; - }; - C1CF5C1EF883B9A517CB696C /* [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-SCNetworkAPIMobile-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; - }; - EFAE35E0B18658F7E9086358 /* [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-SCNetworkExample-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 */ - B3546257217A465100FC442C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3546294217A482D00FC442C /* SCNetworkAPI.swift in Sources */, - B35462AD217A4B4300FC442C /* Request.swift in Sources */, - B35462AE217A4B4300FC442C /* Notification.swift in Sources */, - B827B2AB225BD8D2005B0D91 /* Error.swift in Sources */, - B3F20C4321837E390094CB66 /* URLRequest+EncodeParameters.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546260217A465100FC442C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B354626A217A465100FC442C /* SCNetworkAPITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3546274217A466300FC442C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B35462AF217A4BD000FC442C /* Notification.swift in Sources */, - B35462B0217A4BD000FC442C /* Request.swift in Sources */, - B35462B1217A4BD000FC442C /* SCNetworkAPI.swift in Sources */, - B81D72DB235FA96E001BEC30 /* Error.swift in Sources */, - B81D72DC235FA96E001BEC30 /* URLRequest+EncodeParameters.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B354627C217A466400FC442C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3546292217A480100FC442C /* SCNetworkAPITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3EE112E217A6B930063634A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3EE1135217A6B930063634A /* AppDelegate.swift in Sources */, - B332D985217A6C5B00C9E4B3 /* ExampleViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - B3546267217A465100FC442C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B354625A217A465100FC442C /* SCNetworkAPIMobile */; - targetProxy = B3546266217A465100FC442C /* PBXContainerItemProxy */; - }; - B3546283217A466400FC442C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B3546277217A466300FC442C /* SCNetworkAPIOSX */; - targetProxy = B3546282217A466400FC442C /* PBXContainerItemProxy */; - }; - B3EE114C217A6BFE0063634A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B354625A217A465100FC442C /* SCNetworkAPIMobile */; - targetProxy = B3EE114B217A6BFE0063634A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - B3EE1138217A6B930063634A /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - B3EE1139217A6B930063634A /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - B3EE113D217A6B950063634A /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - B3EE113E217A6B950063634A /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - B3546254217A45F300FC442C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_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; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 10.12; - ONLY_ACTIVE_ARCH = YES; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - B3546255217A45F300FC442C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_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; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MACOSX_DEPLOYMENT_TARGET = 10.12; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - B354626E217A465100FC442C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C7C0D828E0D3D7905BFA9CF3 /* Pods-SCNetworkAPIMobile.debug.xcconfig */; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = GH868RP95T; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - 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 = ( - "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; - INFOPLIST_FILE = "Supporting Files/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 0.7.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIMobile; - PRODUCT_NAME = SCNetworkAPI; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SUPPORTS_MACCATALYST = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B354626F217A465100FC442C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 87FC7D3F11EA4CEB172E67FB /* Pods-SCNetworkAPIMobile.release.xcconfig */; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = GH868RP95T; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - INFOPLIST_FILE = "Supporting Files/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 0.7.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIMobile; - PRODUCT_NAME = SCNetworkAPI; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SUPPORTS_MACCATALYST = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B3546271217A465100FC442C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 75E91547E2AD2E40E8E6F988 /* Pods-SCNetworkAPIMobileTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = GH868RP95T; - 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 = ( - "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; - INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIMobileTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B3546272217A465100FC442C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D9DDAEB1B138D7B1A011DD37 /* Pods-SCNetworkAPIMobileTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = GH868RP95T; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIMobileTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - B354628A217A466400FC442C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D3C9576427984D08FEF6F184 /* Pods-SCNetworkAPIOSX.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = GH868RP95T; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "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; - INFOPLIST_FILE = "Supporting Files/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.12; - MARKETING_VERSION = 0.5.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIOSX; - PRODUCT_NAME = SCNetworkAPI; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B354628B217A466400FC442C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CA50095A6EE1D506CEC10468 /* Pods-SCNetworkAPIOSX.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = GH868RP95T; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - INFOPLIST_FILE = "Supporting Files/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.12; - MARKETING_VERSION = 0.5.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIOSX; - PRODUCT_NAME = SCNetworkAPI; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B354628D217A466400FC442C /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E9EB7A904248F9C85604E1DC /* Pods-SCNetworkAPIOSXTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "Mac Developer"; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = GH868RP95T; - 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 = ( - "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; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIOSXTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - B354628E217A466400FC442C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 85FD1F493FC2D299E49C5722 /* Pods-SCNetworkAPIOSXTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; - 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_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "Mac Developer"; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = GH868RP95T; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.14; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkAPIOSXTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - B3EE1141217A6B950063634A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 494A18D78525A959AAB35098 /* Pods-SCNetworkExample.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = GH868RP95T; - 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 = ( - "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; - INFOPLIST_FILE = SCNetworkExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 0.0.1; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B3EE1142217A6B950063634A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 36E11029C105B554F9EF1DBF /* Pods-SCNetworkExample.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_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_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = GH868RP95T; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - INFOPLIST_FILE = SCNetworkExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 0.0.1; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.SCNetworkExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B3546253217A45F300FC442C /* Build configuration list for PBXProject "SCNetworkAPI" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B3546254217A45F300FC442C /* Debug */, - B3546255217A45F300FC442C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B354626D217A465100FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIMobile" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B354626E217A465100FC442C /* Debug */, - B354626F217A465100FC442C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B3546270217A465100FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIMobileTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B3546271217A465100FC442C /* Debug */, - B3546272217A465100FC442C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B3546289217A466400FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIOSX" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B354628A217A466400FC442C /* Debug */, - B354628B217A466400FC442C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B354628C217A466400FC442C /* Build configuration list for PBXNativeTarget "SCNetworkAPIOSXTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B354628D217A466400FC442C /* Debug */, - B354628E217A466400FC442C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B3EE1143217A6B950063634A /* Build configuration list for PBXNativeTarget "SCNetworkExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B3EE1141217A6B950063634A /* Debug */, - B3EE1142217A6B950063634A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B3546250217A45F300FC442C /* Project object */; -} diff --git a/SCNetworkAPI/SCNetworkAPI.xcworkspace/contents.xcworkspacedata b/SCNetworkAPI/SCNetworkAPI.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 9af7de9..0000000 --- a/SCNetworkAPI/SCNetworkAPI.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/SCNetworkAPI/SCNetworkAPI.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/SCNetworkAPI/SCNetworkExample/AppDelegate.swift b/SCNetworkAPI/SCNetworkExample/AppDelegate.swift deleted file mode 100644 index 79ab86c..0000000 --- a/SCNetworkAPI/SCNetworkExample/AppDelegate.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// AppDelegate.swift -// SCNetworkExample -// -// Created by Brendan Lensink on 2018-10-19. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - return true - } -} diff --git a/SCNetworkAPI/SCNetworkExample/Base.lproj/Main.storyboard b/SCNetworkAPI/SCNetworkExample/Base.lproj/Main.storyboard deleted file mode 100644 index c9e7cb7..0000000 --- a/SCNetworkAPI/SCNetworkExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SCNetworkAPI/SCNetworkExample/ExampleViewController.swift b/SCNetworkAPI/SCNetworkExample/ExampleViewController.swift deleted file mode 100644 index 21c7e09..0000000 --- a/SCNetworkAPI/SCNetworkExample/ExampleViewController.swift +++ /dev/null @@ -1,115 +0,0 @@ -// -// ExampleViewController.swift -// SCNetworkExample -// -// Created by Brendan Lensink on 2018-10-19. -// - -import SCNetworkAPI -import UIKit - -struct CatImage: Decodable { - let id: String - let url: String -} - -struct GetCatImageURL: Request { - typealias Parameters = [String: String] - typealias RawResource = [CatImage] - typealias FinalResource = URL - - public var method: HTTPMethod { return .get } - - public var path: String { - return "images/search" - } - - public var parameters: [String: String] { - return ["mime_type": "jpg,png"] - } - - func finalize(raw: RawResource) -> Result { - guard let catImage = raw.first else { - return .failure(NetworkAPIError.resourceExtractionError("The CatImage array is empty")) - } - - guard let url = URL(string: catImage.url) else { - return .failure(NetworkAPIError.resourceExtractionError("Could not build URL from CatImage url string")) - } - - return .success(url) - } -} - -struct GetCatImages: Request { - typealias Parameters = [String: String] - typealias RawResource = [CatImage] - - public var method: HTTPMethod { return .get } - - public var path: String { - return "images/search" - } - - public var parameters: [String: String] { - return ["mime_type": "jpg,png", "limit": "2"] - } -} - -class ExampleViewController: UIViewController { - @IBOutlet private var imageView: UIImageView! - @IBOutlet private var catsImageView1: UIImageView! - @IBOutlet private var catsImageView2: UIImageView! - - private let api = NetworkAPI(baseURL: URL(string: "https://api.thecatapi.com/v1/")!) - - override func viewDidLoad() { - super.viewDidLoad() - - api.request(GetCatImageURL()) { result in - switch result { - case .success(let catUrl): - guard let imageData = try? Data(contentsOf: catUrl) else { - return - } - - self.imageView.image = UIImage(data: imageData) - case .failure(let error): - let alert = UIAlertController( - title: "Uh oh!", - message: "Get cat url request failed with error: \(error)", - preferredStyle: .alert - ) - - alert.addAction(UIAlertAction(title: "OK", style: .cancel)) - self.present(alert, animated: true, completion: nil) - } - } - - api.request(GetCatImages()) { result in - switch result { - case .success(let catImages): - if let firstCat = catImages.first, - let url = URL(string: firstCat.url), - let imageData = try? Data(contentsOf: url) { - self.catsImageView1.image = UIImage(data: imageData) - } - - if let lastCat = catImages.last, - let url = URL(string: lastCat.url), - let imageData = try? Data(contentsOf: url) { - self.catsImageView2.image = UIImage(data: imageData) - } - case .failure(let error): - let alert = UIAlertController( - title: "Uh oh!", - message: "Get cats request failed with error: \(error)", - preferredStyle: .alert - ) - - alert.addAction(UIAlertAction(title: "OK", style: .cancel)) - self.present(alert, animated: true, completion: nil) - } - } - } -} diff --git a/SCNetworkAPI/Source/Error.swift b/SCNetworkAPI/Source/Error.swift deleted file mode 100644 index 7069e9a..0000000 --- a/SCNetworkAPI/Source/Error.swift +++ /dev/null @@ -1,45 +0,0 @@ -// -// Error.swift -// SCNetworkAPIMobile -// -// Created by Jeremy Chiang on 2019-04-08. -// - -import Foundation - -public enum NetworkAPIError: Error { - case codingError(String) - case decodingError(Error, Data?) - case httpError(Int, Data?) - case malformedURL - case requestFailed(Error) - case wrongServer - case noData - case resourceExtractionError(String) - case unknownError(Error) -} - -extension NetworkAPIError: LocalizedError { - public var errorDescription: String? { - switch self { - case .codingError(let message): - return "Coding error: \(message)" - case .decodingError(let error, _): - return "Decoding error: \(error.localizedDescription)" - case .httpError(let statusCode, _): - return "HTTP status code: \(statusCode)" - case .malformedURL: - return "Malformed URL" - case .requestFailed(let error): - return "Request failed: \(error.localizedDescription)" - case .wrongServer: - return "Wrong server" - case .noData: - return "No data" - case .resourceExtractionError(let message): - return "Resource Extraction Error: The raw result could not be turned into the final resource: \(message)" - case .unknownError(let error): - return "Unknown error: \(error.localizedDescription)" - } - } -} diff --git a/SCNetworkAPI/Source/Notification.swift b/SCNetworkAPI/Source/Notification.swift deleted file mode 100644 index 4f83e2c..0000000 --- a/SCNetworkAPI/Source/Notification.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// Notification.swift -// SCNetworkAPI -// -// Created by Brendan Lensink on 2018-10-18. -// Copyright © 2018 steamclock. All rights reserved. -// - -import Foundation - -extension Notification.Name { - public static let NetworkAPIRequestDidComplete = Notification.Name(rawValue: "com.steamclock.scNetworkAPI.notification.name.requestDidComplete") -} - -extension Notification { - public struct NetworkAPI { - public static let request = "com.steamclock.scNetworkAPI.key.request" - public static let response = "com.steamclock.scNetworkAPI.key.response" - public static let responseData = "com.steamclock.scNetworkAPI.key.responseData" - public static let responseError = "com.steamclock.scNetworkAPI.key.responseError" - public static let duration = "com.steamclock.scNetworkAPI.key.duration" - } -} diff --git a/SCNetworkAPI/Sources/.DS_Store b/SCNetworkAPI/Sources/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/SCNetworkAPI/Sources/.DS_Store and /dev/null differ diff --git a/SCNetworkAPI/Supporting Files/SCNetworkAPI.h b/SCNetworkAPI/Supporting Files/SCNetworkAPI.h deleted file mode 100644 index 1c28fec..0000000 --- a/SCNetworkAPI/Supporting Files/SCNetworkAPI.h +++ /dev/null @@ -1,10 +0,0 @@ -// -// SCNetworkAPI.h -// SCNetworkAPIMobile -// -// Created by Brendan Lensink on 2018-10-19. -// - -@import Foundation; -FOUNDATION_EXPORT double SCNetworkAPIVersionNumber; -FOUNDATION_EXPORT const unsigned char SCNetworkAPIVersionString[];