From 7ca797021f01395488faa0e17be5655fbd549da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 27 Dec 2017 20:05:00 +0100 Subject: [PATCH 1/5] Recreate project structure --- Cartfile.private | 1 + Cartfile.resolved | 1 + Example/Podfile | 12 - Example/Podfile.lock | 19 - Example/Reqres.xcodeproj/project.pbxproj | 607 ---------------- .../contents.xcworkspacedata | 10 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - Example/Reqres/Base.lproj/LaunchScreen.xib | 41 -- Example/Reqres/Base.lproj/Main.storyboard | 25 - .../AppIcon.appiconset/Contents.json | 38 - Example/Tests/ReqresTests.swift | 9 - Reqres.xcodeproj/project.pbxproj | 650 ++++++++++++++++++ .../contents.xcworkspacedata | 0 .../xcshareddata/xcschemes/Reqres.xcscheme | 82 +++ .../xcschemes/ReqresExample.xcscheme | 52 +- Reqres/Assets/.gitkeep | 0 Reqres/Classes/.gitkeep | 0 Reqres/{Classes => }/Reqres.swift | 0 .../{Classes => }/ReqresDefaultLogger.swift | 0 Reqres/{Classes => }/ReqresLogging.swift | 0 .../Supporting files}/Info.plist | 12 +- Reqres/Supporting files/Reqres.h | 18 + .../AppDelegate.swift | 12 +- .../AppIcon.appiconset/Contents.json | 93 +++ .../Base.lproj/LaunchScreen.storyboard | 25 + ReqresExample/Base.lproj/Main.storyboard | 24 + {Example/Reqres => ReqresExample}/Info.plist | 12 +- .../ViewController.swift | 11 +- _Pods.xcodeproj | 1 - 29 files changed, 935 insertions(+), 828 deletions(-) create mode 100644 Cartfile.private create mode 100644 Cartfile.resolved delete mode 100644 Example/Podfile delete mode 100644 Example/Podfile.lock delete mode 100644 Example/Reqres.xcodeproj/project.pbxproj delete mode 100644 Example/Reqres.xcworkspace/contents.xcworkspacedata delete mode 100644 Example/Reqres.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 Example/Reqres/Base.lproj/LaunchScreen.xib delete mode 100644 Example/Reqres/Base.lproj/Main.storyboard delete mode 100644 Example/Reqres/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 Example/Tests/ReqresTests.swift create mode 100644 Reqres.xcodeproj/project.pbxproj rename {Example/Reqres.xcodeproj => Reqres.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) create mode 100644 Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme rename Example/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres-Example.xcscheme => Reqres.xcodeproj/xcshareddata/xcschemes/ReqresExample.xcscheme (61%) delete mode 100644 Reqres/Assets/.gitkeep delete mode 100644 Reqres/Classes/.gitkeep rename Reqres/{Classes => }/Reqres.swift (100%) rename Reqres/{Classes => }/ReqresDefaultLogger.swift (100%) rename Reqres/{Classes => }/ReqresLogging.swift (100%) rename {Example/Tests => Reqres/Supporting files}/Info.plist (76%) create mode 100644 Reqres/Supporting files/Reqres.h rename {Example/Reqres => ReqresExample}/AppDelegate.swift (86%) create mode 100644 ReqresExample/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 ReqresExample/Base.lproj/LaunchScreen.storyboard create mode 100644 ReqresExample/Base.lproj/Main.storyboard rename {Example/Reqres => ReqresExample}/Info.plist (73%) rename {Example/Reqres => ReqresExample}/ViewController.swift (88%) delete mode 120000 _Pods.xcodeproj diff --git a/Cartfile.private b/Cartfile.private new file mode 100644 index 0000000..821b0ae --- /dev/null +++ b/Cartfile.private @@ -0,0 +1 @@ +github "Alamofire/Alamofire" diff --git a/Cartfile.resolved b/Cartfile.resolved new file mode 100644 index 0000000..735eb95 --- /dev/null +++ b/Cartfile.resolved @@ -0,0 +1 @@ +github "Alamofire/Alamofire" "4.6.0" diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index 4182036..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,12 +0,0 @@ -use_frameworks! -inhibit_all_warnings! - -target 'Reqres_Example' do - pod 'Reqres', :path => '../' - pod 'Alamofire' - - target 'Reqres_Tests' do - inherit! :search_paths - - end -end diff --git a/Example/Podfile.lock b/Example/Podfile.lock deleted file mode 100644 index 1f44b64..0000000 --- a/Example/Podfile.lock +++ /dev/null @@ -1,19 +0,0 @@ -PODS: - - Alamofire (4.0.1) - - Reqres (2.1) - -DEPENDENCIES: - - Alamofire - - Reqres (from `../`) - -EXTERNAL SOURCES: - Reqres: - :path: ../ - -SPEC CHECKSUMS: - Alamofire: 7682d43245de14874acd142ec137b144aa1dd335 - Reqres: d1a133f7279ac79d2d63280b61f09d2435523623 - -PODFILE CHECKSUM: 18cd2941943b3c32aee6180a8306721f67439143 - -COCOAPODS: 1.3.1 diff --git a/Example/Reqres.xcodeproj/project.pbxproj b/Example/Reqres.xcodeproj/project.pbxproj deleted file mode 100644 index 03edd74..0000000 --- a/Example/Reqres.xcodeproj/project.pbxproj +++ /dev/null @@ -1,607 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 3F0A4170A8E6749C8867B63F /* Pods_Reqres_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D3E2D165B4454DBC008E78A /* Pods_Reqres_Tests.framework */; }; - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 690F94771F4D8CF70097999D /* ReqresTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 690F94761F4D8CF70097999D /* ReqresTests.swift */; }; - B63B61FBA9E31EB58F23D671 /* Pods_Reqres_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FDE80E2DD9D64A85D86C6C1 /* Pods_Reqres_Example.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = Reqres; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 03BA3AC28314973F476FE3BC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 1BBDF97B68A4A13396DFD886 /* Pods-Reqres_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Reqres_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Reqres_Example/Pods-Reqres_Example.release.xcconfig"; sourceTree = ""; }; - 2D3E2D165B4454DBC008E78A /* Pods_Reqres_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Reqres_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5616442AC21C633A8CD76EAE /* Pods-Reqres_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Reqres_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Reqres_Tests/Pods-Reqres_Tests.release.xcconfig"; sourceTree = ""; }; - 607FACD01AFB9204008FA782 /* Reqres_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Reqres_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* Reqres_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Reqres_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 61B4091F53FD9DA0CD471057 /* Pods-Reqres_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Reqres_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Reqres_Example/Pods-Reqres_Example.debug.xcconfig"; sourceTree = ""; }; - 690F94761F4D8CF70097999D /* ReqresTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReqresTests.swift; sourceTree = ""; }; - 7E6361578490C80D3925F6E2 /* Reqres.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Reqres.podspec; path = ../Reqres.podspec; sourceTree = ""; }; - 9FDE80E2DD9D64A85D86C6C1 /* Pods_Reqres_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Reqres_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - BDDE296250E1112169CE19D6 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - C64942AB2B6AC873A4A70CBC /* Pods-Reqres_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Reqres_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Reqres_Tests/Pods-Reqres_Tests.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 607FACCD1AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B63B61FBA9E31EB58F23D671 /* Pods_Reqres_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3F0A4170A8E6749C8867B63F /* Pods_Reqres_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1581B77F43B3CA5293A7A6DE /* Frameworks */ = { - isa = PBXGroup; - children = ( - 9FDE80E2DD9D64A85D86C6C1 /* Pods_Reqres_Example.framework */, - 2D3E2D165B4454DBC008E78A /* Pods_Reqres_Tests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 607FACC71AFB9204008FA782 = { - isa = PBXGroup; - children = ( - 607FACF51AFB993E008FA782 /* Podspec Metadata */, - 607FACD21AFB9204008FA782 /* Example for Reqres */, - 607FACE81AFB9204008FA782 /* Tests */, - 607FACD11AFB9204008FA782 /* Products */, - FDE5D90114CB54A1B4FBF3A7 /* Pods */, - 1581B77F43B3CA5293A7A6DE /* Frameworks */, - ); - sourceTree = ""; - }; - 607FACD11AFB9204008FA782 /* Products */ = { - isa = PBXGroup; - children = ( - 607FACD01AFB9204008FA782 /* Reqres_Example.app */, - 607FACE51AFB9204008FA782 /* Reqres_Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 607FACD21AFB9204008FA782 /* Example for Reqres */ = { - isa = PBXGroup; - children = ( - 607FACD51AFB9204008FA782 /* AppDelegate.swift */, - 607FACD71AFB9204008FA782 /* ViewController.swift */, - 607FACD91AFB9204008FA782 /* Main.storyboard */, - 607FACDC1AFB9204008FA782 /* Images.xcassets */, - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, - 607FACD31AFB9204008FA782 /* Supporting Files */, - ); - name = "Example for Reqres"; - path = Reqres; - sourceTree = ""; - }; - 607FACD31AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACD41AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACE81AFB9204008FA782 /* Tests */ = { - isa = PBXGroup; - children = ( - 607FACE91AFB9204008FA782 /* Supporting Files */, - 690F94761F4D8CF70097999D /* ReqresTests.swift */, - ); - path = Tests; - sourceTree = ""; - }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - 7E6361578490C80D3925F6E2 /* Reqres.podspec */, - 03BA3AC28314973F476FE3BC /* README.md */, - BDDE296250E1112169CE19D6 /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - FDE5D90114CB54A1B4FBF3A7 /* Pods */ = { - isa = PBXGroup; - children = ( - 61B4091F53FD9DA0CD471057 /* Pods-Reqres_Example.debug.xcconfig */, - 1BBDF97B68A4A13396DFD886 /* Pods-Reqres_Example.release.xcconfig */, - C64942AB2B6AC873A4A70CBC /* Pods-Reqres_Tests.debug.xcconfig */, - 5616442AC21C633A8CD76EAE /* Pods-Reqres_Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 607FACCF1AFB9204008FA782 /* Reqres_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Reqres_Example" */; - buildPhases = ( - F28F5CF84444BBDD6702E537 /* [CP] Check Pods Manifest.lock */, - 607FACCC1AFB9204008FA782 /* Sources */, - 607FACCD1AFB9204008FA782 /* Frameworks */, - 607FACCE1AFB9204008FA782 /* Resources */, - 07B907D6CD651ECCB4DF4DEA /* [CP] Embed Pods Frameworks */, - 95C1602F4AE2D4440BEE0402 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Reqres_Example; - productName = Reqres; - productReference = 607FACD01AFB9204008FA782 /* Reqres_Example.app */; - productType = "com.apple.product-type.application"; - }; - 607FACE41AFB9204008FA782 /* Reqres_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Reqres_Tests" */; - buildPhases = ( - 947CEF721DB4CC95EBAB2147 /* [CP] Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - AE17AD9C8796BE074E9C0901 /* [CP] Embed Pods Frameworks */, - E9FF7E95C0EC2175B86B0EDD /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = Reqres_Tests; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* Reqres_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 607FACC81AFB9204008FA782 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = CocoaPods; - TargetAttributes = { - 607FACCF1AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0800; - }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0900; - TestTargetID = 607FACCF1AFB9204008FA782; - }; - }; - }; - buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Reqres" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 607FACC71AFB9204008FA782; - productRefGroup = 607FACD11AFB9204008FA782 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 607FACCF1AFB9204008FA782 /* Reqres_Example */, - 607FACE41AFB9204008FA782 /* Reqres_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 607FACCE1AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 07B907D6CD651ECCB4DF4DEA /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Example/Pods-Reqres_Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/Reqres/Reqres.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reqres.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Example/Pods-Reqres_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 947CEF721DB4CC95EBAB2147 /* [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-Reqres_Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 95C1602F4AE2D4440BEE0402 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Example/Pods-Reqres_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - AE17AD9C8796BE074E9C0901 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Tests/Pods-Reqres_Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Nimble/Nimble.framework", - "${BUILT_PRODUCTS_DIR}/Quick/Quick.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Quick.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Tests/Pods-Reqres_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - E9FF7E95C0EC2175B86B0EDD /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Reqres_Tests/Pods-Reqres_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - F28F5CF84444BBDD6702E537 /* [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-Reqres_Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 607FACCC1AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 690F94771F4D8CF70097999D /* ReqresTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* Reqres_Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 607FACD91AFB9204008FA782 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 607FACDA1AFB9204008FA782 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 607FACDF1AFB9204008FA782 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 607FACED1AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 607FACEE1AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 607FACF01AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 61B4091F53FD9DA0CD471057 /* Pods-Reqres_Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = Reqres/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; - }; - name = Debug; - }; - 607FACF11AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1BBDF97B68A4A13396DFD886 /* Pods-Reqres_Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = Reqres/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; - }; - name = Release; - }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C64942AB2B6AC873A4A70CBC /* Pods-Reqres_Tests.debug.xcconfig */; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5616442AC21C633A8CD76EAE /* Pods-Reqres_Tests.release.xcconfig */; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Reqres" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACED1AFB9204008FA782 /* Debug */, - 607FACEE1AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Reqres_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF01AFB9204008FA782 /* Debug */, - 607FACF11AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Reqres_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 607FACC81AFB9204008FA782 /* Project object */; -} diff --git a/Example/Reqres.xcworkspace/contents.xcworkspacedata b/Example/Reqres.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index a73c32f..0000000 --- a/Example/Reqres.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Example/Reqres.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Example/Reqres.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index 3ddf867..0000000 --- a/Example/Reqres.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - BuildSystemType - Latest - - diff --git a/Example/Reqres/Base.lproj/LaunchScreen.xib b/Example/Reqres/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 5395f3c..0000000 --- a/Example/Reqres/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Reqres/Base.lproj/Main.storyboard b/Example/Reqres/Base.lproj/Main.storyboard deleted file mode 100644 index 52ea29e..0000000 --- a/Example/Reqres/Base.lproj/Main.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Reqres/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/Reqres/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d3942e9..0000000 --- a/Example/Reqres/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/Example/Tests/ReqresTests.swift b/Example/Tests/ReqresTests.swift deleted file mode 100644 index 35653f0..0000000 --- a/Example/Tests/ReqresTests.swift +++ /dev/null @@ -1,9 +0,0 @@ -// -// ReqresTests.swift -// Reqres_Tests -// -// Created by Jakub Olejník on 23/08/2017. -// Copyright © 2017 CocoaPods. All rights reserved. -// - -import Foundation diff --git a/Reqres.xcodeproj/project.pbxproj b/Reqres.xcodeproj/project.pbxproj new file mode 100644 index 0000000..fb198fb --- /dev/null +++ b/Reqres.xcodeproj/project.pbxproj @@ -0,0 +1,650 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 69A899B71FF423C4003D0A71 /* Reqres.h in Headers */ = {isa = PBXBuildFile; fileRef = 69A899B51FF423C4003D0A71 /* Reqres.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 69A899C21FF423E2003D0A71 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899C11FF423E2003D0A71 /* AppDelegate.swift */; }; + 69A899C41FF423E2003D0A71 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899C31FF423E2003D0A71 /* ViewController.swift */; }; + 69A899C71FF423E2003D0A71 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 69A899C51FF423E2003D0A71 /* Main.storyboard */; }; + 69A899C91FF423E2003D0A71 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 69A899C81FF423E2003D0A71 /* Assets.xcassets */; }; + 69A899CC1FF423E2003D0A71 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 69A899CA1FF423E2003D0A71 /* LaunchScreen.storyboard */; }; + 69A899D41FF4245D003D0A71 /* ReqresLogging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899D11FF4245D003D0A71 /* ReqresLogging.swift */; }; + 69A899D51FF4245D003D0A71 /* ReqresDefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899D21FF4245D003D0A71 /* ReqresDefaultLogger.swift */; }; + 69A899D61FF4245D003D0A71 /* Reqres.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899D31FF4245D003D0A71 /* Reqres.swift */; }; + 69A899DA1FF425C0003D0A71 /* Reqres.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899B21FF423C4003D0A71 /* Reqres.framework */; }; + 69A899DB1FF425C0003D0A71 /* Reqres.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899B21FF423C4003D0A71 /* Reqres.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 69A899E11FF425E4003D0A71 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899E01FF425E4003D0A71 /* Alamofire.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 69A899DC1FF425C0003D0A71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 697139991FF4237400E5DD8C /* Project object */; + proxyType = 1; + remoteGlobalIDString = 69A899B11FF423C4003D0A71; + remoteInfo = Reqres; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 69A899DE1FF425C0003D0A71 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 69A899DB1FF425C0003D0A71 /* Reqres.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 69A899B21FF423C4003D0A71 /* Reqres.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Reqres.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 69A899B51FF423C4003D0A71 /* Reqres.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Reqres.h; sourceTree = ""; }; + 69A899B61FF423C4003D0A71 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 69A899BF1FF423E2003D0A71 /* ReqresExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReqresExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 69A899C11FF423E2003D0A71 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 69A899C31FF423E2003D0A71 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 69A899C61FF423E2003D0A71 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 69A899C81FF423E2003D0A71 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 69A899CB1FF423E2003D0A71 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 69A899CD1FF423E2003D0A71 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 69A899D11FF4245D003D0A71 /* ReqresLogging.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReqresLogging.swift; sourceTree = ""; }; + 69A899D21FF4245D003D0A71 /* ReqresDefaultLogger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReqresDefaultLogger.swift; sourceTree = ""; }; + 69A899D31FF4245D003D0A71 /* Reqres.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Reqres.swift; sourceTree = ""; }; + 69A899E01FF425E4003D0A71 /* Alamofire.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Alamofire.framework; path = Carthage/Build/iOS/Alamofire.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 69A899AE1FF423C4003D0A71 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69A899BC1FF423E2003D0A71 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899E11FF425E4003D0A71 /* Alamofire.framework in Frameworks */, + 69A899DA1FF425C0003D0A71 /* Reqres.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 697139981FF4237400E5DD8C = { + isa = PBXGroup; + children = ( + 69A899B41FF423C4003D0A71 /* Reqres */, + 69A899C01FF423E2003D0A71 /* ReqresExample */, + 69A899B31FF423C4003D0A71 /* Products */, + 69A899DF1FF425E4003D0A71 /* Frameworks */, + ); + sourceTree = ""; + }; + 69A899B31FF423C4003D0A71 /* Products */ = { + isa = PBXGroup; + children = ( + 69A899B21FF423C4003D0A71 /* Reqres.framework */, + 69A899BF1FF423E2003D0A71 /* ReqresExample.app */, + ); + name = Products; + sourceTree = ""; + }; + 69A899B41FF423C4003D0A71 /* Reqres */ = { + isa = PBXGroup; + children = ( + 69A899D31FF4245D003D0A71 /* Reqres.swift */, + 69A899D21FF4245D003D0A71 /* ReqresDefaultLogger.swift */, + 69A899D11FF4245D003D0A71 /* ReqresLogging.swift */, + 69A899D71FF42463003D0A71 /* Supporting files */, + ); + path = Reqres; + sourceTree = ""; + }; + 69A899C01FF423E2003D0A71 /* ReqresExample */ = { + isa = PBXGroup; + children = ( + 69A899C11FF423E2003D0A71 /* AppDelegate.swift */, + 69A899C31FF423E2003D0A71 /* ViewController.swift */, + 69A899C51FF423E2003D0A71 /* Main.storyboard */, + 69A899C81FF423E2003D0A71 /* Assets.xcassets */, + 69A899CA1FF423E2003D0A71 /* LaunchScreen.storyboard */, + 69A899CD1FF423E2003D0A71 /* Info.plist */, + ); + path = ReqresExample; + sourceTree = ""; + }; + 69A899D71FF42463003D0A71 /* Supporting files */ = { + isa = PBXGroup; + children = ( + 69A899B51FF423C4003D0A71 /* Reqres.h */, + 69A899B61FF423C4003D0A71 /* Info.plist */, + ); + path = "Supporting files"; + sourceTree = ""; + }; + 69A899DF1FF425E4003D0A71 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 69A899E01FF425E4003D0A71 /* Alamofire.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 69A899AF1FF423C4003D0A71 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899B71FF423C4003D0A71 /* Reqres.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 69A899B11FF423C4003D0A71 /* Reqres */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69A899BA1FF423C4003D0A71 /* Build configuration list for PBXNativeTarget "Reqres" */; + buildPhases = ( + 69A899AD1FF423C4003D0A71 /* Sources */, + 69A899AE1FF423C4003D0A71 /* Frameworks */, + 69A899AF1FF423C4003D0A71 /* Headers */, + 69A899B01FF423C4003D0A71 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Reqres; + productName = Reqres; + productReference = 69A899B21FF423C4003D0A71 /* Reqres.framework */; + productType = "com.apple.product-type.framework"; + }; + 69A899BE1FF423E2003D0A71 /* ReqresExample */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69A899CE1FF423E2003D0A71 /* Build configuration list for PBXNativeTarget "ReqresExample" */; + buildPhases = ( + 69A899BB1FF423E2003D0A71 /* Sources */, + 69A899BC1FF423E2003D0A71 /* Frameworks */, + 69A899BD1FF423E2003D0A71 /* Resources */, + 69A899D91FF42591003D0A71 /* Carthage stuff */, + 69A899DE1FF425C0003D0A71 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 69A899DD1FF425C0003D0A71 /* PBXTargetDependency */, + ); + name = ReqresExample; + productName = ReqresExample; + productReference = 69A899BF1FF423E2003D0A71 /* ReqresExample.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 697139991FF4237400E5DD8C /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 0920; + TargetAttributes = { + 69A899B11FF423C4003D0A71 = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 0920; + ProvisioningStyle = Manual; + }; + 69A899BE1FF423E2003D0A71 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Manual; + }; + }; + }; + buildConfigurationList = 6971399C1FF4237400E5DD8C /* Build configuration list for PBXProject "Reqres" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 697139981FF4237400E5DD8C; + productRefGroup = 69A899B31FF423C4003D0A71 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 69A899B11FF423C4003D0A71 /* Reqres */, + 69A899BE1FF423E2003D0A71 /* ReqresExample */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 69A899B01FF423C4003D0A71 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69A899BD1FF423E2003D0A71 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899CC1FF423E2003D0A71 /* LaunchScreen.storyboard in Resources */, + 69A899C91FF423E2003D0A71 /* Assets.xcassets in Resources */, + 69A899C71FF423E2003D0A71 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 69A899D91FF42591003D0A71 /* Carthage stuff */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/Carthage/Build/iOS/Alamofire.framework", + ); + name = "Carthage stuff"; + outputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Alamofire.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/usr/local/bin/carthage copy-frameworks"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 69A899AD1FF423C4003D0A71 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899D61FF4245D003D0A71 /* Reqres.swift in Sources */, + 69A899D41FF4245D003D0A71 /* ReqresLogging.swift in Sources */, + 69A899D51FF4245D003D0A71 /* ReqresDefaultLogger.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 69A899BB1FF423E2003D0A71 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899C41FF423E2003D0A71 /* ViewController.swift in Sources */, + 69A899C21FF423E2003D0A71 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 69A899DD1FF425C0003D0A71 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 69A899B11FF423C4003D0A71 /* Reqres */; + targetProxy = 69A899DC1FF425C0003D0A71 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 69A899C51FF423E2003D0A71 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 69A899C61FF423E2003D0A71 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 69A899CA1FF423E2003D0A71 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 69A899CB1FF423E2003D0A71 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 6971399D1FF4237400E5DD8C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + 6971399E1FF4237400E5DD8C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; + 69A899B81FF423C4003D0A71 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + 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 = "$(SRCROOT)/Reqres/Supporting files/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.Reqres; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 69A899B91FF423C4003D0A71 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + 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 = "$(SRCROOT)/Reqres/Supporting files/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.Reqres; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 69A899CF1FF423E2003D0A71 /* Debug */ = { + isa = XCBuildConfiguration; + 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + 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 = ReqresExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.ReqresExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 69A899D01FF423E2003D0A71 /* Release */ = { + isa = XCBuildConfiguration; + 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + 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 = ReqresExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.ReqresExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 6971399C1FF4237400E5DD8C /* Build configuration list for PBXProject "Reqres" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6971399D1FF4237400E5DD8C /* Debug */, + 6971399E1FF4237400E5DD8C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 69A899BA1FF423C4003D0A71 /* Build configuration list for PBXNativeTarget "Reqres" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69A899B81FF423C4003D0A71 /* Debug */, + 69A899B91FF423C4003D0A71 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 69A899CE1FF423E2003D0A71 /* Build configuration list for PBXNativeTarget "ReqresExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69A899CF1FF423E2003D0A71 /* Debug */, + 69A899D01FF423E2003D0A71 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 697139991FF4237400E5DD8C /* Project object */; +} diff --git a/Example/Reqres.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Reqres.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Example/Reqres.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Reqres.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme b/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme new file mode 100644 index 0000000..b60ca82 --- /dev/null +++ b/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres-Example.xcscheme b/Reqres.xcodeproj/xcshareddata/xcschemes/ReqresExample.xcscheme similarity index 61% rename from Example/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres-Example.xcscheme rename to Reqres.xcodeproj/xcshareddata/xcschemes/ReqresExample.xcscheme index 6ddcd04..37825f4 100644 --- a/Example/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres-Example.xcscheme +++ b/Reqres.xcodeproj/xcshareddata/xcschemes/ReqresExample.xcscheme @@ -1,6 +1,6 @@ - - - - @@ -40,25 +26,16 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - @@ -69,6 +46,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" @@ -79,9 +57,9 @@ runnableDebuggingMode = "0"> @@ -98,9 +76,9 @@ runnableDebuggingMode = "0"> diff --git a/Reqres/Assets/.gitkeep b/Reqres/Assets/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Reqres/Classes/.gitkeep b/Reqres/Classes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Reqres/Classes/Reqres.swift b/Reqres/Reqres.swift similarity index 100% rename from Reqres/Classes/Reqres.swift rename to Reqres/Reqres.swift diff --git a/Reqres/Classes/ReqresDefaultLogger.swift b/Reqres/ReqresDefaultLogger.swift similarity index 100% rename from Reqres/Classes/ReqresDefaultLogger.swift rename to Reqres/ReqresDefaultLogger.swift diff --git a/Reqres/Classes/ReqresLogging.swift b/Reqres/ReqresLogging.swift similarity index 100% rename from Reqres/Classes/ReqresLogging.swift rename to Reqres/ReqresLogging.swift diff --git a/Example/Tests/Info.plist b/Reqres/Supporting files/Info.plist similarity index 76% rename from Example/Tests/Info.plist rename to Reqres/Supporting files/Info.plist index ba72822..3d809ff 100644 --- a/Example/Tests/Info.plist +++ b/Reqres/Supporting files/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,12 +13,12 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - BNDL + FMWK CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? + 2.1.0 CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + diff --git a/Reqres/Supporting files/Reqres.h b/Reqres/Supporting files/Reqres.h new file mode 100644 index 0000000..79a2d19 --- /dev/null +++ b/Reqres/Supporting files/Reqres.h @@ -0,0 +1,18 @@ +// +// Reqres.h +// Reqres +// +// Created by Jakub Olejník on 27/12/2017. +// + +#import + +//! Project version number for Reqres. +FOUNDATION_EXPORT double ReqresVersionNumber; + +//! Project version string for Reqres. +FOUNDATION_EXPORT const unsigned char ReqresVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Example/Reqres/AppDelegate.swift b/ReqresExample/AppDelegate.swift similarity index 86% rename from Example/Reqres/AppDelegate.swift rename to ReqresExample/AppDelegate.swift index 3aed9f0..d53ac00 100644 --- a/Example/Reqres/AppDelegate.swift +++ b/ReqresExample/AppDelegate.swift @@ -1,9 +1,8 @@ // // AppDelegate.swift -// Reqres +// ReqresExample // -// Created by Jan Mísař on 09/05/2016. -// Copyright (c) 2016 Jan Mísař. All rights reserved. +// Created by Jakub Olejník on 27/12/2017. // import UIKit @@ -13,6 +12,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true @@ -20,7 +20,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func applicationWillResignActive(_ application: UIApplication) { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. } func applicationDidEnterBackground(_ application: UIApplication) { @@ -29,7 +29,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(_ application: UIApplication) { @@ -40,4 +40,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } + } + diff --git a/ReqresExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/ReqresExample/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..1d060ed --- /dev/null +++ b/ReqresExample/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,93 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ReqresExample/Base.lproj/LaunchScreen.storyboard b/ReqresExample/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f83f6fd --- /dev/null +++ b/ReqresExample/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ReqresExample/Base.lproj/Main.storyboard b/ReqresExample/Base.lproj/Main.storyboard new file mode 100644 index 0000000..03c13c2 --- /dev/null +++ b/ReqresExample/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Reqres/Info.plist b/ReqresExample/Info.plist similarity index 73% rename from Example/Reqres/Info.plist rename to ReqresExample/Info.plist index eb18faa..16be3b6 100644 --- a/Example/Reqres/Info.plist +++ b/ReqresExample/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -16,8 +16,6 @@ APPL CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion 1 LSRequiresIPhoneOS @@ -34,6 +32,14 @@ UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight diff --git a/Example/Reqres/ViewController.swift b/ReqresExample/ViewController.swift similarity index 88% rename from Example/Reqres/ViewController.swift rename to ReqresExample/ViewController.swift index 664066a..bea5317 100644 --- a/Example/Reqres/ViewController.swift +++ b/ReqresExample/ViewController.swift @@ -1,9 +1,8 @@ // // ViewController.swift -// Reqres +// ReqresExample // -// Created by Jan Mísař on 09/05/2016. -// Copyright (c) 2016 Jan Mísař. All rights reserved. +// Created by Jakub Olejník on 27/12/2017. // import UIKit @@ -11,15 +10,14 @@ import Reqres import Alamofire class ViewController: UIViewController { - override func viewDidLoad() { super.viewDidLoad() - + // create alamofire manger with right configuration let configuration = Reqres.defaultSessionConfiguration() configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders let alamofireManager = SessionManager(configuration: configuration) - + // make sample request alamofireManager.request("https://requestb.in/q9bnyvq9", method: .post, parameters: ["foo": "bar"], encoding: JSONEncoding.default) .authenticate(user: "blabla", password: "blabla") @@ -28,6 +26,5 @@ class ViewController: UIViewController { debugPrint(response.request) debugPrint(response.response) }) - } } diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file From ea66eb3a7928d002d3bae95b1f1236d5aee22d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 27 Dec 2017 20:06:48 +0100 Subject: [PATCH 2/5] Fix podspec --- Reqres.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reqres.podspec b/Reqres.podspec index e438d95..ced3e0d 100644 --- a/Reqres.podspec +++ b/Reqres.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'Reqres' - s.version = '2.1.0' + s.version = '2.1.1' s.summary = 'Simple network activity logger' s.description = <<-DESC @@ -23,5 +23,5 @@ Logs every request app makes, works great with Alamofire. s.ios.deployment_target = '8.0' - s.source_files = 'Reqres/Classes/**/*' + s.source_files = 'Reqres/*.swift' end From 70e7588255d8ffa06b1b45eb54138c1511acb7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 27 Dec 2017 20:07:04 +0100 Subject: [PATCH 3/5] Bump version --- Reqres/Supporting files/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reqres/Supporting files/Info.plist b/Reqres/Supporting files/Info.plist index 3d809ff..011e22e 100644 --- a/Reqres/Supporting files/Info.plist +++ b/Reqres/Supporting files/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.1.0 + 2.1.1 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass From 6040487a420d6e8a6d41cd526372bf591a7a7fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 27 Dec 2017 20:09:14 +0100 Subject: [PATCH 4/5] Update swift version file --- .swift-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.swift-version b/.swift-version index 9f55b2c..5186d07 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.0 +4.0 From 87fb83b685ab851e701d011d16bcdaac2130ab32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 27 Dec 2017 20:14:50 +0100 Subject: [PATCH 5/5] Update .travis.yml --- .travis.yml | 14 +- Reqres.xcodeproj/project.pbxproj | 204 ++++++++++++++++++ .../xcshareddata/xcschemes/Reqres.xcscheme | 33 +++ ReqresTests/Info.plist | 22 ++ ReqresTests/ReqresTests.swift | 34 +++ 5 files changed, 301 insertions(+), 6 deletions(-) create mode 100644 ReqresTests/Info.plist create mode 100644 ReqresTests/ReqresTests.swift diff --git a/.travis.yml b/.travis.yml index 8a267ea..67bcb77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,15 @@ # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage -osx_image: xcode9 +osx_image: xcode9.2 language: objective-c -# cache: cocoapods -# podfile: Example/Podfile +cache: + directories: + - Carthage before_install: -- gem install cocoapods --pre # Since Travis is not always on latest version -- pod install --project-directory=Example +- brew update +- brew outdated carthage || brew upgrade carthage +- carthage bootstrap --platform iOS --cache-builds script: -- set -o pipefail && xcodebuild test -workspace Example/Reqres.xcworkspace -scheme Reqres-Example -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' ONLY_ACTIVE_ARCH=NO | xcpretty +- set -o pipefail && xcodebuild test -scheme Reqres -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint diff --git a/Reqres.xcodeproj/project.pbxproj b/Reqres.xcodeproj/project.pbxproj index fb198fb..1540190 100644 --- a/Reqres.xcodeproj/project.pbxproj +++ b/Reqres.xcodeproj/project.pbxproj @@ -19,6 +19,8 @@ 69A899DA1FF425C0003D0A71 /* Reqres.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899B21FF423C4003D0A71 /* Reqres.framework */; }; 69A899DB1FF425C0003D0A71 /* Reqres.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899B21FF423C4003D0A71 /* Reqres.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 69A899E11FF425E4003D0A71 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899E01FF425E4003D0A71 /* Alamofire.framework */; }; + 69A899E91FF427E0003D0A71 /* ReqresTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A899E81FF427E0003D0A71 /* ReqresTests.swift */; }; + 69A899EB1FF427E0003D0A71 /* Reqres.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69A899B21FF423C4003D0A71 /* Reqres.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -29,6 +31,13 @@ remoteGlobalIDString = 69A899B11FF423C4003D0A71; remoteInfo = Reqres; }; + 69A899EC1FF427E0003D0A71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 697139991FF4237400E5DD8C /* Project object */; + proxyType = 1; + remoteGlobalIDString = 69A899B11FF423C4003D0A71; + remoteInfo = Reqres; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -60,6 +69,9 @@ 69A899D21FF4245D003D0A71 /* ReqresDefaultLogger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReqresDefaultLogger.swift; sourceTree = ""; }; 69A899D31FF4245D003D0A71 /* Reqres.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Reqres.swift; sourceTree = ""; }; 69A899E01FF425E4003D0A71 /* Alamofire.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Alamofire.framework; path = Carthage/Build/iOS/Alamofire.framework; sourceTree = ""; }; + 69A899E61FF427E0003D0A71 /* ReqresTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReqresTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 69A899E81FF427E0003D0A71 /* ReqresTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReqresTests.swift; sourceTree = ""; }; + 69A899EA1FF427E0003D0A71 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -79,6 +91,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 69A899E31FF427E0003D0A71 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899EB1FF427E0003D0A71 /* Reqres.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -87,6 +107,7 @@ children = ( 69A899B41FF423C4003D0A71 /* Reqres */, 69A899C01FF423E2003D0A71 /* ReqresExample */, + 69A899E71FF427E0003D0A71 /* ReqresTests */, 69A899B31FF423C4003D0A71 /* Products */, 69A899DF1FF425E4003D0A71 /* Frameworks */, ); @@ -97,6 +118,7 @@ children = ( 69A899B21FF423C4003D0A71 /* Reqres.framework */, 69A899BF1FF423E2003D0A71 /* ReqresExample.app */, + 69A899E61FF427E0003D0A71 /* ReqresTests.xctest */, ); name = Products; sourceTree = ""; @@ -142,6 +164,15 @@ name = Frameworks; sourceTree = ""; }; + 69A899E71FF427E0003D0A71 /* ReqresTests */ = { + isa = PBXGroup; + children = ( + 69A899E81FF427E0003D0A71 /* ReqresTests.swift */, + 69A899EA1FF427E0003D0A71 /* Info.plist */, + ); + path = ReqresTests; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -194,6 +225,24 @@ productReference = 69A899BF1FF423E2003D0A71 /* ReqresExample.app */; productType = "com.apple.product-type.application"; }; + 69A899E51FF427E0003D0A71 /* ReqresTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69A899EE1FF427E0003D0A71 /* Build configuration list for PBXNativeTarget "ReqresTests" */; + buildPhases = ( + 69A899E21FF427E0003D0A71 /* Sources */, + 69A899E31FF427E0003D0A71 /* Frameworks */, + 69A899E41FF427E0003D0A71 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 69A899ED1FF427E0003D0A71 /* PBXTargetDependency */, + ); + name = ReqresTests; + productName = ReqresTests; + productReference = 69A899E61FF427E0003D0A71 /* ReqresTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -212,6 +261,10 @@ CreatedOnToolsVersion = 9.2; ProvisioningStyle = Manual; }; + 69A899E51FF427E0003D0A71 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = 6971399C1FF4237400E5DD8C /* Build configuration list for PBXProject "Reqres" */; @@ -229,6 +282,7 @@ targets = ( 69A899B11FF423C4003D0A71 /* Reqres */, 69A899BE1FF423E2003D0A71 /* ReqresExample */, + 69A899E51FF427E0003D0A71 /* ReqresTests */, ); }; /* End PBXProject section */ @@ -251,6 +305,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 69A899E41FF427E0003D0A71 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -292,6 +353,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 69A899E21FF427E0003D0A71 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 69A899E91FF427E0003D0A71 /* ReqresTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -300,6 +369,11 @@ target = 69A899B11FF423C4003D0A71 /* Reqres */; targetProxy = 69A899DC1FF425C0003D0A71 /* PBXContainerItemProxy */; }; + 69A899ED1FF427E0003D0A71 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 69A899B11FF423C4003D0A71 /* Reqres */; + targetProxy = 69A899EC1FF427E0003D0A71 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -614,6 +688,127 @@ }; name = Release; }; + 69A899EF1FF427E0003D0A71 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + 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 = ( + "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 = ReqresTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.ReqresTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 69A899F01FF427E0003D0A71 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + 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_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 = ReqresTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = cz.ackee.ReqresTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -644,6 +839,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 69A899EE1FF427E0003D0A71 /* Build configuration list for PBXNativeTarget "ReqresTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 69A899EF1FF427E0003D0A71 /* Debug */, + 69A899F01FF427E0003D0A71 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 697139991FF4237400E5DD8C /* Project object */; diff --git a/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme b/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme index b60ca82..571d618 100644 --- a/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme +++ b/Reqres.xcodeproj/xcshareddata/xcschemes/Reqres.xcscheme @@ -20,6 +20,20 @@ ReferencedContainer = "container:Reqres.xcodeproj"> + + + + + + + + + + + + diff --git a/ReqresTests/Info.plist b/ReqresTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/ReqresTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/ReqresTests/ReqresTests.swift b/ReqresTests/ReqresTests.swift new file mode 100644 index 0000000..3563c40 --- /dev/null +++ b/ReqresTests/ReqresTests.swift @@ -0,0 +1,34 @@ +// +// ReqresTests.swift +// ReqresTests +// +// Created by Jakub Olejník on 27/12/2017. +// + +import XCTest + +class ReqresTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +}