[iOS] Upgraded to AliSoftware/OHHTTPStubs@4.3.0

This commit is contained in:
Minh Nguyễn
2015-10-16 10:44:17 -07:00
parent 6c49f8a578
commit ebf81a1e27
118 changed files with 4806 additions and 1435 deletions

View File

@@ -1,5 +1,5 @@
# Xcode
build/*
build/
*.pbxuser
!default.pbxuser
*.mode1v3

View File

@@ -7,7 +7,7 @@ env:
#- RAKETASK="simlist"
#- RAKETASK="ios[iOS StaticLib,7.1,test]"
- RAKETASK="ios[iOS StaticLib,latest,test]"
- RAKETASK="ios[iOS Framework,latest,analyze]"
- RAKETASK="ios[iOS Framework,latest,test]"
- RAKETASK="osx[Mac Framework,x86_64,test]"
script:

View File

@@ -1,4 +1,33 @@
_You can download previous versions [here](https://github.com/AliSoftware/OHHTTPStubs/tags) and latest version [here](https://github.com/AliSoftware/OHHTTPStubs/zipball/master) (ZIP files generated by GitHub on the fly)_
# OHHTTPStubs — CHANGELOG
## [4.3.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.3.0)
* Xcode projects updated to Xcode 7.0 Final
* Added a `Swift` subspec that adds helper global functions to ease & make more compact the use of `OHHTTPStubs` from Swift 2.0 ([#111](https://github.com/AliSoftware/OHHTTPStubs/issues/111))
> If you're using `OHHTTPStubs` in a **Swift 2.0** project, it's recommended to add `pod 'OHHTTPStubs/Swift` to your `Podfile` so you can use those handy helpers.
## [4.2.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.2.1)
* Fix the Examples Xcode project + lib Podfile that were referencing old target names ([mikelupo](https://github.com/mikelupo), [#117](https://github.com/AliSoftware/OHHTTPStubs/pull/117))
* Added two new constants for download speed: `OHHTTPStubsDownloadSpeed1KBPS` = 1kbps and `OHHTTPStubsDownloadSpeedSLOW` = 1.5 kpbs. ([mikelupo](https://github.com/mikelupo), [#114](https://github.com/AliSoftware/OHHTTPStubs/pull/114))
## [4.2.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.2.0)
* Added support for stubs written in the [Mocktail](https://github.com/square/objc-mocktail) format ([@JinlianWang](https://github.com/JinlianWang), [#108](https://github.com/AliSoftware/OHHTTPStubs/pull/108))
* The `OHHTTPStubs` spec has been splitted into **multiple subspecs**:
* The default subspec (used when you simply use `pod 'OHHTTPStubs'` in your `Podfile`) contains the subspecs `Core`, `NSURLSession`, `JSON` & `OHPathHelpers` (so that it matches the features that most people use).
* Other optional subspecs are `HTTPMessage` and `Mocktail` (which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in your `Podfile` using `pod 'OHHTTPStubs/Mocktail` for example.
* The iOS Unit Tests are now also run for the framework as well as for the static library, to ensure the tests pass in both contexts _(because frameworks sometimes introduce subtleties like when using `NSBundle`, so it's worth testing in that context too)_
## [4.1.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.1.0)
* Added support for using `OHHTTPStubs` in watchOS 2.0 targets.
* Improved compatibility macros (nullability annotations) — and tested against Xcode 7 beta 4.
## [4.0.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.2)
* Fix `OHResourceBundle` name mismatch between header and implementation ([@tibr](https://github.com/tibr), [#103](https://github.com/AliSoftware/OHHTTPStubs/pull/103))
## [4.0.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.1)

View File

@@ -157,7 +157,7 @@
098FBDC615D704E800623941 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = AliSoftware;
};
buildConfigurationList = 098FBDC915D704E800623941 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */;
@@ -255,6 +255,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
@@ -336,6 +337,7 @@
GCC_PREFIX_HEADER = "Supporting Files/OHHTTPStubsDemo-Prefix.pch";
INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/OHHTTPStubsDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
@@ -350,6 +352,7 @@
GCC_PREFIX_HEADER = "Supporting Files/OHHTTPStubsDemo-Prefix.pch";
INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/OHHTTPStubsDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "NO"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "098FBDCE15D704E800623941"
BuildableName = "OHHTTPStubsDemo.app"
BlueprintName = "OHHTTPStubsDemo"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "098FBDCE15D704E800623941"
BuildableName = "OHHTTPStubsDemo.app"
BlueprintName = "OHHTTPStubsDemo"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugXPCServices = "NO"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "098FBDCE15D704E800623941"
BuildableName = "OHHTTPStubsDemo.app"
BlueprintName = "OHHTTPStubsDemo"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "098FBDCE15D704E800623941"
BuildableName = "OHHTTPStubsDemo.app"
BlueprintName = "OHHTTPStubsDemo"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@@ -1,5 +1,17 @@
PODS:
- OHHTTPStubs (4.0.1)
- OHHTTPStubs (4.3.0):
- OHHTTPStubs/Default (= 4.3.0)
- OHHTTPStubs/Core (4.3.0)
- OHHTTPStubs/Default (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/JSON
- OHHTTPStubs/NSURLSession
- OHHTTPStubs/OHPathHelpers
- OHHTTPStubs/JSON (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/NSURLSession (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/OHPathHelpers (4.3.0)
DEPENDENCIES:
- OHHTTPStubs (from `../..`)
@@ -9,6 +21,6 @@ EXTERNAL SOURCES:
:path: "../.."
SPEC CHECKSUMS:
OHHTTPStubs: 69b1d48b7dfe838a355fdf48d8592d1042e3d85f
OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

View File

@@ -0,0 +1 @@
../../../../../../OHHTTPStubs/Sources/Compatibility.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHPathHelpers.h
../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h

View File

@@ -0,0 +1 @@
../../../../../../OHHTTPStubs/Sources/Compatibility.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHPathHelpers.h
../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h

View File

@@ -1,8 +1,8 @@
{
"name": "OHHTTPStubs",
"version": "4.0.1",
"version": "4.3.0",
"summary": "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest.",
"description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift\n",
"description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift",
"homepage": "https://github.com/AliSoftware/OHHTTPStubs",
"license": "MIT",
"authors": {
@@ -10,10 +10,8 @@
},
"source": {
"git": "https://github.com/AliSoftware/OHHTTPStubs.git",
"tag": "4.0.1"
"tag": "4.3.0"
},
"source_files": "OHHTTPStubs/Sources/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/*.h",
"frameworks": [
"Foundation",
"CFNetwork"
@@ -21,6 +19,94 @@
"requires_arc": true,
"platforms": {
"ios": "5.0",
"osx": "10.7"
}
"osx": "10.7",
"watchos": "2.0"
},
"default_subspecs": "Default",
"subspecs": [
{
"name": "Default",
"dependencies": {
"OHHTTPStubs/Core": [
],
"OHHTTPStubs/NSURLSession": [
],
"OHHTTPStubs/JSON": [
],
"OHHTTPStubs/OHPathHelpers": [
]
}
},
{
"name": "Core",
"source_files": "OHHTTPStubs/Sources/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/*.h"
},
{
"name": "NSURLSession",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
},
{
"name": "JSON",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/JSON/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/JSON/*.h"
},
{
"name": "HTTPMessage",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/HTTPMessage/*.h"
},
{
"name": "Mocktail",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/Mocktail/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/Mocktail/*.h"
},
{
"name": "OHPathHelpers",
"source_files": [
"OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}",
"OHHTTPStubs/Sources/Compatibility.h"
],
"public_header_files": [
"OHHTTPStubs/Sources/OHPathHelpers/*.h",
"OHHTTPStubs/Sources/Compatibility.h"
]
},
{
"name": "Swift",
"platforms": {
"ios": "8.0"
},
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/Swift/*.swift"
}
]
}

View File

@@ -1,5 +1,17 @@
PODS:
- OHHTTPStubs (4.0.1)
- OHHTTPStubs (4.3.0):
- OHHTTPStubs/Default (= 4.3.0)
- OHHTTPStubs/Core (4.3.0)
- OHHTTPStubs/Default (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/JSON
- OHHTTPStubs/NSURLSession
- OHHTTPStubs/OHPathHelpers
- OHHTTPStubs/JSON (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/NSURLSession (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/OHPathHelpers (4.3.0)
DEPENDENCIES:
- OHHTTPStubs (from `../..`)
@@ -9,6 +21,6 @@ EXTERNAL SOURCES:
:path: "../.."
SPEC CHECKSUMS:
OHHTTPStubs: 69b1d48b7dfe838a355fdf48d8592d1042e3d85f
OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

View File

@@ -7,347 +7,414 @@
objects = {
/* Begin PBXBuildFile section */
0287B0995D3956A77FE8245B /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F22C8E5911B3A17469606575 /* Pods-dummy.m */; };
05AF8AC740672A49F1DB86F8 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 8AB4DCEA3E6E205F6150BB9B /* OHPathHelpers.h */; };
37E8EFCB93409F59A3519709 /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 64DE90B81CB54898D8031417 /* OHHTTPStubsResponse.h */; };
3C4E450E5248FA162C4836BB /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 43DA39110509B5D077268FC8 /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
4C169F633246281BE747CBC7 /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = BB8B9FD03923F20EA8A5A11A /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
5FAAE71C0DC019D177F03852 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B2C23953AEE92A8924B57BD /* Foundation.framework */; };
91AC7870E73F1D4AFD355954 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = CD10D9BE097DF051073D1136 /* OHHTTPStubsResponse+HTTPMessage.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
91F20FAEB508489E6E82A37E /* Pods-OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C9D0A204842A77405B1B4826 /* Pods-OHHTTPStubs-dummy.m */; };
B1DBEB199B89B0F2534AB372 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E3F78A40A045AD979FC32D66 /* CFNetwork.framework */; };
B3F948D4C6FEA3E3414304E3 /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F1C78DC9C9ED126B2DD803F /* OHHTTPStubsResponse+JSON.h */; };
B5A13025620A2BC7F9523B3E /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 91CB751631C441AC78BFFF91 /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
B88B2F8C9696F7AFF1219FA6 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C538A641602D6CA84175EA /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
C73743AF5192A2BCAD0BA639 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 757741D337827989EA9CFB35 /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
D6D12CC401BBCC3846765533 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B2C23953AEE92A8924B57BD /* Foundation.framework */; };
DDE78ABCE16D42E4E3347D57 /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = F59CD3981590122479A99319 /* OHHTTPStubs.h */; };
E93E7222A109F4DE8DEE1C8A /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 26BD78083C121EBF426395FC /* OHHTTPStubsResponse+HTTPMessage.h */; };
2E2F9EE660B700F15963DDC8F3B75352 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */; };
3CBC5BDC4CA1C0B844B19387C9487B99 /* OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */; };
4B6983FE7D3F9A195AE59F7D6762EBA3 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
4D5E9270212910BCD3460EF239A4197B /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */; };
6D27035ABE2F530B0B1896D0BB030BB2 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
761A9F4188992FF44563636002EF49AC /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */; };
93ED78687FB436C0E1C67C7193F10BCB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */; };
B0F67924EC7A003F434F96C082173A62 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */; };
B139DD76E84F5F24F6DD49C0F600782E /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
B5248AD1AEB29FFE46C05ECE6703FD8A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */; };
C0BA0C0E164C2418A157C9058DA2738B /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */; };
CA2E9623C22F6149A0E4C039FBC39A33 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */; };
E592D52F285D6E0EDDC953CCEF1C505F /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
EC9B9515AB1F864E5A329A33486C63D8 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */; };
FDFB69C6F9232F38379BF2CADF08476E /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
70209F8E12151BE9099A0906 /* PBXContainerItemProxy */ = {
527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4E43A3978191CB163B56150F /* Project object */;
containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
proxyType = 1;
remoteGlobalIDString = 9BFA25996D607CC8407D9667;
remoteInfo = "Pods-OHHTTPStubs";
remoteGlobalIDString = E19A1FD189B51F90DC11A06D80A7C026;
remoteInfo = OHHTTPStubs;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
1F1C78DC9C9ED126B2DD803F /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
26BD78083C121EBF426395FC /* OHHTTPStubsResponse+HTTPMessage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+HTTPMessage.h"; sourceTree = "<group>"; };
43DA39110509B5D077268FC8 /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
51D2E996FA1B199219C88105 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
540BE0121862CF47DF5EAC7E /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
5CAE31F1B62C6CE71BC12572 /* Pods-OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
64DE90B81CB54898D8031417 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
757741D337827989EA9CFB35 /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
7A817F08BCB2651ACDF06BAF /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
7B2C23953AEE92A8924B57BD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
7F0BAB562664206098AE3E43 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
85434260BFFB3C7A7BC04F99 /* Pods-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-environment.h"; sourceTree = "<group>"; };
8AB4DCEA3E6E205F6150BB9B /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
90C538A641602D6CA84175EA /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
91CB751631C441AC78BFFF91 /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
925D0F1AA2487470D449CE49 /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
95AC8CA1C533FBB6BD437ACB /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
A1BA020EDD8BB7AE11152ACC /* Pods-OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs.xcconfig"; sourceTree = "<group>"; };
A976A0F9BBC8019FB5DD5B7F /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
BB8B9FD03923F20EA8A5A11A /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
C9D0A204842A77405B1B4826 /* Pods-OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
CD10D9BE097DF051073D1136 /* OHHTTPStubsResponse+HTTPMessage.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+HTTPMessage.m"; sourceTree = "<group>"; };
DBFCAD5C4AF069800133DA37 /* Pods-OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
DD8EC89EDDE25D7B79665F29 /* libPods-OHHTTPStubs.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E3F78A40A045AD979FC32D66 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
F22C8E5911B3A17469606575 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
F59CD3981590122479A99319 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
15A529C27057E4A57D259CBC6E6CE49C /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
428144F620B34DF111B724C1E9A7466D /* OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OHHTTPStubs.xcconfig; sourceTree = "<group>"; };
444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
641AE05DD55E5E6AC1590CD7B4A18F97 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOHHTTPStubs.a; sourceTree = BUILT_PRODUCTS_DIR; };
ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
BF59BC15D23E1E1912C8F334E7236813 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
D1D014DC18D21B978AE25F6A45D0F849 /* OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
370CE9976B2CE6DC38C7AD35 /* Frameworks */ = {
BD8104109F63444BD0B66D1B85C72751 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B1DBEB199B89B0F2534AB372 /* CFNetwork.framework in Frameworks */,
D6D12CC401BBCC3846765533 /* Foundation.framework in Frameworks */,
EC9B9515AB1F864E5A329A33486C63D8 /* CFNetwork.framework in Frameworks */,
B5248AD1AEB29FFE46C05ECE6703FD8A /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
8F733C40CCF846B63AED7A63 /* Frameworks */ = {
F9449BFF91161A11298A873124980F7D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5FAAE71C0DC019D177F03852 /* Foundation.framework in Frameworks */,
93ED78687FB436C0E1C67C7193F10BCB /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
262D783B60DE608266D6A656 /* Products */ = {
35D0D8F406529065559CB5CD4B277012 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
51D2E996FA1B199219C88105 /* libPods.a */,
DD8EC89EDDE25D7B79665F29 /* libPods-OHHTTPStubs.a */,
B7AD2479593204FB5293377C5548E8C3 /* Sources */,
);
name = Products;
path = OHHTTPStubs;
sourceTree = "<group>";
};
2D13680F87CE7E9F973E18D6 /* Targets Support Files */ = {
433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
isa = PBXGroup;
children = (
D8918EE34F24A086FB93B162 /* Pods */,
A4692D0E73946F1C6A29E627D41155D5 /* iOS */,
);
name = "Targets Support Files";
name = Frameworks;
sourceTree = "<group>";
};
3EB198ABE93CBAE1C25569ED /* OHHTTPStubs */ = {
45CE3E982C05C186D577713C5CF90A63 /* JSON */ = {
isa = PBXGroup;
children = (
C4B29A11FCEF09243EA85BD4 /* OHHTTPStubs */,
D882BE8B7A1CD1ACAD41FC23 /* Support Files */,
067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */,
6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */,
);
path = JSON;
sourceTree = "<group>";
};
48D8C43667D212F6D003C9F6F0A21FC9 /* OHPathHelpers */ = {
isa = PBXGroup;
children = (
C9B3BF8403416C7E05B5E35EB1F7530D /* OHHTTPStubs */,
);
name = OHPathHelpers;
sourceTree = "<group>";
};
4EAEACA78DDC3C48137D0AC5042B4CD6 /* Support Files */ = {
isa = PBXGroup;
children = (
428144F620B34DF111B724C1E9A7466D /* OHHTTPStubs.xcconfig */,
6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */,
569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */,
D1D014DC18D21B978AE25F6A45D0F849 /* OHHTTPStubs-prefix.pch */,
);
name = "Support Files";
path = "Examples/ObjC/Pods/Target Support Files/OHHTTPStubs";
sourceTree = "<group>";
};
634F739643411C743CFB1F3BE1CE1F10 /* Sources */ = {
isa = PBXGroup;
children = (
83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */,
879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */,
837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */,
3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */,
444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */,
);
path = Sources;
sourceTree = "<group>";
};
70B9817713C09EF51E81CBB4F55BA325 /* JSON */ = {
isa = PBXGroup;
children = (
FCDE432930ABA4CD146D9B71D4E9A668 /* OHHTTPStubs */,
);
name = JSON;
sourceTree = "<group>";
};
7D3C95C4FB8238C8413AE1D7FABFD8F8 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
ADCFFFF1B87F1AE6D91FD98B1771E731 /* Core */,
70B9817713C09EF51E81CBB4F55BA325 /* JSON */,
D76351656BA2F429928E0B82DC136189 /* NSURLSession */,
48D8C43667D212F6D003C9F6F0A21FC9 /* OHPathHelpers */,
4EAEACA78DDC3C48137D0AC5042B4CD6 /* Support Files */,
);
name = OHHTTPStubs;
path = ../../..;
sourceTree = "<group>";
};
4CCC5CCCC482E8248CF90F91 = {
7DB346D0F39D3F0E887471402A8071AB = {
isa = PBXGroup;
children = (
95AC8CA1C533FBB6BD437ACB /* Podfile */,
A6534AD5BD03EA29AB460479 /* Development Pods */,
90091CD0A828ED346DE8663C /* Frameworks */,
262D783B60DE608266D6A656 /* Products */,
2D13680F87CE7E9F973E18D6 /* Targets Support Files */,
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
F2B814913C4EECE2CDF158DE5C5AC6E8 /* Development Pods */,
433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
D2411A5FE7F7A004607BED49990C37F4 /* Targets Support Files */,
);
sourceTree = "<group>";
};
6B5292DC8591159D72E93366 /* Sources */ = {
952EEBFAF8F7E620423C9F156F25A506 /* Pods */ = {
isa = PBXGroup;
children = (
F59CD3981590122479A99319 /* OHHTTPStubs.h */,
757741D337827989EA9CFB35 /* OHHTTPStubs.m */,
90C538A641602D6CA84175EA /* OHHTTPStubs+NSURLSessionConfiguration.m */,
64DE90B81CB54898D8031417 /* OHHTTPStubsResponse.h */,
BB8B9FD03923F20EA8A5A11A /* OHHTTPStubsResponse.m */,
26BD78083C121EBF426395FC /* OHHTTPStubsResponse+HTTPMessage.h */,
CD10D9BE097DF051073D1136 /* OHHTTPStubsResponse+HTTPMessage.m */,
1F1C78DC9C9ED126B2DD803F /* OHHTTPStubsResponse+JSON.h */,
43DA39110509B5D077268FC8 /* OHHTTPStubsResponse+JSON.m */,
8AB4DCEA3E6E205F6150BB9B /* OHPathHelpers.h */,
91CB751631C441AC78BFFF91 /* OHPathHelpers.m */,
);
path = Sources;
sourceTree = "<group>";
};
90091CD0A828ED346DE8663C /* Frameworks */ = {
isa = PBXGroup;
children = (
D39958F9C841183DE3C7A500 /* iOS */,
);
name = Frameworks;
sourceTree = "<group>";
};
A6534AD5BD03EA29AB460479 /* Development Pods */ = {
isa = PBXGroup;
children = (
3EB198ABE93CBAE1C25569ED /* OHHTTPStubs */,
);
name = "Development Pods";
sourceTree = "<group>";
};
C4B29A11FCEF09243EA85BD4 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
6B5292DC8591159D72E93366 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
D39958F9C841183DE3C7A500 /* iOS */ = {
isa = PBXGroup;
children = (
E3F78A40A045AD979FC32D66 /* CFNetwork.framework */,
7B2C23953AEE92A8924B57BD /* Foundation.framework */,
);
name = iOS;
sourceTree = "<group>";
};
D882BE8B7A1CD1ACAD41FC23 /* Support Files */ = {
isa = PBXGroup;
children = (
A1BA020EDD8BB7AE11152ACC /* Pods-OHHTTPStubs.xcconfig */,
DBFCAD5C4AF069800133DA37 /* Pods-OHHTTPStubs-Private.xcconfig */,
C9D0A204842A77405B1B4826 /* Pods-OHHTTPStubs-dummy.m */,
5CAE31F1B62C6CE71BC12572 /* Pods-OHHTTPStubs-prefix.pch */,
);
name = "Support Files";
path = "Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs";
sourceTree = "<group>";
};
D8918EE34F24A086FB93B162 /* Pods */ = {
isa = PBXGroup;
children = (
925D0F1AA2487470D449CE49 /* Pods-acknowledgements.markdown */,
540BE0121862CF47DF5EAC7E /* Pods-acknowledgements.plist */,
F22C8E5911B3A17469606575 /* Pods-dummy.m */,
85434260BFFB3C7A7BC04F99 /* Pods-environment.h */,
7A817F08BCB2651ACDF06BAF /* Pods-resources.sh */,
7F0BAB562664206098AE3E43 /* Pods.debug.xcconfig */,
A976A0F9BBC8019FB5DD5B7F /* Pods.release.xcconfig */,
15A529C27057E4A57D259CBC6E6CE49C /* Pods-acknowledgements.markdown */,
BF59BC15D23E1E1912C8F334E7236813 /* Pods-acknowledgements.plist */,
AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */,
641AE05DD55E5E6AC1590CD7B4A18F97 /* Pods-resources.sh */,
30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */,
73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */,
);
name = Pods;
path = "Target Support Files/Pods";
sourceTree = "<group>";
};
A4692D0E73946F1C6A29E627D41155D5 /* iOS */ = {
isa = PBXGroup;
children = (
ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */,
0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */,
);
name = iOS;
sourceTree = "<group>";
};
ADCFFFF1B87F1AE6D91FD98B1771E731 /* Core */ = {
isa = PBXGroup;
children = (
E73C0E89C408688D661A3E3366457F56 /* OHHTTPStubs */,
);
name = Core;
sourceTree = "<group>";
};
B7AD2479593204FB5293377C5548E8C3 /* Sources */ = {
isa = PBXGroup;
children = (
EB264388063293D1FF4D47BC51D88837 /* NSURLSession */,
);
path = Sources;
sourceTree = "<group>";
};
C9B3BF8403416C7E05B5E35EB1F7530D /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
EE424A5434ED1AFD1C1093348A65F4AB /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
isa = PBXGroup;
children = (
8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */,
3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */,
);
name = Products;
sourceTree = "<group>";
};
D2411A5FE7F7A004607BED49990C37F4 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
952EEBFAF8F7E620423C9F156F25A506 /* Pods */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
D5CDDC270BED6E4155F3A2B448B61AF7 /* Sources */ = {
isa = PBXGroup;
children = (
45CE3E982C05C186D577713C5CF90A63 /* JSON */,
);
path = Sources;
sourceTree = "<group>";
};
D76351656BA2F429928E0B82DC136189 /* NSURLSession */ = {
isa = PBXGroup;
children = (
35D0D8F406529065559CB5CD4B277012 /* OHHTTPStubs */,
);
name = NSURLSession;
sourceTree = "<group>";
};
E73C0E89C408688D661A3E3366457F56 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
634F739643411C743CFB1F3BE1CE1F10 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
EB264388063293D1FF4D47BC51D88837 /* NSURLSession */ = {
isa = PBXGroup;
children = (
B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */,
);
path = NSURLSession;
sourceTree = "<group>";
};
EE424A5434ED1AFD1C1093348A65F4AB /* Sources */ = {
isa = PBXGroup;
children = (
F97588B52C63DFCFF3B2A8C1BFD22D6D /* OHPathHelpers */,
);
path = Sources;
sourceTree = "<group>";
};
F2B814913C4EECE2CDF158DE5C5AC6E8 /* Development Pods */ = {
isa = PBXGroup;
children = (
7D3C95C4FB8238C8413AE1D7FABFD8F8 /* OHHTTPStubs */,
);
name = "Development Pods";
sourceTree = "<group>";
};
F97588B52C63DFCFF3B2A8C1BFD22D6D /* OHPathHelpers */ = {
isa = PBXGroup;
children = (
3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */,
F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */,
);
path = OHPathHelpers;
sourceTree = "<group>";
};
FCDE432930ABA4CD146D9B71D4E9A668 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
D5CDDC270BED6E4155F3A2B448B61AF7 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
F9ECAC25D98304B8B72AF50A /* Headers */ = {
E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
DDE78ABCE16D42E4E3347D57 /* OHHTTPStubs.h in Headers */,
E93E7222A109F4DE8DEE1C8A /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
B3F948D4C6FEA3E3414304E3 /* OHHTTPStubsResponse+JSON.h in Headers */,
37E8EFCB93409F59A3519709 /* OHHTTPStubsResponse.h in Headers */,
05AF8AC740672A49F1DB86F8 /* OHPathHelpers.h in Headers */,
B0F67924EC7A003F434F96C082173A62 /* Compatibility.h in Headers */,
4D5E9270212910BCD3460EF239A4197B /* OHHTTPStubs.h in Headers */,
761A9F4188992FF44563636002EF49AC /* OHHTTPStubsResponse+JSON.h in Headers */,
C0BA0C0E164C2418A157C9058DA2738B /* OHHTTPStubsResponse.h in Headers */,
2E2F9EE660B700F15963DDC8F3B75352 /* OHPathHelpers.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
9BFA25996D607CC8407D9667 /* Pods-OHHTTPStubs */ = {
E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */ = {
isa = PBXNativeTarget;
buildConfigurationList = 99C679F5F4E67D87EC4BDF5A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs" */;
buildConfigurationList = 5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
buildPhases = (
BE02003453F6728BF5A57B70 /* Sources */,
370CE9976B2CE6DC38C7AD35 /* Frameworks */,
F9ECAC25D98304B8B72AF50A /* Headers */,
66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */,
BD8104109F63444BD0B66D1B85C72751 /* Frameworks */,
E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = "Pods-OHHTTPStubs";
productName = "Pods-OHHTTPStubs";
productReference = DD8EC89EDDE25D7B79665F29 /* libPods-OHHTTPStubs.a */;
name = OHHTTPStubs;
productName = OHHTTPStubs;
productReference = 8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */;
productType = "com.apple.product-type.library.static";
};
ED0986E9CFBAA34FCF4971C9 /* Pods */ = {
FFD149523A9D16FB1E726210A9C872FC /* Pods */ = {
isa = PBXNativeTarget;
buildConfigurationList = 40030A743EB9FB86643D5978 /* Build configuration list for PBXNativeTarget "Pods" */;
buildConfigurationList = 761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */;
buildPhases = (
222D0A79B1499A9F0B3FDA4B /* Sources */,
8F733C40CCF846B63AED7A63 /* Frameworks */,
29DD92242A61804BCA84214771D58D9B /* Sources */,
F9449BFF91161A11298A873124980F7D /* Frameworks */,
);
buildRules = (
);
dependencies = (
76788543FE7378BD74B08A8D /* PBXTargetDependency */,
B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */,
);
name = Pods;
productName = Pods;
productReference = 51D2E996FA1B199219C88105 /* libPods.a */;
productReference = 3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
4E43A3978191CB163B56150F /* Project object */ = {
D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
};
buildConfigurationList = A6F781DF7CB4BC20838676BB /* Build configuration list for PBXProject "Pods" */;
buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 4CCC5CCCC482E8248CF90F91;
productRefGroup = 262D783B60DE608266D6A656 /* Products */;
mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
ED0986E9CFBAA34FCF4971C9 /* Pods */,
9BFA25996D607CC8407D9667 /* Pods-OHHTTPStubs */,
E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */,
FFD149523A9D16FB1E726210A9C872FC /* Pods */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
222D0A79B1499A9F0B3FDA4B /* Sources */ = {
29DD92242A61804BCA84214771D58D9B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0287B0995D3956A77FE8245B /* Pods-dummy.m in Sources */,
CA2E9623C22F6149A0E4C039FBC39A33 /* Pods-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BE02003453F6728BF5A57B70 /* Sources */ = {
66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B88B2F8C9696F7AFF1219FA6 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
C73743AF5192A2BCAD0BA639 /* OHHTTPStubs.m in Sources */,
91AC7870E73F1D4AFD355954 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
3C4E450E5248FA162C4836BB /* OHHTTPStubsResponse+JSON.m in Sources */,
4C169F633246281BE747CBC7 /* OHHTTPStubsResponse.m in Sources */,
B5A13025620A2BC7F9523B3E /* OHPathHelpers.m in Sources */,
91F20FAEB508489E6E82A37E /* Pods-OHHTTPStubs-dummy.m in Sources */,
4B6983FE7D3F9A195AE59F7D6762EBA3 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
3CBC5BDC4CA1C0B844B19387C9487B99 /* OHHTTPStubs-dummy.m in Sources */,
B139DD76E84F5F24F6DD49C0F600782E /* OHHTTPStubs.m in Sources */,
E592D52F285D6E0EDDC953CCEF1C505F /* OHHTTPStubsResponse+JSON.m in Sources */,
FDFB69C6F9232F38379BF2CADF08476E /* OHHTTPStubsResponse.m in Sources */,
6D27035ABE2F530B0B1896D0BB030BB2 /* OHPathHelpers.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
76788543FE7378BD74B08A8D /* PBXTargetDependency */ = {
B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "Pods-OHHTTPStubs";
target = 9BFA25996D607CC8407D9667 /* Pods-OHHTTPStubs */;
targetProxy = 70209F8E12151BE9099A0906 /* PBXContainerItemProxy */;
name = OHHTTPStubs;
target = E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */;
targetProxy = 527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
337E89F82BC61A2DD3C2E883 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A976A0F9BBC8019FB5DD5B7F /* Pods.release.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Release;
};
63360606759F06BB75622084 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DBFCAD5C4AF069800133DA37 /* Pods-OHHTTPStubs-Private.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Release;
};
68471B2F01E99F601F6F8AC3 /* Debug */ = {
6569F07DC21AD8B72752685013E3D9D8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -386,25 +453,9 @@
};
name = Debug;
};
6B84606278B52C10D43487F2 /* Debug */ = {
68B9225633DFABE510A0C51A49859EBE /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DBFCAD5C4AF069800133DA37 /* Pods-OHHTTPStubs-Private.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Debug;
};
7DBF91DE1049E44BD8E62530 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7F0BAB562664206098AE3E43 /* Pods.debug.xcconfig */;
baseConfigurationReference = 30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
@@ -418,7 +469,39 @@
};
name = Debug;
};
F0A06905E42C5AED58002639 /* Release */ = {
8346BEDEFE980E2571B693A7BD7DC2A7 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Release;
};
96540C4820CBFD733119ECB1A3D96FCA /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Release;
};
A14E2444F162A20E3776820E0ADFFB52 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -452,37 +535,53 @@
};
name = Release;
};
E16756337AAA514FE0E1E27E43F8454E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */;
buildSettings = {
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
};
name = Debug;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
40030A743EB9FB86643D5978 /* Build configuration list for PBXNativeTarget "Pods" */ = {
2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7DBF91DE1049E44BD8E62530 /* Debug */,
337E89F82BC61A2DD3C2E883 /* Release */,
6569F07DC21AD8B72752685013E3D9D8 /* Debug */,
A14E2444F162A20E3776820E0ADFFB52 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
99C679F5F4E67D87EC4BDF5A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs" */ = {
5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
isa = XCConfigurationList;
buildConfigurations = (
6B84606278B52C10D43487F2 /* Debug */,
63360606759F06BB75622084 /* Release */,
E16756337AAA514FE0E1E27E43F8454E /* Debug */,
8346BEDEFE980E2571B693A7BD7DC2A7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A6F781DF7CB4BC20838676BB /* Build configuration list for PBXProject "Pods" */ = {
761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
68471B2F01E99F601F6F8AC3 /* Debug */,
F0A06905E42C5AED58002639 /* Release */,
68B9225633DFABE510A0C51A49859EBE /* Debug */,
96540C4820CBFD733119ECB1A3D96FCA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4E43A3978191CB163B56150F /* Project object */;
rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
}

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E19A1FD189B51F90DC11A06D80A7C026"
BuildableName = "libOHHTTPStubs.a"
BlueprintName = "OHHTTPStubs"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E19A1FD189B51F90DC11A06D80A7C026"
BuildableName = "libOHHTTPStubs.a"
BlueprintName = "OHHTTPStubs"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@@ -0,0 +1,6 @@
#include "OHHTTPStubs.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
OTHER_LDFLAGS = ${OHHTTPSTUBS_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
SKIP_INSTALL = YES

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_OHHTTPStubs : NSObject
@end
@implementation PodsDummy_OHHTTPStubs
@end

View File

@@ -0,0 +1,4 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif

View File

@@ -0,0 +1 @@
OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation"

View File

@@ -9,7 +9,7 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
XCASSET_FILES=()
realpath() {
DIRECTORY=$(cd "${1%/*}" && pwd)
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
@@ -22,7 +22,7 @@ install_resource()
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
@@ -58,8 +58,10 @@ install_resource()
esac
}
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]]; 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"

View File

@@ -1,6 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -1,6 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.alisoftware.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

View File

@@ -29,7 +29,7 @@ class MainViewController: UIViewController {
installTextStub(self.installTextStubSwitch)
installImageStub(self.installImageStubSwitch)
OHHTTPStubs.onStubActivation { (request: NSURLRequest!, stub: OHHTTPStubsDescriptor!) in
println("[OHHTTPStubs] Request to \(request.URL!) has been stubbed with \(stub.name)")
print("[OHHTTPStubs] Request to \(request.URL!) has been stubbed with \(stub.name)")
}
}
@@ -43,7 +43,7 @@ class MainViewController: UIViewController {
self.installImageStubSwitch.enabled = sender.on
let state = sender.on ? "and enabled" : "but disabled"
println("Installed (\(state)) stubs: \(OHHTTPStubs.allStubs)")
print("Installed (\(state)) stubs: \(OHHTTPStubs.allStubs)")
}
@@ -61,8 +61,9 @@ class MainViewController: UIViewController {
NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
sender.enabled = true
let receivedText = NSString(data: data, encoding: NSASCIIStringEncoding)
self.textView.text = receivedText! as String
if let receivedData = data, receivedText = NSString(data: receivedData, encoding: NSASCIIStringEncoding) {
self.textView.text = receivedText as String
}
}
}
@@ -71,16 +72,9 @@ class MainViewController: UIViewController {
if sender.on {
// Install
// - we use an inline closure for the test predicate with shorthand argument names
// - we also use the "trailing closure" syntax of Swift for convenience
// - we don't care about the 'request' parameter in the trailing closure so we use '_'
textStub = OHHTTPStubs.stubRequestsPassingTest({$0.URL!.pathExtension == "txt"}) { _ in
textStub = stub(isExtension("txt")) { _ in
let stubPath = OHPathForFile("stub.txt", self.dynamicType)
return OHHTTPStubsResponse(
fileAtPath: stubPath!,
statusCode: 200,
headers: ["Content-Type":"text/plain"]
)
return fixture(stubPath!, headers: ["Content-Type":"text/plain"])
.requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime:OHHTTPStubsDownloadSpeedWifi)
}
textStub?.name = "Text stub"
@@ -103,7 +97,9 @@ class MainViewController: UIViewController {
NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
sender.enabled = true
self.imageView.image = UIImage(data: data)
if let receivedData = data {
self.imageView.image = UIImage(data: receivedData)
}
}
}
@@ -112,19 +108,9 @@ class MainViewController: UIViewController {
if sender.on {
// Install
let isImage = { (request: NSURLRequest!) -> Bool in
contains(["png","jpg","jpeg","gif"], request.URL?.pathExtension ?? "")
}
// - we use a separate block 'isImage' for the 'test' predicate for code readability
// - we use the "trailing closure" syntax of Swift for convenience
// - we don't care about the 'request' parameter in the trailing closure so we use '_'
imageStub = OHHTTPStubs.stubRequestsPassingTest(isImage) { _ in
imageStub = stub(isExtension("png") || isExtension("jpg") || isExtension("gif")) { _ in
let stubPath = OHPathForFile("stub.jpg", self.dynamicType)
return OHHTTPStubsResponse(
fileAtPath: stubPath!,
statusCode: 200,
headers: ["Content-Type":"image/jpeg"]
)
return fixture(stubPath!, headers: ["Content-Type":"image/jpeg"])
.requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime: OHHTTPStubsDownloadSpeedWifi)
}
imageStub?.name = "Image stub"

View File

@@ -142,7 +142,8 @@
099F73FF1AE2D049001108A5 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = AliSoftware;
TargetAttributes = {
099F74061AE2D049001108A5 = {
@@ -265,6 +266,7 @@
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;
@@ -335,6 +337,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
@@ -347,6 +350,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -20,38 +20,14 @@
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "099F741B1AE2D049001108A5"
BuildableName = "OHHTTPStubsDemoTests.xctest"
BlueprintName = "OHHTTPStubsDemoTests"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "099F741B1AE2D049001108A5"
BuildableName = "OHHTTPStubsDemoTests.xctest"
BlueprintName = "OHHTTPStubsDemoTests"
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
@@ -62,15 +38,18 @@
ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
@@ -86,10 +65,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">

View File

@@ -5,3 +5,4 @@ platform :ios, '8.0'
use_frameworks!
pod 'OHHTTPStubs', :path => '../..'
pod 'OHHTTPStubs/Swift', :path => '../..'

View File

@@ -1,14 +1,29 @@
PODS:
- OHHTTPStubs (4.0.1)
- OHHTTPStubs (4.3.0):
- OHHTTPStubs/Default (= 4.3.0)
- OHHTTPStubs/Core (4.3.0)
- OHHTTPStubs/Default (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/JSON
- OHHTTPStubs/NSURLSession
- OHHTTPStubs/OHPathHelpers
- OHHTTPStubs/JSON (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/NSURLSession (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/OHPathHelpers (4.3.0)
- OHHTTPStubs/Swift (4.3.0):
- OHHTTPStubs/Core
DEPENDENCIES:
- OHHTTPStubs (from `../..`)
- OHHTTPStubs/Swift (from `../..`)
EXTERNAL SOURCES:
OHHTTPStubs:
:path: "../.."
SPEC CHECKSUMS:
OHHTTPStubs: 69b1d48b7dfe838a355fdf48d8592d1042e3d85f
OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

View File

@@ -0,0 +1 @@
../../../../../../OHHTTPStubs/Sources/Compatibility.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h

View File

@@ -1 +1 @@
../../../../../../OHHTTPStubs/Sources/OHPathHelpers.h
../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h

View File

@@ -1,8 +1,8 @@
{
"name": "OHHTTPStubs",
"version": "4.0.1",
"version": "4.3.0",
"summary": "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest.",
"description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift\n",
"description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift",
"homepage": "https://github.com/AliSoftware/OHHTTPStubs",
"license": "MIT",
"authors": {
@@ -10,10 +10,8 @@
},
"source": {
"git": "https://github.com/AliSoftware/OHHTTPStubs.git",
"tag": "4.0.1"
"tag": "4.3.0"
},
"source_files": "OHHTTPStubs/Sources/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/*.h",
"frameworks": [
"Foundation",
"CFNetwork"
@@ -21,6 +19,94 @@
"requires_arc": true,
"platforms": {
"ios": "5.0",
"osx": "10.7"
}
"osx": "10.7",
"watchos": "2.0"
},
"default_subspecs": "Default",
"subspecs": [
{
"name": "Default",
"dependencies": {
"OHHTTPStubs/Core": [
],
"OHHTTPStubs/NSURLSession": [
],
"OHHTTPStubs/JSON": [
],
"OHHTTPStubs/OHPathHelpers": [
]
}
},
{
"name": "Core",
"source_files": "OHHTTPStubs/Sources/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/*.h"
},
{
"name": "NSURLSession",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
},
{
"name": "JSON",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/JSON/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/JSON/*.h"
},
{
"name": "HTTPMessage",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/HTTPMessage/*.h"
},
{
"name": "Mocktail",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/Mocktail/*.{h,m}",
"public_header_files": "OHHTTPStubs/Sources/Mocktail/*.h"
},
{
"name": "OHPathHelpers",
"source_files": [
"OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}",
"OHHTTPStubs/Sources/Compatibility.h"
],
"public_header_files": [
"OHHTTPStubs/Sources/OHPathHelpers/*.h",
"OHHTTPStubs/Sources/Compatibility.h"
]
},
{
"name": "Swift",
"platforms": {
"ios": "8.0"
},
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "OHHTTPStubs/Sources/Swift/*.swift"
}
]
}

View File

@@ -1,14 +1,29 @@
PODS:
- OHHTTPStubs (4.0.1)
- OHHTTPStubs (4.3.0):
- OHHTTPStubs/Default (= 4.3.0)
- OHHTTPStubs/Core (4.3.0)
- OHHTTPStubs/Default (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/JSON
- OHHTTPStubs/NSURLSession
- OHHTTPStubs/OHPathHelpers
- OHHTTPStubs/JSON (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/NSURLSession (4.3.0):
- OHHTTPStubs/Core
- OHHTTPStubs/OHPathHelpers (4.3.0)
- OHHTTPStubs/Swift (4.3.0):
- OHHTTPStubs/Core
DEPENDENCIES:
- OHHTTPStubs (from `../..`)
- OHHTTPStubs/Swift (from `../..`)
EXTERNAL SOURCES:
OHHTTPStubs:
:path: "../.."
SPEC CHECKSUMS:
OHHTTPStubs: 69b1d48b7dfe838a355fdf48d8592d1042e3d85f
OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

View File

@@ -7,426 +7,478 @@
objects = {
/* Begin PBXBuildFile section */
025EDA37E7DE8225A36E9533 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 0A6726A194863F5663B3675B /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
04A739CC8DD477CF2DD1049A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FCC1018CD76A5124E04BCF56 /* Foundation.framework */; };
075B64EB9838CF1EC0D30922 /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = B78D37976D52B166349E5E6F /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
14483D9A6C49CA7A40EFE534 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FCC1018CD76A5124E04BCF56 /* Foundation.framework */; };
166C7DCBA88C67DD08E2213F /* Pods-OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D519BA859D6F5C634D553D4 /* Pods-OHHTTPStubs-dummy.m */; };
2838C1C53AE2A4B7A0CB6B2D /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 78DEBA4FE0386495BD23333C /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
2A5F193F83B7231858F7168E /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C4EA7ED7B1527D723F8E532 /* OHHTTPStubsResponse+HTTPMessage.h */; settings = {ATTRIBUTES = (Public, ); }; };
476FA37EB9E1E2550A09B791 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EF5E38002A9F6264D56C1B71 /* Pods-dummy.m */; };
88E7C5F2FEE4A3B2BB0F62AC /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 86F20EE5AC3F660475C1B1C0 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
B9C7CAB43CDB46B8F62A9BEE /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = E0D231B2CD70092197143783 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
BF155DE6DF34A3513FD4E824 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BCF165693C58B3CF965CBD9 /* OHHTTPStubsResponse+HTTPMessage.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
D6E4E9277A6BE0092AB01AB6 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7AEB564388B3581B65467A32 /* CFNetwork.framework */; };
DD462307456DA68D48B3DD09 /* Pods-OHHTTPStubs-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F9BE2226EACE897333DC5A85 /* Pods-OHHTTPStubs-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
EBF36E9C2568E24826C031B5 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 5A996F9D34EDC707D02187F0 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
F0720B4AF2F6D426ED586B80 /* Pods-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 41DF781F1D5A3BD5192A49E9 /* Pods-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
FA49795CDB854B8AF5215EA9 /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 5F033017DBD2D340A327913A /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
FD0D1769D5FA62B3B81F4A7B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 657749B5FFBC67FB429EF8C8 /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
FECF1D77B5EA6D3A14324E0E /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 90935C1FB6D11C0CF2A1C0D0 /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
01AEB03E8483ACA53AF80E1FFDA86AF8 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
1EBA52FF0AFA395687FA91CC019016DA /* OHHTTPStubs-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
2BAD53602D602364900BA4C2B1340BA0 /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
4A5277EF28380E91E978DD2088524148 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */; };
615390616715B7664F020DE4BD224412 /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
714352D1C49C82CC1C2BB334C6078822 /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
75F5A85AE83AE0A724DA8D0D8C6F9B16 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */; };
84C7162BF05BC724A780924027DB3C81 /* Pods-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
8B21C4C8FCBF1ECFC2820A90951485D9 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
A7C8208E5907F0513544C5D4900FD13F /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
B23A5673AC7B96172FC957C0EE86C35E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */; };
B4554EAE499DFE50903C2D9B08DD484C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */; };
B7221632BDBC018D3FA9132D8FDA7EE8 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA20C865C55183386A2800324C914AEF /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
DC7B52DA1EA844B71094AA994E07CDAA /* OHHTTPStubsSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */; };
EDC8DCA7C73131307348C9D63316C2CA /* OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */; };
F04C71194F78C9603C88D5D11EBA2B83 /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
F12ACD0A3F73E62C5985015CE379CC69 /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
C797270235A90C615B678C99 /* PBXContainerItemProxy */ = {
2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C2CBDA3936450283A6DE5391 /* Project object */;
containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
proxyType = 1;
remoteGlobalIDString = D30DD3818F4A6F62029AA2A7;
remoteInfo = "Pods-OHHTTPStubs";
remoteGlobalIDString = E4F3908DF65694388E03EE338E6F07FA;
remoteInfo = OHHTTPStubs;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
0A6726A194863F5663B3675B /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
0C4EA7ED7B1527D723F8E532 /* OHHTTPStubsResponse+HTTPMessage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+HTTPMessage.h"; sourceTree = "<group>"; };
0D519BA859D6F5C634D553D4 /* Pods-OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
0E1F5577F3CB2A1A816F4766 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
18547927D8BAD627CE1F2767 /* Pods-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-environment.h"; sourceTree = "<group>"; };
1BCF165693C58B3CF965CBD9 /* OHHTTPStubsResponse+HTTPMessage.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+HTTPMessage.m"; sourceTree = "<group>"; };
3133227F412A22268B8AF43A /* Pods.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Pods.modulemap; sourceTree = "<group>"; };
3C4E18BA425FF99FB4BC94B2 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
41DF781F1D5A3BD5192A49E9 /* Pods-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-umbrella.h"; sourceTree = "<group>"; };
50D1B3B17AC91BE94D7AC1C3 /* Pods-OHHTTPStubs.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-OHHTTPStubs.modulemap"; sourceTree = "<group>"; };
5A996F9D34EDC707D02187F0 /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
5C62297C51CB5C28BA2B8A3D /* Pods-OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
5F033017DBD2D340A327913A /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
657749B5FFBC67FB429EF8C8 /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
68E4D04F52C1DCB5E40CC71F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
776DB99A4E43C19DCEDA35EE /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
78DEBA4FE0386495BD23333C /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
7AEB564388B3581B65467A32 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
7CC91F06E268AD95D8E87E07 /* Pods-OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
86F20EE5AC3F660475C1B1C0 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
90935C1FB6D11C0CF2A1C0D0 /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
B421722C71E69397A2EF865C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
B78D37976D52B166349E5E6F /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
BE72840BBC26E4AACDC7A559 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
C9E457A0D563C1AA75CE83B1 /* Pods-OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs.xcconfig"; sourceTree = "<group>"; };
CB7B8D454F792A091232FCE4 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
DF8436795410709AD8A59E65 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
E0D231B2CD70092197143783 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
E2B7684424038D4C151FBB37 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = "<group>"; };
E9DC5D74566513AD12B939E0 /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
EC618A869241D8D41FCA5D66 /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
EF5E38002A9F6264D56C1B71 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
F9BE2226EACE897333DC5A85 /* Pods-OHHTTPStubs-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OHHTTPStubs-umbrella.h"; sourceTree = "<group>"; };
FCC1018CD76A5124E04BCF56 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
0FF50A663B4A56B65F3DCF8C040FADF6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-umbrella.h"; sourceTree = "<group>"; };
22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
2F51C2407DAD4E7B26B575BE58823017 /* OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
66C60215A49AF925829AECDD08DD6351 /* OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OHHTTPStubs.xcconfig; sourceTree = "<group>"; };
79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Pods.modulemap; sourceTree = "<group>"; };
7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
955EB79B39DB7421EB742249D338E88F /* OHHTTPStubs.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = OHHTTPStubs.modulemap; sourceTree = "<group>"; };
A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-umbrella.h"; sourceTree = "<group>"; };
B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
BCE0366425966FB14819C23632E95AC3 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = "<group>"; };
E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BB29665972FBB8C2BDF6B926 /* Frameworks */ = {
6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
04A739CC8DD477CF2DD1049A /* Foundation.framework in Frameworks */,
4A5277EF28380E91E978DD2088524148 /* CFNetwork.framework in Frameworks */,
B4554EAE499DFE50903C2D9B08DD484C /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C668BD504E49E41CBCEF977A /* Frameworks */ = {
9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D6E4E9277A6BE0092AB01AB6 /* CFNetwork.framework in Frameworks */,
14483D9A6C49CA7A40EFE534 /* Foundation.framework in Frameworks */,
B23A5673AC7B96172FC957C0EE86C35E /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
06A88E21739F55C66513EA3C /* Frameworks */ = {
26001308FC69575317F3E2328FEAB687 /* OHPathHelpers */ = {
isa = PBXGroup;
children = (
1FD2921CB92E9A0D66A7B44F /* iOS */,
B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */,
A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */,
);
path = OHPathHelpers;
sourceTree = "<group>";
};
2CD25D9BF4A75B000E30EED3ECADFB05 /* Sources */ = {
isa = PBXGroup;
children = (
2E0908F937F9E0CE24CD1B49C8B1832F /* Swift */,
);
path = Sources;
sourceTree = "<group>";
};
2E0908F937F9E0CE24CD1B49C8B1832F /* Swift */ = {
isa = PBXGroup;
children = (
C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */,
);
path = Swift;
sourceTree = "<group>";
};
2F6AF01C76E27E8A3EE5DA937FD5A91F /* JSON */ = {
isa = PBXGroup;
children = (
A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */,
7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */,
);
path = JSON;
sourceTree = "<group>";
};
2FD330A03A1D0B761BD13C06863E2D0E /* OHPathHelpers */ = {
isa = PBXGroup;
children = (
4C8988BCA515BF21A55FF44EDAA3E021 /* OHHTTPStubs */,
);
name = OHPathHelpers;
sourceTree = "<group>";
};
399E53B6C0258D92AC1FD3AE99008B6E /* Swift */ = {
isa = PBXGroup;
children = (
42F25FBC502A757DAE352E5B09E9FF66 /* OHHTTPStubs */,
);
name = Swift;
sourceTree = "<group>";
};
3BE2D87AAACBE3971F6F35207007F4AB /* NSURLSession */ = {
isa = PBXGroup;
children = (
82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */,
);
path = NSURLSession;
sourceTree = "<group>";
};
406BDF33AD0EDE741B447F9849C05786 /* Support Files */ = {
isa = PBXGroup;
children = (
0FF50A663B4A56B65F3DCF8C040FADF6 /* Info.plist */,
955EB79B39DB7421EB742249D338E88F /* OHHTTPStubs.modulemap */,
66C60215A49AF925829AECDD08DD6351 /* OHHTTPStubs.xcconfig */,
52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */,
818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */,
2F51C2407DAD4E7B26B575BE58823017 /* OHHTTPStubs-prefix.pch */,
20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */,
);
name = "Support Files";
path = "Examples/Swift/Pods/Target Support Files/OHHTTPStubs";
sourceTree = "<group>";
};
42F25FBC502A757DAE352E5B09E9FF66 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
2CD25D9BF4A75B000E30EED3ECADFB05 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
isa = PBXGroup;
children = (
A4692D0E73946F1C6A29E627D41155D5 /* iOS */,
);
name = Frameworks;
sourceTree = "<group>";
};
1FD2921CB92E9A0D66A7B44F /* iOS */ = {
4C8988BCA515BF21A55FF44EDAA3E021 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
7AEB564388B3581B65467A32 /* CFNetwork.framework */,
FCC1018CD76A5124E04BCF56 /* Foundation.framework */,
BC61886E3F31F15D9B01758FA65305B7 /* Sources */,
);
name = iOS;
path = OHHTTPStubs;
sourceTree = "<group>";
};
50BB6BBA29675CDD0CA50ED6 /* Targets Support Files */ = {
4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */ = {
isa = PBXGroup;
children = (
CE249CD186D7B774C5BED5DA /* Pods */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
5F05422CA8CFAC32170B6ED8 /* Development Pods */ = {
isa = PBXGroup;
children = (
DE8EEB58B39A5A1D181D097D /* OHHTTPStubs */,
8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */,
);
name = "Development Pods";
sourceTree = "<group>";
};
77B40E05B7BF4D0C1E0E9964 /* Support Files */ = {
5D1807FCE432BF223191CC0C4D6153D8 /* Sources */ = {
isa = PBXGroup;
children = (
B421722C71E69397A2EF865C /* Info.plist */,
50D1B3B17AC91BE94D7AC1C3 /* Pods-OHHTTPStubs.modulemap */,
C9E457A0D563C1AA75CE83B1 /* Pods-OHHTTPStubs.xcconfig */,
5C62297C51CB5C28BA2B8A3D /* Pods-OHHTTPStubs-Private.xcconfig */,
0D519BA859D6F5C634D553D4 /* Pods-OHHTTPStubs-dummy.m */,
7CC91F06E268AD95D8E87E07 /* Pods-OHHTTPStubs-prefix.pch */,
F9BE2226EACE897333DC5A85 /* Pods-OHHTTPStubs-umbrella.h */,
22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */,
526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */,
DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */,
816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */,
0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */,
);
name = "Support Files";
path = "Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs";
path = Sources;
sourceTree = "<group>";
};
CE249CD186D7B774C5BED5DA /* Pods */ = {
7518C35D2C3AA6260B56CAFC097A521B /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
776DB99A4E43C19DCEDA35EE /* Info.plist */,
3133227F412A22268B8AF43A /* Pods.modulemap */,
EC618A869241D8D41FCA5D66 /* Pods-acknowledgements.markdown */,
CB7B8D454F792A091232FCE4 /* Pods-acknowledgements.plist */,
EF5E38002A9F6264D56C1B71 /* Pods-dummy.m */,
18547927D8BAD627CE1F2767 /* Pods-environment.h */,
E2B7684424038D4C151FBB37 /* Pods-frameworks.sh */,
DF8436795410709AD8A59E65 /* Pods-resources.sh */,
41DF781F1D5A3BD5192A49E9 /* Pods-umbrella.h */,
BE72840BBC26E4AACDC7A559 /* Pods.debug.xcconfig */,
0E1F5577F3CB2A1A816F4766 /* Pods.release.xcconfig */,
5D1807FCE432BF223191CC0C4D6153D8 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
75D98FF52E597A11900E131B6C4E1ADA /* Pods */ = {
isa = PBXGroup;
children = (
E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */,
79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */,
D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */,
87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */,
420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */,
E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */,
CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */,
B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */,
A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */,
423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */,
);
name = Pods;
path = "Target Support Files/Pods";
sourceTree = "<group>";
};
D2A210717D0CD3840C8071EA /* Sources */ = {
7DB346D0F39D3F0E887471402A8071AB = {
isa = PBXGroup;
children = (
E0D231B2CD70092197143783 /* OHHTTPStubs.h */,
0A6726A194863F5663B3675B /* OHHTTPStubs.m */,
657749B5FFBC67FB429EF8C8 /* OHHTTPStubs+NSURLSessionConfiguration.m */,
86F20EE5AC3F660475C1B1C0 /* OHHTTPStubsResponse.h */,
90935C1FB6D11C0CF2A1C0D0 /* OHHTTPStubsResponse.m */,
0C4EA7ED7B1527D723F8E532 /* OHHTTPStubsResponse+HTTPMessage.h */,
1BCF165693C58B3CF965CBD9 /* OHHTTPStubsResponse+HTTPMessage.m */,
5F033017DBD2D340A327913A /* OHHTTPStubsResponse+JSON.h */,
B78D37976D52B166349E5E6F /* OHHTTPStubsResponse+JSON.m */,
5A996F9D34EDC707D02187F0 /* OHPathHelpers.h */,
78DEBA4FE0386495BD23333C /* OHPathHelpers.m */,
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */,
433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
B7B80995527643776607AFFA75B91E24 /* Targets Support Files */,
);
path = Sources;
sourceTree = "<group>";
};
DB5D8EF15D472590591893B1 /* Products */ = {
891B86CE0EBE541B2C7B947998EE90B3 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
E9DC5D74566513AD12B939E0 /* OHHTTPStubs.framework */,
3C4E18BA425FF99FB4BC94B2 /* Pods.framework */,
A438C33C2AAB93E303E6682059132F4A /* Sources */,
);
name = Products;
path = OHHTTPStubs;
sourceTree = "<group>";
};
DE8EEB58B39A5A1D181D097D /* OHHTTPStubs */ = {
8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
E4D8AAB427BAAC84F3957D3F /* OHHTTPStubs */,
77B40E05B7BF4D0C1E0E9964 /* Support Files */,
985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */,
FEE70E0F2961F31E9B52D300967F8B6E /* JSON */,
CA1C072DFF59852F7FB6458D31B28064 /* NSURLSession */,
2FD330A03A1D0B761BD13C06863E2D0E /* OHPathHelpers */,
406BDF33AD0EDE741B447F9849C05786 /* Support Files */,
399E53B6C0258D92AC1FD3AE99008B6E /* Swift */,
);
name = OHHTTPStubs;
path = ../../..;
sourceTree = "<group>";
};
E4D8AAB427BAAC84F3957D3F /* OHHTTPStubs */ = {
93A49C76EBA19CF15CC485546C29B1C6 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
D2A210717D0CD3840C8071EA /* Sources */,
A9D1051AFDBF5E4C4D220B819997F065 /* Sources */,
);
path = OHHTTPStubs;
sourceTree = "<group>";
};
F83DE1D494882E34A62D48B1 = {
985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */ = {
isa = PBXGroup;
children = (
68E4D04F52C1DCB5E40CC71F /* Podfile */,
5F05422CA8CFAC32170B6ED8 /* Development Pods */,
06A88E21739F55C66513EA3C /* Frameworks */,
DB5D8EF15D472590591893B1 /* Products */,
50BB6BBA29675CDD0CA50ED6 /* Targets Support Files */,
7518C35D2C3AA6260B56CAFC097A521B /* OHHTTPStubs */,
);
name = Core;
sourceTree = "<group>";
};
A438C33C2AAB93E303E6682059132F4A /* Sources */ = {
isa = PBXGroup;
children = (
3BE2D87AAACBE3971F6F35207007F4AB /* NSURLSession */,
);
path = Sources;
sourceTree = "<group>";
};
A4692D0E73946F1C6A29E627D41155D5 /* iOS */ = {
isa = PBXGroup;
children = (
10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */,
35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */,
);
name = iOS;
sourceTree = "<group>";
};
A9D1051AFDBF5E4C4D220B819997F065 /* Sources */ = {
isa = PBXGroup;
children = (
2F6AF01C76E27E8A3EE5DA937FD5A91F /* JSON */,
);
path = Sources;
sourceTree = "<group>";
};
B7B80995527643776607AFFA75B91E24 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
75D98FF52E597A11900E131B6C4E1ADA /* Pods */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
BC61886E3F31F15D9B01758FA65305B7 /* Sources */ = {
isa = PBXGroup;
children = (
26001308FC69575317F3E2328FEAB687 /* OHPathHelpers */,
);
path = Sources;
sourceTree = "<group>";
};
CA1C072DFF59852F7FB6458D31B28064 /* NSURLSession */ = {
isa = PBXGroup;
children = (
891B86CE0EBE541B2C7B947998EE90B3 /* OHHTTPStubs */,
);
name = NSURLSession;
sourceTree = "<group>";
};
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
isa = PBXGroup;
children = (
4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */,
BCE0366425966FB14819C23632E95AC3 /* Pods.framework */,
);
name = Products;
sourceTree = "<group>";
};
FEE70E0F2961F31E9B52D300967F8B6E /* JSON */ = {
isa = PBXGroup;
children = (
93A49C76EBA19CF15CC485546C29B1C6 /* OHHTTPStubs */,
);
name = JSON;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
6109CBCD7C1C4DD48A864FB1 /* Headers */ = {
773392B2C9B39011294EDCA7791E8497 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
B9C7CAB43CDB46B8F62A9BEE /* OHHTTPStubs.h in Headers */,
2A5F193F83B7231858F7168E /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
FA49795CDB854B8AF5215EA9 /* OHHTTPStubsResponse+JSON.h in Headers */,
88E7C5F2FEE4A3B2BB0F62AC /* OHHTTPStubsResponse.h in Headers */,
EBF36E9C2568E24826C031B5 /* OHPathHelpers.h in Headers */,
DD462307456DA68D48B3DD09 /* Pods-OHHTTPStubs-umbrella.h in Headers */,
B7221632BDBC018D3FA9132D8FDA7EE8 /* Compatibility.h in Headers */,
1EBA52FF0AFA395687FA91CC019016DA /* OHHTTPStubs-umbrella.h in Headers */,
714352D1C49C82CC1C2BB334C6078822 /* OHHTTPStubs.h in Headers */,
2BAD53602D602364900BA4C2B1340BA0 /* OHHTTPStubsResponse+JSON.h in Headers */,
615390616715B7664F020DE4BD224412 /* OHHTTPStubsResponse.h in Headers */,
01AEB03E8483ACA53AF80E1FFDA86AF8 /* OHPathHelpers.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
6B304C1E935C3B6D384BFC1A /* Headers */ = {
7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
F0720B4AF2F6D426ED586B80 /* Pods-umbrella.h in Headers */,
84C7162BF05BC724A780924027DB3C81 /* Pods-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
520A8502FB55654F3D44663F /* Pods */ = {
86C62275EF6F6A139E340789D6F6E477 /* Pods */ = {
isa = PBXNativeTarget;
buildConfigurationList = 35920CD46DC6721D6B943E13 /* Build configuration list for PBXNativeTarget "Pods" */;
buildConfigurationList = 136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */;
buildPhases = (
87574F723CF88872A3710C10 /* Sources */,
BB29665972FBB8C2BDF6B926 /* Frameworks */,
6B304C1E935C3B6D384BFC1A /* Headers */,
C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */,
9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */,
7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */,
);
buildRules = (
);
dependencies = (
3E902AAFC88492FC4CC25BCC /* PBXTargetDependency */,
94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */,
);
name = Pods;
productName = Pods;
productReference = 3C4E18BA425FF99FB4BC94B2 /* Pods.framework */;
productReference = BCE0366425966FB14819C23632E95AC3 /* Pods.framework */;
productType = "com.apple.product-type.framework";
};
D30DD3818F4A6F62029AA2A7 /* Pods-OHHTTPStubs */ = {
E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9E320C31BC20443632AE890E /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs" */;
buildConfigurationList = 1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
buildPhases = (
70302128C9E296DA5A01A392 /* Sources */,
C668BD504E49E41CBCEF977A /* Frameworks */,
6109CBCD7C1C4DD48A864FB1 /* Headers */,
0F226F8A1646BA706F459212FC25E627 /* Sources */,
6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */,
773392B2C9B39011294EDCA7791E8497 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = "Pods-OHHTTPStubs";
productName = "Pods-OHHTTPStubs";
productReference = E9DC5D74566513AD12B939E0 /* OHHTTPStubs.framework */;
name = OHHTTPStubs;
productName = OHHTTPStubs;
productReference = 4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
C2CBDA3936450283A6DE5391 /* Project object */ = {
D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
};
buildConfigurationList = 5DAD56263AD60CAD28B28D71 /* Build configuration list for PBXProject "Pods" */;
buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = F83DE1D494882E34A62D48B1;
productRefGroup = DB5D8EF15D472590591893B1 /* Products */;
mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
520A8502FB55654F3D44663F /* Pods */,
D30DD3818F4A6F62029AA2A7 /* Pods-OHHTTPStubs */,
E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */,
86C62275EF6F6A139E340789D6F6E477 /* Pods */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
70302128C9E296DA5A01A392 /* Sources */ = {
0F226F8A1646BA706F459212FC25E627 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FD0D1769D5FA62B3B81F4A7B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
025EDA37E7DE8225A36E9533 /* OHHTTPStubs.m in Sources */,
BF155DE6DF34A3513FD4E824 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
075B64EB9838CF1EC0D30922 /* OHHTTPStubsResponse+JSON.m in Sources */,
FECF1D77B5EA6D3A14324E0E /* OHHTTPStubsResponse.m in Sources */,
2838C1C53AE2A4B7A0CB6B2D /* OHPathHelpers.m in Sources */,
166C7DCBA88C67DD08E2213F /* Pods-OHHTTPStubs-dummy.m in Sources */,
DA20C865C55183386A2800324C914AEF /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
EDC8DCA7C73131307348C9D63316C2CA /* OHHTTPStubs-dummy.m in Sources */,
8B21C4C8FCBF1ECFC2820A90951485D9 /* OHHTTPStubs.m in Sources */,
F04C71194F78C9603C88D5D11EBA2B83 /* OHHTTPStubsResponse+JSON.m in Sources */,
F12ACD0A3F73E62C5985015CE379CC69 /* OHHTTPStubsResponse.m in Sources */,
DC7B52DA1EA844B71094AA994E07CDAA /* OHHTTPStubsSwift.swift in Sources */,
A7C8208E5907F0513544C5D4900FD13F /* OHPathHelpers.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
87574F723CF88872A3710C10 /* Sources */ = {
C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
476FA37EB9E1E2550A09B791 /* Pods-dummy.m in Sources */,
75F5A85AE83AE0A724DA8D0D8C6F9B16 /* Pods-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
3E902AAFC88492FC4CC25BCC /* PBXTargetDependency */ = {
94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "Pods-OHHTTPStubs";
target = D30DD3818F4A6F62029AA2A7 /* Pods-OHHTTPStubs */;
targetProxy = C797270235A90C615B678C99 /* PBXContainerItemProxy */;
name = OHHTTPStubs;
target = E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */;
targetProxy = 2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
204E7D31CAF5A4F252A4D622 /* Debug */ = {
8D8037ED98B93F867F21E1A00E40CA25 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5C62297C51CB5C28BA2B8A3D /* Pods-OHHTTPStubs-Private.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch";
INFOPLIST_FILE = "Target Support Files/Pods-OHHTTPStubs/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/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
2AE519C01027BBCA761BBBAC /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5C62297C51CB5C28BA2B8A3D /* Pods-OHHTTPStubs-Private.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch";
INFOPLIST_FILE = "Target Support Files/Pods-OHHTTPStubs/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/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
4C97FCFEC9543CEEE63EBFA1 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = BE72840BBC26E4AACDC7A559 /* Pods.debug.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
INFOPLIST_FILE = "Target Support Files/Pods/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/Pods/Pods.modulemap";
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_NAME = Pods;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
4E419842EB75B63AB6EB7CD9 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0E1F5577F3CB2A1A816F4766 /* Pods.release.xcconfig */;
baseConfigurationReference = 423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
@@ -453,41 +505,7 @@
};
name = Release;
};
8B7B96657207941542B8A42E /* 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;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
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 = 8.0;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = "${SRCROOT}/../build";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
F3155A251F8FB27D033C80B7 /* Debug */ = {
A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -526,37 +544,156 @@
};
name = Debug;
};
AE050CF0675A77F0187F1B57B0216453 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 4.3.0;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 4;
DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
INFOPLIST_FILE = "Target Support Files/OHHTTPStubs/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/OHHTTPStubs/OHHTTPStubs.modulemap";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
D5363C7463136E690514EA53C85C0C8D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
INFOPLIST_FILE = "Target Support Files/Pods/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/Pods/Pods.modulemap";
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_NAME = Pods;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
DAF781A30B6956A7D7C315691EC7CB4E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 4.3.0;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 4;
DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
INFOPLIST_FILE = "Target Support Files/OHHTTPStubs/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/OHHTTPStubs/OHHTTPStubs.modulemap";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
FB45FFD90572718D82AB9092B750F0CA /* 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;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
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 = 8.0;
STRIP_INSTALLED_PRODUCT = NO;
SYMROOT = "${SRCROOT}/../build";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
35920CD46DC6721D6B943E13 /* Build configuration list for PBXNativeTarget "Pods" */ = {
136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C97FCFEC9543CEEE63EBFA1 /* Debug */,
4E419842EB75B63AB6EB7CD9 /* Release */,
D5363C7463136E690514EA53C85C0C8D /* Debug */,
8D8037ED98B93F867F21E1A00E40CA25 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5DAD56263AD60CAD28B28D71 /* Build configuration list for PBXProject "Pods" */ = {
1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F3155A251F8FB27D033C80B7 /* Debug */,
8B7B96657207941542B8A42E /* Release */,
DAF781A30B6956A7D7C315691EC7CB4E /* Debug */,
AE050CF0675A77F0187F1B57B0216453 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9E320C31BC20443632AE890E /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs" */ = {
2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
204E7D31CAF5A4F252A4D622 /* Debug */,
2AE519C01027BBCA761BBBAC /* Release */,
A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */,
FB45FFD90572718D82AB9092B750F0CA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = C2CBDA3936450283A6DE5391 /* Project object */;
rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
}

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E4F3908DF65694388E03EE338E6F07FA"
BuildableName = "OHHTTPStubs.framework"
BlueprintName = "OHHTTPStubs"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E4F3908DF65694388E03EE338E6F07FA"
BuildableName = "OHHTTPStubs.framework"
BlueprintName = "OHHTTPStubs"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@@ -0,0 +1,7 @@
#include "OHHTTPStubs.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public"
OTHER_LDFLAGS = ${OHHTTPSTUBS_OTHER_LDFLAGS}
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_ROOT = ${SRCROOT}
SKIP_INSTALL = YES

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_OHHTTPStubs : NSObject
@end
@implementation PodsDummy_OHHTTPStubs
@end

View File

@@ -0,0 +1,4 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif

View File

@@ -0,0 +1,12 @@
#import <UIKit/UIKit.h>
#import "Compatibility.h"
#import "OHHTTPStubs.h"
#import "OHHTTPStubsResponse.h"
#import "OHHTTPStubsResponse+JSON.h"
#import "OHPathHelpers.h"
#import "Compatibility.h"
FOUNDATION_EXPORT double OHHTTPStubsVersionNumber;
FOUNDATION_EXPORT const unsigned char OHHTTPStubsVersionString[];

View File

@@ -0,0 +1,6 @@
framework module OHHTTPStubs {
umbrella header "OHHTTPStubs-umbrella.h"
export *
module * { export * }
}

View File

@@ -0,0 +1 @@
OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation"

View File

@@ -8,48 +8,52 @@ SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods/$1"
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRODUCTS_DIR}/$1"
else
local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
fi
local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
if [ -L "${source}" ]; then
echo "Symlinked..."
source=$(readlink "${source}")
source="$(readlink "${source}")"
fi
# use filter instead of exclude so missing patterns dont' throw errors
echo "rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" --filter "- Modules/" ${source} ${destination}"
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" --filter "- Modules/" "${source}" "${destination}"
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
# Resign the code if required by the build settings to avoid unstable apps
if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
code_sign "${destination}/$1"
fi
code_sign_if_enabled "${destination}/$(basename "$1")"
# Embed linked Swift runtime libraries
local basename
basename=$(echo $1 | sed -E s/\\..+// && exit ${PIPESTATUS[0]})
basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})"
local swift_runtime_libs
swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/$1/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | 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}"
if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
code_sign "${destination}/${lib}"
fi
code_sign_if_enabled "${destination}/${lib}"
done
}
# Signs a framework with the provided identity
code_sign() {
# Use the current code_sign_identitiy
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1"
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
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}"
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\""
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
fi
}
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework 'OHHTTPStubs.framework'
install_framework 'Pods/OHHTTPStubs.framework'
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework 'OHHTTPStubs.framework'
install_framework 'Pods/OHHTTPStubs.framework'
fi

View File

@@ -9,7 +9,7 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
XCASSET_FILES=()
realpath() {
DIRECTORY=$(cd "${1%/*}" && pwd)
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
@@ -22,7 +22,7 @@ install_resource()
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
@@ -58,8 +58,10 @@ install_resource()
esac
}
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]]; 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"

View File

@@ -1,8 +1,7 @@
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_FRAMEWORK_BUILD_PATH"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_FRAMEWORK_BUILD_PATH/OHHTTPStubs.framework/Headers"
OTHER_LDFLAGS = $(inherited) -ObjC -framework "OHHTTPStubs"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OHHTTPStubs.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -1,8 +1,7 @@
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_FRAMEWORK_BUILD_PATH"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_FRAMEWORK_BUILD_PATH/OHHTTPStubs.framework/Headers"
OTHER_LDFLAGS = $(inherited) -ObjC -framework "OHHTTPStubs"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OHHTTPStubs.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

View File

@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OHHTTPStubs"
s.version = "4.0.1"
s.version = "4.3.0"
s.summary = "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest."
s.description = <<-DESC.gsub(/^ +\|/,'')
@@ -25,13 +25,62 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/AliSoftware/OHHTTPStubs.git", :tag => s.version.to_s }
s.source_files = "OHHTTPStubs/Sources/*.{h,m}"
s.public_header_files = "OHHTTPStubs/Sources/*.h"
s.frameworks = 'Foundation', 'CFNetwork'
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.watchos.deployment_target = '2.0'
s.default_subspec = 'Default'
# Default subspec that includes the most commonly-used components
s.subspec 'Default' do |default|
default.dependency 'OHHTTPStubs/Core'
default.dependency 'OHHTTPStubs/NSURLSession'
default.dependency 'OHHTTPStubs/JSON'
default.dependency 'OHHTTPStubs/OHPathHelpers'
end
# The Core subspec, containing the library core needed in all cases
s.subspec 'Core' do |core|
core.source_files = "OHHTTPStubs/Sources/*.{h,m}"
core.public_header_files = "OHHTTPStubs/Sources/*.h"
end
# Optional subspecs
s.subspec 'NSURLSession' do |urlsession|
urlsession.dependency 'OHHTTPStubs/Core'
urlsession.source_files = "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
end
s.subspec 'JSON' do |json|
json.dependency 'OHHTTPStubs/Core'
json.source_files = "OHHTTPStubs/Sources/JSON/*.{h,m}"
json.public_header_files = "OHHTTPStubs/Sources/JSON/*.h"
end
s.subspec 'HTTPMessage' do |httpmessage|
httpmessage.dependency 'OHHTTPStubs/Core'
httpmessage.source_files = "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}"
httpmessage.public_header_files = "OHHTTPStubs/Sources/HTTPMessage/*.h"
end
s.subspec 'Mocktail' do |mocktail|
mocktail.dependency 'OHHTTPStubs/Core'
mocktail.source_files = "OHHTTPStubs/Sources/Mocktail/*.{h,m}"
mocktail.public_header_files = "OHHTTPStubs/Sources/Mocktail/*.h"
end
s.subspec 'OHPathHelpers' do |pathhelper|
pathhelper.source_files = "OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}", "OHHTTPStubs/Sources/Compatibility.h"
pathhelper.public_header_files = "OHHTTPStubs/Sources/OHPathHelpers/*.h", "OHHTTPStubs/Sources/Compatibility.h"
end
s.subspec 'Swift' do |swift|
swift.ios.deployment_target = '8.0'
swift.dependency 'OHHTTPStubs/Core'
swift.source_files = "OHHTTPStubs/Sources/Swift/*.swift"
end
end

View File

@@ -16,6 +16,34 @@
09110A751980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
09110A761980606A00D175E4 /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
09110A791980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
093442E21B80EC4A00A91535 /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
093442E31B80EC4A00A91535 /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
093442E41B80EC4A00A91535 /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
093442E51B80EC4A00A91535 /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
093442E61B80EC4A00A91535 /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
093442E71B80EC4A00A91535 /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
093442E81B80EC4A00A91535 /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
093442E91B80EC4A00A91535 /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
093442EA1B80EC4A00A91535 /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
093442EC1B80EC4A00A91535 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
093442EE1B80EC4A00A91535 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
093442F11B80EC4A00A91535 /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
093442F21B80EC4A00A91535 /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
093442F31B80EC4A00A91535 /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
093442F41B80EC4A00A91535 /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
093442FD1B80ED2600A91535 /* OHHTTPStubs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */; };
094906D61B7F4D7100B047DA /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
094906D71B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
094906D81B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
094906D91B7F523500B047DA /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
094906DA1B7F523900B047DA /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
094906DB1B7F527A00B047DA /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
094906DC1B7F60D100B047DA /* OHHTTPStubs+Mocktail.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; };
094906DD1B7F60D100B047DA /* OHPathHelpers.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; };
094906DE1B7F60E200B047DA /* OHHTTPStubs+Mocktail.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; settings = {ATTRIBUTES = (Public, ); }; };
094906DF1B7F60EE00B047DA /* OHHTTPStubs+Mocktail.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; settings = {ATTRIBUTES = (Public, ); }; };
095925D41BAEBEAA00DD7F0B /* OHHTTPStubsSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */; settings = {ASSET_TAGS = (); }; };
095925D61BAEC00200DD7F0B /* SwiftHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */; settings = {ASSET_TAGS = (); }; };
095981881980682800807DBE /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
095981891980682E00807DBE /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
0959818A1980682E00807DBE /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
@@ -49,11 +77,21 @@
095B1AD71AE3138C009D1B56 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
095B1AD81AE31395009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
095B1AD91AE31396009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
095B1ADA1AE313E0009D1B56 /* OHPathHelpers.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; };
09D0D2991B67FED3004E7213 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
09D0D29A1B67FED3004E7213 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
09D0D29B1B67FF06004E7213 /* Compatibility.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; };
0DB397E35DDB6808A5496D53 /* libPods-OHHTTPStubs Mac Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */; };
1D0F8E7E1B6E31850049A7D2 /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
1D0F8E801B6E31A70049A7D2 /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
1D0F8E821B6E31B00049A7D2 /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
1D6DB8501B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
221C34A51B0CCF0600FCA8FF /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
221C34A71B0CCF9D00FCA8FF /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
221C34A81B0CCF9D00FCA8FF /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
221C34A91B0CCFF200FCA8FF /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
3EB635BCF186B952750E2AEE /* libPods-OHHTTPStubs iOS Fmk Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */; };
47AF337B1A3775B600158C9F /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
47AF337C1A3775B600158C9F /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
4DD13AB8422F0151AF227209 /* libPods-OHHTTPStubs iOS Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 446DA13BA37A8466FF4F9D35 /* libPods-OHHTTPStubs iOS Tests.a */; };
725CD9B41A9EB6F600F84C8B /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
725CD9B51A9EB6F800F84C8B /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
725CD9B61A9EB6FA00F84C8B /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
@@ -63,6 +101,7 @@
725CD9BA1A9EB71500F84C8B /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
725CD9BB1A9EB71A00F84C8B /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
725CD9BC1A9EB71D00F84C8B /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; settings = {ATTRIBUTES = (Public, ); }; };
7B812F8D5510F916B78E671A /* libPods-OHHTTPStubs iOS Lib Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -73,6 +112,13 @@
remoteGlobalIDString = 09110A4019805F4800D175E4;
remoteInfo = "OHHTTPStubs iOS";
};
093442FB1B80ED1C00A91535 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 09110A3919805F4800D175E4 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 725CD99A1A9EB65100F84C8B;
remoteInfo = "OHHTTPStubs iOS Framework";
};
095981D519806A7900807DBE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 09110A3919805F4800D175E4 /* Project object */;
@@ -89,11 +135,13 @@
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
095B1ADA1AE313E0009D1B56 /* OHPathHelpers.h in CopyFiles */,
09D0D29B1B67FF06004E7213 /* Compatibility.h in CopyFiles */,
095981FC19806AF300807DBE /* OHHTTPStubs.h in CopyFiles */,
095981FD19806AF300807DBE /* OHHTTPStubsResponse.h in CopyFiles */,
095981FE19806AF300807DBE /* OHHTTPStubsResponse+HTTPMessage.h in CopyFiles */,
095981FF19806AF300807DBE /* OHHTTPStubsResponse+JSON.h in CopyFiles */,
095981FE19806AF300807DBE /* OHHTTPStubsResponse+HTTPMessage.h in CopyFiles */,
094906DC1B7F60D100B047DA /* OHHTTPStubs+Mocktail.h in CopyFiles */,
094906DD1B7F60D100B047DA /* OHPathHelpers.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -102,7 +150,7 @@
/* Begin PBXFileReference section */
09110A4119805F4800D175E4 /* libOHHTTPStubs.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOHHTTPStubs.a; sourceTree = BUILT_PRODUCTS_DIR; };
09110A4419805F4800D175E4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
09110A5119805F4800D175E4 /* OHHTTPStubs iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs iOS Lib Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
09110A5219805F4800D175E4 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
09110A6A1980605A00D175E4 /* OHHTTPStubs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
09110A6B1980605A00D175E4 /* OHHTTPStubs.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
@@ -113,6 +161,10 @@
09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
093442DC1B80EC3B00A91535 /* OHHTTPStubs iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubs iOS-Info.plist"; sourceTree = "<group>"; };
093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs iOS Fmk Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SwiftHelpersTests.swift; path = "Test Suites/SwiftHelpersTests.swift"; sourceTree = "<group>"; };
095981451980657C00807DBE /* UnitTests-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; };
095981471980665400807DBE /* UnitTests-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UnitTests-Prefix.pch"; sourceTree = "<group>"; };
095981481980668E00807DBE /* AFNetworkingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFNetworkingTests.m; path = "Test Suites/AFNetworkingTests.m"; sourceTree = "<group>"; };
@@ -130,14 +182,26 @@
095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs Mac Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
0F72EA0B0A785AE724116B35 /* Pods-OHHTTPStubs iOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig"; sourceTree = "<group>"; };
09D0D2981B67FED3004E7213 /* Compatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MocktailTests.m; path = "Test Suites/MocktailTests.m"; sourceTree = "<group>"; };
1D0F8E7F1B6E31A70049A7D2 /* login.tail */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = login.tail; path = ../login.tail; sourceTree = "<group>"; };
1D0F8E811B6E31B00049A7D2 /* MocktailFolder */ = {isa = PBXFileReference; lastKnownFileType = folder; name = MocktailFolder; path = ../MocktailFolder; sourceTree = "<group>"; };
1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs+Mocktail.h"; sourceTree = "<group>"; };
1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+Mocktail.m"; sourceTree = "<group>"; };
221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpersTests.m; sourceTree = "<group>"; };
221C34A61B0CCF9D00FCA8FF /* empty.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = empty.bundle; sourceTree = "<group>"; };
446DA13BA37A8466FF4F9D35 /* libPods-OHHTTPStubs iOS Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
47AF337A1A37757B00158C9F /* emptyfile.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = emptyfile.json; sourceTree = "<group>"; };
725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8DB8134EA435816E00804074 /* Pods-OHHTTPStubs iOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig"; sourceTree = "<group>"; };
78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; sourceTree = "<group>"; };
95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; sourceTree = "<group>"; };
B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; sourceTree = "<group>"; };
BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; sourceTree = "<group>"; };
DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; sourceTree = "<group>"; };
E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs Mac Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig"; sourceTree = "<group>"; };
F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -154,9 +218,20 @@
buildActionMask = 2147483647;
files = (
09110A5319805F4800D175E4 /* XCTest.framework in Frameworks */,
09110A5919805F4800D175E4 /* libOHHTTPStubs.a in Frameworks */,
09110A5419805F4800D175E4 /* Foundation.framework in Frameworks */,
4DD13AB8422F0151AF227209 /* libPods-OHHTTPStubs iOS Tests.a in Frameworks */,
09110A5919805F4800D175E4 /* libOHHTTPStubs.a in Frameworks */,
7B812F8D5510F916B78E671A /* libPods-OHHTTPStubs iOS Lib Tests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
093442EB1B80EC4A00A91535 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
093442EC1B80EC4A00A91535 /* XCTest.framework in Frameworks */,
093442EE1B80EC4A00A91535 /* Foundation.framework in Frameworks */,
093442FD1B80ED2600A91535 /* OHHTTPStubs.framework in Frameworks */,
3EB635BCF186B952750E2AEE /* libPods-OHHTTPStubs iOS Fmk Tests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -171,8 +246,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */,
095981D319806A7900807DBE /* XCTest.framework in Frameworks */,
095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */,
0DB397E35DDB6808A5496D53 /* libPods-OHHTTPStubs Mac Tests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -203,10 +278,11 @@
isa = PBXGroup;
children = (
09110A4119805F4800D175E4 /* libOHHTTPStubs.a */,
09110A5119805F4800D175E4 /* OHHTTPStubs iOS Tests.xctest */,
09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */,
095981C219806A7900807DBE /* OHHTTPStubs.framework */,
095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */,
725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */,
093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */,
);
name = Products;
sourceTree = "<group>";
@@ -219,6 +295,8 @@
0959819719806A4200807DBE /* Other Frameworks */,
F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */,
446DA13BA37A8466FF4F9D35 /* libPods-OHHTTPStubs iOS Tests.a */,
FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */,
BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -226,12 +304,14 @@
09110A4619805F4800D175E4 /* OHHTTPStubs */ = {
isa = PBXGroup;
children = (
09D0D2981B67FED3004E7213 /* Compatibility.h */,
09110A6A1980605A00D175E4 /* OHHTTPStubs.h */,
09110A6B1980605A00D175E4 /* OHHTTPStubs.m */,
1D6DB84D1B763B7A00FCF855 /* Mocktail */,
09110A6D1980605D00D175E4 /* OHHTTPStubsResponse */,
09110A771980607200D175E4 /* NSURLSession Support */,
095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */,
095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */,
093443011B80F88700A91535 /* OHPathHelpers */,
095569991B90E4EA00503ADC /* Swift */,
);
name = OHHTTPStubs;
path = Sources;
@@ -261,10 +341,8 @@
children = (
09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */,
09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */,
09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */,
09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */,
09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */,
09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */,
093442FF1B80F85700A91535 /* JSON */,
093442FE1B80F84800A91535 /* HTTPMessage */,
);
name = OHHTTPStubsResponse;
sourceTree = "<group>";
@@ -275,18 +353,57 @@
09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */,
);
name = "NSURLSession Support";
path = NSURLSession;
sourceTree = "<group>";
};
093442FE1B80F84800A91535 /* HTTPMessage */ = {
isa = PBXGroup;
children = (
09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */,
09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */,
);
path = HTTPMessage;
sourceTree = "<group>";
};
093442FF1B80F85700A91535 /* JSON */ = {
isa = PBXGroup;
children = (
09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */,
09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */,
);
path = JSON;
sourceTree = "<group>";
};
093443011B80F88700A91535 /* OHPathHelpers */ = {
isa = PBXGroup;
children = (
095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */,
095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */,
);
path = OHPathHelpers;
sourceTree = "<group>";
};
095569991B90E4EA00503ADC /* Swift */ = {
isa = PBXGroup;
children = (
0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */,
);
path = Swift;
sourceTree = "<group>";
};
095981461980663000807DBE /* Test Suites */ = {
isa = PBXGroup;
children = (
095981481980668E00807DBE /* AFNetworkingTests.m */,
1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */,
095981491980668E00807DBE /* NilValuesTests.m */,
0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */,
0959814B1980668E00807DBE /* NSURLConnectionTests.m */,
0959814C1980668E00807DBE /* NSURLSessionTests.m */,
221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */,
0959814D1980668E00807DBE /* TimingTests.m */,
0959814E1980668E00807DBE /* WithContentsOfURLTests.m */,
095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */,
);
name = "Test Suites";
sourceTree = "<group>";
@@ -304,15 +421,28 @@
095981C519806A7900807DBE /* Supporting Files */ = {
isa = PBXGroup;
children = (
093442DC1B80EC3B00A91535 /* OHHTTPStubs iOS-Info.plist */,
095981C619806A7900807DBE /* OHHTTPStubs Mac-Info.plist */,
);
path = "Supporting Files";
sourceTree = "<group>";
};
1D6DB84D1B763B7A00FCF855 /* Mocktail */ = {
isa = PBXGroup;
children = (
1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */,
1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */,
);
path = Mocktail;
sourceTree = "<group>";
};
47AF33791A37755E00158C9F /* Fixtures */ = {
isa = PBXGroup;
children = (
221C34A61B0CCF9D00FCA8FF /* empty.bundle */,
47AF337A1A37757B00158C9F /* emptyfile.json */,
1D0F8E7F1B6E31A70049A7D2 /* login.tail */,
1D0F8E811B6E31B00049A7D2 /* MocktailFolder */,
);
path = Fixtures;
sourceTree = "<group>";
@@ -322,8 +452,10 @@
children = (
B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */,
E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */,
0F72EA0B0A785AE724116B35 /* Pods-OHHTTPStubs iOS Tests.debug.xcconfig */,
8DB8134EA435816E00804074 /* Pods-OHHTTPStubs iOS Tests.release.xcconfig */,
78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */,
DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */,
C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */,
95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
@@ -335,11 +467,13 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
09D0D29A1B67FED3004E7213 /* Compatibility.h in Headers */,
095981FB19806AB700807DBE /* OHHTTPStubs.h in Headers */,
0959820019806B1700807DBE /* OHHTTPStubsResponse.h in Headers */,
0959820219806B2200807DBE /* OHHTTPStubsResponse+JSON.h in Headers */,
0959820119806B1E00807DBE /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
0959820019806B1700807DBE /* OHHTTPStubsResponse.h in Headers */,
094906DF1B7F60EE00B047DA /* OHHTTPStubs+Mocktail.h in Headers */,
095B1AD71AE3138C009D1B56 /* OHPathHelpers.h in Headers */,
095981FB19806AB700807DBE /* OHHTTPStubs.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -347,10 +481,12 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
09D0D2991B67FED3004E7213 /* Compatibility.h in Headers */,
725CD9B91A9EB71000F84C8B /* OHHTTPStubs.h in Headers */,
725CD9BA1A9EB71500F84C8B /* OHHTTPStubsResponse.h in Headers */,
725CD9BB1A9EB71A00F84C8B /* OHHTTPStubsResponse+JSON.h in Headers */,
725CD9BC1A9EB71D00F84C8B /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
094906DE1B7F60E200B047DA /* OHHTTPStubs+Mocktail.h in Headers */,
095B1AD61AE3138C009D1B56 /* OHPathHelpers.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -375,9 +511,9 @@
productReference = 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */;
productType = "com.apple.product-type.library.static";
};
09110A5019805F4800D175E4 /* OHHTTPStubs iOS Tests */ = {
09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Tests" */;
buildConfigurationList = 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */;
buildPhases = (
7F432602D77FABAF29E05AA8 /* Check Pods Manifest.lock */,
09110A4D19805F4800D175E4 /* Sources */,
@@ -390,9 +526,29 @@
dependencies = (
09110A5819805F4800D175E4 /* PBXTargetDependency */,
);
name = "OHHTTPStubs iOS Tests";
name = "OHHTTPStubs iOS Lib Tests";
productName = OHHTTPStubsTests;
productReference = 09110A5119805F4800D175E4 /* OHHTTPStubs iOS Tests.xctest */;
productReference = 09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
093442DD1B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 093442F61B80EC4A00A91535 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Fmk Tests" */;
buildPhases = (
093442E01B80EC4A00A91535 /* Check Pods Manifest.lock */,
093442E11B80EC4A00A91535 /* Sources */,
093442EB1B80EC4A00A91535 /* Frameworks */,
093442F01B80EC4A00A91535 /* Resources */,
093442F51B80EC4A00A91535 /* Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
093442FC1B80ED1C00A91535 /* PBXTargetDependency */,
);
name = "OHHTTPStubs iOS Fmk Tests";
productName = OHHTTPStubsTests;
productReference = 093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */ = {
@@ -457,7 +613,8 @@
09110A3919805F4800D175E4 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0510;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = AliSoftware;
TargetAttributes = {
09110A5019805F4800D175E4 = {
@@ -484,8 +641,9 @@
projectRoot = "";
targets = (
09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */,
09110A5019805F4800D175E4 /* OHHTTPStubs iOS Tests */,
09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */,
725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */,
093442DD1B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests */,
095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */,
095981D119806A7900807DBE /* OHHTTPStubs Mac Tests */,
);
@@ -498,6 +656,20 @@
buildActionMask = 2147483647;
files = (
47AF337B1A3775B600158C9F /* emptyfile.json in Resources */,
221C34A71B0CCF9D00FCA8FF /* empty.bundle in Resources */,
1D0F8E821B6E31B00049A7D2 /* MocktailFolder in Resources */,
1D0F8E801B6E31A70049A7D2 /* login.tail in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
093442F01B80EC4A00A91535 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
093442F11B80EC4A00A91535 /* emptyfile.json in Resources */,
093442F21B80EC4A00A91535 /* empty.bundle in Resources */,
093442F31B80EC4A00A91535 /* MocktailFolder in Resources */,
093442F41B80EC4A00A91535 /* login.tail in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -512,7 +684,10 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
094906D91B7F523500B047DA /* MocktailFolder in Resources */,
47AF337C1A3775B600158C9F /* emptyfile.json in Resources */,
221C34A81B0CCF9D00FCA8FF /* empty.bundle in Resources */,
094906DA1B7F523900B047DA /* login.tail in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -526,6 +701,36 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
093442E01B80EC4A00A91535 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
093442F51B80EC4A00A91535 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
2E71B8D8A7ECD8287E0E81D5 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -538,7 +743,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
752F2AD343353136781BDAB2 /* Check Pods Manifest.lock */ = {
@@ -593,11 +798,12 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
09110A751980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
09110A761980606A00D175E4 /* OHHTTPStubsResponse+JSON.m in Sources */,
09110A791980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
09110A6C1980605A00D175E4 /* OHHTTPStubs.m in Sources */,
09110A791980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
1D6DB8501B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m in Sources */,
09110A741980606A00D175E4 /* OHHTTPStubsResponse.m in Sources */,
09110A761980606A00D175E4 /* OHHTTPStubsResponse+JSON.m in Sources */,
09110A751980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
095B1AD51AE30BA7009D1B56 /* OHPathHelpers.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -607,24 +813,44 @@
buildActionMask = 2147483647;
files = (
0959818D1980682E00807DBE /* TimingTests.m in Sources */,
221C34A51B0CCF0600FCA8FF /* OHPathHelpersTests.m in Sources */,
0959818A1980682E00807DBE /* NSURLConnectionDelegateTests.m in Sources */,
0959818E1980682E00807DBE /* WithContentsOfURLTests.m in Sources */,
095981881980682800807DBE /* AFNetworkingTests.m in Sources */,
1D0F8E7E1B6E31850049A7D2 /* MocktailTests.m in Sources */,
0959818C1980682E00807DBE /* NSURLSessionTests.m in Sources */,
0959818B1980682E00807DBE /* NSURLConnectionTests.m in Sources */,
095981891980682E00807DBE /* NilValuesTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
093442E11B80EC4A00A91535 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
093442E21B80EC4A00A91535 /* TimingTests.m in Sources */,
093442E31B80EC4A00A91535 /* OHPathHelpersTests.m in Sources */,
093442E41B80EC4A00A91535 /* NSURLConnectionDelegateTests.m in Sources */,
095925D61BAEC00200DD7F0B /* SwiftHelpersTests.swift in Sources */,
093442E51B80EC4A00A91535 /* WithContentsOfURLTests.m in Sources */,
093442E61B80EC4A00A91535 /* AFNetworkingTests.m in Sources */,
093442E71B80EC4A00A91535 /* MocktailTests.m in Sources */,
093442E81B80EC4A00A91535 /* NSURLSessionTests.m in Sources */,
093442E91B80EC4A00A91535 /* NSURLConnectionTests.m in Sources */,
093442EA1B80EC4A00A91535 /* NilValuesTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
095981BD19806A7900807DBE /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
095981F719806AAC00807DBE /* OHHTTPStubsResponse.m in Sources */,
095981F819806AAC00807DBE /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
095981F619806AAC00807DBE /* OHHTTPStubs.m in Sources */,
095981F919806AAC00807DBE /* OHHTTPStubsResponse+JSON.m in Sources */,
095981FA19806AAC00807DBE /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
094906D81B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */,
095981F719806AAC00807DBE /* OHHTTPStubsResponse.m in Sources */,
095981F919806AAC00807DBE /* OHHTTPStubsResponse+JSON.m in Sources */,
095981F819806AAC00807DBE /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
095B1AD91AE31396009D1B56 /* OHPathHelpers.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -634,9 +860,12 @@
buildActionMask = 2147483647;
files = (
095981F119806AA200807DBE /* NSURLConnectionTests.m in Sources */,
094906D61B7F4D7100B047DA /* MocktailTests.m in Sources */,
095981F319806AA200807DBE /* TimingTests.m in Sources */,
221C34A91B0CCFF200FCA8FF /* OHPathHelpersTests.m in Sources */,
095981F419806AA200807DBE /* WithContentsOfURLTests.m in Sources */,
095981EF19806AA200807DBE /* NilValuesTests.m in Sources */,
094906DB1B7F527A00B047DA /* AFNetworkingTests.m in Sources */,
095981F219806AA200807DBE /* NSURLSessionTests.m in Sources */,
095981F019806AA200807DBE /* NSURLConnectionDelegateTests.m in Sources */,
);
@@ -648,9 +877,11 @@
files = (
725CD9B41A9EB6F600F84C8B /* OHHTTPStubs.m in Sources */,
725CD9B81A9EB70000F84C8B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
094906D71B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */,
725CD9B51A9EB6F800F84C8B /* OHHTTPStubsResponse.m in Sources */,
725CD9B71A9EB6FD00F84C8B /* OHHTTPStubsResponse+JSON.m in Sources */,
725CD9B61A9EB6FA00F84C8B /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
095925D41BAEBEAA00DD7F0B /* OHHTTPStubsSwift.swift in Sources */,
095B1AD81AE31395009D1B56 /* OHPathHelpers.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -663,6 +894,11 @@
target = 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */;
targetProxy = 09110A5719805F4800D175E4 /* PBXContainerItemProxy */;
};
093442FC1B80ED1C00A91535 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */;
targetProxy = 093442FB1B80ED1C00A91535 /* PBXContainerItemProxy */;
};
095981D619806A7900807DBE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */;
@@ -688,6 +924,7 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
@@ -766,13 +1003,8 @@
};
09110A6819805F4800D175E4 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0F72EA0B0A785AE724116B35 /* Pods-OHHTTPStubs iOS Tests.debug.xcconfig */;
baseConfigurationReference = C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
"$(DEVELOPER_FRAMEWORKS_DIR)",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -785,6 +1017,7 @@
"$(inherited)",
"-ObjC",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = xctest;
};
@@ -792,13 +1025,8 @@
};
09110A6919805F4800D175E4 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8DB8134EA435816E00804074 /* Pods-OHHTTPStubs iOS Tests.release.xcconfig */;
baseConfigurationReference = 95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
"$(DEVELOPER_FRAMEWORKS_DIR)",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
@@ -807,6 +1035,62 @@
"$(inherited)",
"-ObjC",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = xctest;
};
name = Release;
};
093442F71B80EC4A00A91535 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(DEVELOPER_FRAMEWORKS_DIR)",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
WRAPPER_EXTENSION = xctest;
};
name = Debug;
};
093442F81B80EC4A00A91535 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(DEVELOPER_FRAMEWORKS_DIR)",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = xctest;
};
@@ -832,6 +1116,7 @@
INFOPLIST_FILE = "Supporting Files/OHHTTPStubs Mac-Info.plist";
INSTALL_PATH = "@rpath";
MACOSX_DEPLOYMENT_TARGET = 10.7;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = macosx;
WRAPPER_EXTENSION = framework;
@@ -855,6 +1140,7 @@
INFOPLIST_FILE = "Supporting Files/OHHTTPStubs Mac-Info.plist";
INSTALL_PATH = "@rpath";
MACOSX_DEPLOYMENT_TARGET = 10.7;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = OHHTTPStubs;
SDKROOT = macosx;
WRAPPER_EXTENSION = framework;
@@ -865,6 +1151,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(DEVELOPER_FRAMEWORKS_DIR)",
@@ -892,6 +1179,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
FRAMEWORK_SEARCH_PATHS = (
@@ -931,6 +1219,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = OHHTTPStubs;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -952,6 +1241,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = OHHTTPStubs;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -979,7 +1269,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Tests" */ = {
09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
09110A6819805F4800D175E4 /* Debug */,
@@ -988,6 +1278,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
093442F61B80EC4A00A91535 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Fmk Tests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
093442F71B80EC4A00A91535 /* Debug */,
093442F81B80EC4A00A91535 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
095981E019806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Framework" */ = {
isa = XCConfigurationList;
buildConfigurations = (

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -37,10 +37,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
@@ -53,15 +53,18 @@
</BuildableReference>
</TestableReference>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
@@ -76,10 +79,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -20,14 +20,38 @@
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "093442DD1B80EC4A00A91535"
BuildableName = "OHHTTPStubs iOS Fmk Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Fmk Tests"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "093442DD1B80EC4A00A91535"
BuildableName = "OHHTTPStubs iOS Fmk Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Fmk Tests"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
@@ -38,15 +62,18 @@
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
@@ -61,10 +88,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -29,39 +29,51 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09110A5019805F4800D175E4"
BuildableName = "OHHTTPStubs iOS Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Tests"
BuildableName = "OHHTTPStubs iOS Lib Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Lib Tests"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09110A5019805F4800D175E4"
BuildableName = "OHHTTPStubs iOS Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Tests"
BuildableName = "OHHTTPStubs iOS Lib Tests.xctest"
BlueprintName = "OHHTTPStubs iOS Lib Tests"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09110A4019805F4800D175E4"
BuildableName = "libOHHTTPStubs.a"
BlueprintName = "OHHTTPStubs iOS StaticLib"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
@@ -76,11 +88,20 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09110A4019805F4800D175E4"
BuildableName = "libOHHTTPStubs.a"
BlueprintName = "OHHTTPStubs iOS StaticLib"
ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">

View File

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

View File

@@ -3,11 +3,16 @@ source 'https://github.com/CocoaPods/Specs.git'
xcodeproj 'OHHTTPStubs.xcodeproj'
inhibit_all_warnings!
target 'OHHTTPStubs iOS Tests' do
target 'OHHTTPStubs iOS Lib Tests' do
platform :ios, '6.0'
pod 'AFNetworking', '2.5.0'
end
target 'OHHTTPStubs iOS Fmk Tests' do
platform :ios, '8.0'
pod 'AFNetworking', '2.5.0'
end
target 'OHHTTPStubs Mac Tests' do
platform :osx, '10.8'
pod 'AFNetworking', '2.5.0'

View File

@@ -27,4 +27,4 @@ DEPENDENCIES:
SPEC CHECKSUMS:
AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

View File

@@ -27,4 +27,4 @@ DEPENDENCIES:
SPEC CHECKSUMS:
AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
COCOAPODS: 0.37.0
COCOAPODS: 0.38.2

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
#include "Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_MAC_TESTS_AFNETWORKING_OTHER_LDFLAGS} -ObjC
OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_MAC_TESTS_AFNETWORKING_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
SKIP_INSTALL = YES

View File

@@ -2,4 +2,3 @@
#import <Cocoa/Cocoa.h>
#endif
#import "Pods-OHHTTPStubs Mac Tests-environment.h"

View File

@@ -9,7 +9,7 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
XCASSET_FILES=()
realpath() {
DIRECTORY=$(cd "${1%/*}" && pwd)
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
@@ -22,7 +22,7 @@ install_resource()
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
@@ -58,8 +58,10 @@ install_resource()
esac
}
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]]; 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"

View File

@@ -2,5 +2,4 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs Mac Tests-AFNetworking" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -2,5 +2,4 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs Mac Tests-AFNetworking" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration"
OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -0,0 +1,6 @@
#include "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_IOS_FMK_TESTS_AFNETWORKING_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
SKIP_INSTALL = YES

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking : NSObject
@end
@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking
@end

View File

@@ -0,0 +1 @@
PODS_OHHTTPSTUBS_IOS_FMK_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"

View File

@@ -0,0 +1,26 @@
# Acknowledgements
This application makes use of the following third party libraries:
## AFNetworking
Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
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 - http://cocoapods.org

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
</string>
<key>Title</key>
<string>AFNetworking</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests : NSObject
@end
@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests
@end

View File

@@ -0,0 +1,95 @@
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodel)
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
;;
*.xcdatamodeld)
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
;;
*.xcmappingmodel)
echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
;;
*.xcassets)
ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
;;
/*)
echo "$1"
echo "$1" >> "$RESOURCES_TO_COPY"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]]; 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
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"
;;
*)
TARGET_DEVICE_ARGS="--target-device mac"
;;
esac
# 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 != "`realpath $PODS_ROOT`*" ]]; then
XCASSET_FILES+=("$line")
fi
done <<<"$OTHER_XCASSETS"
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
fi

View File

@@ -0,0 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -0,0 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -0,0 +1,6 @@
#include "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_IOS_LIB_TESTS_AFNETWORKING_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
SKIP_INSTALL = YES

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking : NSObject
@end
@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking
@end

View File

@@ -0,0 +1 @@
PODS_OHHTTPSTUBS_IOS_LIB_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"

View File

@@ -0,0 +1,26 @@
# Acknowledgements
This application makes use of the following third party libraries:
## AFNetworking
Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
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 - http://cocoapods.org

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
</string>
<key>Title</key>
<string>AFNetworking</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests : NSObject
@end
@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests
@end

View File

@@ -0,0 +1,95 @@
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodel)
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
;;
*.xcdatamodeld)
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
;;
*.xcmappingmodel)
echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
;;
*.xcassets)
ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
;;
/*)
echo "$1"
echo "$1" >> "$RESOURCES_TO_COPY"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]]; 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
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"
;;
*)
TARGET_DEVICE_ARGS="--target-device mac"
;;
esac
# 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 != "`realpath $PODS_ROOT`*" ]]; then
XCASSET_FILES+=("$line")
fi
done <<<"$OTHER_XCASSETS"
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
fi

View File

@@ -0,0 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -0,0 +1,5 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
PODS_ROOT = ${SRCROOT}/Pods

View File

@@ -0,0 +1,47 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* 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.
*
***********************************************************************************/
/*
* This file allows to keep compatibility with older SDKs which didn't have
* the latest features and associated macros yet.
*/
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
// Allow to use nullability macros and keywords even if not supported yet
#if ! __has_feature(nullability)
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
#define nullable
#define __nullable
#define __nonnull
#endif

View File

@@ -0,0 +1,79 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* 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.
*
***********************************************************************************/
/* This category is not available on watchOS because CFNetwork is needed for its implementation but isn't available on Nano */
#if __has_include(<CFNetwork/CFNetwork.h>)
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
#import <OHHTTPStubs/Compatibility.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Adds support for building stubs from "HTTP Messages" conforming to
* the format output by `curl -is`
*
* @note This category is not available on watchOS
*/
@interface OHHTTPStubsResponse (HTTPMessage)
/*! @name Building a response from HTTP Message data */
// TODO: Try to implement it using NSInputStream someday?
/**
* Builds a response given a message data as returned by `curl -is [url]`, that is containing both the headers and the body.
*
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
*
* @param responseData The NSData containing the whole HTTP response, including the headers and the body
*
* @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
*/
+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
/**
* Builds a response given the name of a `"*.response"` file containing both the headers and the body.
*
* The response file is expected to be in the specified bundle (or the application bundle if nil).
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
*
* @param responseName The name of the `"*.response"` file (without extension) containing the whole
* HTTP response (including the headers and the body)
* @param bundleOrNil The bundle in which the `"*.response"` file is located. If `nil`, the
* `[NSBundle bundleForClass:self.class]` will be used.
*
* @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
*/
+(instancetype)responseNamed:(NSString*)responseName
inBundle:(nullable NSBundle*)bundleOrNil;
@end
NS_ASSUME_NONNULL_END
#endif

View File

@@ -0,0 +1,76 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#if __has_include(<CFNetwork/CFNetwork.h>)
#import <CFNetwork/CFNetwork.h>
#import <OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h>
@implementation OHHTTPStubsResponse (HTTPMessage)
#pragma mark Building response from HTTP Message Data (dump from "curl -is")
+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
{
NSData *data = [NSData data];
NSInteger statusCode = 200;
NSDictionary *headers = @{};
CFHTTPMessageRef httpMessage = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, FALSE);
if (httpMessage)
{
CFHTTPMessageAppendBytes(httpMessage, responseData.bytes, responseData.length);
data = responseData; // By default
if (CFHTTPMessageIsHeaderComplete(httpMessage))
{
statusCode = (NSInteger)CFHTTPMessageGetResponseStatusCode(httpMessage);
headers = (__bridge_transfer NSDictionary *)CFHTTPMessageCopyAllHeaderFields(httpMessage);
data = (__bridge_transfer NSData *)CFHTTPMessageCopyBody(httpMessage);
}
CFRelease(httpMessage);
}
return [self responseWithData:data
statusCode:(int)statusCode
headers:headers];
}
+(instancetype)responseNamed:(NSString*)responseName
inBundle:(nullable NSBundle*)responsesBundle
{
NSURL *responseURL = [responsesBundle?:[NSBundle bundleForClass:self.class] URLForResource:responseName
withExtension:@"response"];
NSData *responseData = [NSData dataWithContentsOfURL:responseURL];
NSAssert(responseData, @"Could not find HTTP response named '%@' in bundle '%@'", responseName, responsesBundle);
return [self responseWithHTTPMessageData:responseData];
}
@end
#endif

View File

@@ -0,0 +1,57 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
#import <OHHTTPStubs/Compatibility.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Adds convenience methods to manipulate JSON objects directly.
* Pass in an `NSDictionary` or `NSArray` to generate a corresponding JSON output.
*/
@interface OHHTTPStubsResponse (JSON)
/**
* Builds a response given a JSON object for the response body, status code, and headers.
*
* @param jsonObject Object representing the response body.
* Typically a `NSDictionary`; may be any object accepted by `+[NSJSONSerialization dataWithJSONObject:options:error:]`
* @param statusCode The HTTP Status Code to use in the response
* @param httpHeaders The HTTP Headers to return in the response
* If a "Content-Type" header is not included, "Content-Type: application/json" will be added.
*
* @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
*
* @note This method typically calls `responseWithData:statusCode:headers:`, passing the serialized JSON
* object as the data parameter and adding the Content-Type header if necessary.
*/
+ (instancetype)responseWithJSONObject:(id)jsonObject
statusCode:(int)statusCode
headers:(nullable NSDictionary *)httpHeaders;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,48 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#import <OHHTTPStubs/OHHTTPStubsResponse+JSON.h>
@implementation OHHTTPStubsResponse (JSON)
/*! @name Building a response from JSON objects */
+ (instancetype)responseWithJSONObject:(id)jsonObject
statusCode:(int)statusCode
headers:(nullable NSDictionary *)httpHeaders
{
if (!httpHeaders[@"Content-Type"])
{
NSMutableDictionary* mutableHeaders = [NSMutableDictionary dictionaryWithDictionary:httpHeaders];
mutableHeaders[@"Content-Type"] = @"application/json";
httpHeaders = [NSDictionary dictionaryWithDictionary:mutableHeaders]; // make immutable again
}
return [self responseWithData:[NSJSONSerialization dataWithJSONObject:jsonObject options:0 error:nil]
statusCode:statusCode
headers:httpHeaders];
}
@end

View File

@@ -0,0 +1,100 @@
/***********************************************************************************
*
* Copyright (c) 2015 Jinlian (Sunny) Wang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
////////////////////////////////////////////////////////////////////////////////
#import <OHHTTPStubs/OHHTTPStubs.h>
#import <OHHTTPStubs/Compatibility.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Error codes for the OHHTTPStubs Mocktail category
*/
typedef NS_ENUM(NSInteger, OHHTTPStubsMocktailError) {
/** The specified path does not exist */
OHHTTPStubsMocktailErrorPathDoesNotExist = 1,
/** The specified path was not readable */
OHHTTPStubsMocktailErrorPathFailedToRead,
/** The specified path is not a directory */
OHHTTPStubsMocktailErrorPathIsNotFolder,
/** The specified file is not a valid Mocktail file */
OHHTTPStubsMocktailErrorInvalidFileFormat,
/** The specified Mocktail file has invalid headers */
OHHTTPStubsMocktailErrorInvalidFileHeader,
/** An unexpected internal error occured */
OHHTTPStubsMocktailErrorInternalError
};
extern NSString* const MocktailErrorDomain;
@interface OHHTTPStubs (Mocktail)
/**
* Add a stub given a file in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
*
* This method will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and
* response body, and use them to add a stub.
*
* @param fileName The name of the mocktail file (without extension of '.tail') in the Mocktail format.
* @param bundleOrNil The bundle in which the mocktail file is located. If `nil`, the `[NSBundle bundleForClass:self.class]` will be used.
* @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
*
* @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with
* `removeStub:`.
*/
+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktailNamed:(NSString *)fileName inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error;
/**
* Add a stub given a file URL in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
*
* This method will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and
* response body, and use them to add a stub.
*
* @param fileURL The URL pointing to the file in the Mocktail format.
* @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
*
* @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with
* `removeStub:`.
*/
+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktail:(NSURL *)fileURL error:(NSError **)error;
/**
* Add stubs using files under a folder in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
*
* This method will retrieve all the files under the folder; for each file with surfix of ".tail", it will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and response body, and use them to add a stub.
*
* @param path The name of the folder containing files in the Mocktail format.
* @param bundleOrNil The bundle in which the path is located. If `nil`, the `[NSBundle bundleForClass:self.class]` will be used.
* @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
*
* @return an array of stub descriptor that uniquely identifies the stub and can be later used to remove it with
* `removeStub:`.
*/
+(NSArray *)stubRequestsUsingMocktailsAtPath:(NSString *)path inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,238 @@
/***********************************************************************************
*
* Copyright (c) 2015 Jinlian (Sunny) Wang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
////////////////////////////////////////////////////////////////////////////////
#import <OHHTTPStubs/OHHTTPStubs+Mocktail.h>
NSString* const MocktailErrorDomain = @"Mocktail";
@implementation OHHTTPStubs (Mocktail)
+(NSArray *)stubRequestsUsingMocktailsAtPath:(NSString *)path inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error
{
NSURL *dirURL = [bundleOrNil?:[NSBundle bundleForClass:self.class] URLForResource:path withExtension:nil];
if (!dirURL)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathDoesNotExist userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Path '%@' does not exist.", path]}];
}
return nil;
}
// Make sure path points to a directory
NSNumber *isDirectory;
BOOL success = [dirURL getResourceValue:&isDirectory forKey:NSURLIsDirectoryKey error:nil];
BOOL isDir = (success && [isDirectory boolValue]);
if (!isDir)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathIsNotFolder userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Path '%@' is not a folder.", path]}];
}
return nil;
}
// Read the content of the directory
NSError *bError = nil;
NSFileManager *fileManager = [NSFileManager defaultManager];
NSArray *fileURLs = [fileManager contentsOfDirectoryAtURL:dirURL includingPropertiesForKeys:nil options:0 error:&bError];
if (bError)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathFailedToRead userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Error reading path '%@'.", dirURL.absoluteString]}];
}
return nil;
}
//stub the Mocktail-formatted requests
NSMutableArray *descriptorArray = [[NSMutableArray alloc] initWithCapacity:fileURLs.count];
for (NSURL *fileURL in fileURLs)
{
if (![fileURL.absoluteString hasSuffix:@".tail"])
{
continue;
}
id<OHHTTPStubsDescriptor> descriptor = [[self class] stubRequestsUsingMocktail:fileURL error: &bError];
if (descriptor && !bError)
{
[descriptorArray addObject:descriptor];
}
}
return descriptorArray;
}
+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktailNamed:(NSString *)fileName inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error
{
NSURL *responseURL = [bundleOrNil?:[NSBundle bundleForClass:self.class] URLForResource:fileName withExtension:@"tail"];
if (!responseURL)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathDoesNotExist userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' does not exist.", fileName]}];
}
return nil;
}
else
{
return [[self class] stubRequestsUsingMocktail:responseURL error:error];
}
}
+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktail:(NSURL *)fileURL error:(NSError **)error
{
NSError *bError = nil;
NSStringEncoding originalEncoding;
NSString *contentsOfFile = [NSString stringWithContentsOfURL:fileURL usedEncoding:&originalEncoding error:&bError];
if (!contentsOfFile || bError)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathFailedToRead userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' does not read.", fileURL.absoluteString]}];
}
return nil;
}
NSScanner *scanner = [NSScanner scannerWithString:contentsOfFile];
NSString *headerMatter = nil;
[scanner scanUpToString:@"\n\n" intoString:&headerMatter];
NSArray *lines = [headerMatter componentsSeparatedByString:@"\n"];
if (lines.count < 4)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid amount of lines:%u.", fileURL.absoluteString, (unsigned)lines.count]}];
}
return nil;
}
/* Handle Mocktail format, adapted from Mocktail implementation
For more details on the file format, check out: https://github.com/square/objc-Mocktail */
NSRegularExpression *methodRegex = [NSRegularExpression regularExpressionWithPattern:lines[0] options:NSRegularExpressionCaseInsensitive error:&bError];
if (bError)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid method regular expression pattern: %@.", fileURL.absoluteString, lines[0]]}];
}
return nil;
}
NSRegularExpression *absoluteURLRegex = [NSRegularExpression regularExpressionWithPattern:lines[1] options:NSRegularExpressionCaseInsensitive error:&bError];
if (bError)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid URL regular expression pattern: %@.", fileURL.absoluteString, lines[1]]}];
}
return nil;
}
NSInteger statusCode = [lines[2] integerValue];
NSMutableDictionary *headers = @{@"Content-Type":lines[3]}.mutableCopy;
// From line 5 to '\n\n', expect HTTP response headers.
NSRegularExpression *headerPattern = [NSRegularExpression regularExpressionWithPattern:@"^([^:]+):\\s+(.*)" options:0 error:&bError];
if (bError)
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInternalError userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Internal error while stubbing file '%@'.", fileURL.absoluteString]}];
}
return nil;
}
for (NSUInteger line = 4; line < lines.count; line ++) {
NSString *headerLine = lines[line];
NSTextCheckingResult *match = [headerPattern firstMatchInString:headerLine options:0 range:NSMakeRange(0, headerLine.length)];
if (match)
{
NSString *key = [headerLine substringWithRange:[match rangeAtIndex:1]];
NSString *value = [headerLine substringWithRange:[match rangeAtIndex:2]];
headers[key] = value;
}
else
{
if (error)
{
*error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileHeader userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid header: %@.", fileURL.absoluteString, headerLine]}];
}
return nil;
}
}
// Handle binary which is base64 encoded
NSUInteger bodyOffset = [headerMatter dataUsingEncoding:NSUTF8StringEncoding].length + 2;
return [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
NSString *absoluteURL = (request.URL).absoluteString;
NSString *method = request.HTTPMethod;
if ([absoluteURLRegex numberOfMatchesInString:absoluteURL options:0 range:NSMakeRange(0, absoluteURL.length)] > 0)
{
if ([methodRegex numberOfMatchesInString:method options:0 range:NSMakeRange(0, method.length)] > 0)
{
return YES;
}
}
return NO;
} withStubResponse:^OHHTTPStubsResponse*(NSURLRequest *request) {
if([headers[@"Content-Type"] hasSuffix:@";base64"])
{
NSString *type = headers[@"Content-Type"];
NSString *newType = [type substringWithRange:NSMakeRange(0, type.length - 7)];
headers[@"Content-Type"] = newType;
NSData *body = [NSData dataWithContentsOfURL:fileURL];
body = [body subdataWithRange:NSMakeRange(bodyOffset, body.length - bodyOffset)];
body = [[NSData alloc] initWithBase64EncodedData:body options:NSDataBase64DecodingIgnoreUnknownCharacters];
OHHTTPStubsResponse *response = [OHHTTPStubsResponse responseWithData:body statusCode:(int)statusCode headers:headers];
return response;
}
else
{
OHHTTPStubsResponse *response = [OHHTTPStubsResponse responseWithFileAtPath:fileURL.path
statusCode:(int)statusCode headers:headers];
[response.inputStream setProperty:@(bodyOffset) forKey:NSStreamFileCurrentOffsetKey];
return response;
}
}];
}
@end

View File

@@ -0,0 +1,88 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#import <Foundation/Foundation.h>
#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
#import <objc/runtime.h>
#import <OHHTTPStubs/OHHTTPStubs.h>
//////////////////////////////////////////////////////////////////////////////////////////////////
/**
* This helper is used to swizzle NSURLSessionConfiguration constructor methods
* defaultSessionConfiguration and ephemeralSessionConfiguration to insert the private
* OHHTTPStubsProtocol into their protocolClasses array so that OHHTTPStubs is automagically
* supported when you create a new NSURLSession based on one of there configurations.
*/
typedef NSURLSessionConfiguration*(*SessionConfigConstructor)(id,SEL);
static SessionConfigConstructor orig_defaultSessionConfiguration;
static SessionConfigConstructor orig_ephemeralSessionConfiguration;
static SessionConfigConstructor OHHTTPStubsSwizzle(SEL selector, SessionConfigConstructor newImpl)
{
Class cls = NSURLSessionConfiguration.class;
Class metaClass = object_getClass(cls);
Method origMethod = class_getClassMethod(cls, selector);
SessionConfigConstructor origImpl = (SessionConfigConstructor)method_getImplementation(origMethod);
if (!class_addMethod(metaClass, selector, (IMP)newImpl, method_getTypeEncoding(origMethod)))
{
method_setImplementation(origMethod, (IMP)newImpl);
}
return origImpl;
}
static NSURLSessionConfiguration* OHHTTPStubs_defaultSessionConfiguration(id self, SEL _cmd)
{
NSURLSessionConfiguration* config = orig_defaultSessionConfiguration(self,_cmd); // call original method
[OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
return config;
}
static NSURLSessionConfiguration* OHHTTPStubs_ephemeralSessionConfiguration(id self, SEL _cmd)
{
NSURLSessionConfiguration* config = orig_ephemeralSessionConfiguration(self,_cmd); // call original method
[OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
return config;
}
@interface NSURLSessionConfiguration(OHHTTPStubsSupport) @end
@implementation NSURLSessionConfiguration(OHHTTPStubsSupport)
+(void)load
{
orig_defaultSessionConfiguration = OHHTTPStubsSwizzle(@selector(defaultSessionConfiguration),
OHHTTPStubs_defaultSessionConfiguration);
orig_ephemeralSessionConfiguration = OHHTTPStubsSwizzle(@selector(ephemeralSessionConfiguration),
OHHTTPStubs_ephemeralSessionConfiguration);
}
@end
#endif

View File

@@ -22,39 +22,23 @@
*
***********************************************************************************/
// For SDK 7.1 Compatibility (as this macro was only included starting SDK 8.0)
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Imports
#import <Foundation/Foundation.h>
#import "OHHTTPStubsResponse.h"
// Because this is supposed to be an umbrella header, we should import every public headers here
#import "OHHTTPStubsResponse+HTTPMessage.h"
#import "OHHTTPStubsResponse+JSON.h"
#import "OHPathHelpers.h"
#ifdef NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
#define _nullable_ __nullable
#define _nonnull_ __nonnull
#else
#define _nullable_
#define _nonnull_
#endif
#import <OHHTTPStubs/Compatibility.h>
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
NS_ASSUME_NONNULL_BEGIN
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Types
typedef BOOL(^OHHTTPStubsTestBlock)(NSURLRequest* request);
typedef OHHTTPStubsResponse* _nonnull_ (^OHHTTPStubsResponseBlock)( NSURLRequest* request);
typedef OHHTTPStubsResponse* __nonnull (^OHHTTPStubsResponseBlock)( NSURLRequest* request);
/**
* This opaque type represents an installed stub and is used to uniquely
@@ -74,7 +58,7 @@ typedef OHHTTPStubsResponse* _nonnull_ (^OHHTTPStubsResponseBlock)( NSURLRequest
* This is especially useful if you dump all installed stubs using `allStubs`
* or if you want to log which stubs are being triggered using `onStubActivation:`.
*/
@property(nonatomic, strong) NSString* _nullable_ name;
@property(nonatomic, strong, nullable) NSString* name;
@end
////////////////////////////////////////////////////////////////////////////////
@@ -190,6 +174,26 @@ typedef OHHTTPStubsResponse* _nonnull_ (^OHHTTPStubsResponseBlock)( NSURLRequest
@end
#ifdef NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Umbrella Header Imports
#if ! __has_include(<OHHTTPStubs/OHHTTPStubs-umbrella.h>)
// Because this is supposed to be an umbrella header, we should also import every public headers here
// (Except if we use already have a better umbrella header generated by CocoaPods)
#if __has_include(<OHHTTPStubs/OHHTTPStubsResponse+JSON.h>)
#import <OHHTTPStubs/OHHTTPStubsResponse+JSON.h>
#endif
#if __has_include(<OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h>)
#import <OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h>
#endif
#if __has_include(<OHHTTPStubs/OHHTTPStubs+Mocktail.h>)
#import <OHHTTPStubs/OHHTTPStubs+Mocktail.h>
#endif
#if __has_include("OHHTTPStubs/OHPathHelpers.h")
#import "OHHTTPStubs/OHPathHelpers.h"
#endif
#endif

View File

@@ -29,7 +29,7 @@
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Imports
#import "OHHTTPStubs.h"
#import <OHHTTPStubs/OHHTTPStubs.h>
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Types & Constants
@@ -108,7 +108,7 @@ static NSTimeInterval const kSlotTime = 0.25; // Must be >0. We will send a chun
[self setEnabled:YES];
}
}
- (id)init
- (instancetype)init
{
self = [super init];
if (self)

View File

@@ -22,23 +22,21 @@
*
***********************************************************************************/
// For SDK 7.1 Compatibility (as this macro was only included starting SDK 8.0)
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Imports
#import <Foundation/Foundation.h>
#import <OHHTTPStubs/Compatibility.h>
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Defines & Constants
// Non-standard download speeds
extern const double
OHHTTPStubsDownloadSpeed1KBPS, // 1.0 KB per second
OHHTTPStubsDownloadSpeedSLOW; // 1.5 KB per second
// Standard download speeds.
extern const double
OHHTTPStubsDownloadSpeedGPRS,
@@ -47,13 +45,8 @@ OHHTTPStubsDownloadSpeed3G,
OHHTTPStubsDownloadSpeed3GPlus,
OHHTTPStubsDownloadSpeedWifi;
#ifdef NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
#define _nullable_ __nullable
#else
#define _nullable_
#endif
NS_ASSUME_NONNULL_BEGIN
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Interface
@@ -70,7 +63,7 @@ OHHTTPStubsDownloadSpeedWifi;
/**
* The headers to use for the fake response
*/
@property(nonatomic, strong) NSDictionary* _nullable_ httpHeaders;
@property(nonatomic, strong, nullable) NSDictionary* httpHeaders;
/**
* The HTTP status code to use for the fake response
*/
@@ -79,7 +72,7 @@ OHHTTPStubsDownloadSpeedWifi;
* The inputStream used when sending the response.
* @note You generally don't manipulate this directly.
*/
@property(nonatomic, strong) NSInputStream* _nullable_ inputStream;
@property(nonatomic, strong, nullable) NSInputStream* inputStream;
/**
* The size of the fake response body, in bytes.
*/
@@ -101,9 +94,7 @@ OHHTTPStubsDownloadSpeedWifi;
*
* If `error` is non-`nil`, the request will result in a failure and no response will be sent.
*/
@property(nonatomic, strong) NSError* _nullable_ error;
@property(nonatomic, strong, nullable) NSError* error;
////////////////////////////////////////////////////////////////////////////////
@@ -125,7 +116,7 @@ OHHTTPStubsDownloadSpeedWifi;
*/
+(instancetype)responseWithData:(NSData*)data
statusCode:(int)statusCode
headers:(NSDictionary* _nullable_)httpHeaders;
headers:(nullable NSDictionary*)httpHeaders;
/* -------------------------------------------------------------------------- */
@@ -145,7 +136,7 @@ OHHTTPStubsDownloadSpeedWifi;
*/
+(instancetype)responseWithFileAtPath:(NSString *)filePath
statusCode:(int)statusCode
headers:(NSDictionary* _nullable_)httpHeaders;
headers:(nullable NSDictionary*)httpHeaders;
/* -------------------------------------------------------------------------- */
#pragma mark > Building an error response
@@ -204,6 +195,15 @@ OHHTTPStubsDownloadSpeedWifi;
#pragma mark - Initializers
/*! @name Initializers */
/**
* Designated empty initializer
*
* @return An empty `OHHTTPStubsResponse` on which you need to set either an error or a statusCode, httpHeaders, inputStream and dataSize.
*
* @note This is not recommended to use this method directly. You should use `initWithInputStream:dataSize:statusCode:headers:` instead.
*/
-(instancetype)init NS_DESIGNATED_INITIALIZER;
/**
* Designed initializer. Initialize a response with the given input stream, dataSize,
* statusCode and headers.
@@ -220,7 +220,7 @@ OHHTTPStubsDownloadSpeedWifi;
-(instancetype)initWithInputStream:(NSInputStream*)inputStream
dataSize:(unsigned long long)dataSize
statusCode:(int)statusCode
headers:(NSDictionary* _nullable_)httpHeaders NS_DESIGNATED_INITIALIZER;
headers:(nullable NSDictionary*)httpHeaders NS_DESIGNATED_INITIALIZER;
/**
@@ -236,7 +236,7 @@ OHHTTPStubsDownloadSpeedWifi;
*/
-(instancetype)initWithFileAtPath:(NSString*)filePath
statusCode:(int)statusCode
headers:(NSDictionary* _nullable_)httpHeaders;
headers:(nullable NSDictionary*)httpHeaders;
/**
@@ -250,7 +250,7 @@ OHHTTPStubsDownloadSpeedWifi;
*/
-(instancetype)initWithData:(NSData*)data
statusCode:(int)statusCode
headers:(NSDictionary* _nullable_)httpHeaders;
headers:(nullable NSDictionary*)httpHeaders;
/**
@@ -266,6 +266,4 @@ OHHTTPStubsDownloadSpeedWifi;
@end
#ifdef NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
#endif
NS_ASSUME_NONNULL_END

View File

@@ -29,11 +29,12 @@
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Imports
#import "OHHTTPStubsResponse.h"
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Defines & Constants
const double OHHTTPStubsDownloadSpeed1KBPS =- 8 / 8; // kbps -> KB/s
const double OHHTTPStubsDownloadSpeedSLOW =- 12 / 8; // kbps -> KB/s
const double OHHTTPStubsDownloadSpeedGPRS =- 56 / 8; // kbps -> KB/s
const double OHHTTPStubsDownloadSpeedEDGE =- 128 / 8; // kbps -> KB/s
const double OHHTTPStubsDownloadSpeed3G =- 3200 / 8; // kbps -> KB/s
@@ -53,7 +54,7 @@ const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
+(instancetype)responseWithData:(NSData*)data
statusCode:(int)statusCode
headers:(NSDictionary*)httpHeaders
headers:(nullable NSDictionary*)httpHeaders
{
OHHTTPStubsResponse* response = [[self alloc] initWithData:data
statusCode:statusCode
@@ -66,7 +67,7 @@ const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
+(instancetype)responseWithFileAtPath:(NSString *)filePath
statusCode:(int)statusCode
headers:(NSDictionary *)httpHeaders
headers:(nullable NSDictionary *)httpHeaders
{
OHHTTPStubsResponse* response = [[self alloc] initWithFileAtPath:filePath
statusCode:statusCode
@@ -102,10 +103,16 @@ const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
////////////////////////////////////////////////////////////////////////////////
#pragma mark - Initializers
-(instancetype)init
{
self = [super init];
return self;
}
-(instancetype)initWithInputStream:(NSInputStream*)inputStream
dataSize:(unsigned long long)dataSize
statusCode:(int)statusCode
headers:(NSDictionary*)httpHeaders
headers:(nullable NSDictionary*)httpHeaders
{
self = [super init];
if (self)
@@ -126,7 +133,7 @@ const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
-(instancetype)initWithFileAtPath:(NSString*)filePath
statusCode:(int)statusCode
headers:(NSDictionary*)httpHeaders
headers:(nullable NSDictionary*)httpHeaders
{
NSInputStream* inputStream;
if (filePath)
@@ -150,7 +157,7 @@ const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
-(instancetype)initWithData:(NSData*)data
statusCode:(int)statusCode
headers:(NSDictionary*)httpHeaders
headers:(nullable NSDictionary*)httpHeaders
{
NSInputStream* inputStream = [NSInputStream inputStreamWithData:data?:[NSData data]];
self = [self initWithInputStream:inputStream

View File

@@ -0,0 +1,86 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#import <Foundation/Foundation.h>
#import <OHHTTPStubs/Compatibility.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Useful function to build a path given a file name and a class.
*
* @param fileName The name of the file to get the path to, including file extension
* @param inBundleForClass The class of the caller, used to determine the current bundle
* in which the file is supposed to be located.
* You should typically pass `self.class` (ObjC) or
* `self.dynamicType` (Swift) when calling this function.
*
* @return The path of the given file in the same bundle as the inBundleForClass class
*/
NSString* __nullable OHPathForFile(NSString* fileName, Class inBundleForClass);
/**
* Useful function to build a path given a file name and a bundle.
*
* @param fileName The name of the file to get the path to, including file extension
* @param bundle The bundle in which the file is supposed to be located.
* This parameter can't be null.
*
* @return The path of the given file in given bundle
*
* @note You should avoid using `[NSBundle mainBundle]` for the `bundle` parameter,
* as in the context of Unit Tests, this points to the Simulator's bundle,
* not the bundle of the app under test. That's why `nil` is not an acceptable
* value (so you won't expect it to default to the `mainBundle`).
* You should use `[NSBundle bundleForClass:]` instead.
*/
NSString* __nullable OHPathForFileInBundle(NSString* fileName, NSBundle* bundle);
/**
* Useful function to build a path to a file in the Documents's directory in the
* app sandbox, used by iTunes File Sharing for example.
*
* @param fileName The name of the file to get the path to, including file extension
*
* @return The path of the file in the Documents directory in your App Sandbox
*/
NSString* __nullable OHPathForFileInDocumentsDir(NSString* fileName);
/**
* Useful function to build an NSBundle located in the application's resources simply from its name
*
* @param bundleBasename The base name, without extension (extension is assumed to be ".bundle").
* @param inBundleForClass The class of the caller, used to determine the current bundle
* in which the file is supposed to be located.
* You should typically pass `self.class` (ObjC) or
* `self.dynamicType` (Swift) when calling this function.
*
* @return The NSBundle object representing the bundle with the given basename located in your application's resources.
*/
NSBundle* __nullable OHResourceBundle(NSString* bundleBasename, Class inBundleForClass);
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,52 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
***********************************************************************************/
#import <OHHTTPStubs/OHPathHelpers.h>
NSString* __nullable OHPathForFile(NSString* fileName, Class inBundleForClass)
{
NSBundle* bundle = [NSBundle bundleForClass:inBundleForClass];
return OHPathForFileInBundle(fileName, bundle);
}
NSString* __nullable OHPathForFileInBundle(NSString* fileName, NSBundle* bundle)
{
return [bundle pathForResource:[fileName stringByDeletingPathExtension]
ofType:[fileName pathExtension]];
}
NSString* __nullable OHPathForFileInDocumentsDir(NSString* fileName)
{
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *basePath = (paths.count > 0) ? paths[0] : nil;
return [basePath stringByAppendingPathComponent:fileName];
}
NSBundle* __nullable OHResourceBundle(NSString* bundleBasename, Class inBundleForClass)
{
NSBundle* classBundle = [NSBundle bundleForClass:inBundleForClass];
return [NSBundle bundleWithPath:[classBundle pathForResource:bundleBasename
ofType:@"bundle"]];
}

View File

@@ -0,0 +1,179 @@
/***********************************************************************************
*
* Copyright (c) 2012 Olivier Halligon
*
* 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.
*
***********************************************************************************/
/**
* Swift Helpers
*/
// MARK: Syntaxic Sugar for OHHTTPStubs
/**
* Helper to return a `OHHTTPStubsResponse` given a fixture path, status code and optional headers.
*
* - Parameter filePath: the path of the file fixture to use for the response
* - Parameter status: the status code to use for the response
* - Parameter headers: the HTTP headers to use for the response
*
* - Returns: The `OHHTTPStubsResponse` instance that will stub with the given status code
* & headers, and use the file content as the response body.
*/
public func fixture(filePath: String, status: Int32 = 200, headers: [NSObject: AnyObject]?) -> OHHTTPStubsResponse {
return OHHTTPStubsResponse(fileAtPath: filePath, statusCode: status, headers: headers)
}
/**
* Helper to call the stubbing function in a more concise way?
*
* - Parameter condition: the matcher block that determine if the request will be stubbed
* - Parameter response: the stub reponse to use if the request is stubbed
*
* - Returns: The opaque `OHHTTPStubsDescriptor` that uniquely identifies the stub
* and can be later used to remove it with `removeStub:`
*/
public func stub(condition: OHHTTPStubsTestBlock, response: OHHTTPStubsResponseBlock) -> OHHTTPStubsDescriptor {
return OHHTTPStubs.stubRequestsPassingTest(condition, withStubResponse: response)
}
// MARK: Create OHHTTPStubsTestBlock matchers
/**
* Matcher for testing an `NSURLRequest`'s **scheme**.
*
* - Parameter scheme: The scheme to match
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
* has the given scheme
*/
public func isScheme(scheme: String) -> OHHTTPStubsTestBlock {
return { req in req.URL?.scheme == scheme }
}
/**
* Matcher for testing an `NSURLRequest`'s **host**.
*
* - Parameter host: The host to match
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
* has the given host
*/
public func isHost(host: String) -> OHHTTPStubsTestBlock {
return { req in req.URL?.host == host }
}
/**
* Matcher for testing an `NSURLRequest`'s **path**.
*
* - Parameter path: The path to match
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
* has exactly the given path
*
* - Note: URL paths are usually absolute and thus starts with a '/' (which you
* should include in the `path` parameter unless you're testing relative URLs)
*/
public func isPath(path: String) -> OHHTTPStubsTestBlock {
return { req in req.URL?.path == path }
}
/**
* Matcher for testing an `NSURLRequest`'s **path extension**.
*
* - Parameter ext: The file extension to match (without the dot)
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request path
* ends with the given extension
*/
public func isExtension(ext: String) -> OHHTTPStubsTestBlock {
return { req in req.URL?.pathExtension == ext }
}
/**
* Matcher for testing an `NSURLRequest`'s **query parameters**.
*
* - Parameter params: The dictionary of query parameters to check the presence for
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds if the request contains
* the given query parameters with the given value.
*
* - Note: There is a difference between:
* (1) using `[q:""]`, which matches a query parameter "?q=" with an empty value, and
* (2) using `[q:nil]`, which matches a query parameter "?q" without a value at all
*/
public func containsQueryParams(params: [String:String?]) -> OHHTTPStubsTestBlock {
return { req in
if let url = req.URL {
let comps = NSURLComponents(URL: url, resolvingAgainstBaseURL: true)
if let queryItems = comps?.queryItems {
for (k,v) in params {
if queryItems.filter({ qi in qi.name == k && qi.value == v }).count == 0 { return false }
}
return true
}
}
return false
}
}
// MARK: Operators on OHHTTPStubsTestBlock
/**
* Combine different `OHHTTPStubsTestBlock` matchers with an 'OR' operation.
*
* - Parameter lhs: the first matcher to test
* - Parameter rhs: the second matcher to test
*
* - Returns: a matcher (`OHHTTPStubsTestBlock`) that succeeds if either of the given matchers succeeds
*/
public func || (lhs: OHHTTPStubsTestBlock, rhs: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
return { req in lhs(req) || rhs(req) }
}
/**
* Combine different `OHHTTPStubsTestBlock` matchers with an 'AND' operation.
*
* - Parameter lhs: the first matcher to test
* - Parameter rhs: the second matcher to test
*
* - Returns: a matcher (`OHHTTPStubsTestBlock`) that only succeeds if both of the given matchers succeeds
*/
public func && (lhs: OHHTTPStubsTestBlock, rhs: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
return { req in lhs(req) && rhs(req) }
}
/**
* Create the opposite of a given `OHHTTPStubsTestBlock` matcher.
*
* - Parameter expr: the matcher to negate
*
* - Returns: a matcher (OHHTTPStubsTestBlock) that only succeeds if the expr matcher fails
*/
public prefix func ! (expr: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
return { req in !expr(req) }
}

View File

@@ -9,7 +9,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.alisoftware.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

Some files were not shown because too many files have changed in this diff Show More